add support for multiple Text Shadows

add support for multiple text-shadows, e.g.:
text-shadow: 0 0 5px #00f, 2px 2px 0 #f00;
add support for single text-shadow on text elements whose color is semi-transparent; Shadows must be rendered separately from text for Canvas to achieve this effect, otherwise everything ends up semi-transparent.

I don't quite get this Travis CI build failure. It says ECONNREFUSED on browser tunnel, but not sure how that has to do with the code failing to check properly (or perhaps this is a normal thing with Travis CI? I don't have experience there). Here's where the error occurs, ideas how to solve?
 Use --force to continue.
Aborted due to warnings.
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0

Thanks for the PR!
The travis webdriver tests always fail for pull requests (http://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests).
Few issues:

The whitespace should be 4 spaces instead of tab.
Whats the purpose of the dx variable and why is it needed? The current test doesn't work at all for me with that dx value added/subtracted from the different values.
As the text gets rendered multiple times and the fill color is hardcoded to black, won't this break rgba colors which aren't 100% opacity?
NodeParser shouldn't directly access the canvas context, instead use the setVariable  or other methods / properties in the CanvasRenderer.

I've added some more tests to https://github.com/niklasvh/html2canvas/blob/master/tests/cases/text/shadow.html
(including some with the opacity issue) but would be nice to have some more.

The dx value is needed as an offset so the shadow is separated from the text (it should push the text out of bounds, while the shadow stays in place). This is because in canvas context there is no way to create a shadow of a certain color without also creating text of the same color. While in CSS you can specify multiple text-shadows, so in canvas context you need an offset so only the shadows (not the text itself) are visible. This point is valid in all cases unless you have one shadow on fully opaque text.

Nope, it's only the shadow being rendered to the visible portion of the screen. The text color must be 100% opaque or it will be multiplied against the shadow. It doesn't matter what color as long as it's opaque, so I just chose #000.

I'll try to get back to you with an update soon. I'm reading up on qunit/mocha and looking into how tests are setup (new to me).
btw, "grunt test" command on the homepage docs is returning "Task "test" not found."

Ok, I've made the requested edits, and added a few more fixes, as well as smartly using the renderShadowAlone vs. the way it was before. Let me know if there's anything else you'd like to see changed here.

There still appears to be some issue with the shadows. On the shadow.html the shadow style is rendered on text that don't have any text applied to the. I've highlighted the issue in the image below:

Woops, I forgot to run clearShadow when textShadow.length === 0 (pushed)
btw, do you think we should alter clearShadow to be the following (if the browser is not being smart then the gaussian blur might still be calculated):
CanvasRenderer.prototype.clearShadow = function() {
this.setVariable("shadowColor", "transparent").
setVariable("shadowBlur", 0);
};
I should do a perf, but am running late on getting ready to leave on a trip.

Hello forgive my English , and found a bug in 0.5.0 - alpha2 multiple shadows adding 4 or 5 texts with different shadows and shadow works only in one text

If I have 2 different elements that have text-shadowing on, only the first element will render with a text-shadow. Does this issue also affect text-shadowing on multiple elements (not multiple shadowing on a single element)?


Fix compile-time warnings

Fix compile-time warnings:
Removed warnings, the total number is more than 200. It was checked at the GCC 4.x-5.3 and the clang. The incomplete list of warnings was saved in the directory https://github.com/ClnViewer/miniz/tree/warning-fix/warning-log
There are three places where you need to change the code in order to clear the error code -Wstrict-aliasing, temporarily removed using pragma.

Sorry, but this is just a weird pr. Why did you delete .travis.yml for example?


clash using Any alert() function call

hi, the script clash when try to create alerts in a script tha uses the any alert() function call:
this is the call in my pine script:
if (validLong and _zignaly)
alert(message=msgbuy, freq=alert.freq_once_per_bar_close)

This has been addressed in the 1.8.5 release. closing for now


[Bug] | Blank white webpage on iOS and Internet Browser on Android

Are you using the latest release?

[X] Yes, I am using the latest release.

Have you checked a bug report doesn't already exist?

[X] Yes, I have checked the existing bug reports.

What happened?
Just used wizarr to have my plex users make their own jellyfin accounts. Nearly all iOS users reported back the the site loads a completely white webpage with nothing to do or interact with. I saw the exact same issue accrue using the basic internet browser app on android. I am not able to figure out why this is happening.
Virtualisation
Docker
What operating system are you seeing the problem on?
iOS
What browsers are you seeing the problem on?
Chrome, Safari
Project Location
Remote
Bug Description
Unable to load website with iOS browsers. Tested safari and chrome.
Android internet browser also has same issue.
Steps to Reproduce
No response
Relevant Log Output
No response

I have the same issue - All browsers ONLY outside of the local network have the same issue. Tested on iOS, Android and MacOS with Chrome, Safari (iOS & MacOS Only), Firefox, Samsung Browser (Android Only).
Wizarr in docker, NGINX Proxy Manager in front (both locally and externally).
Works fine over different VLANs, just not externally, so not a routing issue.
More than happy to test etc.. if needed.

I have had a lot of inconsistencies trying to fix this issue where I also started having issues in multiple browsers but it wasn't always present.  I disabled my dns proxy on cloudflare and that seems to have done the trick. I'm not sure what in the code is causing the issue where I can't use a DNS proxy service.

You can use cloudflare, you must disable the auto minify and the rocket settings I believe. Due to the nature of Vue, it renders the page after the DOM is loaded, not before. So it’s breaking the JS.

I turned off the minify and turned DNS proxy back on but still having similar issues.

I believe the setting in question is “Rocket Loader” which can be found under Speed > Optimization

I believe the setting in question is “Rocket Loader” which can be found under Speed > Optimization

I figured it out. I forgot to purge the DNS cache in cloudflare. So it was still pulling the broken minify code.


[Question]: How to Use ReAct Chat Engine to Query a Collection of PandasQueryEngines

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
does anyone know if i am able to use a ReAct chat engine to perform data analysis on a collection of pandas dataframes?
what is the best way to compose an application for such a use case?
As per the documentation, using ReAct and Single Query Transform can be done on VectorStoreIndexes. However, I can't find any documentation on how to create a VectorStoreIndex using pandas dataframes.

I've followed the PandasQueryEngine example from the last comment. However, no matter what I write (a natural language query or pandas instruction), I get the following error when using the query_engine.query():
Traceback (most recent call last):
  File "/home/jupyter/venv/lib/python3.10/site-packages/llama_index/query_engine/pandas_query_engine.py", line 59, in default_output_processor
    tree = ast.parse(output)
  File "/opt/conda/lib/python3.10/ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 3
    Note: The input query is not in a specific format, it's just a description of what we want to achieve. We need to convert this query into an executable Python code using Pandas.
                                                         ^
SyntaxError: unterminated string literal (detected at line 3)

Any chance we can get a working example of PandasQueryEngine anywhere? Everything saw in the documentations fail on the default_output_processor


Bump the version of rustlts used in v0.11 because of RUSTSEC-2024-0336

This addresses the vulnerability in rustlts described here - https://rustsec.org/advisories/RUSTSEC-2024-0336 - for version 0.11

This isn't required, because of how version ranges work in Cargo. You can upgrade it in your own app with cargo update -p rustls.

Thanks! I had no idea it was that easy. That restores my faith in cargo


WIP server-side apply in tests v2

This is based on #5077, but only uses SSA to update custom resource statuses and secrets' spec as we currently don't have a clean way how to use it to update custom resource specs, see https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1651567807840999
NONE

/kind cleanup

This is now really out of date


Cant import m3u

Please first read the documentation. Problems affecting the client, e.g. Plex or Emby should be reported there in the forum.
Describe the bug
A clear and concise description of what the bug is.
Server (please complete the following information):

OS [e.g. Linux - Ubuntu]: Debian 12

Threadfin Version and Build [to be found in the Threadfin log]:
1.2 Build: 15

To Reproduce
Steps to reproduce the behavior:

Run Container
add Playlist
loads forever, logs say: 2024/11/08 08:58:44 [Threadfin] Check File:             http://cf.mar-cdn.me/get.php?username=..........

Expected behavior
Takes some time to check and adds playlist with channels.
Screenshots
After reloding the page:

Desktop (please complete the following information):

OS: win 11
Browser chrome,

Additional context
Logs:
2024/11/08 08:56:46 [Threadfin] Database Version:       0.5.0
threadfin  | 2024/11/08 08:56:46 [Threadfin] System IP Addresses:    IPv4: 2 | IPv6: 1
threadfin  | 2024/11/08 08:56:46 [Threadfin] Hostname:               faefcde52ec4
threadfin  | 2024/11/08 08:56:46 [Threadfin] System Folder:          /home/threadfin/conf/
threadfin  | 2024/11/08 08:56:46 [Threadfin] Load Settings:          /home/threadfin/conf/settings.json
threadfin  | 2024/11/08 08:56:46 [Threadfin] Temporary Folder:       /tmp/threadfin/2024-11-NNT1-LBTZQH/
threadfin  | 2024/11/08 08:56:46 [Threadfin] GitHub:                 https://github.com/Threadfin
threadfin  | 2024/11/08 08:56:46 [Threadfin] Git Branch:             Main [Threadfin]
threadfin  | 2024/11/08 08:56:46 SOURCE:  PMS
threadfin  | 2024/11/08 08:56:46 [Threadfin] SSDP / DLNA:            true
threadfin  | 2024/11/08 08:56:46 [Threadfin] [WARNING] Updates are disabled in the settings
threadfin  | 2024/11/08 08:56:46 [Threadfin] UUID:                   2024-11-NNT1-LBTZQH
threadfin  | 2024/11/08 08:56:46 [Threadfin] Tuner (Plex / Emby):    1
threadfin  | 2024/11/08 08:56:46 [Threadfin] EPG Source:             PMS
threadfin  | 2024/11/08 08:56:46 [Threadfin] Plex Channel Limit:     480
threadfin  | 2024/11/08 08:56:46 [Threadfin] Unfiltered Chan. Limit: 480
threadfin  | 2024/11/08 08:56:46 [Threadfin] All streams:            0
threadfin  | 2024/11/08 08:56:46 [Threadfin] Active streams:         0
threadfin  | 2024/11/08 08:56:46 [Threadfin] Filter:                 0
threadfin  | 2024/11/08 08:56:46 [Threadfin] Web Interface:          http://<IP_ADDRESS>:34400/web/ | Threadfin is also available via the other 2 IP's.
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:20 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:30 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:40 SOURCE:  PMS
threadfin  | 2024/11/08 08:57:50 SOURCE:  PMS
threadfin  | 2024/11/08 08:58:00 SOURCE:  PMS
threadfin  | 2024/11/08 08:58:10 SOURCE:  PMS
threadfin  | 2024/11/08 08:58:10 [Threadfin] Download:               http://cf.mar-cdn.me/get.php?username=xxxx&password=xxxxxxxx&type=m3u_plus&output=ts
threadfin  | 2024/11/08 08:58:10 PROXY URL:
threadfin  | 2024/11/08 08:58:35 [Threadfin] Header filename:        tv_channels_c756b61b1cf2_plus.m3u
threadfin  | 2024/11/08 08:58:44 [Threadfin] Check File:             http://cf.mar-cdn.me/get.php?username=xxxx&password=xxxxxx&type=m3u_plus&output=ts
threadfin  | 2024/11/08 09:12:42 SOURCE:  PMS
threadfin  | 2024/11/08 09:13:02 SOURCE:  PMS
Docker comose:
threadfin:
image: fyb3roptik/threadfin
container_name: threadfin
ports:
- 34400:34400
environment:
- PUID=1001
- PGID=1001
- TZ=TZ=Europe/Berlin
volumes:
- ./threadfin/data/conf:/home/threadfin/conf
- ./threadfin/data/temp:/tmp/threadfin:rw
restart: unless-stopped

+1

+1

I now went to stream master. Worked for me. https://senexcrenshaw.github.io/StreamMaster/

you'll likely be told that you need to limit your 24/7 channels.  That seems to be the new answer instead of adding something to work around it.

Please use discord for things like this

Uhm... is this being closed because of feisty comments or because we should only use discord?
Either way, happy to help on the issue if the base issue is handling massive m3u.


Rust FaaS example always returns 404 when deployed. create-first-function-vs-code-other.md

The example code for the Rust Azure function will always return a 404 error code when deployed, despite working locally.
Ipv4Addr::UNSPECIFIED will listen on <IP_ADDRESS> which seems to suffer from the same issue as localhost as described in this issue: https://github.com/Azure/azure-functions-host/issues/6905
Changing it to Ipv4Addr::LOCALHOST which is equivelant to <IP_ADDRESS> solves the issue.

@Raunow : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Raunow did you close this PR? I was still investigating your suggestion.

@Raunow did you close this PR? I was still investigating your suggestion.
I may have on accident, I deleted the forked repository, which looking back probably closed this PR..

@ggailey777 I've opened an identical PR, as I cannot reopen this one. #93691


When zoomed out (in storybook), the pointer events are not targeting the right element

Actual

I go here (https://glideapps.github.io/glide-data-grid/?path=/story/glide-data-grid-dataeditor-demos--all-cell-kinds) and zoom out using the storybook zoom buttons
I double-click click the 10th cell in the ID column
the 5th element is selected

Expected
After 2. I expect the 10th cell in the ID column to be selected.

This is due to the iframe and getBoundingClientRect not working as expected in that context in Chrome. Works correctly in firefox. Unless someone has a performant method of getting the effective scaling factor in chrome in an iframe I don't think there is much I can do.

Quick note: it works fine not in an iframe.


how to detect mang images one time?

in demo.py?how to change the input from one image to a folder?
demo = VisualizationDemo(cfg)
if args.input:
    if len(args.input) == 1:
        args.input = glob.glob(os.path.expanduser(args.input[0]))
        assert args.input, "The input path(s) was not found"
    for path in tqdm.tqdm(args.input, disable=not args.output):
        # use PIL, to be consistent with evaluation

img = read_image(path, format="BGR")
        # SparseRCNN uses RGB input as default
        img = read_image(path, format="RGB")
        start_time = time.time()

Hi~
Please refer to https://github.com/PeizeSun/SparseR-CNN/issues/58

Hi~
Please refer to https://github.com/PeizeSun/SparseR-CNN/issues/58


Vvflow custom bodies and motions

Hi there, Thanks for your code. I'm new to vvflow and I have some questions.

Is there an option for custom bodies?I'm working on a fish simulation, and I found some build-in body generators such as gen_plate and gen_ellipse. They are quite useful but not accurate enough for the simulation. I would be very appreciated if there is an option for semi-ellipse.
How to drive the bodies? body:move_o(o) and body:move_d(d) seem to be the exact answer to rotate the body but I don't have any idea how to use it, and make the body move as the simulation time flows.
Thanks.

Take a look at load_body() function in vvcompose. Here's an exmple of square generation.

#!/usr/bin/env vvcompose

S.inf_vx = "1"
S.re = 600
S.dt = 0.005
S.dt_save = 0.1
S.finish = 10

local f = assert(io.open("square.txt", "w"))

function w(x, y)
    f:write(string.format("%.2f %.2f\n", x, y))
end

local a = 1
local dl = 0.02
for y = 0, a, dl do w(0, y) end
for x = 0, a, dl do w(x, a) end
for y = a, 0, -dl do w(a, y) end
for x = a, 0, -dl do w(x, 0) end

f:close()

b0 = load_body("square.txt")
b0.label = "square"
S.body_list:insert(b0)

S.caption = "square_re600"
S:save(S.caption..".h5")

body:move_* is for initial adjustment. To define body motion during simulation see body.holder_vx. Supply it with a string - another lua script that returns a velocity. It can depend on variable t.

For example:
b0.holder_vy = "sin(2*pi*t/8)"

Thanks！The example is really helpful. One more question about the body restrains. For multiple bodies like the fish simulation below, how to restain the freedom (eg: passive joints or hinges). is it possible to connect two bodies with passive joint in a custom position?

body:move_* is for initial adjustment. To define body motion during simulation see body.holder_vx. Supply it with a string - another lua script that returns a velocity. It can depend on variable t.

For example:
b0.holder_vy = "sin(2*pi*t/8)"

Thanks！The example is really helpful. One more question about the body restrains. For multiple bodies like the fish simulation below, how to restain the freedom (eg: passive joints or hinges). is it possible to connect two bodies with passive joint in a custom position?

Excuse me for the late reply.
First of all, here's the link that might be helpful - utils/vvcompose/vvcompose.1.md#TBody.
Vvflow models the bodies in the following way. Every body has an imaginary invisible holder (exactly one) with three degrees of freedom (designated as x, y, and o for rotation).  The holder can be either "ultimate", or attached to the other body (see body.root).  The holder also has a number of properties:

coordinates body.holder_pos.
disposition body.delta_pos if the connection is elastic.

Also, body.collision_min/max constrain the value of delta_pos. When a body hits that constrain, it experiences a collision - a body gains additional momentum - force_holder * (1 + body.bounce) (dt is reduced implicitly).
And here's the setup of my old experiment - flexyfoil.zip. I don't remember details already, but it should look something like this: https://www.youtube.com/watch?v=Tgguhu8G-PA&feature=youtu.be


Add coffee-errors to test scaffolding

Line numbers from script/test are correct now.

@technicalpickles @michaelansel, any objections here?

If tests are passing, sounds good to me :+1:

:+1:


Update of developer documentation on the Carbon website

Some thoughts before we start converting these to tasks:

We should segregate the community initiatives from the officially supported ones. E.g. Angular, Vue, etc shouldn't be on the same level as React and Web Components
Web Components could use a primer to describe what they are, so folks that are both technical and non-technical can understand what they are.
Some specific topics around React itself could be added. @tay1orjones mentioned things like server-side components, and our stance on that.
With these items, something to consider is if there could be a better IA to support this content, perhaps can consider taking advantage of treeview navigation if it makes sense.
Other topics we can potentially surface: feature flags, LTS, CVE mitigation/security support, etc
Business justification for flags

https://github.com/carbon-design-system/carbon/issues/16985


[misc.psCharStrings] Use inheritance to avoid repeated code in initializer

hm.. although T2CharString initializer also sets other attributes that are not used by T1CharString. It's probably benign. But I'm tempted to revert for the sake of least surprises.

T2CharString has the global_subrs attribute, and we have declared T1CharString to be a subclass of T2CharString. This commit doesn't change that reality...

I'm not necessarily against this change, but:

T2CharString has the global_subrs attribute, and we have declared T1CharString to be a subclass of T2CharString. This commit doesn't change that reality...

That's only a "theoretical reality", given how inheritance should work. In this practical reality T1CharString instances never actually got these attributes, at least not before this change. It's definitely not a clean subclass of T2CharString, and perhaps it's worthwhile to clean this up at some point.

Yeah. I'd kind of question that class hierarchy anyway. Saying "a type 1 charstring is a kind of a type 2 charstring" just feels weird. Make them both inherit from an abstract charstring class.


[FLINK-12229] [runtime] Implement LazyFromSourcesScheduling Strategy

What is the purpose of the change
This pull request implements the LAZY_FROM_SOURCES scheduling strategy based on the new scheduling interface.
Brief change log

Implement the LazyFromSourcesSchedulingStrategy which schedules vertices when the input data are available
Add SchedulingIntermediateDataSet class to efficiently identify the available BLOCKING dataset

Verifying this change
This change added tests and can be verified as follows:

Add unit test in LazyFromSourcesSchedulingStrategyTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi, @GJL @tillrohrmann , I have updated the PR based on the latest master. Would you mind to begin another round of code review ?
As discussed in the first round of code review, there are still some open questions, I make a summary to be  convenient for discussion.

[SchedulePolicy] Using vertex state transitions to schedule vertices has the benefit of avoiding flood onPartitionConsumable notifications, while there may be idle-waiting-result of PIPELINED shuffle mode. So, I think we could keep the benefit by relying on both vertex state transitions and onPartitionConsumable notifications.

DeploymentOption#sendScheduleOrUpdateConsumerMessage set to true if the vertex has PIPELINED produced result partition and set to false if all the produced result partitions are BLOCKING
Schedule vertices with BLOCKING input result partition using vertex state transition.
Schedule vertices with PIPELINED input result partitions using onPartitionConsumable notification.

[JobGraph Usage] The only usage of JobGraph is to provide InputDependencyConstraint in LazyFromSourcesSchedulingStrategy, while, it is not used in EagerSchedulingStrategy. Maybe we could remove JobGraph from SchedulingStrategyFactory#createInstance and add InputDependencyConstraint information into SchedulingTopology, which need an new interface in SchedulingTopology:
InputDependencyConstraint getInputDependencyConstraint(JobVertexID jobVertexId)?

[ANY/ALL Schedule Granularity]  In the original scheduler, the schedule granularity is ANY/ALL the IntermediateDataSet finishes, and using granularity of result partition could speedup deployments but may involve flood of partition update network communication and resource deadlock. Thus, in this PR my implementation is consistent with the original logic.
However, we are wondering we could use some methods to keep both speedup deployments advantage and avoiding flood partition update and resource deadlock. Based on our production experience, we propose to introduce a new trigger InputDependencyConstraint#Progress, which is a float between 0.0~1.0 and identifies the percentage of the finish result partitions. 1.0 means ALL the input result partitions finish and we configured it to 0.8 as default to balance the speedup advantage and flood partition update, possible resource deadlock.

Thanks for updating the PR @eaglewatcherwb.

This sounds like how we do lazy from sources scheduling at the moment. Thus +1 for doing it that way.

I think it is ok to add the InputDependencyConstraint to the SchedulingTopology.

I would not do this as part of this PR. We should rather do it as a follow up task.

Thanks @tillrohrmann for the comment. Current PR has implemented as 1 and 2, and without 3. We could implement 3 as a future optimization.


Problem with external fonts - page loading stalls for 5 to 15s

It seems that this is more network config issue than page source error, but it is still an issue.
In  _sass/base/defaults.scss there are problems with import:
@import "//cloud.typography.com/6655974/614628/css/fonts.css";
it responds with status code 302 and redirects to:
http://fonts.php-fig.org/fonts/418709/C505776BD56D30D0B.css
which stalls page loading process for 5 to 15 seconds
DNS lookup for this domain returns:
fonts.php-fig.org.	1800	IN	CNAME	phpfig.distill.ca.
but
phpfig.distill.ca
can not be resolved and the same with dns.jomax.net server pointed as authoritative.

Good call, thanks. I need to disconnect my personal DNS from this. That's why this happened.
I've added a record back in, which should fix this shortly,
@michaelcullum Who controls the DNS for php-fig.org? I'd like to get some changes made for this! Thanks.

I do, where do we need to point it?

Hey Michael! An A record that points to <IP_ADDRESS> will do it.
A    fonts.php-fig.org    <IP_ADDRESS>

Thanks, it is much better now. And custom fonts load as expected.
However I would recommend using a fall-back fonts at least in .home_banner__title and .home_banner__links because without it (in case of error in fonts loading) those sections are rendered with default font which in most cases is serif. In normal (pc) view serif (sans also) is too wide and pushes part of intro and links below .home_banner bottom boundary. I suggest:
font-family: 'Tungsten A', 'Tungsten B', 'Liberation Sans Narrow', 'Arial Narrow', 'Helvetica Narrow', sans-serif;
I know these fall-back fonts are not "interesting" but at least condensed enough not to break banner look in case something went wrong.

Great idea @szywo! Want to put a PR together? :)

@reinink PR? Pull Reqest? sorry I'm newbie on github and also not feel experienced enough to mess with site building code. Just tracked down problem that appeared in my browser comparing site look with and without fonts loaded. Thanks.
ps. Besides I'm already late on my own work.

fixed in #230 by switching to Google Fonts.


[#1772] improvement(conf): Change the default storage directroy of rocksdbPath in gravitino.conf.template

What changes were proposed in this pull request?
Change the value of gravitino.entity.store.kv.rocksdbPath from /tmp/gravitino to ${GRAVITINO_HOME}/data/rocksdb
Why are the changes needed?
/tmp/rocksdb is misleading as it's not the default value for it.
Fix: #1772
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
N/A.

Does this PR introduce any user-facing change?,  seems YES

Does this PR introduce any user-facing change?, seems YES

This PR only changes the comment description and provides users with a better understanding of the default value of the configuration. It doesn't seem like we made any changes to the user interface.


Train new model with simplified alphabet

Include only significant characters in alphabet.txt, such as [а-я] + ['].

model v0.4 contains new alphabet


nounzip normal file , Errno::EISDIR: Is a directory @ rb_file_s_rename -

class ShadowsocksCg < Formula
  @name="shadowsocks-cg"

  desc "Kcptun for speed up  shadowsocks"
  url "https://baidu.com" , :using => :curl, :nounzip => true
  version "1.0.0"
  depends_on "shadowsocks-libev"
  depends_on "kcptun"

  def install

    (buildpath/"#{@name}.json").write <<~EOS
      {
          "server":"xxx.xx.x.x",
          "server_port":16888,
          "local_port":4383,
          "local_address":"<IP_ADDRESS>",
          "password":"xxxx",
          "timeout":600,
          "method":"aes-256-cfb"
      }
    EOS

    bin.install<EMAIL_ADDRESS>  end
  plist_options :startup => false
  plist_options :manual => "#{Formula["shadowsocks-libev"].bin}/ss-local -c #{HOMEBREW_PREFIX}/opt/#{<EMAIL_ADDRESS>
  def plist; <<~EOS
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>Label</key>
        <string>#{plist_name}</string>
        <key>ProgramArguments</key>
        <array>
          <string>#{Formula["shadowsocks-libev"].bin}/ss-local</string>
          <string>-c</string>
          <string>#{HOMEBREW_PREFIX}/opt/#{<EMAIL_ADDRESS>        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
      </dict>
    </plist>
  EOS
  end

  test do
    (testpath/"#{@name}.json").write <<~EOS
      {
          "server":"localhost",
          "server_port":xxxx,
          "local_port":xxxx,
          "local_address":"<IP_ADDRESS>",
          "password":"xxxxxx",
          "timeout":600,
          "method":"aes-128-cfb"
      }
    EOS
    # server = fork { exec bin/"ss-server", "-c", testpath/"shadowsocks-libev.json" }
    client = fork { exec "#{Formula["shadowsocks-libev"].bin}/ss-local", "-c"<EMAIL_ADDRESS>}
    sleep 3
    begin
      system "curl", "--socks5", "<IP_ADDRESS>:4385", "google.com"
    ensure
      Process.kill 9, client
      Process.wait client
    end
  end
end

Errno::EISDIR: Is a directory @ rb_file_s_rename - (/Users/fox/Library/Caches/Homebrew/downloads/57dccbd875bb1b7455208a26868c23d72002d64dfa960d590a626d7d33f4847d--/.incomplete, /Users/fox/Library/Caches/Homebrew/downloads/57dccbd875bb1b7455208a26868c23d72002d64dfa960d590a626d7d33f4847d--/)

HOMEBREW_VERSION: 1.8.4-3-g6f0ef7d
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6f0ef7deecaf267277f315a4b70fb7277269728c
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e5def19d72af783c8c5e3e763afce0debb9dc51d
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.1 build 902
Git: 2.18.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10.0.2, 1.8.0_181
macOS: 10.13.6-x86_64
CLT: <IP_ADDRESS>.1.1535735448
Xcode: 9.4.1

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
i am just use it for create a service ，
No need to download any resources.
but the url field is Must fill in.
so i give it an no used url ,and To specify  :nounzip is true.
It works well in the last few versions.
but now this version is meet the error info.

Before that.
I bypass the check by downloading a useless zip file. But downloading a useless file wastes network and cache space. Can you add a feature to bypass the URL field?

Sorry, we don't support this use-case for Homebrew.


Unable to produce file on container's file system using UTL_FILE

Thank you for this project - it's a great resource.  However, I have a problem with Utl_File generating output.
I've created a new directory on the file system as /opt/oracle/oradata/share.  It has 777 privilege.
Then on the database I create an Oracle directory: create or replace directory EXCEL_OUT as '/opt/oracle/oradata/share';
Then I execute the following code
DECLARE
   file_ Utl_File.File_Type;
   txt_  VARCHAR2(256) ;
BEGIN
   file_ := Utl_File.fOpen ('EXCEL_OUT', 'abc.txt', 'w');
   txt_  := 'testing' ;
   Utl_File.put_LINE( file_, txt_);
   Utl_File.Putf (file_, '%s  %s %s \n', txt_, 'test', '123');
   Utl_File.fFlush (file_);
   dbms_output.put_line('line is: ' || txt_) ;
   Utl_File.fClose(file_);
END;

It executes fine.  >> PL/SQL procedure successfully completed.
But no abc.txt file is created.  Wondering if I'm missing something silly.
For what it's worth, the directory /opt/oracle/oradata/share is mounted to my host's file system.  But I don't think that's a significant factor.  I can't write to any directory in the container's file-system.

Scratch this.  It may have been a case of my being overzealous with some Docker start commands.  I deleted the problematic container and started again afresh with a new instance.  It seems to work on my second attempt.

Glad to hear that it is working, @cartbeforehorse!


Tests

Integrate TravisCI
Generate reports with coverage
Test permissions for all endpoints
Test functioning of endpoints
Test mixins for all endpoints
Report (number of) queries per endpoint operation
Test dependency customizations: facebook email verified, usename generated from email, confirmation emails sent

Basic acceptance test of dependencies: cors headers, jwt, redis cache, allauth, raven


How do i focus the calendar to a specific time?

Hi ,
i would like to show the current time slot cell on loading the calendar. Right now for the current time slot, i can see the indicator but it doesn't scroll or autofocus to that position. Is this feature available ? or can anyone suggest how can i do this?
Thanks

Hi, maybe the following code would focus the current hour on load.
        <Calendar
            events={events}
            height={calendarHeight}
            scrollOffsetMinutes={(new Date()).getHours() * 60}
        />

Taken code from @rohanvasishth 's comment.
https://github.com/acro5piano/react-native-big-calendar/issues/712#issuecomment-1182007028


Fix memory leaks on http-client

This series also introduces sol_ptr_vector_remove() which removes a pointer from a sol_ptr_vector as this seems to be a common operation.
The strategy for fixing the memory leak is keeping references to the existing connections, and using the procedure recommended in the curl_multi_cleanup(3) man page for cleaning them up:

Cleans  up  and  removes  a whole multi stack. It does not free or touch any individual
easy handles in any way - they still need to be closed individually,  using  the  usual
curl_easy_cleanup(3) way. The order of cleaning up should be:
1 - curl_multi_remove_handle(3) before any easy handles are cleaned up
2 -  curl_easy_cleanup(3)  can now be called independently since the easy handle is no
longer connected to the multi handle
3 - curl_multi_cleanup(3) should be called when all easy handles are removed

I don't have a real test for this. @bdilly could you see if this works for the flower-power HTTP nodes?

@dorileo, yeah, I really think that it was not needed in the first place. It is looking like legacy from previous rewrites.

Flower power is still working fine.

Fixed comments, new PR https://github.com/solettaproject/soletta/pull/507
Closing this. Thanks.


Weird evaluation warning when rebuilding (NixOS)

trace: evaluation warning: The option colorschemes.catppuccin.flavour' defined in /nix/store/i6i3r1vqa5wz6d8apj9d27lmr6vgg306-source/modules/nixvim/nixvim.nix' has been renamed to colorschemes.catppuccin.settings.flavour'.`
First of all, colorschemes.catppuccin.flavour does not work. It has to be colorschemes.catppuccin.flavor
And when trying to add a settings, I get the error:
error:
       … while calling the 'head' builtin

         at /nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'

         at /nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source/lib/modules.nix:816:9:

          815|     in warnDeprecation opt //
          816|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          817|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `home-manager.users.andi.catppuccin.settings' does not exist. Definition values:
       - In `/nix/store/6v9mzbryyp9bxfi4yz9i7cb4i9cyfrj2-source/modules/home-manager/theming.nix':
           {
             flavor = "mocha";
           }

The first part seems to be a nixvim issue, but the later trace shows, a catppuccin/nix issue. catppuccin/nvim still uses the British spelling of flavour and therefore so does nixvim. So the original text seems unrelated to the trace, unless you made a typo for your nixvim config.
And from home-manager.users.andi.catppuccin.settings.flavor = "mocha"; should be home-manager.users.andi.catppuccin.flavor = "mocha";


Release v0.8.36

@muga @sakama To be releasing v0.8.36 after the following PRs are merged. Can you have a look?

https://github.com/embulk/embulk/pull/814
https://github.com/embulk/embulk/pull/821
https://github.com/embulk/embulk/pull/822
https://github.com/embulk/embulk/pull/824

#814 has been merged. Merging this #832 and releasing v0.8.36 soon.


Add support for spaces in app name

Fixes #526.
@mananwason @mariobehling Please review.
@rafalkowalski tagging you just to let you know that the API now supports spaces in app's name now.

The delete.sh script is for deleting the source files after app has been compiled and moved to the release folder.

Current coverage is 10.80% (diff: 100%)

No coverage report found for development at 74c2f8c.

Powered by Codecov. Last update 74c2f8c...e8abd13

@the-dagger what exactly is this PR doing? I have already handled spaces in an app's name in #533

This is for the API.
On Friday, August 5, 2016, Manan Wason<EMAIL_ADDRESS>wrote:

@the-dagger https://github.com/the-dagger what exactly is this PR
doing? I have already handled spaces in an app's name in #533
https://github.com/fossasia/open-event-android/pull/533
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/pull/534#issuecomment-237721441,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQtltJK-B1metG53Af6GTN6Oq4S1lecks5qcn2rgaJpZM4JdIzX
.

--
Best,
Harshit Dwivedi
Contact : +919968195588
GitHub https://github.com/the-dagger | LinkedIn
https://in.linkedin.com/in/hadwivedi
Google Play https://goo.gl/wl3loD | Facebook
https://www.facebook.com/daggerdwivedi

Also, for the API calls we are using a different copy of appgenserver.py with some modifications.
So if the name parameter in API.php had spaces, it was carried over to the python script and caused issues.
This PR aims to fix it.

But I am still not sure. If this is being handled in the python script, is
it required to handle it in the php?
On 05-Aug-2016 5:40 AM, "Harshit Dwivedi"<EMAIL_ADDRESS>wrote:

Also, for the API calls we are using a different copy of appgenserver.py
with some modifications.
So if the name parameter in API.php had spaces, it was carried over to the
python script and caused issues.
This PR aims to fix it.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/pull/534#issuecomment-237722570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFKCQagIVwtdxo-bkgQtCUVCPGcCpdQks5qcn95gaJpZM4JdIzX
.

Yep it is.
Basically the app name is being sent to python script as an argument.
So if it has spaces in it, the word after space is treated as the next
argument's parameter.
To avoid this, I've first encoded the app's name in php and sent it to
python where I have decoded it and used it in compiling the app.
On Friday, August 5, 2016, Manan Wason<EMAIL_ADDRESS>wrote:

But I am still not sure. If this is being handled in the python script, is
it required to handle it in the php?
On 05-Aug-2016 5:40 AM, "Harshit Dwivedi"<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Also, for the API calls we are using a different copy of appgenserver.py
with some modifications.
So if the name parameter in API.php had spaces, it was carried over to
the
python script and caused issues.
This PR aims to fix it.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/fossasia/open-event-android/pull/534#
issuecomment-237722570>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKFKCQagIVwtdxo-
bkgQtCUVCPGcCpdQks5qcn95gaJpZM4JdIzX>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/pull/534#issuecomment-237723665,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQtlnkX41F64_s7XWb4GI7tB1ocC5e4ks5qcoFLgaJpZM4JdIzX
.

--
Best,
Harshit Dwivedi
Contact : +919968195588
GitHub https://github.com/the-dagger | LinkedIn
https://in.linkedin.com/in/hadwivedi
Google Play https://goo.gl/wl3loD | Facebook
https://www.facebook.com/daggerdwivedi

Also please remember that for the API call, we are not using firebase and instead sending the data directly to php and from there to python script.

LGTM. Merging


Symbol is not defined

I tried to run the very same website example:
xto6 person.js -o person-es6.js

Then i have the following error:
 throw _iteratorError;
                  ^
ReferenceError: Symbol is not defined

There might be some compatibility issue. Which version of node.js are you using ?

v0.11.14 but i'm using nvm, so i can easily change it.
Which version is required? 0.10?

Just tried with 0.10. Same error.

You should use 0.12. The latest version is 0.12.2

Add symbols to release build
0.12 changelog

Oh, i see. Thanks!
BTW, check the issue #35


Update Queue on Join

Currently the visual queue only updates when the next video is played. It should update when the user joins so they can see the queue.

Resolved See b7fd5a92107cea0dc6abf4f111779ea4162860f6


Re-evaluate docker-compose exec as an option to run commands in cli

At some point back we decided to not use docker-compose exec to run commands in cli as it was buggy.
Let's re-evaluate it and if it is stable now, then we should refactor our code to use it instead of low level docker commands.

I was playing with that code recently. It's quite complex and intertwined and working fine. I think we should keep it as is.

Since docker plans to retire docker-compose altogether soon, we don't have to deal with this right now. Going to close this issue.


Evaluate non-cgo can-bus lib

Currently can2mqtt uses github.com/brendoncarroll/go-can to deal with socketcan. A disadvantage of that is that cgo is used. This has some disadvantages:

all the great memory safety is gone
builds rely upon files placed in the filesystem out of the scope that go oversees (also see #23 )

Try out https://github.com/brutella/can as a replacement. It seems that it does not use cgo.

new lib is used since merge of #25


Call jstack on sbt if sbt runs longer than 13 minutes

In response to this build:
https://travis-ci.org/http4s/http4s/jobs/207818583#L3278
on the cats branch that hung despite CharsetRangeSpec completing.
Hope this will identify source of deadlock if #774 shows itself again.

Running jstack without the -F option because -F requires root and we don't have sudo in the Travis container infrastructure.

So far I haven't needed -F, including to get the CharsetRangeSpec deadlock I gisted.  Guess we'll find out...or, even better, we won't. :smile:


Authentication by credentials

This PR implements authentication by credentials.
this module was development following this blog spot http://brianflove.com/2017/04/10/angular-reactive-authentication/
Unit tests are missing at the moment, but I've created PR anyway so it can be review.
There is a known issue with SSR :
indeed to allow to retrieve an authenticated session JWT is saved in cookie browser. Every time the application is bootstrapped there is a check to verify the existence of the JWT and its status. Since JWT token validation uses the client ip to also validate the token, if universal is enabled validation fails, because ip is different.
This problem doesn't occur when running application on local environment
While waiting for a solution, to try it client ip validation can be disable by config https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/authentication.cfg#L81

I've also tried it on our internal rest server now for which I do have the credentials. but I still get an issue when logging in. Likely related to this: https://github.com/DSpace/DSpace/pull/1959
Also, would it be possible to have the login link in the header to redirect to the login page if you have javascript disabled? currently the link does nothing without js

@artlowel @tomdesair
PR can be reviewed again
here what I've changed :

bugs fixes
adjusted use of custom CSS
removed use of platform service and created different service for browser and server
added the possibility on SSR to send the original client IP to avoid "IP check problem"

After adding tests, covarage is ok.
There an error during build with node v8 but I can't understand where is the problem, because I don't have it when run build locally. Here the build report

@artlowel
now travis can build, but can't run test, and these errors occur only with travis. Can you reproduce them on your environment?
other minor comments should be fixed now

Does this PR still requires you to "disable ip check" in the REST backend? I cannot really find the part where you set the X-Forwarded-For header for server-side rendered responses.

@tomdesair the part that add X-Forwarded-For header should be implemented, but i left a comment on how to retrieve client IP here :
https://github.com/4Science/dspace-angular/blob/66295d10ed62fc2cab3ecf35d1ab5a37917d28eb/src/app/core/auth/server-auth.service.ts#L32

@artlowel  @tdonohue
I've tried to run travis-ci locally and build succeed.
than I've activated travis-ci on 4science repository and tried to build authentication branch and it's finished successfully as you can see here https://travis-ci.org/4Science/dspace-angular/builds/389181417
At this point I think that a new PR should be resolve the problem, what do you think?

Yes, if the exact same commit succeeds, with the exact same travis config in the 4science repo, I really don't see what else we can try apart from closing this PR and recreating it.


Containers with curl based health checks becoming unresponsive

Description
After containerd update to 1.4.0, running a Docker container with a health check using curl (specifically bitwardenrs/server and plex images) will result in an 'unhealthy' status after 15 minutes or so. The container is unable to be stopped without killing the applicable containerd-shim process.
Steps to reproduce the issue:

docker run -d --rm --name bitwarden -v ~/.local/tmp/data:/data/ -e ROCKET_PORT=8080 -p 8080:8080 --init --name bitwarden_run bitwardenrs/server:alpine

Wait

docker ps
 CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                    PORTS
                           NAMES
 17f4b68347ad        bitwardenrs/server:alpine   "/start.sh"              1 hours ago        Up 1 hours (unhealthy)   80/tcp, 3012/tcp,
  <IP_ADDRESS>:8080->8080/tcp   bitwarden_run

Describe the results you received:

docker stop bitwarden_run -> very long pause (several minutes) before
command completes

docker ps still shows bitwarden_run up but unhealthy

ps aux|grep 17f4b -> containerd-shim process is still running
 root      672481  4.3  0.2<PHONE_NUMBER>2 ?

Describe the results you expected:

docker stop bitwarden_run -> container shows as stopped and all container processes ended

Output of containerd --version:
containerd --version containerd github.com/containerd/containerd v1.4.0.m 09814d48d50816305a8e6c1a4ae3e2bcc4ba725a.m

Any other relevant information:
Downgrading containerd to 1.3.4 fixes the issue, as does running bitwarden_rs and Plex with the --no-healthcheck option.
OS: Archlinux (other people on the Arch forums have reported this same issue)
uname -a Linux scotty 5.8.3-arch1-1 #1 SMP PREEMPT Fri, 21 Aug 2020 16:54:16 +0000 x86_64 GNU/Linux

journalctl -u docker -r |grep warning|head
Aug 28 11:38:07 scotty dockerd[775]: time="2020-08-28T11:38:07.287399050-07:00" level=warning msg="Health check for container 17f4b68347adbe978d8917d575979d72fdd6b9852268506b75014cac7cafafa8 error: context deadline exceeded"`
journalctl -u containerd -r|head

Aug 28 11:38:19 scotty containerd[524]: time="2020-08-28T11:38:19.384986550-07:00" level=warning msg="cleaning up after shim dead" id=17f4b68347adbe978d8917d575979d72fdd6b9852268506b75014cac7cafafa8 namespace=moby
Aug 28 11:38:19 scotty containerd[524]: time="2020-08-28T11:38:19.384862508-07:00" level=info msg="shim reaped" id=17f4b68347adbe978d8917d575979d72fdd6b9852268506b75014cac7cafafa8

Thanks!

I ran into same behavior on Archlinux but with a different container and healtcheck: I had a redis-cli ping healthcheck running for my redis container. After several minutes, the container became unhealthy due to timeout. I tried modifying my healthcheck test to something simple - echo 'hello' - and even then it would eventually time out. Downgrading to containerd 1.3.4 also fixed it for me.

Same here. on Archlinux both on amd64 and arm32
"Log": [
  {
    "Output": "OCI runtime exec failed: exec failed: cannot exec a container that has stopped: unknown"
  }

I am not able to reproduce this on Docker HEAD after several hours.

I am facing this issue as well. Healthchecks works when the healthcheck points to a shell script, but when it's just a command, I'm facing the same behaviour
pacman -Qi containerd  Name            : containerd Version         : 1.4.0-2
pacman -Qi linux Name            : linux Version         : 5.8.5.arch1-1

Well, I have the issue with my containers with healthchecks too. They cannot be stopped or restart via the docker CLI.

I have also encountered issues when using 1.4.0, in my case with docker compose using exec I get hangs after the command finishes.

Can we get some goroutine dumps?

Dockerd will output the goroutine stack to a file in the host, the location will be in the logs.
For containerd/containerd-shim, this will go to the logs of containerd.
Please post these to a gist (bonus points if you fix formatting for things like literal \n and \t 😄 that might happen in the output.

Happy to, but it'll be a couple of days. On vacation at the moment!

Here is a goroutine stack from a 2nd system after stopping all containers...
dockerd - https://gist.github.com/nkukard/ceb2f5796252b43100bfdc02ca0c4c0f
And the associated ps ...
https://gist.github.com/nkukard/3fa747d888e149eb89973d4245ebe4ee

Same issue here after containerd updated to 1.4.0.
archlinux

Same here. Noticed it on different Arch Linux systems with bitwarden_rs, Overleaf/Sharelatex Mongo Container and pihole.

This goroutine makes me think the v1 shim is having an issue: https://gist.github.com/nkukard/1fc9e69cb16b7e2ebc06a2eacb1b70cd#file-gistfile1-txt-L543-L571
This could explain why I can't reproduce on the docker HEAD since that is using the v2 shim by default now.
Sadly the shim stdio does not seem to be wired up to anything when containerd is run in its own systemd unit.

Side question: why containerd 1.4 use shim v1 by default and prints these messages?
level=warning msg="runtime v1 is deprecated since containerd v1.4, consider using runtime v2"

Docker hardcover shim v1.
This will be fixed in Docker 20.x.

I am experiencing the same issue as well. Archlinux with latest docker. All of my containers with health checks stop working entirely after ~1hr. Can't stop or restart containers but I can remove them. I have networking errors when I run my compose file until I delete the network they were using and re-create OR if I reboot the entire machine.

Also running arch and my containers stop working (and get into a state where they can't be stopped) after 5 minutes sometimes. I need to use docker rm -f <id> followed by sudo systemctl restart docker to be able to use docker again after this happens.

Hey y'all, if you're having the same issue, just hit the thumbs up on the initial post unless you have more logs to provide. We all have about the same symptoms and it looks like the issue may be fixed in the next Docker release (if I'm reading that right) (see @cpuguy83 comments above).

Sorry the only thing that's fixed is that Docker 20.x will use the v2 shim.
I have not been able to reproduce this yet.
So far I've only tried with the v1 shim on Docker master branch.

Did you use go 1.5 to reproduce?

@cpuguy83 I fetched the exact package versions of all dependencies, mayby you can reproduce the error with those version:
$ pacman -Q $(pactree -u docker)
docker 1:19.03.12-2
glibc 2.32-4
linux-api-headers 5.8-1
tzdata 2020a-1
filesystem 2020.08.21-1
iana-etc 20200812-2
bridge-utils 1.7-1
iproute2 5.8.0-1
iptables 1:1.8.5-2
libnftnl 1.1.7-1
libmnl 1.0.4-3
libpcap 1.9.1-2
libnl 3.5.0-2
bash 5.0.018-1
readline 8.0.004-1
ncurses 6.2-1
gcc-libs 10.2.0-2
libusb 1.0.23-2
systemd-libs 246.3-1
libcap 2.43-1
attr 2.4.48-3
libgcrypt 1.8.6-1
libgpg-error 1.39-1
lz4 1:1.9.2-2
xz 5.2.5-1
zstd 1.4.5-1
zlib 1:1.2.11-4
dbus 1.12.20-1
expat 2.2.9-3
audit 2.8.5-6
krb5 1.18.2-1
e2fsprogs 1.45.6-2
libutil-linux 2.36-2
libldap 2.4.50-2
libsasl 2.1.27-3
openssl 1.1.1.g-2
perl 5.32.0-1
gdbm 1.18.1-3
db 5.3.28-5
keyutils 1.6.3-1
libcap-ng 0.7.11-1
libnfnetlink 1.0.1-4
libnetfilter_conntrack 1.0.8-1
libelf 0.180-1
bzip2 1.0.8-3
curl 7.72.0-2
ca-certificates 20181109-4
ca-certificates-mozilla 3.56-1
ca-certificates-utils 20181109-4
coreutils 8.32-1
acl 2.2.53-3
gmp 6.2.0-1
findutils 4.7.0-2
p11-kit 0.23.21-1
libp11-kit 0.23.21-1
libtasn1 4.16.0-1
libffi 3.3-3
libssh2 1.9.0-2
libpsl 0.21.1-1
libidn2 2.3.0-1
libunistring 0.9.10-2
libnghttp2 1.41.0-1
device-mapper 2.02.187-3
sqlite 3.33.0-2
libseccomp 2.4.2-1
libtool 2.4.6+42+gb88cebd5-14
tar 1.32-3
runc 1.0.0rc92-1
containerd 1.4.0-2

I've bisected v1.4.0 to this commit https://github.com/containerd/containerd/commit/e3ab8bda604dbafb6c69f4c42979e92ead445138. On my set up, the hang goes away after reverting this commit on v1.4.0.
Following git blame to a previous change https://github.com/containerd/containerd/commit/38d7d59e8ab35bd627d4e34ffe2198ac71c451d3. The commit message says allProcesses is meant to avoid a deadlock. That was removed in the offending commit. I'm not familiar with containerd source at all or Go for that matter. So take this for what it's worth.

Can that commit be reverted. At my work we're using docker-compose to build our development environments and the inability to reliably kill containers broke a lot of our scripting. Now I'm having to manually lookup containers with docker ps and then docker rm -f them followed by a systemctl restart docker more than ten times every day.

Can that commit be reverted. At my work we're using docker-compose to build our development environments and the inability to reliably kill containers broke a lot of our scripting. Now I'm having to manually lookup containers with docker ps and then docker rm -f them followed by a systemctl restart docker more than ten times every day.

Just kill them (ps aux | grep ID and kill -9 PID), no need to restart the whole docker service.

Alternatively re-deploy with the healthcheck flags disabled. All my
containers have been running fine since removing that from the
configuration. It was a bit of a pain with bitwarden due to the volume of
services in the compose file, but no real hassle.
On Fri, 4 Sep 2020 at 18:36, cryptoluks<EMAIL_ADDRESS>wrote:

Can that commit be reverted. At my work we're using docker-compose to
build our development environments and the inability to reliably kill
containers broke a lot of our scripting. Now I'm having to manually lookup
containers with docker ps and then docker rm -f them followed by a systemctl
restart docker more than ten times every day.
Just kill them (ps aux | grep ID and kill -9 PID), no need to restart the
whole docker service.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containerd/containerd/issues/4509#issuecomment-687009910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4MSV6ZAWVM2SCMMQESIODSECRINANCNFSM4QON2V2A
.
--
Cheers,
Aleks

BTW, I don't think this has anything to do with curl-based healthchecks, just healthchecks in general. One of ddev's affected images does not have a curl in the healthcheck.

Sorry the only thing that's fixed is that Docker 20.x will use the v2 shim.
I have not been able to reproduce this yet.
So far I've only tried with the v1 and v2 shim on Docker master branch.

Hey,
you probably need to try that with an Arch-Based OS.
Any other OS so far does not seems to be affected.
My Ubuntu Server is not running into those issues with the same docker version but with a lower containerd and runc version.
We'v successfully installed a new arch server with only docker installed and run into this issue in less than an hour.

I have linked the same issue here https://github.com/moby/moby/issues/41410
With the test I did, it seems it is not related to the healthcheck system but to the docker exec command (you can run a container, then run a command with docker exec, after some point it will still "work" but never return/exit

Can we get some goroutine dumps?

Dockerd will output the goroutine stack to a file in the host, the location will be in the logs.
For containerd/containerd-shim, this will go to the logs of containerd.
Please post these to a gist (bonus points if you fix formatting for things like literal \n and \t 😄 that might happen in the output.

Hi, @firecat53 and @nkukard , could you mind to add the following config for containerd?
...

 [plugins.linux]
    shim = "containerd-shim"
    runtime = "runc"
    runtime_root = ""
    no_shim = false
    shim_debug = true

...

The shim_debug is true, which means that containerd will handle shim-v1 output.
If it is hard to reproduce it, you can try to check the fd of shim process, like:
$ lsof -p 24218
COMMAND     PID USER   FD      TYPE             DEVICE SIZE/OFF    NODE NAME
container 24218 root  cwd       DIR               0,24      160    2593 /run/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242
container 24218 root  rtd       DIR              253,0     4096       2 /
container 24218 root  txt       REG              253,0  7184384 3162026 /usr/local/bin/containerd-shim
container 24218 root    0r      CHR                1,3      0t0       6 /dev/null
container 24218 root    1w      CHR                1,3      0t0       6 /dev/null
container 24218 root    2w      CHR                1,3      0t0       6 /dev/null
container 24218 root    3u     unix 0xffff93b8eb290000      0t0 1435686 @/containerd-shim/e51ab92e10ff9d00382821e4f21228535d4efe1370451c5322440a3a201d4510.sock@ type=STREAM
container 24218 root    4u  a_inode               0,14        0   11424 [eventpoll]
container 24218 root    5r     FIFO               0,13      0t0 1433497 pipe
container 24218 root    6w     FIFO               0,13      0t0 1433497 pipe
container 24218 root    7u     FIFO              253,0      0t0 1188159 /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stdout.log
container 24218 root    8u     FIFO              253,0      0t0 1188159 /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stdout.log
container 24218 root    9u     FIFO              253,0      0t0 1188160 /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stderr.log
container 24218 root   10u     FIFO              253,0      0t0 1188160 /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stderr.log
container 24218 root   11u  a_inode               0,14        0   11424 [eventpoll]
container 24218 root   12u     unix 0xffff93b8eb291800      0t0 1431526 @/containerd-shim/e51ab92e10ff9d00382821e4f21228535d4efe1370451c5322440a3a201d4510.sock@ type=STREAM
container 24218 root   13r     FIFO               0,13      0t0 1435688 pipe
container 24218 root   14u     FIFO               0,24      0t0    2307 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stdout
container 24218 root   15r     FIFO               0,13      0t0 1435689 pipe
container 24218 root   16w     FIFO               0,24      0t0    2307 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stdout
container 24218 root   17u     FIFO               0,24      0t0    2307 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stdout
container 24218 root   18r     FIFO               0,24      0t0    2307 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stdout
container 24218 root   19u     FIFO               0,24      0t0    2582 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stderr
container 24218 root   20w     FIFO               0,24      0t0    2582 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stderr
container 24218 root   21u     FIFO               0,24      0t0    2582 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stderr
container 24218 root   22r     FIFO               0,24      0t0    2582 /run/docker/containerd/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/init-stderr

The /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stdout.log is fifo and shim will output log into the fifo which means you can open one terminal for cat /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c3349e5359370c585e1df5646215b311bcd997b7a0be521118d05e90f2e99242/shim.stdout.log and open other terminal to kill -USR1 shim-pid.
Hope you can provide more detail about this. Thanks!

If the issue is what I think it is, I don't think the error will reproduce with ShimDebug set.
In my experience, this is happening due to an unconsumed shim log (which is implemented as a fifo and eventually fills up).
Setting ShimDebug causes containerd to consume those logs.
The referenced commit adds a new log entry that wasn't there before, and it is logged every time docker performs an exec (which is how healthchecks are implemented).
It also won't reproduce with dockerd -D which enables shim_debug on the docker generated config, which it generates when docker manages the containerd daemon (no --containerd flag set on dockerd).

Here's the fix https://github.com/containerd/containerd/pull/4546

I can confirm that shim_debug = true is indeed another workaround, and additionally cat /var/lib/containerd/io.containerd.runtime.v1.linux/moby/<id>/shim.stdout.log is as well and also unblocks already "dead" containers, so thanks for that.

So was the golang version used to compile relevant to this issue in the end? What's the connection?

The issue always existed, but was exacerbated by a new "info" log entry in the shim that gets logged for every exec request.
While investigating this problem I actually came across this log entry and was like "info level on this is silly..." and changed it to "debug" level (which is already merged https://github.com/containerd/containerd/pull/4519). Changing to debug level pretty much makes this impossible to reproduce anymore since the actual underlying issue is that containerd was not consuming the log pipes from the shim except with shim_debug enabled... but if there's not enough data going into the pipe to fill it up then it will never block.
Meanwhile enbaling shim_debug also makes it so you the issue is non-reproducible (because there is no issue when shim_debug is enabled).
Short-term fix for folks waiting on this is to do as @fuweid suggested here https://github.com/containerd/containerd/issues/4509#issuecomment-689671931
Just note you'll end up with a lot of pointless logs on every exec (or healthcheck) request about "process not found" which may cause other issues for you (too much logging).

If there are still Arch users following this, please try this package:
https://pkgbuild.com/~foxboron/repos/containerd/containerd-1.4.0-2.5-x86_64.pkg.tar.zst
This package has the following patches applied
https://github.com/containerd/containerd/pull/4519
https://github.com/containerd/containerd/pull/4546

@Foxboron I installed that package 2 hours ago and enabled the health checks on my containers and they are still running.

If there are still Arch users following this, please try this package:
https://pkgbuild.com/~foxboron/repos/containerd/containerd-1.4.0-2.5-x86_64.pkg.tar.zst
This package has the following patches applied
#4519
#4546

Yup, confirmed to work here now aswell! Thanks!

@Foxboron: bitwardenrs_server container running with health check enabled for about 5 hours now. Looking good!

@perosb : Container are running for about 8h (containerd 1.4.0-2.5) on Arch Linux (Kernel 5.8.8), all in status "healty"

@cpuguy83 Does/did this issue also affect docker on Windows?
Just found this issue and we are seeing something similar, on a long running container with a healthcheck

No, Docker on Windows does not use conrainerd, as far as I know.

Sorry...If you are running Linux containers on Windows using Docker Desktop... then possibly it could be related.


Limit access to content based on role

In order to control who gets access to what, we need to limit content in Sanity Studio based on Sanity role
Acceptance criteria

If content is available to role x, a user with role x should be able to access the content
If user with role x is removed from that role, she should no longer be able to access content only available to this role

https://www.sanity.io/docs/roles

One thing of note here is that we need to be clear that we cannot limit access to uploaded images and files per Sanity's answer on that. Once a file has been uploaded to the library, it's available to everyone in the studio as well as in the API

@fernandolucchesi will make the dataset private and refactor code accordingly


[bug] appWindow.isMaximized() returns false when minimized

Describe the bug
There's no clear way to check if a window was in a maximized state before being minimized. Technically it is not maximized, but practically speaking, the window is maximized in the background/ minimized state. This is also causing issues when unminimize is called on a window that was previously maximized. https://github.com/tauri-apps/tao/issues/622
Reproduction

Run any app in development
Open devtools
Maximize app
Minimize app
in devtools use window.__TAURI__.isMaximized().then(x => console.log(x))

Expected behavior
true
Platform and versions
$ tauri info

Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 107.0.1418.35
  › MSVC:
      - Visual Studio Community 2022
  › Node.js: 17.3.1
  › npm: 8.3.0
  › pnpm: Not installed!
  › yarn: 1.22.11
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.2.0
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.0,
  › tauri-build [RUST]: 1.2.0,
  › tao [RUST]: 0.15.1,
  › wry [RUST]: 0.22.0,

App
  › build-type: bundle
  › CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  › distDir: ../build
  › devPath: http://localhost:1420/
  › framework: React
  › bundler: Rollup

App directory structure
  ├─ .git
  ├─ .github
  ├─ .idea
  ├─ assets
  ├─ build
  ├─ node_modules
  ├─ public
  ├─ src
  ├─ src-tauri
  └─ utils
Done in 8.10s.

Stack trace
No response
Additional context
maximized and unminize assume different things.

Also, when using https://github.com/tauri-apps/tauri-plugin-window-state, if I maximize a window, minimize it and close it while it is minimized, on the next open, the window is resized to its size and position before being maximized.

A window can be minimized or maximized; it can't be in both states.

Also, when using tauri-apps/tauri-plugin-window-state, if I maximize a window, minimize it and close it while it is minimized, on the next open, the window is resized to its size and position before being maximized.

I think we have an open issue for that in the tauri-plugin-window-state repo

That's fine

Someone deleted my other issue :(

What other issue? can you reopen it?

No I found out you just transferred it but github did not notify me that you transferred the issue.


Docs updates

PULL REQUEST
Overview
Fix certain bits of incorrect/missing documentation
Status

[X] Typings have been updated or don't need to be.
[ ] This PR have been tested and is ready to be merged.

Semantic versioning classification

[ ] MAJOR: This PR introduces BREAKING changes (direct API change).
[ ] MINOR: This PR adds new features, improve the code and/or implies minimal API changes.
[X] PATCH: This PR fixes a bug, if needed it also references the relevant issue or documentation.
[X] PATCH: This PR improve performance or code refactor without API changes.
[X] PATCH: This PR only includes non-code changes (documentation, style, CI, tools...).

This need to be re-merged


WiFi AP scan fails & disconnects on latest 5.1 release (after recent WiFi tweaks) (IDFGH-12734)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1.3-416-gd23b7a0361
Espressif SoC revision.
ESP32 S3
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32S3
Power Supply used.
External 3.3V
What is the expected behavior?
Around March 11 2024 a user could connect the ESP with their phone in AP mode and retrieve a list of APs to choose and connect to:

start the wifi in ap mode
serve a page to the user's phone via http server
the page has a button to trigger an AP scan via http request
trigger an ap scan via http server
do an ap scan
return the original request with a list of APs to the user's phone

IDF Commit: d22c95a - Merge branch 'refactor/protocomm_public_hdr_v5.1' into 'release/v5.1'
LIB commit: 0a25c10 - fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(0016c4d3)
What is the actual behavior?
Using the following code:
esp_wifi_scan_start(NULL, true);
esp_wifi_scan_get_ap_records(&number, apRecords);
esp_wifi_scan_get_ap_num(apCount);

each function returns ESP_OK
we get event #1 via the wifi event handler (expected0
no errors
no APs are found
the pending http request (to scan) times out
total silent failure

IDF Commit: 2541101 - fix(wifi): fix some esp32c6 wifi bugs (65149d2e)
~ LIB Commit: c50813b - feat(esp_wifi): Refactor and improve FTM code (c5dfcde7)
Steps to reproduce.

boot device
set up wifi AP mode as per the example
serve a page to the user's phone via http server
the page has a button to trigger an AP scan via http request
let it finish
nothing is returned
the scan request times out

Debug Logs.
Silent fail.
- no logs
- no stack trace
- no reboot
- no memory issues

More Information.
Due to the the wifi using a precompiled library in the LIB submodule, I can't do a git bisect to find the exact code change.
Also, due to API changes, I can't revert the LIB alone to test.
Setting the home channel dwell value makes no difference.
Changing the min/max channel scan time values makes no difference.
Rolling back to the mentioned commit + submodule commits fixes the issue immediately.

hi @JonathanDotCel , it might because that when you use esp_wifi_scan_get_ap_records, it will clean the storage after getting record,  then esp_wifi_scan_get_ap_num returns no result. You can try use  esp_wifi_scan_get_ap_num firstly and then use esp_wifi_scan_get_ap_records

Thanks, that fixed it.
Sidenote:
examples/wifi/scan/main/scan.c will need to be updated
The other examples seem unaffectd.
J

is there a reason you clear it?
this breaks my code too.
if there no good reason, the old behavior is better

is there a reason you clear it?
this breaks my code too.
if there no good reason, the old behavior is better

I see where they're coming from, it kinda makes sense
if ( count > 0 ){
GetTheListAndClearIt();
}
It's quite clean, and less error prone -- but only so long as the documentation and examples support the change.

so, from
ESP_ERROR_CHECK(esp_wifi_scan_start(NULL, true));
ESP_ERROR_CHECK(esp_wifi_scan_get_ap_records(&ap_info_cmd_number, ap_info_cmd));
ESP_ERROR_CHECK(esp_wifi_scan_get_ap_num(&ap_info_count));

to
ESP_ERROR_CHECK(esp_wifi_scan_start(NULL, true));
ESP_ERROR_CHECK(esp_wifi_scan_get_ap_num(&ap_info_count));
ESP_ERROR_CHECK(esp_wifi_scan_get_ap_records(&ap_info_cmd_number, ap_info_cmd));

????

hi @JonathanDotCel , it might because that when you use esp_wifi_scan_get_ap_records, it will clean the storage after getting record, then esp_wifi_scan_get_ap_num returns no result. You can try use esp_wifi_scan_get_ap_num firstly and then use esp_wifi_scan_get_ap_records

@Xiehanxin
This is a breaking change and it causes regressions as you can see several reports here.
So would you fix it or would you document it?

yes, this is the kind of change that makes people scared to upgrade, especially for a point release
should be in a v5.1.3 migration guide at the least

See 26a2f687e7b57fed00b562f899aed8ff0919eca3, this also causes regression in the example code.
My question is why the fix is in the example code rather than prevent this regression by revert the breaking change.
(Fix the example code means everyone that copy the code from original example code needs update application code)
And even the commit log of the fix in the example code does not explain why it stop working and need code change.

at the least we should rename the function to esp_wifi_scan_get_and_clear_ap_records().
This way users will have a compiler error and know to fix their code.
@igrr can we put this change in the migration guide

This change exists in IDF version 4.4.8 as well


warning on mac build inline function 'fpconv_init' is not defined

https://travis-ci.org/hughperkins/clnn/builds/107115627#L497-L503
In file included from lua_cjson.c:47:
./fpconv.h:15:20: warning: inline function 'fpconv_init' is not defined [-Wundefined-inline]
extern inline void fpconv_init();
                   ^
lua_cjson.c:1367:5: note: used here
    fpconv_init();
    ^
1 warning generated.

Thanks for the bug report. I've fixed the warning under clang now.

thanks :-)

I just got this error while running luarocks install lua-cjson in Ubuntu.
In file included from lua_cjson.c:47:0:
fpconv.h:15:20: warning: inline function ‘fpconv_init’ declared but never defined
 extern inline void fpconv_init();

This is on a fresh torch install. I'm following the install instructions here and made it fine up to the step where I had to install lua-cjson

I'm also seeing this error.
I have the following compiler installed...
Apple LLVM version 8.0.0 (clang-800.0.38)

When I sudo luarocks install lua-cjson I get the error still showing.

running into this as well...

Hi ,
is there any work around for this?


Cache npm ci state in github action

From chatgpt:
steps:

name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
name: Install dependencies
run: npm ci

There's an attempt at this in neilenns/issue60. I think it works for the server build in pr.yaml? It sure installed fast, in 5 seconds. But for the client even though the cache was re-created it doesn't seem like it got faster at all :(

Not going to bother.


"Cobiuța", "Crăciunești" are listed in the drop-down menu

Description:
When user writes ” Cobiuța” and "Crăciunești" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Cobiuța"

Expected results
The location appears in the drop-down menu as "Sat Cobiuța, DÂMBOVIȚA (Cobia)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Crăciunești"

Expected results
The location appears in the drop-down menu as "Sat Crăciunești, DÂMBOVIȚA (Cobia)".


merge from arlac77/template-arlac77-github,arlac77/template-esm-only,arlac77/template-node-app,arlac77/template-vscode

package.json

merge from template package.json

.vscode/launch.json

add missing .vscode/launch.json from template

:tada: This PR is included in version 10.0.35 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


(Non fatal) ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded

I am running dug on ubuntu 22.04 using cinnamon.
Using Snap install
Dug works properly and all, but at the beginning of the output it always throws an error message:

Using .deb package install
Seems like I'm probably missing a dependency, as the software manager also stops the install when I try to use the .deb package to install dug. However, at that time, software manager fails to tell me which dependency I'm missing and just shows me an empty dialog with the warning and a colon at the end of the warning as if it was going to list something, but it doesn't.

Despite the warning it works well from the snap store, and I'm using it as is. I just wanted to let it be known that ubuntu 22.04 cinnamon may have issues, or maybe figure out if it's just my environment that's botched 😅

Sorry for the delay, thanks for letting me know! I'm running 22.04 but I'll try to reproduce this in a clean environment.

@morales2k I was not ever able to reproduce this but I did just update some stuff involving the snap packaging, would you mind updating and letting me know if its fixed with version 0.0.89?

Greetings!
Thanks for looking into it!
I found on stack overflow something that led me to a solution for this message.
Adding the following on my .bashrc file fixed it.
[ -e /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 ] && export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0

Seems it was an issue in my desktop environment after all.  Using that snippet and a function to actually write dug in the cli;
# functions
function dug() {
	( unfrl-dug $* )
}

I get no errors now:

Prior to this snippet in the .bashrc file, after the snap updated, I was still getting the msg in the command's output.
I want to apologize for your time wasted trying to reproduce this as it is now evident it was an issue entirely on my end and I totally lacked the knowledge to spot it early on.  That said; I'll take this chance to thank you for your attention and for an awesome tool. 👍🏽


Infracost February community call

Join the first Infracost community call!
We're open to discuss any topic related to Infracost and cloud costs. You can also share your adoption challenges and successes. We'll share the latest product news.
When
Wednesday 16 February 2022, 08:30 PST = 11:30 EST = 16:30 GMT
Where
Zoom meeting: https://us06web.zoom.us/j/99421485564
Meeting ID: 994 2148 5564
(this meeting requires a Zoom account for joining, sign up for free on Zoom if you do not have an account)
Calendar invites
Add this public calendar to see upcoming event details.

Google Calendar: Use this email address<EMAIL_ADDRESS>to subscribe.
iCal format: Use https://calendar.google.com/calendar/ical/c_fvdtkbmdrqc17m1bmvlhiksb4k%40group.calendar.google.com/public/basic.ics for other applications.

Action required

React with a 👍 - if you intend to join (RSVP)
Add any topic that you think should be discussed as a comment in this issue.
Upvote existing comments/topics.

One thing I would like to hear your opinion about is #616 and how to expand infracost to also allow custom prices (especially for these on-prem resources).
It is kinda similar to #796, as in companies having internal prices for the operation and monitoring that comes from an operational team.
Maybe a single solution can be found for both enhancements.

Going to close this - I'll create a new issue for the next call in March (not sure when yet) - we'll advertise it well in advance.


Running phpunit in Vagrant

Is running phpunit installed in a Vagrant box from the host machine supported?

I would guess not, but not sure exactly how you mean. The extension quite simply just runs phpunit from a path you specify in the config and passes some parameters like which function/class to test based on where your cursor is in the document currently open in VS Code. Maybe you can determine if  what you intend to do would work based on that =)

It should ssh into the VM and run phpunit from there.
I'll try and let you know

Yea it doesn't do that. Now it just executes phpunit as specified in the config and passes some parameters. But it might be possible for you to write a small batch file or something that you execute instead of phpunit.
That would do something like:

Open ssh connection.
Run phpunit with params that the extension provides (%* I think for all params in batch files).

Or if network mapped drives work for your VM it might be possible to just map the drive and then enter the mapped path to phpunit in the config.
Guess those could work but haven't tried it.


only cache composer files not the repo metadata

Why?

The repo and vcs folders are excluded from the cache. This simply avoids the cache invalidation for all requests because of the update of Packagist metadata - by just keeping the files folder.

Thanks!


can't trigger Timer function

$task = new Worker();
$task->name = 'YourAppTestTimer';
$task->count = 1;
$task->onWorkerStart = function($task)
{
$time_interval = 2.5;
Timer::add($time_interval, "timerProcess",array(),true);
};
function timerProcess(){
$t = ORM::for_table("test")->find_one(1);
$t->end_time = Carbon::now()->toDateTimeString();
$t->save();
echo "task run\n";

}
Worker::runAll();
use "php start.php start" it will execute timerProcess every 2.5 seconds.
But use "php start.php start -d" , it won't exceute timerProcess function.why?

php start.php start is debug mode and output buffer will be printed to terminal.
php start.php start -d is daemon mode and output buffer will be redirect to /dev/null by default.
You can change the redirect path by setting Worker::$stdoutFile = '/tmp/stdout.log'; and then you can see the output buffer by tail -f /tmp/stdou.log.

Ok ,I found the error about "mysql gone away", I must use GatewayWorker build-in DB function.
refer to :http://www.workerman.net/gatewaydoc-1.0/appendices/mysql.html


Use the atom-workspace tag instead of the workspace class.

In keymaps/phpunit.cson: Use the atom-workspace tag instead of the workspace class.

Feel free to make this change and send a pull request.


APEX-42: Added support for configuring unifier attributes through configuration file

Saw screen frantically printing some messages through LogicalPlanConfiguration class when I tried to test it. Can you eliminate those messages. Also I feel that the tests are taking too long. They just finished and got these errors:
Results :

Failed tests:
  LogicalPlanConfigurationTest.testOperatorLevelAmbiguousAttributeComplex:936->testAttributeAmbiguousSimpleHelper:972->simpleAttributeOperatorHelperAssert:1029 expected:<true> but was:<false>
  LogicalPlanConfigurationTest.testAmbiguousAttributeSetOnOperatorAndNotDAG:828->dagOperatorAttributeHelper:861 expected:<5> but was:<1>

Tests in error:
   » StackOverflow
   » StackOverflow
   » StackOverflow
   » StackOverflow

Tests run: 291, Failures: 2, Errors: 4, Skipped: 10

Resolved the issues and updated the branch.


Cannot extend EnvConfig within env.config.ts

Changes to env.config.ts are not reflected in the EnvConfig type used in the ts files within tools/env. This would seem to be because tsconfig.json in the base directory is excluding src, which contains env.config.ts.
To reproduce:

Build the project
Add a property to EnvConfig within src/client/app/shared/config/env.config.ts
Set a value for that property within tools/env/base.ts
At this point, the IDE should error, but optionally you can try to build again to receive an error as well.

For a workaround, src can be removed from tsconfig.json, at the cost of a longer build time.

Yes, changes in tools/env are reflected in env.config.ts.

I cannot reproduce the issue, although it makes sense to have this issue given that we have src in the exclude array of ./tsconfig.json.

I cannot reproduce the issue with the latest changes introduced by https://github.com/mgechev/angular2-seed/commit/791b8103f500c18da3eea7c48ee0ebf7be5d501c. Tried building the project and also VSCode + WebStorm.


support python3.12

Release type: patch
Add support for Python 3.12 (not the new typing mechanism though.)


Execute robot tests

As a test writer, I want to be able to run tests from the IDE.
This is really just a placeholder for discussion on what is probably a wide topic. As per JUnit facilities, it would be excellent to be able to run whatever test/suite is in context. This enables library changes done by Dev to be run in debug mode and rapid turnaround of write/run by QA staff generating new test cases.

Did this investigation get anywhere Charles? This is rather too much work in a new domain for me to take on an implementation myself.


create a README for the example notebooks folder

This can describe the structure of the notebooks, like what order they should go in, and a basic summary of each.

Tell me what order you think they should go in. This would be the same order you think the notebooks should be introduced to students in a class.

Well, in reality its probably better to not have a structure like that, but instead rely on the structure from the learning goals. Like the table in the paper.

https://github.com/mnky9800n/Python-course-materials-for-seismology-students/blob/master/example_notebooks/README.md
I created a readme that includes the table and learning goals.

The readme is in the master... maybe you meant for it to be in the cartopy branch?


AppendCertsFromPEM fails here https://github.com/fabiolb/fabio/blob/master/cert/source_test.go#L656 when trying to add the cert which leaves the caPool empty and then generates the error. Trying to understand why.

package main

import (
	"crypto/x509"
	"fmt"
)

const cert = `-----BEGIN CERTIFICATE-----
MIIDOzCCAiOgAwIBAgIUaFacnWI+18PkzWw3L1ZhDyWE6/UwDQYJKoZIhvcNAQEL
BQAwGDEWMBQGA1UEAxMNRmFiaW8gVGVzdCBDQTAeFw0xODAyMDYwMjA0MTNaFw0x
ODAyMDYwNDA0NDNaMBgxFjAUBgNVBAMTDUZhYmlvIFRlc3QgQ0EwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIBohqz/hHEN6y2emMDG/fgsggbAXzrIkw
58orFVbK/+hGFMUPpBTZ15r5rYW5nNhIf/tyecLN1CSy/12HLbpx7ebpvMOj2i7b
/VgiadSpTklJEGUIt+nYPeLT+8qLXqiOQA4CwsES/UgQ3h+QMtwjAdcaloho1Ara
RDctRLlEf/VvBYVozPqYfbKRh4ofmqLo9KJFF8yMAOgkFsSmP8/Pv8Cii2fThyGB
v4J56uPUxHW5ROuy1WGu25rEB7Txuvqgpl9m7lN/oqkUhHrUMwFUx5kcG0fWPc2t
Rv/mePw+cDh/5P8IsBLgYGpjGKUGgQduE4LHjjRyUf/xnzuW8jOrAgMBAAGjfTB7
MA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTIDU8u
KA3PavIxercuzYTMDcSDcTAfBgNVHSMEGDAWgBTIDU8uKA3PavIxercuzYTMDcSD
cTAYBgNVHREEETAPgg1GYWJpbyBUZXN0IENBMA0GCSqGSIb3DQEBCwUAA4IBAQBr
0Nn+msFZjAA4gpHxt/7EvyfbUTjNmvXKALvhuX6z0qgdlFWVFYutNIkbKPF3a06H
gVW7zIvnKg2BX+bkhM/C/IC3oZsD3gK56A4Q71tK9q8QG0cWcqCyfqtG458Q1i8A
05t9rJ1V6ppN9VWe11tvTgEz5FK0e7jnQQEXH8hNjAXQXX7sbQzI+5GagUA3/ZT4
7bl/lkWg9yZCl/lM8UbFxlaRow4sVX5080ilrGlbCn29Ob6kFzWEv7rXs7BXrNgN
YgWDKTrsa4uD7NTuMmoJvsIw7FLkE8XgNNwuURVLsJ4/+TPbfdbVsZW8qO0s0dR+
AEFqi3JlxPWFVBU01oys
-----END CERTIFICATE-----`

func main() {
	p := x509.NewCertPool()
	fmt.Println(p.AppendCertsFromPEM([]byte(cert)))
	fmt.Printf("p: %#v\n", p)
}

$ ~/go1.9.2/bin/go run main.go
true
p: &x509.CertPool{bySubjectKeyId:map[string][]int{"\xc8\rO.(\r\xcfj\xf21z\xb7.̈́\xcc\răq":[]int{0}}, byName:map[string][]int{"0\x181\x160\x14\x06\x03U\x04\x03\x13\rFabio Test CA":[]int{0}}, certs:[]*x509.Certificate{(*x509.Certificate)(0xc4200a4000)}}

$ ~/go1.10rc1/bin/go run main.go
false
p: &x509.CertPool{bySubjectKeyId:map[string][]int{}, byName:map[string][]int{}, certs:[]*x509.Certificate(nil)}

Changing the common name of the generated cert to a DNS compatible name fixes it.


Add i18n internationalization support

Description

Add internationalization support using https://react.i18next.com/ (or similar) for Finnish and English.
DoD (Definition of Done)

UI is able to switch between language seamlessly.
There is a dropdown that allows language switching in the menu bar
Testing

Peer review (for now)

Regarding internalization for forms, we can do translations for different schemas like study_fi.json / study_sv.json with titles and descriptions for each field. Then on frontend study_fi.json is should be appended to study.json, so all titles / descriptions from study.json are overridden.

For form errors we should use https://github.com/ajv-validator/ajv-i18n

we need to be able to remember the language selection in the route (url)

About translating forms I see at least two options:

Have translated schemas ready in the backend and this way reduce computing on client side
Client translates the schema on fetch. Translated schema can be stored in session storage along with original schema

option 1 sounds ok, however is there an option that we can also have them in front-end as assets?
e.g. in another project we store them as: https://github.com/CSCfi/swift-browser-ui/blob/master/swift_browser_ui_frontend/src/common/lang.js or this is equivalent with option 2?

closing as this is going to be continued in the issues #489 and #490


Caching

Description
It seems the chromium the bot uses doesn't cache and thus reloads a good 10MB+ per website on every load. This seems an inefficient use of bandwidth. Perhaps caching could be implemented to reduce reloading of files already downloaded and only update on a change?
Related to issue #438
Possible solution
There are HTTP Cache and Disk Cache modules.

Caching isnt a good idea for these kind of scrappers. For example with newegg and bestbuy, the add to cart would be stuck on page due to cache bringing hours of false positives. You want to reload the page without cache to get accurate response from api.


consumer: flexible transaction boundaries

WIP
Issue #300

This change is

@psFried  FYI
Some more unit testing and a lot of integration testing I want to do, plus reworking commit structure, but I believe the implementation is all here.

I've addressed feedback and re-worked commit messages. I left all but the first two commits (which were merged up WIP) alone.

We've been running this in production a few days and it's looking solid. Going ahead and merging.


/_ignition/execute-solution security bug

Laravel Version: 7.30.1
PHP Version: 7.2.24
Facade/ignition: ^2.0

Description:
Today I found suspicious php file at the public directory, like ScLkgMAo.php
Nginx access logs have records of accessed ip: <IP_ADDRESS>, <IP_ADDRESS>
These ips successfully hitted URL /_ignition/execute-solution with POST method
Can I remove facade/ignition from require-dev section of composer.json and re-update all gracefully ?

We don't maintain Ignition. You shouldn't have Ignition or debug mode enabled in production.

We don't maintain Ignition. You shouldn't have Ignition or debug mode enabled in production.


SMTP over different ports

Going to look at adding SMTP configuration with different ports, mainly 587

Hi @jameswinegar - I'd gladly accept a pull request if you take this on.
Some help to get you started: you'll want to add an SMTP Port config item here: https://github.com/rickbergfalk/sqlpad/blob/master/resources/config-items.toml
Once that is in place, you can reference the new value wherever email is used, like here: https://github.com/rickbergfalk/sqlpad/blob/master/routes/users.js#L68
Adding a config item will add it to the UI as long as all the information is there.
Let me know if you need any help - this is a pretty low-key project :)

Got this working. Just working on the encryption piece when sending over 587.
{ Error:<PHONE_NUMBER>27904:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:  code: 'ECONNECTION', command: 'CONN' }


File dependencies not being added as artifact transform dependencies

Android Gradle Plugin received a bug report (https://issuetracker.google.com/issues/183632445) where file based dependencies are missing from artifact transform dependencies when AGP desugars the library module with an artifact transform. This causes library source files to be desugared incorrectly. For more details, please refer to the bug linked above.
Expected Behavior

Gradle should add file based dependencies as dependencies of artifact transform.
Current Behavior

File dependencies are missing from artifact transform dependencies.
Context
Here is an attempt to address this issue. https://github.com/gradle/gradle/pull/16689

I am okay of closing this ticket for now because we are moving away from file dependencies IIRC

We're seeing this issue being reported again: https://issuetracker.google.com/265195801.
Currently, users will need to disable dexing transforms which is not great for their build performance. It also prevents AGP from enforcing using transforms for dexing (https://issuetracker.google.com/225900051).

Hung, is File dependencies not being added as artifact transform dependencies the root cause of "java.lang.NoSuchMethodError occurs when submodule access the static method in interface of dependences"? Or file dependencies is happen to use in the reporter project?

Yes, I found that it is the root cause when I debugged the sample project provided at https://issuetracker.google.com/265195801#comment1.


WheelEvent contains fields that are not listed in the offical spec [lib.dom.d.ts]

WheelEvent in lib.dom.d.ts contains fields not present in the w3 specification.
readonly wheelDelta: number; readonly wheelDeltaX: number; readonly wheelDeltaY: number;
Currently working on a PR that removes them.

Should this be filed against https://github.com/w3c/uievents/issues/?

Closed by Microsoft/TSJS-lib-generator#579


Add Kairos to ADOPTERS

Proposed Changes
Adds Kairos to ADOPTERS.
Kairos uses k3s to provision Kubernetes clusters on baremetal, see github.com/kairos-io/kairos
Types of Changes
Documentation
Further Comments
Noticed with https://twitter.com/Rancher_Labs/status/1588133536531419136 :)

Thanks so much for this!


libpcap filtering is broken for XDP (--filter-trace-xdp)

Any libpcap filter seems to be ignored when using with --filter-trace-xdp. git-bisect points to https://github.com/cilium/pwru/commit/0dc98291c680e9a5935ed84f93d904c7f16528f8 (cc @Asphaltt )

I don't believe that the commit 0dc98291c680e9a5935ed84f93d904c7f16528f8 is responsible for breaking the pcap-filter + --filter-trace-xdp functionality, as the issue persists even with commit 1de15ffe7b50c8897ef0e5f981099b879dc2e08b.
In fact, --filter-trace-xdp was already broken before the 1de15ffe7b50c8897ef0e5f981099b879dc2e08b commit. As a result, it’s difficult to pinpoint exactly which commit caused the issue with pcap-filter + --filter-trace-xdp.

After investigating the commit history manually alongside this diff pwru-trace-xdp.txt, I confirm the commit 2893168ca887a7a8a86131dfa51043b67aeacfde  is responsible for breaking the functionality. Then, when revert the commit, it works expectedly.
@jschwinger233 can you do more investigation?

Thanks for the investigation! I think the last if-statement's condition needs to be changed to "if (!filter(...)) { return ...}".

the last if-statement's condition needs to be changed to "if (!filter(...)) { return ...}".

Indeed.


add ssh action

adds an action to execute commands on remote host using ssh.
use-case: i am trying to port some of my deployment scripts, and there i needed to restart a webserver via ssh
samples:
ssh(
		host: "dev.januschka.com",
		username: "root",
                port: "322",
		commands: [
					 "ls && true",
					 "ls && false",
					 "ls && true"
					]
	)

executes all commands in the commands array, if one of the commands fails, it stops, and raises a exception.
returns a hash
{
:stdout  => "WHOLE STDOUT OF ALL COMMANDS",
:stderr => "WHOLE STDERR"
}

Similar to the other PRs, please add Actions.md, make sure the tests are passing and rubocop verification works :+1:

rubocop is clean
tests pass
added entry to Actions.md
adopted feedback

Thanks for updating the PR, however we have a merge conflict here. Could you address the remaining comments before it's ready to be merged

merge conflict solved (had to put the documentation block at the end of ###misc)
added 1  more sample - showing a failing ssh case
removed usless comments

This looks great, thanks again for all your work :+1: