Dump where AvoidIdInstrumentationTag is placed

Pull Request Description
Fighting with too many messages being delivered I wrote a test that dumps information about AvoidIdInstrumentationTag - every node that has AvoidIdInstrumentationTag is excluded from the instrumentation. However, when I look at the output for
    from Standard.Base import all
    import Standard.Visualization

    run n = 0.up_to n . map i-> 1.noise * i

I see that 1.noise didn't have the tag. Now there is AvoidIdInstrumentationTagTest.java which can be used to collect all programs where too many messages is being delivered. Just add a program, identify isLambda and verify all nodes are properly tagged.
Test Output
code: 1.noise for node org.enso.interpreter.node.callable.ApplicationNode
  AvoidIdInstrumentationTag: false
  IdentifiedTag: false
  ExpressionTag: true
  RootNode: <anonymous><arg-0>
  crn.subject to instr: true
  crn.used in bindings: false
code: 1.noise for node org.enso.interpreter.node.callable.FunctionCallInstrumentationNode
  AvoidIdInstrumentationTag: false
  IdentifiedTag: false
  ExpressionTag: false
  RootNode: <anonymous><arg-0>
  crn.subject to instr: true
  crn.used in bindings: false
code: noise for node org.enso.interpreter.node.expression.constant.DynamicSymbolNode
  AvoidIdInstrumentationTag: false
  IdentifiedTag: false
  ExpressionTag: true
  RootNode: <anonymous><arg-0>
  crn.subject to instr: true
  crn.used in bindings: false

Passing thru subject to instrumentation
I modified the IrToTruffle to pass subject to instrumentation information to embedded lambdas and looks like the scenario reported by @jdunkerley  is working:

Seven hundred milliseconds is way better than 19s mentioned in the original bug report.
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

Closing in favor of https://github.com/enso-org/enso/pull/3977


Fluent Bit proxy does not work if httpProxy or httpsProxy value is missing

Bug description: Outbound proxy support for fluent bit does not work if both httpProxy AND httpsProxy values aren't specified. This problem arises because proxy-config.yaml does not check for empty values; if enableProxySupport is true, it assumes both will be defined.
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in Secret.stringData.HTTP_PROXY
Affected area (please mark with X where applicable):

Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]

Expected behavior:
OSM demo runs and deployment is created
Steps to reproduce the bug (as precisely as possible):

Set enableProxySupport to true in values.yaml.
Specify httpProxy value but not httpsProxy in values.yaml.
Run the osm demo

Demo does not finish but produces:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in Secret.stringData.HTTP_PROXY
How was OSM installed?:
./demo/run-osm-demo.sh on an AKS cluster
Anything else we need to know?:
Environment:

OSM version (use osm version): 0.6.0
Kubernetes version (use kubectl version): 1.19.0
Size of cluster (number of worker nodes in the cluster):
Others:

Issue arising because yaml treats empty values as nil. Fixed using quote function that makes the nil value into a permissible empty string


Bug: font studio generates broken fonts

Hi! You created an awersome tool. Thank you! But it doesn't work for me.
I get an error after generating a font:

As far as I understand, it tries to load just generated font, but it can't because the font is broken. Also, I tried to manually open generated font using OS font viewer and font studio, both give an error.
How I have compiled it:

Cloned master branch with submodules
Executed terminal command cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
Then cmake --build build --config Release
And it was built successfully.

Then I just created a new project, opened just downloaded FontAwersome font, selected all glyphs, and pressed generate. I didn't change any settings.
Font studio opened header file (ok), png (ok), but the font generated by the studio was broken, so, I got this error message.
Also, I tried different fonts.
OS: Linux 5.10
Compiler: GCC (10.2)
CMake: latest (3.19)
Screenshot:

I hope for your help! Thanks in advance!

So its not an awesome tool, if you cant make it working :(
i reproduce the same issue than you. freetype was NOk, but stb was OK
if you select STB rasterizer he is working ?
i know, than the font writer have issues with freetype (this is why there is no release for the moment, many bugs on generation)
im curently write my own, for quit sfntly

So its not an awesome tool, if you cant make it working :(
i reproduce the same issue than you. freetype was NOk, but stb was OK
if you select STB rasterizer he is working ?
i know, than the font writer have issues with freetype (this is why there is no release for the moment, many bugs on generation)
im curently write my own, for quit sfntly

i just commited a fix. its working on my side. can you confirm ?

i just commited a fix. its working on my side. can you confirm ?

@aiekick I checked the STB rasterizer in the previous commit, it doesn't work too.
Also, I checked the latest commit, but there is another problem. I can't generate a font. It gives me an error "Could not open font file", but the font file had been opened earlier. Screenshot:

Also, I tried to do it several times with other font files under root, still doesn't work. With STB too.

@aiekick I checked the STB rasterizer in the previous commit, it doesn't work too.
Also, I checked the latest commit, but there is another problem. I can't generate a font. It gives me an error "Could not open font file", but the font file had been opened earlier. Screenshot:

Also, I tried to do it several times with other font files under root, still doesn't work. With STB too.

yes i seen this issue with a bad message. jsut corrected too.
now its working ?

yes i seen this issue with a bad message. jsut corrected too.
now its working ?

Oh, I just forgot to select glyphs =)
Now fonts generate correctly with both modes. Almost. Generated font can be correctly opened in font studio and from ImGui, but the Linux default font viewer still can't read the font. The original font reads normal.
Original font:

Font generated by font studio with all selected glyphs:

This is not a big problem, the main thing is that imgui normally opens the font.

Oh, I just forgot to select glyphs =)
Now fonts generate correctly with both modes. Almost. Generated font can be correctly opened in font studio and from ImGui, but the Linux default font viewer still can't read the font. The original font reads normal.
Original font:

Font generated by font studio with all selected glyphs:

This is not a big problem, the main thing is that imgui normally opens the font.

ok, until i not regenerate all font object; this kind of things can happen. my goal is not to do a general font tool. for that there is better alternative like fontforge. my tool is mores specific for programmer and especially embedded font. and truetype is a old format many tool sue different rules for say if a ttf is ok or not. some time freetype not want to open font, but other tool are ok..
so not sure if we can have a good way in all cases :)

ok, until i not regenerate all font object; this kind of things can happen. my goal is not to do a general font tool. for that there is better alternative like fontforge. my tool is mores specific for programmer and especially embedded font. and truetype is a old format many tool sue different rules for say if a ttf is ok or not. some time freetype not want to open font, but other tool are ok..
so not sure if we can have a good way in all cases :)

to be sure, what is the name of your foot viewer ? for found it and do some tests with him

to be sure, what is the name of your foot viewer ? for found it and do some tests with him


Verify if new version of WLO available in IBM Operator Catalog is automatically picked up during the deployment of solution template offer

Verified that new version 1.1.0 is automatically installed.


AssertionError: Invalid coordinates: min_d >= max_d

I downloaded the SPIE-AAPM Lung CT Challenge data and converted the images from DICOM to nii using the following code: https://github.com/rordenlab/dcm2niix.
The coordinates of the nodule are given in pixels and I converted it to physical coordinate space using .get_zooms() from the metadata of each image.
I still keep getting the following errors (depending on the image I choose) when running visualize_seed_point:
AssertionError: Invalid coordinates: min_d >= max_d
AssertionError: Invalid coordinates: min_h >= max_h
What am I doing wrong?

Hi @wafaequo
I'm not very familiar with nibabel as I mostly use SimpleITK for my image loading purposes. I'm assuming there might be a mismatch between the orientation provided by nibabel coordinates and the ones expected by FMCIB.
Could you test the same workflow with SimpleITK and let me know if it works?

import SimpleITK as sitk

# Load the image
image_path = 'path/to/your/image.nii'  # Replace with your image file path
image = sitk.ReadImage(image_path)

# Convert image coordinates (i, j, k) to physical coordinates (x, y, z)
def image_to_physical(image_coords):
    return image.TransformIndexToPhysicalPoint(image_coords)

# Example image coordinates
image_coords = (100, 150, 75)

# Convert to physical coordinates
physical_coords = image_to_physical(image_coords)
print(f"Physical coordinates: {physical_coords}")

Alternatively, if you can share a image coordinate, the image itself and your current physical coordinate, I can test it myself and let you know how to modify.


[macos] move license accept out of parallel ForEach

Description
yet another attempt to improve XCode installation robustness
Related issue:
https://github.com/actions/runner-images-internal/issues/5339
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp macos11,macos12


[Feature]: Benchmark script with speculative decode metrics

🚀 The feature, motivation and pitch
I am looking to assess the performance of vllm for speculative decode, but I have been unable to find an offline benchmark script similar to benchmark_latency.py that would allow me to test speculative decode performance. While I can use  benchmark_latency.py to obtain e2e latency, it does not provide all of the spec-decode metrics such as the time spent on scoring, verifying, and proposing, as well as the acceptance rate.
Thanks to @cadedaniel's excellent contributions such as https://github.com/vllm-project/vllm/pull/6963 and https://github.com/vllm-project/vllm/pull/3103, we are now able to display spec-decode metrics, including scoring time, verification time, proposal time, and acceptance rate, in the server logging.
However, these metrics can only be viewed in online server logs and are implemented through an asynchronous collector, which could result in inaccuracies. I am considering adding a script called 'benchmark_spec_decode.py' for spec-decode benchmarking in order to capture more spec-decode-related metrics.
Some Proposal
Add a new field spec_decode_metrics of RequestMetrics https://github.com/vllm-project/vllm/blob/9587b050fba00c3c35da05d3512bf7e351914a50/vllm/sequence.py#L87-L112 and we can also consolidate the class SpecDecodeWorkerMetrics for more metrics related to spec-decode https://github.com/vllm-project/vllm/blob/9587b050fba00c3c35da05d3512bf7e351914a50/vllm/spec_decode/metrics.py#L13
Alternatives
No response
Additional context
No response

@cadedaniel I'm wondering if you can provide me with some feedback and suggestions. I'm glad to contribute.

The idea is good and a contribution here is welcome. My primary concern is latency overheads from metrics collection; i.e. the additional logic required to parse the acceptance rate into per-sequence acceptance info.
Suggestion (either/or):

Improve the metrics emitting logic so you can easily read the logs using a benchmark script like you suggest, using existing metrics logic (which has low overhead). This can be turned on by default as long as it's low overhead.
Add an opt-in flag for fine-grained speculative metrics (can be per sequence). When it's disabled, there is ~zero latency overhead. When it's enabled, it can print metrics to the log in SpecDecodeWorker; the user can then scrape the logs to get the information they need.

BTW, similar discussion happening here https://github.com/vllm-project/vllm/discussions/7522

also, you can enable the metrics to be printed in benchmark_latency via:
diff --git a/benchmarks/benchmark_latency.py b/benchmarks/benchmark_latency.py
index 97afd301c8f..0ee2bfabb82 100644
--- a/benchmarks/benchmark_latency.py
+++ b/benchmarks/benchmark_latency.py
@@ -47,6 +47,7 @@ def main(args: argparse.Namespace):
         distributed_executor_backend=args.distributed_executor_backend,
         otlp_traces_endpoint=args.otlp_traces_endpoint,
         enable_prefix_caching=args.enable_prefix_caching,
+        disable_log_stats=False,
     )

     sampling_params = SamplingParams(

Hi Im evaluating speculative decoding, and I'm not able to get any gain from it.
I tested opt 2.7B/llama 3.1 8B/llama 3 8B with the following server configuration parameters:
Using a draft model
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager
--speculative-model=/mnt/models/-accelerator
--num-speculative-tokens=3
--ngram-prompt-lookup-max=3

Using n-gram
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager
--speculative-model=[ngram]
--num-speculative-tokens=3
--ngram-prompt-lookup-max=3

Speculative decoding disabled
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager

And the overall behavior is that the less performant approach is with the draft model, then n-gram, and the best case is with speculative decoding off.

Is there any guide on the best configuration or scenarios where we can et the most of this feature?
Thanks!

Hi Im evaluating speculative decoding, and I'm not able to get any gain from it.
I tested opt 2.7B/llama 3.1 8B/llama 3 8B with the following server configuration parameters:
Using a draft model
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager
--speculative-model=/mnt/models/-accelerator
--num-speculative-tokens=3
--ngram-prompt-lookup-max=3

Using n-gram
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager
--speculative-model=[ngram]
--num-speculative-tokens=3
--ngram-prompt-lookup-max=3

Speculative decoding disabled
--port=8080
--model=/mnt/models
--served-model-name={{.Name}}
--distributed-executor-backend=mp
--use-v2-block-manager
--enforce-eager

And the overall behavior is that the less performant approach is with the draft model, then n-gram, and the best case is with speculative decoding off. These results are with an A100-40GB and vLLM 0.5.3 post1.

Is there any guide on the best configuration or scenarios where we can et the most of this feature?
Thanks!

Hey! Thanks for the interest. What's the draft model you are using for opt 2.7B/llama 3.1 8B/llama 3 8B?
ngram is normally good for document QA or summary, it's not good for online chatting. The perf of SD is workload, model, and hardware dependent.


HA 2024.11

Logger: homeassistant.const
Bron: helpers/deprecation.py:222
Eerst voorgekomen: 10:44:57 (6 gebeurtenissen)
Laatst gelogd: 10:45:05
STATE_ALARM_ARMED_AWAY was used from eufy_security, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_AWAY instead, please report it to the author of the 'eufy_security' custom integration
STATE_ALARM_ARMED_HOME was used from eufy_security, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_HOME instead, please report it to the author of the 'eufy_security' custom integration
STATE_ALARM_DISARMED was used from eufy_security, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMED instead, please report it to the author of the 'eufy_security' custom integration
STATE_ALARM_TRIGGERED was used from eufy_security, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.TRIGGERED instead, please report it to the author of the 'eufy_security' custom integration

I also have:
Logger: homeassistant.core
Source: helpers/deprecation.py:222
First occurred: 22:44:45 (1 occurrences)
Last logged: 22:44:45

Config was used from eufy_security, this is a deprecated alias which will be removed in HA Core 2025.11. Use homeassistant.core_config.Config instead, please report it to the author of the 'eufy_security' custom integration

and
Logger: homeassistant.components.alarm_control_panel
Source: components/alarm_control_panel/__init__.py:210
integration: Alarm control panel (documentation, issues)
First occurred: 22:44:50 (1 occurrences)
Last logged: 22:44:50

Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.

Config see #1231
Deprecated constants see #1240

HI, same issue here.
TY

same here after updating HA to 2024.11

Hello
Same warning since last update

fixed in latest revision, thanks

I think this is still unfixed.
Logger: homeassistant.components.alarm_control_panel Source: components/alarm_control_panel/__init__.py:210 integration: Alarm control panel (documentation, issues) First occurred: 22:44:50 (1 occurrences) Last logged: 22:44:50 Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.

+1

Confirming too
`Logger: homeassistant.components.alarm_control_panel
Source: components/alarm_control_panel/init.py:210
integration: Alarm control panel (documentation, issues)
First occurred: 15:14:05 (8 occurrences)
Last logged: 15:14:20
Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.'

can you open a separate issue? I had focused on initial one only. just move into a new in an easy way.

anyway, fixed it, give it a try after new revision is released

That was fast. Thanks.

Looks like fixed.
Thank you


Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[ X] Android
[ ] UWP
[ ] .NET Standard

Feature Library

[X ] Core
[ ] BluetoothLE
[ ] Locations
[ ] HTTP Transfers
[ ] Notifications
[ ] Sensors

Version of Library
Just downloaded 7.0.26, previously using 7.0.25
Version of OS(s) listed above with issue
KitKat - 4.4.  This is an Android only issue
Steps to Reproduce

Compile the application with Use Shared runtime off
Use the "Sdk Assemblies Only" Linking Option
Click Deploy.

Expected Behavior
The application runs fine, this linking issue recently showed up with no changes.  When I saw your latest update was trying to resolve a mapping issue with this I thought this would be it.  Any help is appreciated.
Actual Behavior
Severity	Code	Description	Project	File	Line	Suppression State
Error		The "LinkAssemblies" task failed unexpectedly.
Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'System.Drawing.Color' (defined in assembly 'Acr.UserDialogs, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null') with scope 'System.Drawing.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. When the scope is different from the defining assembly, it usually means that the type is forwarded. ---> Mono.Cecil.ResolutionException: Failed to resolve System.Drawing.Color

Sorry, when I meant the "application runs fine" i meant it runs on emulators.  As soon as I try to deploy it to the device is when this linking error appears.  I have tried with both 4.4 and 8.1 devices.
It was previously running fine even on the device, this is a recent phenom.  I traced back to anything recently installed and there were only a couple minor things that are both back to their original versions.

I got everything working fine in my project testing on a physical Android 9 device in debug mode but just discovered you get this build error in release mode. The plugin is useless if it cannot build in release mode??
Can see issue in v7.0.25 and 7.0.26 (using NetStandard shared code Xamarin.Forms project.)

@HelenMamalaki Comments like these are rude and completely unnecessary.  It doesn't add any value or additional information to helping solve the issue.  This isn't a paid product and it also isn't my problem you're "blocked".  You aren't blocked - you can go back to a previous version like v7.0.4 which is fine.  This bug is with Xamarin/Microsoft who I am working with to get this resolved.

@aritchie I didn't mean to come off as rude :( I was only trying to call attention to the issue in the hopes that it be acknowledged soon. The new information in my comment (not included by original author) is that I only see the issue in Release mode, and it works fine on a physical device in debug mode for me.
I can build the app with v7.0.4 in release mode which is great, so thank you for the a way forward!

Aritchie/Helen,
thanks for the information.  We spent a few very long days on this not knowing if we had done something wrong or there was a real problem.  Just knowing this is an issue and having a way forward helps a lot.  Thanks!

when you say you can rebuild the app in v7.0.4 do you mean v7.0.24 or is there another library we are missing?

v7.0.4 is the version just before 7.0.22 - see version history here I can see it in NuGet Package Manager too. ;)

thanks Helen, much appreciated!  Was able to compile with link options, huge help!  I will sit tight on 7.0.26 until MS gets this resolved.  Is there a bug from Xamarin/Microsoft tracking what they broke?

I've also the same issue :(

Closing this as a dupe of #654


Default project problems

So i have just cloned and started fresh project, and my default project is not realy working. At entry site it shows login form without any css, and at admin i get following error:
subclasses of AbstractBaseUser must provide a get_short_name() method.
What am i doing wrong here?

Hey there. Cloning the repo won't get you very far. This is a project meant to interact with the django-admin.py command.
Have you had a chance to read over the installation section in the README?
https://github.com/scottwoodall/django-react-template/blob/master/README.md
Sent from my iPhone

On Mar 21, 2016, at 5:21 PM, Luka<EMAIL_ADDRESS>wrote:
So i have just cloned and started fresh project, and my default project is not realy working. At entry site it shows login form without any css, and at admin i get following error:
subclasses of AbstractBaseUser must provide a get_short_name() method.
What am i doing wrong here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Yes i did it exactly as it says in readme with django-admin.py startproject, but no success

I went through the three different README's to start a new project and I wasn't able to reproduce the errors. Are you also following the steps in the frontend README and backend README?
If you've followed the steps in all three README's would you mind starting a brand new project and go through these steps and then if you continue to get the same error can you share a screenshot of your termnial where you have ran all the commands?

Got it working now failed to run npm start, sorry and thanks!


feat: reorder tc subgoals according to out-params

Part of #2117, hopefully with less regression on core.

!bench


Release action should build a static binary for Apple Silicon

Adding Apple Silicon (M1) powered macOS GitHub Action runners seems to be on GitHub's roadmap for the end of this year: https://github.com/github/roadmap/issues/528
When this feature is available we should include it into our release pipeline.

Great. Not to spoil the mood, but there are now also M2 Chips 😂 (I have one in my Macbook), but probably the architecture will be comparable enough to still work with the same runner.

Hm - maybe we have to check how other Haskell projects build. I'm sure we're not the only ones with this issue. I quickly looked into the HLS GitHub actions. Difficult to read...

The Apple Silicon runners are now available: https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions

We have such an executable since v<IP_ADDRESS>.


discord

Welcome back, any discord group?

Just the old one. I think, you already joined it, didn't you?


In Level 4 and Level_5, the player's movement becomes delayed and or unusable

Found:
In Level 4 and Level_5, the player's movement becomes delayed and or unusable
Repro Steps:
1 - Open Game using pressing Play from the preloader scene
2 - Reach Level_4 or Level_5
3 - Build up momentum in one of the direction
4 - Try to jump or change direction
Actual Result:
The Players will only jump about 1-2 seconds later, or not at all
In Level_5 while running towards the end the player cannot jump or change direction and even after releasing the button the player will not slow down, which makes the level unbeatable due to inability to dodge last obstacle
Expected Result:
The player jumps using the momentum or slows down changing movement Direction
Build:
Commit 84
675b74caac0db24a2ebb069eb227e1c632c995a4

Level 5

some issue might be happening with my editor/laptop because sometimes it's fine and other times it won't let me me jump or slow down my momentum

9.9MB made it!!!! Anyway here is level 4. I cut some parts off because GitHub only allows file < 10MB

Gonna flag it as nmi(Need more Information) for now.

Also the player is always slighty ahead. By 0.9 seconds to be precise of its previous position shown on the screen when jumping. Not sure if this is what you are experiencing

What I'm experience is while I move to the horizontally upon reaching the point I should slowdown and jump I become after holding it down so I keep moving ahead but after releasing the button I keep moving as if I'm still holding it down and become unable to jump. I'll try to get a video of it next time it happens though I'll need to find a way to show my inputs so you can get the full picture. It was happening pretty often earlier today but after restarting my laptop it hasn't happened yet so I'll try putting it on my desktop and seeing if it is simply an issue with my laptop or a bug that happens randomly

issue seems not to be appearing anymore so I'm gonna close this issue unless it shows up again


Language learning

added french language learning

Is this PR going to add the other languages as well?
Let's name PRs better to explain what they're doing.

@SusannaShu
Did you test all the languages to make sure the dictionaries work on the backend?
The build.gradle change is still in here, please remove it.
Otherwise looks good!

Also, there needs to an SGM commit that adds the new languages to the ASR files.


Modify DG and Manual Testing

Codecov Report

Merging #416 (bd9a872) into master (717bfd1) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #416      +/-   ##
============================================
- Coverage     80.05%   80.00%   -0.05%
  Complexity     1071     1071
============================================
  Files           136      136
  Lines          3214     3216       +2
  Branches        433      433
============================================
  Hits           2573     2573
- Misses          570      572       +2
  Partials         71       71

Impacted Files
Coverage Δ

...main/java/seedu/awe/model/util/SampleDataUtil.java
6.81% <0.00%> (-0.33%)
:arrow_down:

Continue to review full report at Codecov.

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


Feature request: Add prepopulated_fields support to ModelAdmin

Wagtail's ModelAdmin doesn't support this field, found in Django's ModelAdmin: https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.prepopulated_fields

When set, the given fields will use a bit of JavaScript to populate from the fields assigned. The main use for this functionality is to automatically generate the value for SlugField fields from one or more other fields.

I have a use case for it in Wagtail, where normal Django models need a slug associated with them.

Wagtail does support this, because it automatically fills in the slug for a page. There doesn't seem to be a similar option for ModelAdmin.

Hello there, any feedback on this issue?

I made it work. I'll probably make a PR, but since I'm deeply overloaded it lacks of tests, I'll be glad if someone assist me with tests coverage.

@alexgleason @engineervix feel free to help with #5522 to make this feature happen.

I am interested in this feature - but then discovered that the page editor kind of has it already for title and slug fields. I was able to get my custom model to behave this way by tricking it into behaving like a page, because all the page editing javascript is loaded. So I wonder what it would take to do this in a cleaner way, leveraging the functionality that is already there. This doesn't fully mimic django admin. Here is my hack, this code is on my ModelAdmin.
`    def create_view(self, request):
view = super().create_view(request)
self._enable_slug_editing(view)
return view
def _enable_slug_editing(self, view):
    ''' Tricks the editor into enabling some javascript normally
        used on Page models to sync the title with the slug
    '''
    form = view.context_data['form']
    form.fields['name'].widget.attrs['id'] = 'id_title'
    form.fields['slug'].widget.attrs['id'] = 'id_slug'

`

@Cheradenine this almost worked perfectly, but when clicking save I got an error 'HttpResponseRedirect' object has no attribute 'context_data'
Had to add in a check like below:
    def create_view(self, request):
        view = super().create_view(request)
        self._enable_slug_editing(view)
        return view

    def _enable_slug_editing(self, view):
        ''' Tricks the editor into enabling some javascript normally
            used on Page models to sync the title with the slug
        '''
        if hasattr(view, 'context_data'):
            form = view.context_data['form']
            form.fields['name'].widget.attrs['id'] = 'id_title'
            form.fields['slug'].widget.attrs['id'] = 'id_slug'

I believe this was added in #6386.


Roll Flutter Engine from 6ceccf894c41 to 351470ce31cb (2 revisions)

https://github.com/flutter/engine/compare/6ceccf894c41...351470ce31cb
2024-03-13<EMAIL_ADDRESS>[scenario app] make image matching fuzzier. (flutter/engine#51376)
2024-03-13<EMAIL_ADDRESS>Roll Skia from bbe453e3525d to dc7443fa4d88 (1 revision) (flutter/engine#51371)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


?will this code be opensourced  in the futrue?

will this code be opensourced  in the futrue?

Yes @mrlonely001, I'm planning to publish it by the end of November

Yes @mrlonely001, I'm planning to publish it by the end of November

Come On，I am looking forward to it

Is there a version that you can push ?


Thread interrupted vs exception

I'm a bit confused by the use of Thread.currentThread().interrupt() followed by an exception throw in the following snippet:
https://github.com/albertfc/csv/blob/dc4f4908744341622c0cb2e4b4272b4589801d63/src/main/java/com/seqera/ParallelDataProcessor.java#L112-L113
Is that really necessary?

Here I'm restoring the interrupt flag in case the caller is interested on this information. As the Interrupted exception is just rethrown as a SequeraException the fact that the thread was interrupted would be lost.

Understand, however, by doing so you will have two exception thrown, the SeqeraException and an InterruptedException in the thread awaiting for the parallel data processor run to complete.
A cleaner implementation could be just break in the while loop and and report a log message. See also https://stackoverflow.com/a/52623479/395921


Refactoring documentation tree

Lots of documentations everywhere it becomes an unclear one

You mean the 'nav' menu?
I took most of it from Haveno-docs.
I can also make everything about the Haveno-UI, as with Payments, into a drop-down menu. Maybe Development & The Project, too.
I have already combined some things into one file. Backup and restore were previously 2 files. Account limits & Account signing, too. I would also like to summarize Getting Started & Getting Started 2.
I want to adjust all the trade limits for Haveno .15. And go through everything again, looking at typos, making all headings the same size, setting some line brakes, some formatting nicer, etc.
Automatically light, dark settings from OS.
Haveno-reto renaming in RetoSwap.
The most important thing for me was to first finish the docu that the app links to.
@woodser has already adjusted links. I think there are still one or two wrong.


Additional methods like getLocationPath, getLocationSearch, etc.

I think it'd be nice to have additional methods from $location service, i.e. getLocationPath or getLocationSearch available on the browser object. I can try to implement it and create a PR if you agree it's a good idea.

getLocationPath === browser.getCurrentUrl()
getLocationSearch === browser.getCurrentUrl().then(url) {return require('url').parse(url, true).query;}
I guess you can make getLocationSearch easier to get at, but it doesn't seem to fit as part of protractor.

I agree - this is stuff you can parse easily from getCurrentUrl or getLocationAbsUrl. Can you give an example use case that cannot be easily done like @hankduan suggested?

If we have access to the whole URL we can parse it - that's totally true. I just thought that it might be useful to have a little bit more methods there. Close the issue if you say that it's not a part of protractor. Thanks.

These utils are pretty easy to do with node's url module, so I think they don't need to be duplicated in protractor. Closing.


pluralsight 404 not found

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.23. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2017.07.23

Before submitting an issue make sure you have:

[x ] At least skimmed through README and most notably FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.07.23
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

i am getting error while download every course of pluralsight but i can access via browser
PS C:\Users\HD37> youtube-dl --verbose -o '~/downloads/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https:/
/pluralsight.com/training/Courses/TableOfContents/dot-net-applications-deployment-pipeline --sleep-interval 90 --limit-r
ate 200k --username<EMAIL_ADDRESS>--password 123
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-o', u'~/downloads/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', u'h
ttps://pluralsight.com/training/Courses/TableOfContents/dot-net-applications-deployment-pipeline', u'--sleep-interval',
u'90', u'--limit-rate', u'200k', u'--username', u'PRIVATE', u'--password', u'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.07.23
[debug] Python version 2.7.12 - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[generic] dot-net-applications-deployment-pipeline: Requesting header
[redirect] Following redirect to https://app.pluralsight.com/courses/dot-net-applications-deployment-pipeline
[pluralsight:course] dot-net-applications-deployment-pipeline: Downloading course JSON
[download] Downloading playlist: Building a Deployment Pipeline for .NET Applications
[pluralsight:course] playlist Building a Deployment Pipeline for .NET Applications: Collected 43 video ids (downloading
43 of them)
[download] Downloading video 1 of 43
[pluralsight] Downloading login page
[pluralsight] Logging in as<EMAIL_ADDRESS>[pluralsight] 83c28313-c7af-46b2-95e6-f45132246d14-0: Downloading JSON metadata
[pluralsight] 83c28313-c7af-46b2-95e6-f45132246d14-0: Downloading mp4-high-widescreen viewclip JSON
[pluralsight] 83c28313-c7af-46b2-95e6-f45132246d14-0: Waiting for 2 seconds to avoid throttling
[debug] Default format spec: best
[debug] Invoking downloader on u'http://vid21.pluralsight.com/clips/resolution/51186bac-faf5-4019-ad65-48153e53c23c/mp4/
1280x720.mp4?EClsKB5jeDSQZxLxiNKAbIFvSWs_zzHWP8o_fU_YlYS6xp0Mup-lIlHqcJCVKpWRE0U7gPt1kLNy68ovzmm01o4u6VbpNMqnpXJW8XChZYP
ryKzlqtfkT6RtcwIvH7UqoAsU8uDSlURwW4YzU3a2DxVb4Frie7BwQiFMSQdzzdcfxbUOQg'
[download] Sleeping 90 seconds...
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1863, in process_info
success = dl(filename, info_dict)
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1805, in dl
return fd.download(name, info)
File "c:\python27\lib\site-packages\youtube_dl\downloader\common.py", line 361, in download
return self.real_download(filename, info_dict)
File "c:\python27\lib\site-packages\youtube_dl\downloader\http.py", line 61, in real_download
data = self.ydl.urlopen(request)
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 2166, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "c:\python27\lib\urllib2.py", line 435, in open
response = meth(req, response)
File "c:\python27\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "c:\python27\lib\urllib2.py", line 473, in error
return self._call_chain(*args)
File "c:\python27\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "c:\python27\lib\urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
PS C:\Users\HD37>

I have same issue, even on a course that downloaded fine last week now gives  HTTP Error 404: Not Found

Have the same issue with 2<IP_ADDRESS>.

Temporary pluralsight issue.


chore: rpc for creating large number of transactions

send_coin_transactions can create about 5000 transactions per second.
Transactions created will have most of the data the same other than:
nonce - specified nonce is increased for each transaction
receiver - is an array of receivers, if transaction count is greater than receiver, receivers are simply repeated
transaction_count - specifies number of transactions to create

prnet cleaned-up successfully


Turn closure bodies from exprs into blocks if there are comments

A closure like this:
let x = ||
    // a comment
    some_body_expr;

should be a block instead of a single expression, as per the fmt-rfcs.
Closes #4384

My apologies for forgetting to squash commits before uploading to master, it's been a while.

I thought of a really annoying edge case:
let one_liner = || /* ? */ 1;

This PR will rewrite it as:
let one_liner = || { /* ? */
    1
};

I'm pretty sure this is because rewrite_closure_with_block (which calls rewrite_block_with_visitor) turns it into:
let one_liner = ||
    1
};

and combine_strs_with_missing_comments will try to put all the strings on the same line due to there being no newlines in the original source: https://github.com/rust-lang/rustfmt/blob/f7ba2dbcf2ce9dd086c06b6b7e89b399fdd25374/src/formatting/comment.rs#L204-L212
An edge case, to be sure, but this whole PR is addressing edge cases, so I'll see what I can figure out.

@ayazhafiz Personally I'd consider that a separate issue, but I think the fix is quite similar to what I've added in this PR. So I'm going to pass on fixing that for now.

I have encountered something quite fun.
I added this test case:
let one_line = || /* one line */ 1;

with expected output:
let one_line = || { /* one line */
    1
};

Because, as I mentioned above, combine_strs_with_missing_comments tries to put the comment on the same line as it is in the original source.
But this fails because rustfmt thinks that the output should be:
let one_line = || {
    /* one line */
    1
};

That's great, that's what I'd prefer to see anyway! So let's change the test case to use that output--
Mismatch at tests/source\issue-4384-2.rs:1:
 fn main() {
-    let one_line = || {
-        /* one line */
+    let one_line = || { /* one line */
         1
     };
 }

Um. rustfmt is somehow generating both versions?

But this fails because rustfmt thinks that the output should be:
let one_line = || {
    /* one line */
    1
};

So let's change the test case to use that output--
Mismatch at tests/source\issue-4384-2.rs:1:
 fn main() {
-    let one_line = || {
-        /* one line */
+    let one_line = || { /* one line */
         1
     };
 }

Um. rustfmt is somehow generating both versions?

I'm not sure I follow what you're saying here, and I'm unable to reproduce this locally with the latest changes on your branch.
The preservation of original line placement with combine_strs_with_missing_comments is intentional, so that may not be a great approach in this case. As @ayazhafiz alluded to on the other thread, utilizing different comment util function like rewrite_missing_comment or recover_missing_comment_in_span may be a better fit for option 2.
I also wouldn't be too concerned about a minor refactor to add a new param to rewrite_closure_with_block to accept the target span as mentioned in your option 1. It's a private/internal function that's only called from a handful of places, and the param could even be Option wrapped with rewrite_closure_with_block using the body span in the none case.

Thanks @ayazhafiz and @calebcartwright, the finer-grained control from using rewrite_missing_comment gives a better result.
I'm happy with the state of this now, it covers every case I could think of.

Thanks @Solumin! Could you rebase/address the conflicts? Will take a final look over afterwards

I don't see any conflicts now. Or at least GitHub says it can be merged.

I can squash the commits but there's conflicts preventing a rebase. No worries, will look at it later

I got it, just had to look up the right git incantation. Sorry!

Perfect, thank you!


Create citation.cff file

Probably unnecessary given the limited scope of this project, but given the actual subject of that scope, seems hypocritical to not have one.

Done in https://github.com/DanNBullock/citeas-on-requirements/commit/754936d12a744053e32bbaaf414e2ff0799d1a7d


[Bug]: Originating to a sandbox before it has been started in a new project results in a config error

What happened?
While running taq originate on a new project, the command fails if the sandbox is already running (started from a different project) with a configuration error
The root cause of this is that config.json does not have keys for each sandbox account until the sandbox is started. Since it was started by another project, the existing error handling does not handle this case gracefully
What should have happened?
A better error message at a minimum, ideally would detect the lack of keys and instantiate the accounts implicitly
Steps to reproduce the bug

In Project 1, run taq start sandbox local
Initialize Project 2 (taq init): add a .tz contact to /artifacts and install Taquito plugin
From Project 2, run taq originate
See error output

Relevant log output
taqueria-scaffold-demo on  main
❯ taq originate -e all
{
  errCode: 'E_INVALID_SANDBOX_ACCOUNT',
  errMsg: 'Please configure a default account for the local to be used for origination.',
  context: {
    accounts: {
      default: 'bob',
      bob: [Object],
      alice: [Object],
      john: [Object],
      jane: [Object],
      joe: [Object]
    },
    label: 'Local Tezos Sandbox',
    protocol: 'PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx',
    rpcUrl: 'http://localhost:20000'
  }
}

Screenshots and images
Screenshot and images
Code of Conduct

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

No accounts are available for the sandbox called local to perform origination.
No contracts originated.

Got the above instead (on main branch). Means it might be already fixed? @hu3man


LLS-Addons - Wrong repository url

How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Plugins
Expected Behaviour

redirects to an actual repository
https://github.com/LuaLS/LLS-Addons/tree/main/addons/garrysmod
Actual Behaviour
If I press View on GitHub button I got link to carsakiller
https://github.com/carsakiller/LLS-Addons/tree/main/addons/garrysmod (last commit 6 months ago)
instead of LuaLS (sumneko)
Reproduction steps

Go to 'Open Addon Managere'
Click 'View on GitHub'
See error 'carsakiller repo'

Additional Notes
No response
Log File
No response

Thank you for the report!


Remove PSR-7

There's actually nothing about this package that is PSR-7 specific.
The type hints in ActionHandler are gratuitous, as the handle method does not actually rely on any of those interfaces actually being defined. The only thing the method does is pass those values to other places which should type hint their requirements as necessary.
This isn't really the middleware either, the handler which extends this in radar is. That's the place where PSR-7 is actually required.
I would think this package could be used in, for example, @andrewshell CliAdr... specifically here
eg. Why wouldn't I be allowed to use this package like this?
<?php

use Arbiter\ActionHandler;
use Arbiter\ActionFactory;

use Aura\Cli\CliFactory;
use Aura\Cli\Context;
use Aura\Cli\Stdio;
use Aura\Cli\Status;

$resolver = function ($class) {
    return new $class;
};

class Input {

    protected $options = [];

    public function __invoke(Context $context)
    {
        return [$context->getopt($this->options)->get(1, 'World')];
    }
}

class SayHelloDomain {
    public function __invoke($noun = 'World')
    {
        return 'Hello ' . $noun;
    }
}

class Responder {
    public function __invoke(Context $context, Stdio $stdio, $payload)
    {
        $context;
        $stdio->outln($payload);
        return Status::SUCCESS;
    }
}

$cli_factory = new CliFactory;
$action_factory = new ActionFactory;

$action  = $action_factory->newInstance(
    Input::class,
    SayHelloDomain::class,
    Responder::class
);

$handler = new ActionHandler($resolver);
$context = $cli_factory->newContext($GLOBALS);
$stdio   = $cli_factory->newStdio();

exit($handler->handle($action, $context, $stdio));

Talk about being "too close to see the problem" -- because it was extracted from early versions of Radar, the typehints came along by default. Excellent observation, sir!


Bump time < 1.9

It would be nice to merge and release this, since I can't build unix-compat on GHC 8.2.1 on Windows without this.

I've updated the package on Hackage, and will merge this so it doesn't regress.


Feature/restore local training from checkpoint

#5
main features

Add -r flag to deeprotor train-local which will cause the launch script to bootstrap the model using the most recent checkpoint. This allows you to pick up training where you left off.
Add -g flag to run the Gazebo gui when training.

misc

Git ignore python cache files

I will update the docs regarding the new option flags if/when this is merged in.


correct typo on profiles for camel-mongodb component

change etcd by mongodb

Thanks. Can you open the same or on 3.4.x branch?

Thanks. Can you open the same or on 3.4.x branch?

Yes


Add builds for web components

Should be easier to use with shadow dom

The main issue I get when using web components is the reliance on :where(html) in the styling since the web component doesn't have the html element.
In my current project I've made a local copy of open-props.min.css and normalize.min.css simply appending the host selector eg. :where(html), :host
So far it is working fine.
There is also the build scripts currently example gen:nowhere.
Not exactly sure how it works or how to use it, haven't had the pleasure to use it yet 😅
Code from props.js
const [,,prefix='',useWhere] = process.argv

const selector = useWhere === 'true' ? ':where(html)' : 'html'

Could possibly have another build swapping out :where(html) for :host fairly easily without interrupting the regular usage?
If just adding :host by default isn't wanted. Not sure if it would have any side effects 🤔

Excited to see this feature land. Used an approach similar to what @NielsJorck described to work around it, which should no longer be necessary.


Dockerfile.catalyst: add mapic

Closed in favor of https://github.com/livepeer/livepeer-in-a-box/pull/23


ERROR: unable to download video data: <urlopen error EOF occurred in violation of protocol (_ssl.c:777)>

python 3.6.3
youtube-dl 2017.10.12
[youtube] VKMWqOfbGME: Skipping DASH manifest: ExtractorError("Failed to download MPD manifest: <urlopen error EOF occurred in violation of protocol (_ssl.c:777)> (caused by URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:777)'),))",)

This is most likely caused by unstable networks. The problem should go away if you try again. If not, please paste full output of youtube-dl -v 1280x720.

After 32 videos, i get this also: ERROR: unable to download video data: <urlopen error EOF occurred in violation of protocol (_ssl.c:600)>
Using windows... another download gave the same error after 101 videos.. :(   What does this mean?
Can i resume or skip over the downloaded videos already if i didn't use the filename option?  if so, how?  Thanks.

My network connection has severely deteriorated this week (under 1mbps download bandwidth), and I have started to get this error. I think this is a bug? It should work with "bad" connections, too, as youtube-dl is indeed most useful in exactly these kinds of networks (that don't let you stream at all). I'm going to try  TLS patch, but if that actually helps, then it needs to become a commandline option.

I tried changing this in utils.py:

def make_HTTPS_handler(params, **kwargs):
    opts_no_check_certificate = params.get('nocheckcertificate', False)
    if hasattr(ssl, 'create_default_context'):  # Python >= 3.4 or 2.7.9
        # context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)

        context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
        context.verify_mode = (ssl.CERT_NONE
                               if opts_no_check_certificate
                               else ssl.CERT_REQUIRED)
        context.set_default_verify_paths()
        # if opts_no_check_certificate:
        #     context.check_hostname = False
        #     context.verify_mode = ssl.CERT_NONE
        try:
            print('hi :()')
            return YoutubeDLHTTPSHandler(params, context=context, **kwargs)
        except TypeError:
            # Python 2.7.8
            # (create_default_context present but HTTPSHandler has no context=)
            pass

    if sys.version_info < (3, 2):
        return YoutubeDLHTTPSHandler(params, **kwargs)
    else:  # Python < 3.4
        context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
        context.verify_mode = (ssl.CERT_NONE
                               if opts_no_check_certificate
                               else ssl.CERT_REQUIRED)
        context.set_default_verify_paths()
        return YoutubeDLHTTPSHandler(params, context=context, **kwargs)

But no luck. Still:
youtube-dl --ignore-config -v https://www.youtube.com/watch\?v\=qI_g07C_Q5I
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-v', 'https://www.youtube.com/watch?v=qI_g07C_Q5I']
hi :()
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.6.4 (CPython) - Darwin-18.2.0-x86_64-i386-64bit
[debug] exe versions: avconv present, avprobe present, ffmpeg 4.1, ffprobe 4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] qI_g07C_Q5I: Downloading webpage
ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:777)> (caused by URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:777)'),))
  File "/Users/evar/anaconda/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/Users/evar/anaconda/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/Users/evar/anaconda/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Users/evar/anaconda/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Users/evar/anaconda/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Users/evar/anaconda/lib/python3.6/site-packages/youtube_dl/utils.py", line 1147, in https_open
    req, **kwargs)
  File "/Users/evar/anaconda/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)

This SO question suggests using pycurl as a workaround to this issue:
https://stackoverflow.com/questions/48112400/requests-ssl-ssleoferror-eof-occurred-in-violation-of-protocol-ssl-c777

I had this problem
ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable>
When I eventually tried downloading a different video it was ok


Support "disabled" mode for Button

Right now a button only has active states. We need a way to mark a button as disabled so that we can reject clicks from it automatically and grey it out

This might be possible using a ComponentVariant. Investigating....

Definitely possible using a component variant but still we should add an enabled = ... parameter to Button like Compose for Android does.


types: fix Restore of FieldType in handling decimal

Signed-off-by: Lonng<EMAIL_ADDRESS>
What problem does this PR solve?
Consider the following create table statement:
create table t(a decimal(20) not null);

If we parse it and restore it will get an unexpected result: create table t(a decimal not null.
What is changed and how it works?
Fix it
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes
N/A
Side effects
N/A
Related changes

Need to cherry-pick to the release branch

LGTM

@tiancaiamao PTAL

Please add some test cases, thanks!

(Fixed in #311 too)

Closed due to fixed in #311


feat(controls): keyboard look strings

As described in: https://github.com/Yellow-Dog-Man/FrooxEngine/pull/806
And: https://www.youtube.com/watch?v=RHw_rL7VM5I

Merging this in now as the feature is ready! Thank you!


Bootstrap 5 make-col-offset mixin throws a SASS exception

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
When trying to use the make-col-offset mixin of Bootstrap 5, SASS throws an exception:
sass.Exception [Error]: $number: divide(..., ...) is not a number

Reduced test cases
Install bootstrap and sass:
npm install sass boostrap

Then, compile the following SASS source (index.scss):
@use "./node_modules/bootstrap/scss/mixins/grid" as Bootstrap;

.foo {
  @include Bootstrap.make-col-offset(10, 100);
}

$ sass index.scss
Error: $number: divide(10, 100) is not a number.
   ╷
48 │   margin-left: if($num == 0, 0, percentage($num));
   │                                 ^^^^^^^^^^^^^^^^
   ╵
  node_modules/bootstrap/scss/mixins/_grid.scss 48:33  make-col-offset()
  index.scss 4:3                                       root stylesheet

I don't quite understand where is the divide function used by the make-col-offset mixin coming from. Looking at the source code of the mixin, it is not imported at all and not defined locally. This definitely can't work.
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
v5.3.2

Thanks for reporting this issue @ericmorand
Bootstrap has its own divide() function that you don't import into your file, so the default one is used and generates this error.
Here is how you can do it with minimal imports:
@import "./node_modules/bootstrap/scss/functions";
@import "./node_modules/bootstrap/scss/mixins/grid";

.foo {
  @include make-col-offset(10, 100);
}

Please tell me if it helps/works for you so that I can close this issue if resolved.

Thanks a lot.
I actually ended up importing the whole mixins and it worked flawlessly:
@use "./node_modules/bootstrap/scss/mixins" as Bootstrap;

Still, I think each discrete component mixins should be autonomous - which is perfectly possible thanks to the @use syntax.
Anyway, again, thanks. Much appreciated.


contractcourt: fix off-by-one error in closeObserver

In this PR, we fix an off-by-one error when handling force closes from the remote party. Before this commit, if the remote party broadcasts state 2, and we were on state 1, then we wouldn't act at all. This is due to an extraneous +1 in the comparison, causing us to only detect this DLP case if the remote party's state is two beyond what we know atm. A test that fails when run on master has been added to demonstrate the bug, and confirm that it has been fixed.
Fixes #2764.

@Roasbeef following conversation in slack, I applied this fix to my node that had this issue (funds were not swept) and I confirm that now after restarting the funds were swept correctly.
Will wait for this to be merged but regardless of that the fast response and quick solution are very appreciated here.

PTAL @halseth @cfromknecht

I am not very common with github. Are there any binaries available for this fix branch? Or is the only solution to build this fix from source? Thank you

@MykelSIlver currently only from source. But the v0.6 release is just around the corner 🤞

updated to version: lnd version 0.6.0-beta commit=v0.6-beta-rc4
Unfortunately channels still pending at version?
Should a new issue report be made?
after starting the lnd daemon and finishing its startup pending channels gives still:
{
    "total_limbo_balance": "44948535",
    "pending_open_channels": [
    ],
    "pending_closing_channels": [
    ],
    "pending_force_closing_channels": [
        {
            "channel": {
                "remote_node_pub": "03c436af41160a355fc1ed230a64f6a64bcbd2ae50f12171d1318f9782602be601",
                "channel_point": "cf91a4e77e81cdec69eb2fa94f8d15a4235cf60de06380a2aec4b743abd99091:1",
                "capacity": "250000",
                "local_balance": "2803",
                "remote_balance": "0"
            },
            "closing_txid": "5a4d2eb780c0c4d3b07d9de57ed47411eed7bd9bfc65abc2fd59e747075a5a89",
            "limbo_balance": "2803",
            "maturity_height": 566904,
            "blocks_til_maturity": -4391,
            "recovered_balance": "0",
            "pending_htlcs": [
            ]
        }
    ],
    "waiting_close_channels": [
        {
            "channel": {
                "remote_node_pub": "0217890e3aad8d35bc054f43acc00084b25229ecff0ab68debd82883ad65ee8266",
                "channel_point": "b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473:1",
                "capacity": "10000000",
                "local_balance": "9994349",
                "remote_balance": "0"
            },
            "limbo_balance": "9994349"
        },
        {
            "channel": {
                "remote_node_pub": "023f61eb4abd39ee37190fcaf6343050b0b70da647960f9a95e9974cebc4fffd47",
                "channel_point": "b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211:0",
                "capacity": "16777215",
                "local_balance": "16770786",
                "remote_balance": "0"
            },
            "limbo_balance": "16770786"
        },
        {
            "channel": {
                "remote_node_pub": "02a35e94b403dead4d08a00e3df3577682e34f5c4ba39476497be838dc76d15a09",
                "channel_point": "a9c6512546094d3615587d1375459b516a43fa6f40aefb8d5e94211a1b998496:0",
                "capacity": "50000",
                "local_balance": "0",
                "remote_balance": "0"
            },
            "limbo_balance": "0"
        },
        {
            "channel": {
                "remote_node_pub": "0317d6b11e81729192aab651174991a32e566786a7abb45b88898ed27e218a15e6",
                "channel_point": "f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08:0",
                "capacity": "1500000",
                "local_balance": "1319575",
                "remote_balance": "0"
            },
            "limbo_balance": "1319575"
        },
        {
            "channel": {
                "remote_node_pub": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
                "channel_point": "4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312:0",
                "capacity": "100000",
                "local_balance": "89777",
                "remote_balance": "0"
            },
            "limbo_balance": "89777"
        },
        {
            "channel": {
                "remote_node_pub": "03e50492eab4107a773141bb419e107bda3de3d55652e6e1a41225f06a0bbf2d56",
                "channel_point": "ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3:0",
                "capacity": "16777215",
                "local_balance": "16771245",
                "remote_balance": "0"
            },
            "limbo_balance": "16771245"
        }
    ]
}

Studying the lnd.log filtered for the pending channels gives:
2019-04-12 08:26:20.194 [INF] LTND: Version: 0.6.0-beta commit=v0.6-beta-rc4, build=production, logging=default
2019-04-12 08:26:20.194 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-04-12 08:26:20.208 [INF] CHDB: Checking for schema update: latest_version=8, db_version=7
2019-04-12 08:26:20.209 [INF] CHDB: Performing database schema migration
2019-04-12 08:26:20.209 [INF] CHDB: Applying migration #8
2019-04-12 08:26:20.209 [INF] CHDB: Migrating to the gossip message store new key format
2019-04-12 08:26:20.209 [INF] CHDB: Migration to the gossip message store new key format complete!

2019-04-12 08:26:53.918 [INF] SWPR: Candidate sweep set of size=1, has yield=0.09988237 BTC
2019-04-12 08:26:53.918 [INF] SWPR: Sweep candidates at height=571294, yield 1 distinct txns
2019-04-12 08:26:53.929 [INF] CNCT: Creating ChannelArbitrators for 1 closing channels
2019-04-12 08:26:53.929 [INF] NTFN: New block epoch subscription
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=8, outpoint=b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211:0, height_hint=566232
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=5, outpoint=b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473:1, height_hint=566232
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=6, outpoint=4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312:0, height_hint=566233
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=4, outpoint=f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08:0, height_hint=566232
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=7, outpoint=ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3:0, height_hint=566232
2019-04-12 08:26:53.930 [INF] NTFN: New spend subscription: spend_id=3, outpoint=a9c6512546094d3615587d1375459b516a43fa6f40aefb8d5e94211a1b998496:0, height_hint=566572
2019-04-12 08:26:54.084 [INF] CNCT: Close observer for ChannelPoint(b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211:0) active
2019-04-12 08:26:54.192 [INF] CNCT: Close observer for ChannelPoint(b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473:1) active
2019-04-12 08:26:54.303 [INF] CNCT: Close observer for ChannelPoint(4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312:0) active
2019-04-12 08:26:54.412 [INF] CNCT: Close observer for ChannelPoint(f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08:0) active
2019-04-12 08:26:54.521 [INF] CNCT: Close observer for ChannelPoint(ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3:0) active
2019-04-12 08:26:54.635 [INF] CNCT: Close observer for ChannelPoint(a9c6512546094d3615587d1375459b516a43fa6f40aefb8d5e94211a1b998496:0) active
2019-04-12 08:26:54.636 [INF] CNCT: ChannelArbitrator(ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3:0): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:54.924 [INF] CNCT: ChannelArbitrator(ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3:0): noop trigger chainTrigger
2019-04-12 08:26:54.926 [INF] CNCT: ChannelArbitrator(cf91a4e77e81cdec69eb2fa94f8d15a4235cf60de06380a2aec4b743abd99091:1): starting state=StateWaitingFullResolution
2019-04-12 08:26:54.972 [INF] CNCT: ChannelArbitrator(cf91a4e77e81cdec69eb2fa94f8d15a4235cf60de06380a2aec4b743abd99091:1): still awaiting contract resolution
2019-04-12 08:26:54.972 [INF] CNCT: ChannelArbitrator(cf91a4e77e81cdec69eb2fa94f8d15a4235cf60de06380a2aec4b743abd99091:1): relaunching 1 contract resolvers
2019-04-12 08:26:54.972 [INF] NTFN: New confirmation subscription: txid=5a4d2eb780c0c4d3b07d9de57ed47411eed7bd9bfc65abc2fd59e747075a5a89, num_confs=1
2019-04-12 08:26:54.972 [INF] CNCT: ChannelArbitrator(b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473:1): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:54.972 [INF] NTFN: New confirmation subscription: conf_id=1, txid=5a4d2eb780c0c4d3b07d9de57ed47411eed7bd9bfc65abc2fd59e747075a5a89, height_hint=566760
2019-04-12 08:26:55.285 [INF] CNCT: ChannelArbitrator(b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473:1): noop trigger chainTrigger
2019-04-12 08:26:55.287 [INF] CNCT: ChannelArbitrator(b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211:0): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:55.300 [INF] CNCT: ChannelArbitrator(b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211:0): noop trigger chainTrigger
2019-04-12 08:26:55.300 [INF] CNCT: ChannelArbitrator(a9c6512546094d3615587d1375459b516a43fa6f40aefb8d5e94211a1b998496:0): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:55.338 [INF] NTFN: Dispatching 1 confirmation notification for txid=5a4d2eb780c0c4d3b07d9de57ed47411eed7bd9bfc65abc2fd59e747075a5a89
2019-04-12 08:26:55.338 [INF] NTFN: New spend subscription: spend_id=9, outpoint=5a4d2eb780c0c4d3b07d9de57ed47411eed7bd9bfc65abc2fd59e747075a5a89:0, height_hint=571294
2019-04-12 08:26:55.338 [INF] CNCT: *contractcourt.commitSweepResolver(cf91a4e77e81cdec69eb2fa94f8d15a4235cf60de06380a2aec4b743abd99091:1): waiting for commit output to be swept
2019-04-12 08:26:55.576 [INF] CNCT: ChannelArbitrator(a9c6512546094d3615587d1375459b516a43fa6f40aefb8d5e94211a1b998496:0): noop trigger chainTrigger
2019-04-12 08:26:55.578 [INF] CNCT: ChannelArbitrator(f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08:0): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:55.856 [INF] CNCT: ChannelArbitrator(f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08:0): noop trigger chainTrigger
2019-04-12 08:26:55.858 [INF] CNCT: ChannelArbitrator(4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312:0): starting state=StateCommitmentBroadcasted
2019-04-12 08:26:56.102 [INF] CNCT: ChannelArbitrator(4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312:0): noop trigger chainTrigger

@MykelSIlver currently only from source. But the v0.6 release is just around the corner
lnd version 0.6.0-beta commit=v0.6-beta-rc4 did indeed solve the problem :+1:


[Bug] Table widget's filter pop-up does not collapse on opening a modal

Description
Filter pop-up of the table widget does not automatically close when modal widget is opened.
Steps to reproduce the behaviour:

Drag and drop table and modal widget on to canvas and click on the filter option on the table widget.
Now open the modal widget and observe the overlap

Important Details

Version: Cloud
OS: Win10
Browser: Chrome
Environment: Release

Here we can reduce the index of the table filter such that it can go behind the modal


Test::Quattor: mock CAF::Path::_listdir

Does not require https://github.com/quattor/CAF/pull/230
It would be nice to have this in 1.53, but feel free to move the milestone and release 1.53 without it.


head_object response should always contain ContentType

When using boto3 for real, the return value of a head_object call always contains a ContentType key, at least as far as I can tell. Even if you upload a completely empty file without specifying a content type and then call head_object, its ContentType will have been populated with binary/octet-stream.
However, in moto, this key is not guaranteed to be present. For example, if you run:
import moto
import boto3
from io import BytesIO

with moto.mock_s3():
    s3_resource = boto3.resource("s3", region_name="us-east-1")
    s3_resource.create_bucket(Bucket="testbucket")
    s3_resource.Bucket("testbucket").upload_fileobj(
        BytesIO(b'foobar'), Key="testobject"
    )
    s3_client = boto3.client("s3", region_name="us-east-1")
    print(
        "metadata:",
        s3_client.head_object(
            Bucket="testbucket",
            Key="testobject",
        ),
    )

then the dict that gets printed will not contain a ContentType key at all.
This leads to KeyErrors when testing code that assumes the ContentType key will be present and reads it unconditionally (which is a safe assumption with the real boto3 implementation!).
It'd be helpful to ensure this value is always set, even if just to a hard-coded default value like binary/octet-stream.

Hi @ExplodingCabbage, welcome to Moto, and thanks for raising this! Good point - will mark it as an enhancement to always return this attribute.


Fix: Explicitly disable ordered_class_elements fixer

This PR

[x] disables the ordered_class_elements fixer

Follows #76.
💁 See https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/master#usage:

ordered_class_elements
Orders the elements of classes/interfaces/traits.

🙎 This looks interesting, but it's probably a big change.

:+1:

Thank you, @zcuric!


Feat: Profile post sharing option

What feature?
There should be an option to share the posts on other social media platforms. The UI of this feature is already developed. As a contributor, your task is to implement a feature to share on multiple social media apps.
Please find below the reference photo from hashnode.
Add screenshots

Record

[X] I agree to follow this project's Code of Conduct
[ ] I want to work on this issue

hello @Sanchitbajaj02  can you assign this to me

hello @Sanchitbajaj02 can you assign this to me

I have already assigned you an issue so please finish that first to get assigned on this

Hello, I'd like to work on this please assign it to me under SWOC'24 :)

Hi @rishicds, assigning this issue to you

@rishicds What's the progress on this issue??

Hello, I had exams that's why I was unable to complete it, if possible please reassign it to me I'll do it in a day or two @Sanchitbajaj02 @thevirengarg

@rishicds Okay i will re-assign you this issue, but you only have 48 hours to complete it.

On it @thevirengarg


Create 2018-04-05-Dockstore-1.4.0.markdown

WIP

Uses the html table, but a sample markdown backup is kept for inspiration in case we want to change back to it.

Feel free to add to the table

Oh, missed one thing.
I noticed that the file provisioning isn't split out into file provisioning in and file provisioning out as expected.
I think you'll find that file provisioning works with cwltool in both directions, with wdl in (not sure about out), possibly with bunny (please test).
Thanks

@denis-yuen I think the / you removed is required.


Xcode 13.3 workaround

Summary
Workaround for #93.

Add DefaultsTests+workaround.swift in Tests to pass test cases.
Add some documents about Xcode 13.3 workaround.

Thanks for your code review 😄 !

Looks good. Thanks for doing this PR 👍


CSVLoader cannot handle restkey in Python 2.x

CSVLoader decodes raw strings as unicode in Python 2.x. However, r[k] in the following code may be a list, instead of raw strings, when restkey option is specified.
https://github.com/jubatus/jubakit/blob/v0.4.2/jubakit/loader/csv.py#L90
In such case this code fails.

Fixed via #79


Make Explorer.PolarsBackend.Series.pow/2 accept series on both sides

./lib/explorer/polars_backend/series.ex:216
# TODO: make pow/2 accept series on both sides.
@impl true
def pow(left, exponent) when is_float(exponent),
  do: Shared.apply_series(left, :s_pow, [exponent])

def pow(left, exponent) when is_integer(exponent) and exponent >= 0 do
  cond do
    Series.dtype(left) == :integer -> Shared.apply_series(left, :s_int_pow, [exponent])
    Series.dtype(left) == :float -> Shared.apply_series(left, :s_pow, [exponent / 1])
  end
end

Yes, please do send a PR! :)

https://github.com/pola-rs/polars/pull/3908/files

I have no idea yet

Considering just doing this with converting series to lazy series, like other arithmetic ops.

small = Explorer.Series.from_list(for _i <- 0..100, do: :random.uniform(1_000))
medium = Explorer.Series.from_list(for _i <- 0..1_000, do: :random.uniform(1_000))
big = Explorer.Series.from_list(for _i <- 0..10_000, do: :random.uniform(1_000))
biggest = Explorer.Series.from_list(for _i <- 0..100_000, do: :random.uniform(1_000))

Benchee.run(
  %{
    "original" => fn input -> Explorer.Series.pow(input, 2) end,
    "add using expressions" => fn input ->
      df = Explorer.DataFrame.mutate_with(Explorer.PolarsBackend.DataFrame.from_series(left: input), fn ldf ->
        [result: Explorer.Series.pow(ldf["left"], 2)]
      end)

      df["result"]
    end
  },
  memory_time: 2,
  inputs: %{
    "small" => small,
    "medium" => medium,
    "big" => big,
    "biggest" => biggest
  }
)

Operating System: macOS
CPU Information: Apple M1 Pro
Number of Available Cores: 8
Available memory: 32 GB
Elixir 1.14.0
Erlang 25.1.1

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 5 s
memory time: 2 s
reduction time: 0 ns
parallel: 1
inputs: big, biggest, medium, small
Estimated total run time: 1.20 min

Benchmarking add using expressions with input big ...
Benchmarking add using expressions with input biggest ...
Benchmarking add using expressions with input medium ...
Benchmarking add using expressions with input small ...
Benchmarking original with input big ...
Benchmarking original with input biggest ...
Benchmarking original with input medium ...
Benchmarking original with input small ...

##### With input big #####
Name                            ips        average  deviation         median         99th %
original                     1.55 K        0.64 ms   ±188.24%        0.35 ms        7.00 ms
add using expressions        0.73 K        1.37 ms   ±126.67%        0.81 ms        8.15 ms

Comparison:
original                     1.55 K
add using expressions        0.73 K - 2.13x slower +0.73 ms

Memory usage statistics:

Name                     Memory usage
original                      1.36 KB
add using expressions        11.35 KB - 8.35x memory usage +9.99 KB

**All measurements for memory usage were the same**

##### With input biggest #####
Name                            ips        average  deviation         median         99th %
original                     228.88        4.37 ms    ±52.69%        3.10 ms       11.84 ms
add using expressions        131.21        7.62 ms    ±36.33%        5.91 ms       15.41 ms

Comparison:
original                     228.88
add using expressions        131.21 - 1.74x slower +3.25 ms

Memory usage statistics:

Name                     Memory usage
original                      1.36 KB
add using expressions        11.35 KB - 8.35x memory usage +9.99 KB

**All measurements for memory usage were the same**

##### With input medium #####
Name                            ips        average  deviation         median         99th %
original                     6.49 K      154.03 μs   ±388.87%       77.33 μs     2489.56 μs
add using expressions        1.45 K      691.42 μs   ±201.44%      365.09 μs     7686.40 μs

Comparison:
original                     6.49 K
add using expressions        1.45 K - 4.49x slower +537.39 μs

Memory usage statistics:

Name                     Memory usage
original                      1.36 KB
add using expressions        11.35 KB - 8.35x memory usage +9.99 KB

**All measurements for memory usage were the same**

##### With input small #####
Name                            ips        average  deviation         median         99th %
original                    16.87 K       59.28 μs   ±628.23%       20.34 μs      269.81 μs
add using expressions        1.65 K      606.78 μs   ±236.58%      306.71 μs     7674.33 μs

Comparison:
original                    16.87 K
add using expressions        1.65 K - 10.24x slower +547.49 μs

Memory usage statistics:

Name                     Memory usage
original                      1.36 KB
add using expressions        11.35 KB - 8.35x memory usage +9.99 KB

**All measurements for memory usage were the same**

It's not a good choice to use expressions.


boards: adi: Fix input subsys tests and samples for max32 boards

Input subystem tests and samples were failing to build on these max32 boards because the zephyr,code property was missing on gpio-keys child nodes. The devicetree binding doesn't specify the property as required, but the driver implements a build assert when the property isn't defined.
Fixes twister build failures observed in #74622. These build failures can be reproduced in main and will probably show up in other PRs and the weekly build, therefore labeling this PR as a hotfix.

Fixes twister build failures observed in https://github.com/zephyrproject-rtos/zephyr/pull/74622. These build failures can be reproduced in main and will probably show up in other PRs and the weekly build, therefore labeling this PR as a hotfix.

Already showed up in the latest weekly twister build
https://github.com/zephyrproject-rtos/zephyr/actions/runs/9532862689


Avoid compiler complaining

initialize some local variables

gcc-4.8.4 and gcc-trunk does not warn here.
which compiler version does emit this wrong warning?

merging now.

clang complains.

fixed, thank you!

Rebase?


Stick with cl-basic for now, until incompatibilities are addressed.

See https://github.com/obophenotype/cell-ontology/issues/584

Tagging @kltm


Remove unused imports.

Coverage remained the same at 85.069% when pulling bd35116f2a27ffddddda2b64b3914ee978413419 on 3xp0n3nt:remove-unused-imports into f0659caa2fab326103802d5c4adf007611499d46 on magro:master.

Thanks for the PR!


Making navbar sticky

Feature idea.
Position of navbar should be fixed to the top even after scrolling, could you assign me to fix this under gssoc'23

Hey @trisharaj06 you can start working on this!

Hey is it done?? Pls submit your PR within one day otherwise will assign it to someone else!

Sorry for late, due to my sem exam I was unable to give it time could you give me just two days more ?

Hey is it done?? Pls submit your PR within one day otherwise will assign it to someone else!

please assign me for this issue

Okay you can do @khushbumaheshwarii

Do it soon pls!

Do it soon pls!

Do it soon pls!

sure


Support "strict mode" for RFC7159 parsing

Currently Json.NET parses in a more lenient manner than RFC7159. For example:
{
  "foo": Infinity
}

... will be parsed by Json.NET, but isn't valid under RFC7159.
I'm sure that's generally useful, but it makes it harder to build on Json.NET when strict parsing is required. Other features such as date detection can be disabled already, but I don't think there's currently any way of disabling this leniency.
This is only one example - there may well be others that James is aware of, given that he's rather more deeply "in" this world than I am :) (Comments, possibly the quote characters used, etc.)

What you could do is inherit from JsonTextReader, override Read and check the incoming data after each read. If QuoteChar is ' then throw an error, if Value is a double and is double.Infinity/double.NaN then throw an error, etc.

Thanks, that's definitely a practical workaround. I think this would be generally useful functionality to be in Json.NET itself at some point, but I'll give that a try for now. (I'll try to identify the ways in which Json.NET is more lenient than the RFC, and note what I find here for future readers...)

@cyrusnajmabadi Manatee.Json only supports strict mode (I believe).

I'm not sure. I get the feeling that if I add a strict mode as just a bool flag on JsonTextReader then people will start asking for more options. "I want to error on comments but still accept trailing commas", etc. I don't want to add lots of fields to JsonTextReader to configure how strict it should be.

You don't need to add lots of fields just because someone is asking. ;)
Introducing a (bool) option for enabling strict mode would help many users. It makes sense, as it allows users to read/verify standard-conform Json data without the hassle of building and maintaining unwieldy JsonTextReader.Read() overrides.
For anyone else wanting an individual blend of a little strict here and a little loose there, just refer them to your comment from Sept. 2015:

What you could do is inherit from JsonTextReader, override Read and check the incoming data after each base.Read().

What about deserializing and then serializing and comparing to original string? This validates that properties are surrounded by ".." for example.

@guylando: That would be a very inefficient way of validating, IMO.

For what it's worth, I am running into exactly this issue.  I need to determine whether a document is valid JSON.  A strict mode would be perfect for that.
The whole purpose of a spec is to ensure interoperability.  If different implementations deviate from the spec, they are no longer interoperable.  In my case interoperability is paramount.

I think DateParseHandling.None should also be a part of strict mode. Strict mode would make the road from Json.Net to System.Text.Json less bumpy.


Enforce 2FA at the user token level

When a user enables 2FA on their account, we should prevent their token being used without 2FA.

Related issues:

https://github.com/Flagsmith/flagsmith/issues/411 - spun out from this issue which relates to the UI only
https://github.com/Flagsmith/flagsmith/issues/910 - depends on this one, as we cannot force 2FA on tokens, until we have properly scoped API tokens


Heart beating for long polling - configurable timeout - due middle of July - fro FGT

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#connection-idle-timeout
Solution:

enable keep alive
send periodically heart  beating
put a timeout on the client to restart the connect if the heart beating is not received


do not compute ordered watched resources on every push

OrderedWatchedResources and KnownTypeUrls is computed on every push even though they change very rarely. This PR stores it in the proxy.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

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

Test name
Commit
Details
Required
Rerun command

release-notes_istio
cb757dc261f5aa81fc80caaac162303d7bece0dd
link
true
/test release-notes

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

/test release-notes

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

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
cb757dc261f5aa81fc80caaac162303d7bece0dd
link
true
/test unit-tests-arm64

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

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

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
cb757dc261f5aa81fc80caaac162303d7bece0dd
link
true
/test unit-tests-arm64

unit-tests_istio
cb757dc261f5aa81fc80caaac162303d7bece0dd
link
true
/test unit-tests

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

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

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
47e025ff0770cae24803e6597ebdb7c5a8fcf354
link
true
/test integ-ambient

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

/test integ-ambient

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

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
47e025ff0770cae24803e6597ebdb7c5a8fcf354
link
true
/test integ-ambient

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

/test integ-ambient

How much time will it cost for the limited typeUrl? Looking at orderWatchedResources, it can be improved to reduce one loop.

It does not take significant time (should be negligible) but allocates array for every push which this PR tries to avoid.,

It allocates array with at most 5~6  length

It allocates array with at most 5~6 length

Yes. But why should we allocate and compute every time if we can store

Store it looks redundant and bit weired here, because we have storred too many watched resources

It is just a pointer to the existing watched resources
On Mon, 25 Dec, 2023, 3:06 pm Zhonghu Xu, @.***> wrote:

Store it looks redundant and bit weired here, because we have storred too
many watched resources
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/48519#issuecomment-1868889617, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDINKELSUL33QLVX7AP6TTYLFCK5AVCNFSM6AAAAABA7MBUZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYHA4DSNRRG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

first iterate the pushOrders and push the watched resources in order, then push other resources

Order is precomputed so that we can avoid lock during pushXds.

Yes. But why should we allocate and compute every time if we can store

Seems like a premature optimization. An xds push allocates 1000s of objects; we shouldn't add complexity to prevent 1 such allocation?

An xds push allocates 1000s of objects; we shouldn't add complexity to prevent 1 such allocation?

Fair point. This was one of my comments in the other PR https://github.com/istio/istio/pull/48586#pullrequestreview-1799920472

Closing this - let us see if BMs show any significant improvement.


Polkadot indexed data

Hello dcolley, I was wondering if you have indexed data polka-store for polkadot chain from genesis block(0th) to the current block(17.2million blocks)?
I am trying to get all polkadot data from genesis block(0th to the current block(~17.2million blocks)) but from other sources would take weeks.
I need all events/types of transactions data and balances relevant transactions, thank you!

Using polka scan it does takes ages. We do not have the full set yet...!
Have you tried subsquid or subscan API?

subsquid has no python api it is javascript
On Tue, Sep 19, 2023 at 6:37 PM Derek Colley @.***>
wrote:

Using polka scan it does takes ages. We do not have the full set yet...!
Have you tried subsquid or subscan API?
—
Reply to this email directly, view it on GitHub
https://github.com/metaspan/metaspan.io/issues/44#issuecomment-1725251844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBADMKEFQVA3G6EGRK6A5ADX3FYWDANCNFSM6AAAAAA45XBTEY
.
You are receiving this because you authored the thread.Message ID:
@.***>

also subscan only
5 Req/SUp to 1 API key100,000 Req/d
On Tue, Sep 19, 2023 at 7:35 PM Kevin Ho @.***>
wrote:

subsquid has no python api it is javascript
On Tue, Sep 19, 2023 at 6:37 PM Derek Colley @.***>
wrote:

Using polka scan it does takes ages. We do not have the full set yet...!
Have you tried subsquid or subscan API?
—
Reply to this email directly, view it on GitHub
https://github.com/metaspan/metaspan.io/issues/44#issuecomment-1725251844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBADMKEFQVA3G6EGRK6A5ADX3FYWDANCNFSM6AAAAAA45XBTEY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Give the player a possibility to "reset" a fluid pump search without breaking it

Is your feature request related to a problem? Please describe.
In Glacial Awakening i wanted to use Amplifying tubes (turns cobblestone into lava) to create a regular supply of lava 1 block next to the fluid pump.
It works only the "first time", as the pump stops after a work cycle without lava available (this was shown in other issues already).
Describe the solution you'd like
I feel it would be interesting to let the player "choose" the way the pump handles what happens after a work cycle without liquid is available. Either by giving the possibility to "reset" it with a redstone signal, or by giving the player a way to choose in the pump GUI if the pump should scan its work range regularly as plant sowers do.

:wave: Sorry but Industrial Foregoing has ended support for version 1.12. I'm closing this issue as it will no longer be updated for that version. Thanks for playing with the mod.