Let top level theming for class_name work.

When doing top level styling at the rx.App level, passing class_name to a component as part of a style library doesn't work. I enjoy the coloring and theming of tailwind so I'd like to be able to say
rx.text : {
    "class_name": "bg-white dark:bg-zinc-700
}

Don't have the reflex know-how to understand where the css interpretation is happening and create a conditional for tailwind prop.
Thanks!

Okay, I figured it out. I have a working version of it with minimal changes. I will try to commit the version tomorrow.

Attempted to tackle this but feel like I'm missing something...

During init of the Style class I can get the class_names specified in the App.style to log once when the Style initializes for the two components I have specified but when attempting to save those to kwargs["class_name"], in the Component init, the style_dict of all the sub components doesn't contain the class_names and thus doesn't propagate.

So then I tried to debug...

I can affect all values of all components by manually setting the style_dict to something like style_dict["class_name"]="bg-white". Then every component has a white background.

I'm guessing there's some magic I'm missing when components initialize that I don't seem to understand.


Update firmware

Find and extract Intel microcode updates. Useful for getting microcode updates for your device from alien uefi updates.

@maxried can you provide a link to a firmware image with this signature?

Unfortunately no, but you can test the contents of the intel-microcode package of your distribution.


Add Artifactory Triage

add triage taskset for artifactory
Tweak stdout parser to assume no capture groups as a non-issue
Make regexp argument optional, allowing users to just use the _line variable to raise issues on

@stewartshea I originally had the execs in the Run Cli call as a keyword arg which generates the wrapped string but brought them out as bare commands for the curl's
As a pattern going forward to make sure they stay renderable do you think we should stick to bare execs and forego the python variant?

Personally I'd never use exec as a keyword arg... it breaks anything to do with the local rendering.


add TypeScript version

Hi =)
I've participated to https://github.com/LearnWithLlew/OpenLearningHour?tab=readme-ov-file on 10th of April 2024 with you and couldn't do the exercise because TypeScript was not available. So I took the JS version and converted it into TypeScript. Hope it will be useful for you.
I used the technique you proposed in my project instead of using mocks and it is so much simpler and easier! Thanks a lot =)

Thank you.

Done

Thank you. @emilybache this could be merged

Thankyou!


Add a note. Fixes #8

Added a note to one of the usage examples. Which will help the user to avoid Undefined variable: http_response_header error ( Fixes #8 ).

Thanks @raakesh


📃: Travel Vlog website

🔴 Title : Travel Vlog Website
🔴 Tech stack : HTML CSS JS
🔴 Objective :  main motive of the website is to make travelling affordable to everyone in low budget and people can share their
experience
🔴 Summary : Website that allows user to write travel vlogs, and help then to travel at their budget across the world
📸 Screenshots

e over the website

✅ Details to Include When Taking the Issue:
Name : Shreya Bajaj Saw
Participant Role (Specify the Open Source Program name, e.g., GSSOC, Hacktoberfest, etc.):
GSSOC , GSSOC Ext , Hacktoberfest

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

@iamrahulmahato
Kindly review the website if suitable
please assign it to me.


fix featureMask reset

The featureMask of the modelTrainers.Base class is set to an empty vector if it already is empty. It seems that the condition needs to be inverted.

Nope. The isempty checks whether the persistent variable already exists. If not, it gets intialized.

Since isempty([]) also returns true, I'm guessing that isempty() can be used if a variable exists or not, and not just to see if the matrix is empty or not.


Disscuss about hash algorithm in message queue selector

What is the purpose of the change
hash algorithm with hashmap of Java 8 is better, algorithm is hashcode ^ (hashcode >>> 16)
Brief changelog
hash algorithm with hashmap of Java 8 is better, algorithm is hashcode ^ (hashcode >>> 16)
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Link #1269

In order to not affect the existing queues, a new class named SelectMessageQueueByUniformHash is added to implement the algorithm

Coverage increased (+0.01%) to 50.837% when pulling 66420afe9f72455212f1e4869242bc5a09fdf713 on xiaobing395845388:master into 8ef01a6c635f6972847c40d5540b1945180d7cbd on apache:master.


Error loading custom portal generation

Is it a mod compatibility issue?
No
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
No response
Minecraft version
1.20.1
Describe the issue
Fabric version: 1.20.1
Immersive Portals version: immersive-portals-3.3.6-mc1.20.1-fabric.jar
I've been using a datapack I made, using this documentation as reference, since Fabric 1.19.2, but I have since updated to Fabric 1.20.1 and now it doesn't work. I updated the pack format to be in line with other 1.20.1 datapacks that do work, and the server recognises and loads it successfully, so that's probably not the issue.
The datapack-configured portals worked before, but don't now, and I can't find any new or updated documentation to describe any changes that have been made to the schema version or format or anything like that.
The last two lines of the log show me attempting to light two portals; one to a new dimension I uploaded to temporarily import worlds to copy over structures from ("impworld") and one to a dimension that previously worked on 1.19.2 which I used as a rumpus room for designing builds/redstone testing ("rumpus"), the configuration of which did not change in the datapack across updates and worked previously. The impworld config was simply copied from the rumpus config and I just altered the destination and frame block parameters. I attempted lighting both a newly cconfigured and previously configured portal to see if either would work, and neither successfully ignites.
Right here is a repo I just uploaded of the new dimensions datapack (new 'd's, aka "newds" (lol)) I made, so you can see the files inside it and their formatting:
https://github.com/kaolincash/newds/tree/main/newds
Below is the server output when I load the datapack, and attempt to light the portals:
19.12 01:10:01 [Server] Server thread/INFO Loaded Custom Portal Gen newds:overworld
19.12 01:10:01 [Server] Server thread/INFO Custom Portal Gen Is Not Activated {
19.12 01:10:01 [Server] INFO "trigger": {
19.12 01:10:01 [Server] INFO "item": "minecraft:flint_and_steel",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:use_item"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "form": {
19.12 01:10:01 [Server] INFO "generate_frame_if_not_found": true,
19.12 01:10:01 [Server] INFO "area_block": "imm_ptl:pass",
19.12 01:10:01 [Server] INFO "frame_block": "minecraft:pink_concrete",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:heterogeneous"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "from": [
19.12 01:10:01 [Server] INFO "imm_ptl:any_dimension"
19.12 01:10:01 [Server] INFO ],
19.12 01:10:01 [Server] INFO "to": "marchpane:heaven",
19.12 01:10:01 [Server] INFO "schema_version": "imm_ptl:v1"
19.12 01:10:01 [Server] INFO }
19.12 01:10:01 [Server] Server thread/INFO Custom Portal Gen Is Not Activated {
19.12 01:10:01 [Server] INFO "trigger": {
19.12 01:10:01 [Server] INFO "item": "minecraft:flint_and_steel",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:use_item"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "form": {
19.12 01:10:01 [Server] INFO "generate_frame_if_not_found": true,
19.12 01:10:01 [Server] INFO "area_block": "imm_ptl:pass",
19.12 01:10:01 [Server] INFO "frame_block": "minecraft:lime_terracotta",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:heterogeneous"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "from": [
19.12 01:10:01 [Server] INFO "imm_ptl:any_dimension"
19.12 01:10:01 [Server] INFO ],
19.12 01:10:01 [Server] INFO "to": "marchpane:rumpus",
19.12 01:10:01 [Server] INFO "schema_version": "imm_ptl:v1"
19.12 01:10:01 [Server] INFO }
19.12 01:10:01 [Server] Server thread/INFO Custom Portal Gen Is Not Activated {
19.12 01:10:01 [Server] INFO "trigger": {
19.12 01:10:01 [Server] INFO "item": "minecraft:flint_and_steel",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:use_item"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "form": {
19.12 01:10:01 [Server] INFO "generate_frame_if_not_found": true,
19.12 01:10:01 [Server] INFO "area_block": "imm_ptl:pass",
19.12 01:10:01 [Server] INFO "frame_block": "minecraft:acacia_planks",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:heterogeneous"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "from": [
19.12 01:10:01 [Server] INFO "imm_ptl:any_dimension"
19.12 01:10:01 [Server] INFO ],
19.12 01:10:01 [Server] INFO "to": "marchpane:nerevys",
19.12 01:10:01 [Server] INFO "schema_version": "imm_ptl:v1"
19.12 01:10:01 [Server] INFO }
19.12 01:10:01 [Server] Server thread/INFO Custom Portal Gen Is Not Activated {
19.12 01:10:01 [Server] INFO "trigger": {
19.12 01:10:01 [Server] INFO "item": "minecraft:flint_and_steel",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:use_item"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "form": {
19.12 01:10:01 [Server] INFO "generate_frame_if_not_found": true,
19.12 01:10:01 [Server] INFO "area_block": "imm_ptl:pass",
19.12 01:10:01 [Server] INFO "frame_block": "minecraft:bedrock",
19.12 01:10:01 [Server] INFO "type": "imm_ptl:heterogeneous"
19.12 01:10:01 [Server] INFO },
19.12 01:10:01 [Server] INFO "from": [
19.12 01:10:01 [Server] INFO "imm_ptl:any_dimension"
19.12 01:10:01 [Server] INFO ],
19.12 01:10:01 [Server] INFO "to": "marchpane:impworld",
19.12 01:10:01 [Server] INFO "schema_version": "imm_ptl:v1"
19.12 01:10:01 [Server] INFO }
19.12 01:10:06 [Server] Server thread/INFO Portal Generation Attempted minecraft:overworld 712 112 -854
19.12 01:10:06 [Server] Server thread/ERROR Missing dimension imm_ptl:any_dimension
19.12 01:10:07 [Server] Server thread/INFO Portal Generation Attempted minecraft:overworld 712 112 -851
19.12 01:10:07 [Server] Server thread/ERROR Missing dimension imm_ptl:any_dimension

Thanks for your attention, and apologies if I've overlooked something extremely obvious here!

"Custom Portal Gen Is Not Activated" is caused by not detecting the dimension in the server. Is marchpane:impworld loaded in the server? Does it provide that dimension id's completion when typing /execute in command?

Oh! No, it doesn't. Is there a command to load it?

It means that the dimension datapack is not configured correctly.

It's configured the same way it was in 1.19.2 and I'm following the documentation as weitten (I linked the datapack in the issue).
Can you confirm where I've gone wrong so I can resolve it? I'm confused as to what about it isn't correctly configured if nothing has changed in the documentation across versions.
Thanks :)

@kaolincash The linked datapack only has custom portal generation. It does not contain dimension. You need the datapack or mod that provides the dimension.
When typing command /execute at  the completion will show loaded dimensions. If there is no marchpane:heaven then that dimension is not loaded.

I'm not sure what datapack or mod "provides the dimension", can you offer some guidance as to where I'd look for finding/making one?
The dimensions themselves /do/ exist as worlds that I've placed in the dimensions directory within the marchpane world directory on my server, but I confess I'm confused as to where to go from here to make minecraft recognise them.
How exactly do I go about loading one of those dimensions?
Thanks, and sorry again for such a delayed response to this until now, and for my general lack of understanding lmao, I find this stuff very confusing and I don't want to be a bother.
Maia

@kaolincash Having only the world data folder does not make the dimension in-game. The dimension configuration is inside level.dat. It's not recommended to directly edit level.dat.
These dimensions was introduced by datapack or mod. You need to find that datapack or mod, and install it to the server. Some datapack only works with only one minecraft version. Unfortunately I don't know which datapack or mod provides marchpane:heaven.

I copied over the dimension as it was in the 1.19.4 iteration of this server, I put the files in place manually, not using a mod.
For the sake of argument, if you were to try importing a manually created dimension to an existing world, how would you go about it? Would you have to make a custo. datapack yourself that loads that dimension, or something?
Come to think of it, I seem to recall following some sort of template at one point, is there by any chance such a datapack template available in the Immersive Portals documentation or somewhere inside the server files for the alternative dimensions Immersive Portals can load?
I can't find a page mentioning it but I could just be overlooking something obvious. Or maybe I'm just remembering something else entirely; it's been a while since I set it up the first time on 1.19.4 but I did get it working then so I know it's possible.
Thanks,
Maia

Immersive portals allows dynamically adding dimensions.
https://qouteall.fun/immptl/wiki/Dimension-Management.html
If you don't remember what datapacks or mods were used for these dimensions, you can add a new dimension with the same id. The newly added dimension's world generation will be different. (World generation ony affects new chunks.) If you want the same world generation as before, the only way is to find which datapack/mod were used to add that dimension.

I see, thanks.
Is there a mechanism to modify or create new presets like the ones in the Dimension Management page? I would like to add a superflat world with specific block layers, for redstone/test building, for example.

@kaolincash You can search online for dimension datapacks.


New package: Tapir v0.1.0

Registering package: Tapir
Repository: https://github.com/withbayes/Tapir.jl
Created by: @willtebbutt
Version: v0.1.0
Commit: 41a1561dfe503d7c0f0aec44045b314b40a78327
Reviewed by: @willtebbutt
Reference: https://github.com/withbayes/Tapir.jl/commit/41a1561dfe503d7c0f0aec44045b314b40a78327#commitcomment-140345488

[noblock]
Just a historical sidenote, when I saw this package name I quickly got excited because I thought it was an implementation of https://github.com/JuliaLang/julia/pull/39773 which was also called Tapir.


Improvements to delegated events and non-delegated events added via addEventListener

Essentially, this makes of node[$$${name}] an array.  The motivation is that using a delegated event in an element effectively gets rid of the last added event, instead of appending to a list of events added. If we wanted to add many onclick handlers, we will have to resort to native events, which is a pity.
Consider the following, whenever we click the div it will output hi 2, as adding the event removes the first onClick.
 <div
      onClick={() => console.log("hi 1")}
      ref={(element) => {
        onMount(() => {
          addEventListener(element, "click", () => console.log("hi 2"), true);
        });
      }}
    >
      click me
    </div>

Playground: https://playground.solidjs.com/anonymous/9b7e2d2e-625f-4774-81d1-67c1dbeb9d7a
As for the Native events, I have reused/added a similar logic to the delegated ones. The motivation is to add and reuse only 1 listener and dispatch it as many times as needed to anyone wanting to listen to it.  As the behaviour is basically the same as delegated events, I believe it's a nice optimization. Which also includes the in place optimization of using the array for binding without actually binding, that delegated events use.
Considerations:

I ran the test and seems that all are passing.
~I didn't actually test this code yet, I need to figure out how to use this with solid, Im not sure how to put this on babel-plugin-jsx-dom-expressions~ Tested by copying and pasting the relevant bits to babel-plugin-jsx-dom-expressions/index.js and solid-js/web/dist/web.js
The native events won't really behave as the real native events in a few edge cases, like in, calling to stopImmediatePropagation in a handler should stop the event for the remaining listeners. There's no way to detect this (unless you do some prototype hacking), in any case the delegated events suffer the same problem, so I don't consider it a big deal.
it would probably be nice to add a complementary removeEventListener.

Thanks!

We avoided arrays painstakingly for memory/performance overhead. I need to measure this. Mostly that this was an internal API for JSX and now is being used more generally which is the only reason this is a problem. As a JSX helper this isn't necessary. But I understand the desire here, but at a certain point probably need to evaluate the performance of delegation in general.


Remove flot-axis JS library

Remove flot-axis JS library
[sc-2602]
Description
Since this library will no longer be maintained, it has been removed to make the app be secure and without vulnerabilities.

Flot-axis is still in the yarn.lock file under components folder

That is not the case - see https://github.com/search?q=repo%3ADefectDojo%2Fdjango-DefectDojo+Flot-axis&type=code
It only exists in a scanner file and unit test for OSV scanner


Missing function - Rename

The rename file and folder command is missing

Send pull request for adding the Rename File function https://github.com/Ideneal/OpenLoad/pull/13


fix #56

@LoiNguyenCS is this ready for review? You haven't requested a review for this PR, so I have not looked at it.


Include data on which passage contains answer

For Multi-DocumentQA is there a simple way to know which passages are being retrieved from for a given answer? It would be very helpful to have a field called 'retrieval_indices' which contains the indices of the passages used to obtain an answer. Thank you!

Thanks for your suggestion! We will consider adding this feature to our dataset.


No HSKV -Failed to start stream: input to ffmpeg was provides as stdin, but the process does not support stdin.

I see 2 similar issue where apple device not able to download the stream - https://github.com/potmat/homebridge-google-nest-sdm/issues/62 and https://github.com/potmat/homebridge-google-nest-sdm/issues/59. The issue were closed with a proposed solution  or resolved by running Homebridge on a host directly (such as an RPi) on the local network
I have the set up of homebridge in rpi on local network and still encountering below issue
Error on homebridge logs
Failed to start stream: input to ffmpeg was provides as stdin, but the process does not support stdin.
Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
Hoping a future release can resolve this issue

I'm having the same issue with Homebridge installed directly on my Mac Mini.

If anyone having this issue is able to debug is locally and/or provide a possible fix it would be appreciated.

I had a similar problem with all of this, and what it came down to was the version of ffmpeg I was using. Homebridge offers their own ffmpeg fork with their own patches that work with homebridge apps, located here: https://github.com/homebridge/ffmpeg-for-homebridge
Did you guys just install ffmpeg using brew or did you install the homebridge fork?

Having the same issue. In particular, I'm running homebridge on AMD platform. The new ffmpeg-for-homebridge has support of amf.

I also have this issue.
I have the nest battery version doorbell. I suspect that like it's mentioned in another issue, a different function needs to be used to get its video recordings, and this is the reason ffmpeg fails.
I'll be happy to help with debugging and fixing this (I am a software engineer), but I have no idea how to setup a work environment with this plugin code, and how to deploy it in order to test it (I'm running home bridge on a raspberry pi).

@GreatWiz: I edit the plugin code on my laptop, then after an npm run build I deploy it to my rPi using scp.
Note that on your rPi you'll need to use npm link to force npm to look in your deploy directory for the package rather than where it would usually look.

I'll try in the coming days, thanks for the tips

I have the same issue on all of my Nest cameras. I do not have the doorbell, these are all standard Google Nest cams with the same issue. LMK if can provide any details to assist.

@iknowdjz : Any insight you can offer would help.  I can't reproduce this issue myself, and I have no idea what the reason some people experience it is.  ffmpeg supports stdin (or should) so there's something in your environments block it.  What that is I have no idea.

Hey @potmat, not sure if this is related, but I turned on debug mode and noticed in the logs that the path for ffmpeg-for-homebridge is pointing to /Users/hjd/ is that intentional? hjd is not my user path.
[1/23/2024, 3:50:08 PM] [homebridge-google-nest-sdm] [info]   configuration: --enable-videotoolbox --enable-hardcoded-tables --enable-nonfree --enable-gpl --enable-hardcoded-tables --enable-openssl --enable-libdav1d --enable-libsvtav1 --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvidstab --enable-libzimg --enable-lv2 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libsrt --disable-debug --disable-shared --enable-pthreads --enable-static --enable-version3 --extra-cflags='-I/Users/hjd/ffmpeg-for-homebridge/darwin-arm64/workspace/include -I/Users/hjd/ffmpeg-for-homebridge/darwin-arm64/workspace/include/lilv-0' --extra-ldexeflags= --extra-ldflags=-L/Users/hjd/ffmpeg-for-homebridge/darwin-arm64/workspace/lib --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/Users/hjd/ffmpeg-for-homebridge/darwin-arm64/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/Users/hjd/ffmpeg-for-homebridge/darwin-arm64/workspace --extra-version=homebridge-darwin-arm64 Hallway Camera

@iknowdjz:  That is odd.  I don't know why that would be the case... I'm not sure if that's having an effect or not.

Hi @potmat, after upgrading I know longer see that error. Thanks @PatrickStankard for the assist here.
Now to only figure out why none of the live views work, but watching the recordings is no issue :-/ Ill dig into that later.

@iknowdjz:  Are you still getting the stdin error on the live streams?

@iknowdjz : Debug mode would definitely help, from when you try to view the live stream.

@potmat see attached, note I replaced a bunch of the sensitive data with XXXXXX. LMK if anything else will be helpful to debug.
camera_log.txt

@iknowdjz : There are no errors in your logs, the plugin seems to be working fine.  Looks like the packets are simply not arriving at your iPhone/Mac/etc.  This can happen with issues on your LAN, for example if your iPhone is joined to a VPN, or sometimes if Homebridge is running on a container engine somewhere... the data gets sent out but never arrives.
Unfortunately without being in your house there's no way for me to determine what the issue is.

@potmat come on down, ill give you a bottle of Johnnie Blue for the trouble ;) Appreciate the efforts on this plugin, great work!

Closing as the underlying issue about stdin seems to be resolved.


Add MVT support for well known tags?

MVT styling is leveraging the tags property of features. Should we add support for well known tags: i.e. class?

I'll have to look at how existing MVT does this, but ideally we just write out all the attributes attached to a geom by default and some subset of the full set with config.


Bump the CPU Threshold after several violations

Description of changes:
Soak test have reported the CPU usage to jump a lot during startup in recent weeks, but they always come down after a few hours. This CPU bumps up the CPU threshold so we don't have multiple issues without an action.
Fixes #115 #116 #117
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #120 (360a726) into main (5d89f4c) will increase coverage by 73.91%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #120       +/-   ##
===========================================
+ Coverage        0   73.91%   +73.91%
- Complexity      0       15       +15
===========================================
  Files           0        3        +3
  Lines           0       46       +46
  Branches        0        5        +5
===========================================
+ Hits            0       34       +34
- Misses          0        8        +8
- Partials        0        4        +4

Impacted Files
Coverage Δ

...emetry/javaagent/providers/AwsAgentProperties.java
0.00% <0.00%> (ø)

...elemetry/awspropagator/AwsCompositePropagator.java
87.87% <0.00%> (ø)

...metry/javaagent/providers/AwsTracerConfigurer.java
62.50% <0.00%> (ø)

Continue to review full report at Codecov.

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


fix(posix): posix_kill crashes/kills other programs on null

When $pid in posix_kill($pid, $signo) is null it kills other programs like Firefox, Terminal, even Gnome Shell. This patch adds a null check to avoid this.
Discovered via phpactor in Sublime Text: removing several folders in quick succession causes posix_kill to be called with null, for whatever reason, which causes a bunch of programs to crash.
See https://github.com/phpactor/phpactor/issues/2516

hey @kelunik - do you think this could make sense?

@dantleech Yes of course, thanks for the PR and investigation! Merged and tagged.

Thankyou!


[Bug] The compiler produces empty file when compiles to binary

Bug report
The compiler produces empty file with binary one when user specifies custom name with -o flag.
Environment
Win 10 (x64)
Steps to reproduce the issue

Create any valid source file
Run

gpls -o <name> <your-file>

What's the expected result?
The compiler should create single binary file with specified name
What's the actual result?
Two files with same name, the first is actual binary and the second is empty

Fixed in c9116be232e90bc7d0b301abfa9b3fcc584b6e03


Adding border vm to dev env and pipelines

What this PR does / why we need it:
This PR is a feature request for egress lockdown.    This allows us to maintain a list of servers that are allowed egress.  This will also allow us to start the MITM SSL portion of the egress lockdown feature.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Test plan for issue:
This PR is supposed to be the test.  I am manually running the steps in the pipeline.
Is there any documentation that needs to be updated for this PR?
N/A
Release note:
None

@kwoodson can you please fill out the PR template? I don't have any context to review this PR.

/az run e2e-border

rebase master.  Awaiting #928

Not going to merge this short term, but keep the branch, we may come back to it.


update length function to dbt util

This is a:

[x] bug fix PR with no breaking changes
[ ] new functionality

Link to Issue
Closes #94
Description & motivation
This resolves the known cross-DB bugs discovered when setting up Circle CI
Note: this may eventually require additional fixes for other unknown bugs!
Integration Test Screenshot

Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[x] Snowflake

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

closed in favor of @b-per's open PR #85


Video player controls on TV, poor distinction of focus and controls blending into video

I was looking at the following video from 1 meter away the TV and tried out the center controls, scrub bar, et cetera.
https://github.com/user-attachments/assets/1e6bc5bd-c6fb-41c1-a9a1-351fbf2e8445
Here is some issues I observed:

After #230 and #239, the scrubbing behavior with a real remote seems erratic at best, it's over-sensitive with low precision
The progress bar at the bottom blends into videos with white background so it cannot be seen, same with the white skip/play/pause controls at the center of the screen, they look okay in front of a colored background but poorly distinguished on light/white background
The title text in the top-left corner + details + channel name blend into invisibility on light/white video backgrounds

@mykhailodanilenko As discussed friday:

Implement the overlay for mobile as in the FIgma file with it covering the whole scceen
Change from 3sec delay to toggle the overlay by tapping
Use the mobile overlay as the base for the TV experice but change so that the contols and shown/hidden on play/pause
Optional/recommendation, if possible, make UI conciderably larger on TV to accomondate the much further viewing distance @mblomdahl . Design suggestion here: https://www.figma.com/design/f15L42P8qyLqNkzm0Eeo8G/Owntube?node-id=1140-22625&t=OQxujiwVLj05HT8m-1


Email Verification

if we want to add the email verification in admin as well as other auth like in my case there are two other auth and i m using laravel 5.7 but there is not email verify in migrations and other email verification functionality in predefined things so what i have to do now to add email verification in my admin and other users...??

any progress ???

can u please help me with this


Added the code for binary pallindrome

Added the code in python to check whether the binary representation of any number is palindrome or not

Good Work


Use MsgDeSoHeader.GetView() To Define View for PoW Epochs

Merge activity

Feb 2, 2:46 PM EST: @tholonious started a stack merge that includes this pull request via Graphite.


NumberFormatException on Ubuntu

java.lang.NumberFormatException: For input string: "63000 " 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 	at java.lang.Integer.parseInt(Integer.java:580) 	at java.lang.Integer.valueOf(Integer.java:766) 	at org.jutils.jhardware.info.processor.unix.UnixProcessorInfo.parseInfo(UnixProcessorInfo.java:68) 	at org.jutils.jhardware.info.processor.AbstractProcessorInfo.getInfo(AbstractProcessorInfo.java:29) 	at org.jutils.jhardware.info.processor.AbstractProcessorInfo.getInfo(AbstractProcessorInfo.java:25) 	at org.jutils.jhardware.HardwareInfo.getProcessorInfo(HardwareInfo.java:48)
There is a newline character in the temperature String that causes a NumberFormatException.
jHardware 0.6.3

Hi,
I am planning to perform a big update on jHardware this week and one this is one of the things that will be fixed.
Thanks for reporting it!

Hi again,
While I prepare the new version I have prepared for you a snapshot version with this fix. You can download it here:
https://oss.sonatype.org/content/repositories/snapshots/org/jhardware/jHardware/0.6.3-SNAPSHOT/jHardware-0.6.3-20160511.185645-1.jar
Thanks

Hello,
Does it still happen in jHardware 0.8.3?


RsGzip doesn't change Content-Length

RsGzip doesn't change Content-Length header in response

@rultor release, tag is 0.16.5

@rultor release, tag is 0.16.5

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.16.5

@yegor256 Done! FYI, the full log is here (took me 7min)


CherryPicked: [v4.14] fix source setting  in to_dict() method

cherry-pick https://github.com/RedHatQE/openshift-python-wrapper/pull/1631 into v4.14
requested-by vsibirsk

Report bugs in Issues
The following are automatically added:

Add reviewers from OWNER file (in the root of the repository) under reviewers section.
Set PR size label.
New issue is created for the PR. (Closed when PR is merged/closed)
Run pre-commit if .pre-commit-config.yaml exists in the repo.

Available user actions:

To mark PR as WIP comment /wip to the PR, To remove it from the PR comment /wip cancel to the PR.
To block merging of PR comment /hold, To un-block merging of PR comment /hold cancel.
To mark PR as verified comment /verified to the PR, to un-verify comment /verified cancel to the PR.
verified label removed on each new commit push.
To cherry pick a merged PR comment /cherry-pick <target branch to cherry-pick to> in the PR.

Multiple target branches can be cherry-picked, separated by spaces. (/cherry-pick branch1 branch2)
Cherry-pick will be started when PR is merged

To build and push container image command /build-and-push-container in the PR (tag will be the PR number).
To add a label by comment use /<label name>, to remove, use /<label name> cancel

Supported /retest check runs

/retest tox: Retest tox
/retest python-module-install: Retest python-module-install

Supported labels

hold
verified
wip
lgtm

Owner of the pull request redhat-qe-bot1 is part of:
['renovate[bot]', 'pre-commit-ci[bot]', 'redhat-qe-bot1']
Pull request is merged automatically.


Hard to search and find docs

Hard to search and find docs, even when searching for page title “Create an API Product” it doesn’t show up.

The search has been improved. Please try it out and let us know if you encounter any issues.


CI is failing: "ls: cannot access '/etc/cni/net.d': Permission denied"

Description
GitHub Actions is broken.
The cri-tools critest step is failing with ls: cannot access '/etc/cni/net.d': Permission denied.

Steps to reproduce the issue:
Trigger CI
Describe the results you received:
https://github.com/containerd/containerd/pull/5069/checks?check_run_id=1968274994

Describe the results you expected:
Should succeed

just wonder why the issue show up suddenly. We didn't pin the version of critest?

I think @AkihiroSuda is saying there was a change in the host virtual env; it definitely changes underneath us over time as GitHub makes changes/updates packages, etc.


Documentation libzmq version typo

Looking at the documentation, I am seeing that libzmq versions (≥ 3.2.2, ≥ 4.0.1 ) are supported (https://pyzmq.readthedocs.io/en/latest/#supported-libzmq), but am seeing zmq.error.ZMQVersionError: zmq.has requires libzmq >= 4.1, have 4.0.4 on my machine. This is confusing to me, since this fits the constraints of the docs, but is being displayed as an error.
Is this a typo with the documentation or a mischecking by the error? (possibly 4.1.0 was meant, instead of 4.0.1 in the docs?)
Edit:
This is pyzmq version 24.0.1 (did not see this error on 24.0.0)

This is not a typo. zmq.has is a binding for libzmq's zmq_has, which was introduced in libzmq 4.1. PyZMQ builds against lots of different libzmq versions, but the features available depend on the underlying libzmq.

What's zmq.zmq_version() in your 24.0.0 and 24.0.1 installs? 4.0 is 8 years out of date, so it's a bit surprising to see it in 2022.


CB2-1728 add retry logic to database call

Changes made so the retry policy of eventbridge can be used to handle the retry logic.

Tested in AWS.
Test setup 1:

Eventbridge set to retry 3 times.
Lambda configure to error.

Result:
Lambda called three times as shown in the lambda logs.

Test setup 2:

Eventbridge set to retry 3 times.
Lambda configure to succeed.

Result:
Lambda called once as shown in the lambda logs.


Many deprecation warnings

Hello,
I guess tracerite gets installed by default by sanic.
In any case, it causes a chain of deprecation warnings in my code, the first one being

tracerite/init.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources

I suppose a replacement for that module would be in order. Feel free to look at it if you have the time. I am occupied with other projects at this time but will have a look at some later time if no-one else makes a PR soon.

The readme does not include any information about setting up the development environment and I am not familiar with setup.py. All my attempts to use it seem to trigger further deprecation warnings and errors. Sorry :-(

Fixed in git, needs release 1.1.1.

https://github.com/sanic-org/tracerite/commit/4417b7018d61987293c1d4604654dfb4223489de didn't quite fix the problem, I think. I'm seeing the same warning coming from https://github.com/sanic-org/tracerite/blob/4417b7018d61987293c1d4604654dfb4223489de/tracerite/html.py#L1


Not working with blazor version 3.0.0-preview5-19227-01

The library is not working 3.0.0-preview5-19227-01.

Please check that you have the latest preview. And use it with preview5 of net core.
Also clean and rebuild your Project after updating. Sometimes the js files are not replaced correctly (an issue of Blazor).
Let me know if this doesn’t work

Hi @LunicLynx
I'm having the same issue. Here's the errors I'm getting:
AggregateException: Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage Lifetime: Singleton ImplementationType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage': Cannot consume scoped service 'Microsoft.JSInterop.IJSRuntime' from singleton 'Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage'.) (Error while validating the service descriptor 'ServiceType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.SessionStorage Lifetime: Singleton ImplementationType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.SessionStorage': Cannot consume scoped service 'Microsoft.JSInterop.IJSRuntime' from singleton 'Cloudcrate.AspNetCore.Blazor.Browser.Storage.SessionStorage'.)
InvalidOperationException: Error while validating the service descriptor 'ServiceType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage Lifetime: Singleton ImplementationType: Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage': Cannot consume scoped service 'Microsoft.JSInterop.IJSRuntime' from singleton 'Cloudcrate.AspNetCore.Blazor.Browser.Storage.LocalStorage'.

Strange I don’t have this issue.
A workaround would be to change the:
services.AddStorage()
to
services.AddScoped()
services.AddScoped()


Inaccurate detection examples

Here are just a few inaccuracies I've come across testing this package:
franc('iphone unlocked') // returns 'ibb' instead of 'eng'
franc('new refrigerator') // returns 'dan' instead of 'eng'
franc('макбук копмьютер очень хороший') // returns 'kir' instead of 'rus'

Right, that's true. And there are many more (for example, see #8, and the Hackernews thread.
This is a trade-off: accuracy v.s. amount of supported languages; I opt for the latter.
If you'd like higher accuracy, I suggest using the 'whitelist' and 'blacklist' feature, the version of franc with support for 75 languages, or creating a fork with even less supported languages.
Success!

You are right. Narrowing down languages by whitelisting only those that you need to support does improve the recognition quality.

Can I assume that returned 3 letter language codes are http://en.wikipedia.org/wiki/ISO_639-2?

Close, they're iso-638-3!

:+1: Thank you so much for such prompt responses. We are going to be using your library in our project.

Cool! I'd love to hear more from the project (maybe through e-mail?), or let me know if you have more questions.


Add and use TET /userinfo endpoint

Description :sparkles:
To get TET Admin working without NEXT_PUBLIC_MOCK_FLAG set.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #835 (524ff19) into develop (5d48fa0) will increase coverage by 16.05%.
The diff coverage is 46.15%.

@@             Coverage Diff              @@
##           develop     #835       +/-   ##
============================================
+ Coverage    63.06%   79.12%   +16.05%
============================================
  Files          829       59      -770
  Lines        21642     1868    -19774
  Branches      2156        0     -2156
============================================
- Hits         13649     1478    -12171
+ Misses        7625      390     -7235
+ Partials       368        0      -368

Impacted Files
Coverage Δ

backend/tet/tet/views.py
41.66% <41.66%> (ø)

backend/tet/tet/urls.py
72.41% <100.00%> (+0.98%)
:arrow_up:

backend/shared/shared/ytj/ytj_client.py
27.58% <0.00%> (-65.52%)
:arrow_down:

backend/shared/shared/common/decorators.py
37.93% <0.00%> (-58.63%)
:arrow_down:

...nd/shared/shared/service_bus/service_bus_client.py
33.33% <0.00%> (-57.58%)
:arrow_down:

backend/shared/shared/yrtti/yrtti_client.py
37.50% <0.00%> (-53.13%)
:arrow_down:

backend/shared/shared/audit_log/viewsets.py
45.56% <0.00%> (-50.64%)
:arrow_down:

backend/shared/shared/common/utils.py
64.00% <0.00%> (-36.00%)
:arrow_down:

backend/shared/shared/audit_log/audit_logging.py
76.59% <0.00%> (-23.41%)
:arrow_down:

backend/shared/shared/common/tests/conftest.py
80.48% <0.00%> (-19.52%)
:arrow_down:

... and 771 more

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 5d48fa0...524ff19. Read the comment docs.


Number of epochs for benchmark dataset

Hello,
First, thanks a lot for such a nice library!
I have a question on the performance reported here. I was wondering if 4000 epoch really necessary to achieve the reported result? My machine is not running as fast as yours, and It would be nice to know I can still replicate your result using fewer epochs.
Also, are you able to replicate the results for most of the method you implemented? I just checked fb-237, it seems that for some old method, your result is better than that is reported in the paper.

Most experiments had early stopping (on validation sets) and it didn't run up to 4000 epochs. We will update the documentation to reflect this. You should get good results on most of the reported datasets in less than 300 epochs. You could try running the some experiments for 4000 epochs with early stopping on validation set. It will stop much before 1000 epochs.

We get better results for most models with the adversarial loss as described in the RotatE paper

Cool! Thanks a lot!

Need to update docs with early stopping parameters

Early stopping information have been added to all experiments by appending to the hyperparameters columns.


Docs/rusu1/visit 4445 document integral curves

Description
Worked to convert the PICS docs from visit users to the sphinx docs system. I still have a bit of work to do, but I wanted to open this draft PR for now for feedback, especially since I am not used to working with rst files.
My biggest challenge was trying to format the documentation. The PICS options are hierarchical by nature with some depth. I tried using nested lists, but I'm not a fan of the way sphinx formats nested lists. So I instead resorted to using more headings. I am open to modify this if there is a better way.
@markcmiller86 I'm not sure how to generate the docs like you did in PR #4473
Type of change

[X] New Documentation

How Has This Been Tested?
Built sphinx docs and examined them in web browser.
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[x] I have updated the release notes
[x] I have assigned reviewers (see VisIt's PR procedures for more information).

@markcmiller86 I'm not sure how to generate the docs like you did in PR #4473

If you have a ReadTheDocs account, I can add you as a collaborator on the VisIt docs and you can then go to admin settings there and activate your branch.
That said, I just did and you can view them here.
Any time you commit changes, they will re-gen and by viewable at the same link above about 10-15 mins later.

If you have a ReadTheDocs account, I can add you as a collaborator on the VisIt docs and you can then go to admin settings there and activate your branch.

Just made an account. Username is rusu24edward

@markcmiller86 @brugger1 @ARSanderson Thank you for your review so far. I have made some substantial changes to the docs based on the comments, and I think it is much cleaner now without too much maintenance requirements. I also fixed many little issues (missing links, images, etc.). Some of the comments I did not address in this PR because they require more investigation outside the scope of initially porting the docs from Visit Users to Sphinx. I have made a note in #4445 of each of them to investigate as I move forward. Please review this again when you get a chance. Thanks!


Make sniff documentation more useful and more discoverable

Is your feature request related to a problem?
Searching for proper sniffs/sniffs explanations was always a complicated thing when using phpcs, at least for me, especially as a newcomer. I've had several approaches over the years to this, without success, and now I've decided to give it a try one more.
What problems I have before digging deeper in the phpcs codebase?

Building own ruleset: When I wanted to build my own ruleset I couldn't find an easy way to find the sniff codes that I should include. Some sniffs include docs, that can be generated with phpcs --standard=Generic --generator=text but the codes are not available there so when I found something useful, I had to use a little bit of reverse engineering to find out the code.

Getting sniffs explanations: I know that we can get a sniff explanation (when docs exist) with phpcs --standard=Generic --generator=text --sniffs=Generic.Metrics.CyclomaticComplexity but it would be also nice to search for them easier, especially for newcomers.

When I was searching for solutions I found a few discussions with similar concerns. That's why I decided to ask for this.

https://github.com/squizlabs/PHP_CodeSniffer/issues/1752#issuecomment-750927206

Describe the solution you'd like
It would be much easier for me as a beginner if the sniff code were available in the docs generated with --generate attribute. So I could just generate the docs for specific standards, select the sniffs that I'm interested in, and take the sniff codes easily. Of course, it's not impossible to find out the code, but such a simple improvement would be nice.
I've already decided to give it a try for my internal needs and It was really useful! The changes/propositions:

Display sniff code in the documentation created with --generate tag.
Allow to set the sniff code in the code attribute of the documentation XML tag (optional).
When the sniff code is not set in the mentioned tag, it is automatically detected by phpcs engine and set.

Thanks to this I'm able to:

Review the generated docs and find the sniff codes to include/exclude them in the ruleset much faster.
Find more information about errors much easier by searching info by sniff code.

I'm aware that I might miss something crucial that would similarly solve those problems, but if not, maybe it will be useful for others. What do you think?
Screenshots
HTML

Text

Markdown

Additional context (optional)

[x] I intend to create a pull request to implement this feature.

Thanks @przemekhernik for opening this ticket.
I understand what you are saying and can understand that this would seem like a quick fix, but I think it would be prudent to look at the docs format in a more holistic manner.
What I mean by that, is that I think the docs feature should be looked at not just for how it is available and used now, but what would be a way to make this feature more useful to end-users in general.
Some ideas I have floating around about this:

Document the error code(s) each <standard> block covers.
The ticket description above talks about the three part sniff codes - Stdn.Category.SniffName, but every error/warning also has a fourth part - Stnd.Category.SniffName.ErrorCode and generally speaking each <standard> block + code samples covers one or more error codes.
As error codes can be included/excluded individually from a custom ruleset, I believe it could be useful make the error codes which are used by a sniff available via the XML Docs.
Document public properties which can be set on a sniff and what they do.
These are currently documented in the wiki and that list is maintained manually and does not have any direct link with the XML docs.
Allow for reference URLs to be added to XML docs, either for the whole sniff and/or for individual "standards" within the docs.
Think: links to the FIG PSR2/PSR12 specifications for the PSR2/PSR12 sniffs.
But also, links to the PHP manual or to a PHP RFC for the PHPCompatibility sniffs, or to a company coding standards manual for company-specific sniffs, or to a CMS/Framework manual for CMS/Framework specific sniffs.

The problem with any and all of these changes, would be that any change to a sniff may cause the docs to become out of date, so this would add a maintenance and review burden and this needs some thinking about if and how this could be (partially) automated.
Some automation ideas:

Automatically run the sniff over the valid/invalid code samples in the associated XML docs to verify that these still line up.
Scan the sniff code for all addError()/addWarning() calls, gather the error codes/error code patterns and verify against error codes mentioned in the docs.
Use reflection on the sniff class to verify that all public properties in the sniff are mentioned in the docs and that no public properties are mentioned in the docs which no longer exist on a sniff.
Check URLs mentioned in the docs do not 404.
Possibly automate generating/updating the wiki page based on the XML docs.
For all these automation ideas, it should be considered whether the automation could also be useful for external standards with XML docs for their sniffs and if so, it should be set up to allow for them to use it too.
As an example, PHPCSDevTools currently already contains two tools related to the XML docs - an XSD file to validate XML docs against and a "check complete" tool which can check that all sniffs are accompanied by tests and documentation.

Aside from the information to be contained in the docs, I also think any discussion about changes to the docs format needs to be accompanied by a discussion on improving the discoverability of sniffs.
Currently there are three PHPCS native generators: Text, HTML, Markdown.
I don't know if there are other custom generators in use in external standards. It would be nice to get some insight into that.
While you clearly have discovered the Docs generator feature, I have a feeling that the majority of users don't know it exists and don't use it, so what would be a way to make this wealth of information more easily discoverable by end-users ?
One idea I've been thinking about is to add a generator which would parse the docs to a format which could be used by Jekyll based GH Pages and to then publish a website with the documentation of all sniffs, including a search feature.
I can even imagine, including the docs of select external standards in this search feature as well, so one could search on "import use" and see which sniffs are available related to import use statements in various PHPCS native and external standards to make an informed choice.
Aside from the initial time investments setting this up, this again would need to be accompanied by automation to automatically update the website on a new release of PHPCS itself and on releases of any external standards for which docs are included.
However, all of this is only useful if there are docs available for all sniffs, which is why I opened issue #148 to at least try to get XML docs in place for all PHPCS native sniffs.
Similar tickets are open in some external standards I'm involved with, like PHPCompatibility. (not so in PHPCSExtra as that has had a docs requirement from the start, so all sniffs already have docs :tada:)
Priority wise, changing the docs format is not high on my list at this time as there are more urgent things to address in PHPCS.
First priority regarding the docs now, is getting the docs for each sniff in place and there is still enough work to do there.
After that we can look at enhancing the available information.
Having said that, I do think it would be good to get a discussion going about this topic, so that when the time is right, all ideas and opinions have been gathered and we can take informed decisions to move this forward.
As part of this ticket, I think it would also be good to gather a list of tickets related to this topic from the Squizlabs repo as I know there have been a few discussions related to this in the past.
Either way, that's my two pennies for now. None of this is set in stone, these are just ideas and other ideas, either for features to add to the XML docs or for ways to make the docs more useful/discoverable are very welcome!

if you consider my initial idea about putting the sniff codes into the docs as useful too, maybe we can think about implementing this now?

I rather not. Why would your "random" change get priority over changes which have been requested by others ? I think any changes need a good think about the whole thing, including what changes are needed to the XSD and how to keep things readable without too much noise.

Why would your "random" change get priority over changes to the docs which have been requested by others ?

Oh, I see. I just wanted to help with this implementation so I thought that if there's a possibility to improve it a little bit, pretty easily, it would be fine to go for it to make the next step to make the tool better. But If you consider this as a random change, not a needed improvement, I understand that it's not worth discussing it at least now 🫡
Let's skip this and take care of things you suggested 😀

@przemekhernik Don't get me wrong, I do think it is a valuable suggestion and a valid request.
I just don't think that it should be prioritized over improving the docs in a more holistic way.

Thanks for saying this! I'll try to think about the things you've mentioned to make the docs better 🤝
Meantime, I've created a simple bash script that iterates through the default standards and shows sniff codes with explanations in one place. It will help me or others solve the problems I mentioned earlier and focus on internal docs improvements. That's not perfect, but at least it's easier to find specific sniffs 🙏
It is available here if someone want to check it: https://tentyp.dev/library/php/phpcs-cheatset/ 👋

@przemekhernik Nice! Can I recruit you to help with getting a website for PHPCS set up ? 😉

@fredden

I've had a look into this and can see how this can be achieved within the current test-suite, without too much difficulty. The main issue is that we currently have no way of knowing which error codes are covered by the documentation. When we have this information available in the XSD, we can add this functionality if we still want it.

Nice! I would prefer a check separate from the test suite though, as while it is about QA, it is not a test. I imagine it could be a tool to be added to PHPCSDevTools.

While looking into this, I noticed that it would be trivial to add a warning if there is no XML documentation file for a given sniff

That is also something which should not be part of the test suite and there is already a separate tool available for this, which will be added and turned on once the docs are complete: https://github.com/PHPCSStandards/PHPCSDevTools#checking-whether-all-sniffs-in-a-phpcs-standard-are-feature-complete

and if there are fixable errors/warnings, but no .fixed file.

See issue #299 + #300 and in particular https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/300#issuecomment-1905144488
Short version: I have a commit ready for this already, but this change will need to go into 4.0.

Nice! Can I recruit you to help with getting a website for PHPCS set up ? 😉

We need to discuss it with my wife and toddler 🤣 But sure, I can try to help in this area. But at first, I'll try to think about what can we do to have all the docs in place.
Currently, I'm working on a video material related to using phpcs in the development process. There were tons of such materials already, but I wanted to focus on the things that were less covered in them like the docs discoverability. I believe that maybe with this we'll be able to find more people to help with the docs. We just need about 56 sniffs to be documented to have them all 😅 I hope this material will contribute to the project by finding more people who are willing to help 🙏
I'll be recording probably next week, so I'll be pleased to hear your thoughts about the things that were hard - at least for me - the configuration. The general thoughts are here. Of course just only if you have a time!

The general thoughts are here. Of course just only if you have a time!

@przemekhernik I've had a quick read-through and would make the following suggestions:

Example command contains a typo: --colored should be --colors.
I'd recommend not using -n in the examples as that's hiding all warnings and new users will follow advise like that blindly and not realize they are silencing half the information.
I'd recommend calling the config file phpcs.xml.dist or .phpcs.xml.dist, not phpcs.xml (That way, devs can overload the project ruleset with their own version in a phpcs.xml file, which includes the dist file).
I'd recommend using selective ignores in the // phpcs:ignore example as a plain // phpcs:ignore will ignore the complete line, while a selective ignore // phpcs:ignore Stnd.Cat.Sniff.Errorcode will ignore only that which should be ignored and will still show other errors when the line is updated.
Or at the very least, mention that ignores/disables etc can be made selective.
Also please fix the typo in my GitHub handle (in multiple places).

Just coming from #148 (let's add all the missing docs), I think that there are various aspects that may be documented (basically all already named here):

error codes.
configurable properties.
custom config settings.

And, maybe, we should consider not only having docs for the individual Sniffs, but also for their categories (namespace tree) and for the standard itself.
About how much of that can be automated, ideally being able to do it within code would be phenomenal (within phpdoc block or so). Keeping the docs manually maintained (into structured format, like current Sniff docs, or manually, like current property customisations wiki) is a real pain.
To dream is cheap™ , great work everybody!
Ciao :-)


Update snappy-java to use snappy v1.1.7

See: https://github.com/google/snappy/blob/master/NEWS

+1

Start working on this in #185

Great, thank you!! :)

@paplorinc A snapshot version is available here https://oss.sonatype.org/content/repositories/snapshots/org/xerial/snappy/snappy-java/1.1.7-SNAPSHOT/ (except Windows support)

Thanks @xerial, will check it out shortly!

I'll release 1.1.7 after #186 is done.

I've benchmarked compression and decompression for 1.1.4 vs 1.1.7 and it seems it has the same performance as before.

@paplorinc Thanks. It seems the performance improvement is only for some specific CPU types (e.g., aach64, little-endian PowerPC, etc.) https://github.com/google/snappy/blob/master/NEWS

@xerial, thanks again for your hard work! :)
Is there an ETA for the 1.1.7 release?

Currently @odaira is working on supporting remaining OSs in #186. I don't want to push him, but the next release is not so far away.
And also judging from Snappy's release notes, there is no fundamental changes other than release process (e.g., use of CMake) unless you are a big-endian architecture user.
We are now revisiting how to build snappy-java based on this new cmake-based build script.

FYI: https://github.com/xerial/snappy-java/issues/186#issuecomment-348058604

I'm now working on Linux build so that we can use cmake generated headers properly inside docker image for cross building. Wait for a while.

Released snappy-java 1.1.7!
https://github.com/xerial/snappy-java/blob/master/Milestone.md#snappy-java-117-2017-11-30
Many thanks @odaira-san for building native libs!

Good job @xerial and @odaira, thanks!
Btw, in the release notes you may want to append the 1.1.5 changelog, too:
https://github.com/google/snappy/releases/tag/1.1.5

@paplorinc Thanks. Added a note for 1.1.5 as well: https://github.com/xerial/snappy-java/commit/8686318c2c5b0b9c367933e78923a8085e11938f#diff-a923e3cd7fd24b0e20ef0518a5f9eff0


docs: add instructions for async ESLint isPathIgnored

Fixes #936

All done - also for the one above (it was the only one I checked hence why I didn't put them in proper links already :-)

Thanks for the PR, @ChrisSargent !


bool fixes

.bool schema type now yields BIT type in MySQL
Removed force try from onRow closures
Added a large model test

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 1343 coins.


Configuration issue

If there is an issue in the configuration stage, what worked for me is download the zip file and change the path for the configuration to the path of the new zip

Thanks for sharing this Merlin.
Just to clarify:
This relates to Step-4 (per Read-Me), for which following steps are recommended, when faced with error/ issue related to configuration file:

Download the repo (if this has not been done), and extract the zip package.
While launching the interface by running this command:  physiokit --config  ; the path of the config file needs to been correctly specified - by locating the specific config file from the extracted zip package of the repo.

If you get an error saying "physiokit" command is unknown, verify if you have activated the correct Python environment (which was used for installing the PhysioKit), and then following command can be used:
python -m PhyioKit2.main --config


v0.2 Beta: Breakpoints don't seem to work at all

Start the program and click on the BR key. The display shows "FULL!" instead of being able to set a breakpoint. If there is a workaround please post it as a reply to this issue. As is I think it makes the emulator of little use for developing ET-3400 programs.  I am using a Windows 10 PC and program v0.2 Beta.

I looked into this issue by reading the ET-3400 Monitor code listing, because I really like this emulator and really want breakpoints to work.  I found "FC46  CE 00 E2 ... BKSET  LDX  #BKTBL-2" at the start of the "set a breakpoint" routine. In the version 0.2 Beta emulator, using "EXAM FC48", shows F2 at that address instead of E2. The ET-3400 Monitor code has an error in it.  I changed that one byte in the .exe file using the XVI utility and now breakpoints seem to work. The hacked v0.2 Beta executable et3400_RN.exe(.txt for GitHub) is attached. Finding this was fun and brought back feelings of hacking assembly code so many decades ago.
et3400_RN.txt
)


Feature request: Support Python UDF From DBT SQL Model

Describe the feature
A clear and concise description of what you want to happen.
Using Spark UDF From DBT will be helpful.
As discussing in dbt-spark, Something like using pre_hook will be helpfull.
https://github.com/dbt-labs/dbt-spark/issues/135#issuecomment-852920532
{{ config(
pre_hook=['
function custom_df(input)
   # do some logic
   return output

spark.udf.register('custom_df', custom_df)
']
) }}

select custom_df( x ) from {{ ref('my_table') }}

or
{{ config(
pre_hook=['dbfs:/scripts/init_functions.py']
) }}

select custom_df( x ) from {{ ref('my_table') }}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Using DBT Python models. Ideally want to use udf from DBT SQL model
https://docs.getdbt.com/docs/build/python-models

(Advanced) Use dbt Python models in a workflow

https://docs.databricks.com/en/workflows/jobs/how-to/use-dbt-in-workflows.html#advanced-use-dbt-python-models-in-a-workflow
Additional context
Please include any other relevant context here.

Running dbt in production with Python UDFs
https://www.explorium.ai/blog/news-and-updates/running-dbt-production-python-udfs/

Who will this benefit?
What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.
Some one who want to use UDF.In our company proceed migration from Oracle PL/SQL to Databricks. If we can use udf some function will be easy to migrate.
https://www.databricks.com/blog/how-migrate-your-oracle-plsql-code-databricks-lakehouse-platform
Are you interested in contributing this feature?
Let us know if you want to write some code, and how we can help.
Yes

Ah may be can we create udf from macro?
macros/create_udfs/udf.sql
{% macro python_udf(a) %}
  CREATE FUNCTION redact(a STRING)
    RETURNS STRING
    LANGUAGE PYTHON
    AS $$
    import json
    keys = ["email", "phone"]
    obj = json.loads(a)
    for k in obj:
      if k in keys:
        obj[k] = "REDACTED"
    return json.dumps(obj)
    $$;
{% endmacro %}

Call udf
{% macro python_udf(a) %}
  `P****.B****.python_udf`({{ a }})
{% endmacro %}

use udf
SELECT
  fruit,
  {{
    python_udf(
      a="'{"key":"value"}'"
    )
  }} AS amount
FROM {{ ref('table') }}

This might already be possible though I'm not sure
Here is how I've done it  with DuckDB
I define a plugin here https://github.com/Nintorac/s4_dx7/blob/main/s4_dx7/udf/init.py
and then load it in the profile here https://github.com/Nintorac/s4_dx7/blob/main/s4_dx7_dbt/profiles.yml#L13
And finally can use it eg here https://github.com/Nintorac/s4_dx7/blob/main/s4_dx7_dbt/models/dx7_voices.sql#L3C25-L3C39
what I'm not clear on is

how to ship the environment to the databricks cluster
are the plugins a duckdb-dbt feature or dbt-core feature


Isn't there html5indexeddb?

As of 2010, WebSQL is deprecated. Can you merge html5sql into IndexedDB?

Never mind. You can use IndexedDB wrapper with JsStore. I personally find it quite similar with WebSQL.


Documentation: make explicit how distros run as containers under a single kernel

Is your feature request related to a problem? Please describe.
I've either had or seen a few awkward-to-track-down issues arising from this: one being that kernel threads aren't shown by ps(1) or otherwise inspectable from a WSL distro (see #4425 for an example); kernel threads not sharing an identical understanding of the filesystem with a given distro (also #4425); auditd(8) not functioning under WSL since a contained process cannot adjust the kernel audit enable flag; et. sim.
Describe the solution you'd like
All of these are in themselves relatively minor (or at least niche) issues when they cannot be worked around, but it would be useful to have this part of the architecture explicitly described in the documentation to avoid the debugging and hunting through the issue tracker to figure out what's going on.
Describe alternatives you've considered
Well, y'all could entirely redesign WSL 2 to work on a one-kernel-per-distro model, but that seems a mite excessive for this. 😄

Same question: How docker can run multiple container with one host kernel?

There is no repro on "cannot adjust the kernel audit enable flag; et. sim" provided. For documentation improvements: here.

@therealkenc
❯ sudo auditctl -e 1
Error sending enable request (Operation not permitted)
[1]    21673 exit 255   sudo auditctl -e 1

❯ sudo auditctl -s
Error sending status request (Operation not permitted)
[1]    21741 exit 255   sudo auditctl -s

But seriously, do we really need repro cases for one-of-various examples of already documented limitations? People can easily look up whatever limitations, etc., are related to being in the WSL container if they know that they're in one , which for this issue is the thing and the whole of the thing.

Can't repro here with the steps provided. I get:
$ sudo auditctl -e 1
ken@DESKTOP-BNN97ME:/mnt/c/Users/there$ sudo auditctl -e 1
Error - audit support not in kernel
Cannot open netlink audit socket

Naturally because:
ken@DESKTOP-BNN97ME:/mnt/c/Users/there$ cat /proc/config.gz | gunzip | grep CONFIG_AUDIT
# CONFIG_AUDIT is not set

Which does not require WSL documentation, because the behavior is not WSL specific and is documented widely. Any kernel with CONFIG_AUDIT=n  will return that error.

But seriously, do we really need repro cases

Yes seriously, if one is submitting a bug report (or more recently) a feature request. Otherwise there would be absolutely no way to turn the request into an actionable, and eventually the issue gets closed or at best goes chirping crickets if no one gets around to closing it.
Would CONFIG_AUDIT=y be a reasonable feature request? Dunno. Depends on the use case demonstrated in the CLI repro, and the number of thumbs up on the OP, mostly. As of this writing such a request would not be a dupe AFAICT.

Which would be fine if this feature request was actually related to CONFIG_AUDIT/auditd (or the kernel threads, or any of the other behaviors ) in any way other than them being an example. Talking about or reproing any of those particular cases is a distraction from the substance of the issue, namely that this particular detail of the WSL architecture makes it behave in ways (1) different from a "generic" Linux installation when you use certain programs and enable certain kernel features, and these ways are unexpected if you don't know what's going on under the hood. And hence it would be useful to have that in the docs.
I have no idea how one would even write a repro case for that - "Install a WSL distro. Attempt to run everything. Note that some things with documented or undocumented, explicit or implicit, expectations of running outside any user namespaces behave in unexpected ways." - nor, for that matter, can I see the problem in turning "Please document this particular item." into an actionable.

Ways which are spread out across a whole variety of kernel features and user programs and as such properly documented there, rather than trying to cram details into the WSL docs beyond "your distro is in a container and behaves as such".


Fix regex

Allow to recognize URLs with an extension https://github.com/lukechilds/my-name-is-url/issues/18

Coverage remained the same at 100.0% when pulling 853d5e2477afb46509a0bd63a05c1a7c0e1a6dcb on nautilebleu:master into 2cd1917f32ca4b3a03f77bc0d25b178651a87f20 on lukechilds:master.

Brilliant, thanks!
Could you add a test for this functionality to prevent regressions too?

I added a test :)

Thanks!
Published as<EMAIL_ADDRESS>🎉

Thanks 👍


optimize the upperBounds computation in the CFG

Motivation

Making things go faster.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Lq8rSD9UL4JNTv
→ https://go/builds/bui_Lq8rZAyEtV7Dmn


Images for MessageBox icons

I think it would be helpful to display sample images from the current operating system (i.e. Windows 10) to see what the icons will look like. This way, chosing the right icon will be faster.

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

ID: 8900db20-f08a-6069-f39e-0ddc260420a3
Version Independent ID: 59408b8d-e4f7-bf8c-820f-286537ea7eb0
Content: MessageBoxIcon Enum (System.Windows.Forms)
Content Source: xml/System.Windows.Forms/MessageBoxIcon.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for the suggestion, @Danghor. I've added it to our backlog, as well as to the community contributor's project.

Alright, I've got the images. Looking for the best way to put them in now, with the help of some Python magic. Wish me luck!

Keep us posted, @nic-hartley. And let us know if you have any questions.

@rpetrusha Still trying to figure out how to embed images in the Fields section; I can figure out how to do it in the main body, but I'm struggling to get it in there -- it doesn't seem possible, unless I'm missing something.

I suspect that it's not possible. The best alternative is to add to the enum description a sentence about the Remarks section containing images for each symbol, and add a table in the Remarks section.

That's frustrating, but yeah, it looks like I'll have to do that. I got sucked into another project at work, so this is on the back burner -- I'll have it done by Sunday if no one else has.

...Or I'll entirely forget about this until just now. I'll have the images in within... probably three or four hours, at most.

@rpetrusha Apologies again for taking so long to get to this, I got distracted by work. (I know, I know, who needs a life when you have open-source...)
How do I build the documentation? I'm pretty sure I've got this done on my fork, but I can't figure out how to build it so I can make sure I actually did it right.


[CD] fix CD and remove leftover from #15990

Description
fix CD and remove leftover from #15990
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] fix CD since python2 support is dropped

Verified that the fix is working and leftover issues have been addressed. Issues in #17557 is not yet addressed as part of this PR so cu101/cu101mkl/cu102 publishing is still blocked.

@szha need to merge master


Pass cwd directly in options to fallback to default profile

This PR fixes #132718
This is workaround for issue but doesn't fix root cause and other related issues (tasks, terminals from extensions (probably #132766 wont be fixed in recovery etc.).
#132718 has easysteps to reproduce and not duplicate of #132150
It avoids using almost empty config object in terminal that would prevent createTerminal method to use default profile selected by user.
@meganrogge @Tyriar
Root cause in line
https://github.com/microsoft/vscode/blob/72bbe2e7484cf332ad10781dc36498904b7be0b2/src/vs/workbench/contrib/terminal/browser/terminalService.ts#L1161
and there are a lot of cases when options.config has only 1-2 fields, but don't define profile to use and also prevents usage of user selected default profile.
Probably there should be more precise check of options.config before ignoring default profile.
UPD. There is no expectation that this one will be merged as more work needed to fix root cause.

Closing in favor of #132851 which fixes reason why user defined default terminal wasn't used when options.config passed


Handling binary data

If the body must be represented as a string (Nest spec), how would one respond with binary data? e.g. image/gif? I find myself wanting a more general representation like [UInt8], or even more general, something that can express itself as a sequence (streamable).
For instance, Ruby's Rack just wants a body that responds to .each.

There is a planned Nest change, see NEP 2.

Thanks, looks good.

@kylef aside: shouldn't https://github.com/nestproject/Nest have github issues enabled? especially this early in its life, issues are a good way to help cultivate a fledgling community.

+1 on enabling Issues.


Meltano.com home page cleanup

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1749
Originally created by @derek-knox on 2020-02-14 17:54:23

[ ] Ensure screenshots are current
[ ] remove videos that are now outdated?
[ ] update other screenshots that are stale across the documentation

View 9 previous comments from the original issue on GitLab


WIP: Kibana examples docs update

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated.
[ ] Changelog entry has been written

Explain the details for making this change. What existing problem does the pull request solve?
Changelog Entry

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

Very much a work in progress.  Added page with Kibana examples and images.  Images load larger when you click on them.


default fontend

how to set a default frontend to handle the request that didnt handle by any other fronend?

Hi @mougeli, for now, you can't, sorry.

+1


Black screen with the latest Flutter alpha

git pull
remote: Counting objects: 142, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 142 (delta 65), reused 64 (delta 64), pack-reused 67
Receiving objects: 100% (142/142), 27.45 KiB | 0 bytes/s, done.
Resolving deltas: 100% (91/91), completed with 44 local objects.
From https://github.com/flutter/flutter
   7be58b1..f91c3df  alpha      -> origin/alpha
   1d0e193..a368cd7  master     -> origin/master

Do you know of what might have changed between 7be58b1 and f91c3df that might cause this? I can still tap buttons to get Ink Splashes, but despite trying a couple themes, my app remained on a black screen. (Black text on black background.)
I could look into this more if needed, but for now, I'm reverting back to 7be58b1. (I'm using pub run flutter_tools run_mojo)

pub run flutter_tools run_mojo  <--- That shouldn't work.
Instead, just use the flutter run_mojo, where flutter is the script in bin/flutter.  We don't use pub run anymore.

I was able to reproduce the issue on Android (but not on Linux).  Investigating.

Fixed in https://github.com/flutter/engine/commit/980f874405175d28085bd5cb61995f4a91818326.  We'll need to publish the engine for you to get a new binary with the fix.  Given that it's thanksgiving tomorrow, that will probably happen early next week.

Thanks @abarth.
Regarding flutter run_mojo, I do a dependency path import on flutter_tools, which is why pub run flutter_tools run_mojo works. I haven't done set the path to flutter's bin directory yet, so I have been relying on pub run to execute these scripts. I plan to move forward in the future, just not at this time.

Ok.  Yeah, I guess that will work.


Provide ES6 Module build

I would like to use stampit as ES6 module. However, it currently is only compatible with common.js or global variable use (If I understand correctly).
Is it possible to add an ES6 build of stampit?

Yes. It is possible. Please, guide me through.
Do I need to add "module": "dist/stampit.module.js", to the package.json?
Anything else is needed?

Thanks!

Do I need to add "module": "dist/stampit.module.js", to the package.json?
This, too, if I understand it correctly (not an expert on this)

It seems that currently, stampit uses node-compatible common.js-style module.exports or export to a global variable  see code and an optional build step via uglyify to get a minimized version of the library.
I guess the best way would be writing ES6 style and converting to common.js via rollup (minimal example). But this might be too much of a change so I understand if this is not priority.

Wow. Your know more than me!
I heard this might be a good option to publish module like stampit https://github.com/developit/microbundle

We accept PRs  😉
Even half baked PRs 😉

Before I cause a mess there – it seems that the code as been ES6 compatible, but was subsequently changed. This seems to have been part of minification, which I do not fully understand (was this for the code to be small itself or for being better minify-able?).
Another thing that is striking is the use of  "var1", "var2"… through the code, introduced  in "further minification 7" – why var var1 instead of var properties? (similar changes towards less speaking variable names were also done before, e.g. in "further minification 2")

Your understanding is correct.
Are you trying to rewrite to ES6? I would not recommend.
Instead, I'd recommend changing the exporting method only. Like, the last
(or more) line in the file.
Does that make sense?
On Fri., 5 Jun. 2020, 03:31 jdittrich<EMAIL_ADDRESS>wrote:

Before I cause a mess there – it seems that the code as been ES6
compatible, but was subsequently changed
https://github.com/stampit-org/stampit/commit/b1086e724bf8a9551e9b643cee8e8b83a4f67a84#diff-d3d1780d19f75055166112db1c679b84R486.
This seems to have been part of minification, which I do not fully
understand (was this for the code to be small itself or for being better
minify-able?).
Another thing that is striking is the use of "var1", "var2"
https://github.com/stampit-org/stampit/blob/master/src/stampit.js#L5…
through the code, introduced in "further minification 7"
https://github.com/stampit-org/stampit/commit/c42ccad00d7f42facac3d1d8b593f1d936b63f0f#diff-d3d1780d19f75055166112db1c679b84R5
– why var var1 instead of var properties? (similar changes towards less
speaking variable names were also done before, e.g. in "further
minification 2")
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stampit-org/stampit/issues/352#issuecomment-638997796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMMEL236GFHTF5AGNKOREDRU7K5LANCNFSM4NQA5SDQ
.

Out of curiosity, what are the use cases for ES modules?
One "silly" idea comes to my mind: have the source use ES Module syntax and use TypeScript compiler to compile the CommonJS version.
If there is any other tool chain to transform CommonJS to ESM (or vice versa) I'd gladly give it a look.

Out of curiosity, what are the use cases for ES modules?

The modern tooling usually works fine with both - ES6 exporting and the CJS. However, they work slightly better with ES6 exporting version.
There is nothing to treeshake in stampit, so that can't be the main reason.

One "silly" idea comes to my mind: have the source use ES Module syntax and use TypeScript compiler to compile the CommonJS version.

That's a good idea. I was thinking about it a lot myself. Can be done with Babel compiler too. Or Rollup. Or the above mentioned microbundle.

If there is any other tool chain to transform CommonJS to ESM (or vice versa) I'd gladly give it a look.

Here is my typical approach.
I copy the the Preact project setup. :)


story: target a specific configuration with -c / --config flag

Story description
We want to allow users to manage different target for test, deployment from one code base. The cleanest solution is to let users define different checkly.config.ts files that have different settings. This creates a composable way to:

target different environments like staging, production etc.
enables even cross account, cross project workflows by appending different credentials to a npx checkly <command> -c <config> invocation

-c / --config flag

Flag applies to test and deploy commands.
When no flag is set, defaults to checkly.config.ts and then checkly.config.js in root directory

Shortcut link
No response
Additional resources
No response

@umutuzgur @clample , should we add the flag for the destroy command?

@nahuelon good point. That makes sense to me.


Ride Request Widget Issue

So a dialog keeps showing that says The Ride Request Widget encountered a problem.  It has two buttons CANCEL and TRY AGAIN.  My pick up location is in Los Angeles and the drop off location is in Las Vegas.  What is causing this dialog to show?  I am able to view the Request Widget if both my pick up and drop off location are in Los Angeles.

I believe trips over 100 miles aren't allowed through the Ride Request Widget. It is supposed to show an error within the widget (something like "pickup and dropoff can't be over 100 miles, please change your dropoff") but it seems like there is a bug with how the mobile app is notified about this problem from the Ride Request Widget so the whole widget errors out.
I'll look into fixing this, thanks for letting us know!

Thanks for letting me know.  Yes an error message like that would be a much better user experience.

Fixed in v0.5.3

Hi , Can anyone help me out ??
My issue is , when i click "Get a ride button " Widget is not working in my Android app its displaying "Unable to connect , which has "okay" button when clicked other popup comes up which says "There was a problem authenticating you . But deep linking with ride params is working fine .
Thanks .


nmap causes a "java.net.SocketException: Connection reset"

Start 1 master.
Start 1 server.

On the server machine, issue a 'nmap' command.

start.sh --httpPort 8080 --nodePort 6000 --master localhost:9510
Starting Terrastore Server ...
Terrastore Server 0.5.1 - 12:00:32.912 - Welcome to Terrastore.
Terrastore Server 0.5.1 - 12:00:32.919 - Powered by Terracotta
(http://www.terracotta.org).
Terrastore Server 0.5.1 - 12:00:32.919 - Listening for HTTP requests on
<IP_ADDRESS>:8080
Terrastore Server 0.5.1 - 12:00:32.923 - Listening for node requests on
<IP_ADDRESS>:6000
Terrastore Server 0.5.1 - 12:00:32.924 - Node communication timeout (in
milliseconds) set to 10000
Terrastore Server 0.5.1 - 12:00:32.924 - Number of http threads: 100
Terrastore Server 0.5.1 - 12:00:32.924 - Number of worker threads: 20
Terrastore Server 0.5.1 - 12:00:40.298 - Set up this cluster terrastore-cluster
Terrastore Server 0.5.1 - 12:00:40.309 - Joining this node
terrastore-cluster:ServerID[1]
Terrastore Server 0.5.1 - 12:00:40.322 - Set up this node
terrastore-cluster:ServerID[1]
java.net.SocketException: Connection reset

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Jun 2010 at 10:02

Valerio, this shouldn't be an issue: it should be the web server complaining
about the unusual, abruptly reset, nmap connection attempt.

If you experience other similar problems, please file another issue with a more
detailed stack trace (if possible).

Original comment by<EMAIL_ADDRESS>on 15 Jun 2010 at 5:33

Changed state: Invalid


Enhancement: Adopt ConversationSummaryBufferMemory

Contact Details
<EMAIL_ADDRESS>What features would you like to see added?
I propose the adoption of ConversationSummaryBufferMemory in LibreChat. This memory class combines the advantages of BufferMemory and ConversationSummaryMemory for managing the conversation history. It maintains a buffer of the most recent interactions and a summary of the previous conversation, enabling efficient memory usage and improving context awareness, particularly during long conversations. For more details on how ConversationSummaryBufferMemory works, you can refer to this article.
More details
I'd like to discuss the potential impact of this adoption on the existing system and how to best approach its implementation. Would be happy to contribute to this enhancement.
Which components are impacted by your request?
General, UI
Pictures
Not applicable for this request.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I've already made my own implementation of exactly that, summarizing the earliest messages while keeping the buffer for latest
It's not perfect and haven't gotten to testing it much, but it can be found here: api\app\clients\BaseClient.js, see refineMessages method.
In api\app\clients\OpenAIClient.js, this strategy is used when options.contextStrategy is set to refine.
My initial thought with this was to make this kind of thing optional/configurable. I'm very open to this being refactored however necessary. Perhaps the current ways can be bypassed altogether for use with langchain, as long as parameters like promptPrefix are kept intact.
A lot of the work is done already for easy integration tho, i would just look at the source code to see how langchain is summarizing/handling tokens to start and implement in refineMessages method, and if it's too much work, maybe a significant refactor of sendCompletion, buildMessages, or even sendMessage methods of BaseClient/OpenAIClient are in order

@ywkim lmk your thoughts on this as this would be great to have. I thought of simplifying the tokenCounting, for incoming messages at least, via express.js middleware, could help offload the complexity from the client classes

will have to comb through the relevant langchain docs soon: https://github.com/hwchase17/langchainjs/blob/main/langchain/src/memory/summary_buffer.ts

Hi @danny-avila,
I apologize for the late response, I was on vacation for a month. It seems a lot has happened during this time! I'm glad to see that you've started working on the introduction of ConversationSummaryBufferMemory that I suggested.
The code you've implemented seems to have made significant progress. I appreciate your efforts in enhancing the project and I'm looking forward to seeing its effects on LibreChat's functionality.
Thank you once again for considering my suggestion and for your continuous work on this project. If I have any more ideas or suggestions in the future, I'll be sure to share.

No worries, hope you had a great vacation!
Yes, I'm just about to wrap up the PR. LangChain makes it really easy to implement these pruning methods, but not for message branching, as it would waste more tokens than save, out-of-the-box.
A homebrewed solution was needed for this project, and I was able to use LangChain tools to help.
Thankful for your contributions and this suggestion!


Output Creates Large Pause When Reaching Next Chapter of File on Playback

I was successfully able to unlink and output complete files for the anime Bakemonogatari, Tsukimonogatari, and Monogatari Series Second Season. However, when I tried to output files for two other shows in this anime series (Nisemonogatari and Nekomonogatari), there were large pauses almost 30-45 seconds before the file would continue onto the ED portion. What's even weirder was that these pauses make the video player seemingly freeze and the track bar stops moving and any attempt to jump place results in nothing.
I'm currently using VLC ver. 2.2.4 on WIndows 10 64-bit. and all of the files were the 720p versions from Coalgirls's release.

I just noticed that it has been a month since I posted this, so I figured I'd try commenting again for exposure, but also adding a link to the verbose log it produced when unlinking Nisemonogatari
Unlink-MKV for Nisemonogatari.txt

Problem is also happening with 1080p version. Could be a timecode problem with the MKV itself.

Maybe. I also tried playback using MPC-HC (everything up to date) but that has similar issues too. First, the subtitles are suddenly missing and can't load them despite being selected, but when you get to the ED, the audio continues to play after a 1-2 pause with the video continuing synced up after 4-5 seconds.
If it really is a timecode issue, would I even be able to fix it?

Not even sure if it's possible... If I remembered it right best advice over the interent was: Just reencode the source again because everything else isn't worth time and effort.

Welp... I know nothing about encoding stuff ;-; Could I then, in theory, just use some kind of video editor to add the sections onto the main video and adjust as needed? Any good place to start learning?

This is a weird issue with encoding. Do you still have this problem?

I had actually tried doing it with the 1080p version of the files a few days ago and it ended up working perfectly, so most likely it was the encode

Cool. I have a new backend for the converter -- would you be interested in testing it for me? It should resolve a lot of these issues.

Actually, I would like to extend that offer to everyone on this ticket. Please send me an e-mail as listed on my Github profile if you're interested... it should resolve a bunch of these problems and I'd like to get as much confirmation as possible.

Pre-release version pushed out... hopefully this resolves at least a few issues.


Utilization on sb and cb

Hi, do we know what is the utilization on sb and cb for each benchmark?
I see we have the block utilization posted on clb and io in vpr_stdout.log.
Do we have the same report on sb and cb?
Thanks!

Currently, I do not have the stats. But it should be fairly easy to create. In general, if you are interested in the routing utilization, you can find these numbers by enabling --full_stats on when running vpr.

Thanks!

Hi, I add vpr ${VPR_ARCH_FILE} ${VPR_TESTBENCH_BLIF} --clock_modeling route --full_stats on
But I am having trouble finding the utilization of sb and cb.
vpr_stdout.log

@zliu1Charlotte VPR only outputs the overall routing utilization. There are no CB/SB utilization reported.
You can check the LINE641-735 in your attached log file.

Thanks, but the log file is rather confusion.
Terminologies like Maximum routing channel utilization:      0.67 at (2,0)
what is 2.0, and does this mean the routing utilization is 0.67?

I add --disp on and --save_graphics on but I am having trouble finding its outputs vpr_placement.pdf and vpr_routing.pdf

How to properly interpret this histogram?
Routing channel utilization histogram:
[        1:      inf) 0 ( 0.0%) |
[      0.9:        1) 0 ( 0.0%) |
[      0.8:      0.9) 0 ( 0.0%) |
[      0.7:      0.8) 4 (12.5%) |*************************
[      0.5:      0.6) 2 ( 6.2%) |************
[      0.4:      0.5) 6 (18.8%) |*************************************
[      0.3:      0.4) 4 (12.5%) |*************************
[      0.2:      0.3) 8 (25.0%) |*************************************************
[      0.1:      0.2) 0 ( 0.0%) |
[        0:      0.1) 8 (25.0%) |*************************************************
Maximum routing channel utilization:      0.67 at (2,0)
thanks.

@zliu1Charlotte

Maximum routing channel utilization: 0.67 at (2,0) means that the coordinate (2,0), 67% of the routing tracks in that routing is used for signal routing. I am not pretty clear about the histogram. VTR community should have better understanding. Or you can try to search it in their documentation.

https://docs.verilogtorouting.org/en/latest/vpr/file_formats/#placement-file-format-place

Segment usage by type (index): type utilization indicates the utilization rate of different type of wires/routing tracks in a routing channel. In FPGA,  there could be multiple types of wires in a routing channel, each of which can speed up the connections. I suggest you to read Prof. Vaughn's book to understand the basic concepts： https://tspace.library.utoronto.ca/handle/1807/12758

@tangxifan  Thank you


Add a function to copy a telescope configuration in the DB

The idea is that once a new telescope is defined, we can easily create an entry for it in the DB. In this context, "a new telescope defined" refers to a telescope that moves from design configuration to "real life" configuration. For example, once the first MST is constructed on site, it will have its exact mirror list/configuration which will differ from the design.
@RaulRPrado, do you think we should copy also the full history of the design into the new telescope?
My current opinion is yes, because if we want to produce MC with an old configuration, it would work "out-of-the-box" this way. However, it creates duplication in the DB that perhaps could be solved in the code by picking up old configuration from the design telescopes in case it does not exist for the real telescope.

@RaulRPrado, do you think we should copy also the full history of the design into the new telescope?
My current opinion is yes, because if we want to produce MC with an old configuration, it would work "out-of-the-box" this way. However, it creates duplication in the DB that perhaps could be solved in the code by picking up old configuration from the design telescopes in case it does not exist for the real telescope.

Maybe we don't need it. I think it's an extra complication.
An old configuration would mean that the design is repeated for those non-existing telescopes. This info should be stored somewhere, no?

Potentially it is always stored in the design telescopes, e.g., South-LST-D. We can always read "history" from there I guess.

Included in #45.


x/tools/gopls: duplicate method implementations with embedded type

With something like this:
type foo struct {
  time.Time
}

type unixer interface {
  Unix() int64
}

If you find implementations on the Unix() interface method, you get back duplicate results for time.Time.Unix().
Below is a sample response showing the duplicates:
[Trace - 03:45:53 PM] Received response 'textDocument/implementation - (127)' in 4ms.
Result: [
  {
    "range": {
      "end": {
        "character": 18,
        "line": 1150
      },
      "start": {
        "character": 14,
        "line": 1150
      }
    },
    "uri": "file:///usr/local/go/src/time/time.go"
  },
  {
    "range": {
      "end": {
        "character": 18,
        "line": 1150
      },
      "start": {
        "character": 14,
        "line": 1150
      }
    },
    "uri": "file:///usr/local/go/src/time/time.go"
  },
  {
    "range": {
      "end": {
        "character": 18,
        "line": 1150
      },
      "start": {
        "character": 14,
        "line": 1150
      }
    },
    "uri": "file:///usr/local/go/src/time/time.go"
  }
]

Fixed in #af85770


issue with php spaces

i had this issue which i posted on htmlmin and they fixed it a release a while ago but it's not fixed here
https://github.com/kangax/html-minifier/issues/545

Looks like they haven't published 1.3.0 yet. When they do, you can reinstall gulp-htmlmin and npm will pull down the latest because we're using ^1.0.0.

isn't possible to install directly from git ?

You can do that locally until 1.3.0 is published. I don't think it's a good idea for this library to depend on the git branch directly.