assertion failed for empty sectioned_segments

I added 2 print statements to debug:
    segments = deepcopy(segments)
    sectioned_segments: List[List] = [[]]
    for i, seg in enumerate(segments, 1):
        sectioned_segments[-1].append(seg)
        if seg["anchor_point"]:
            if i < len(segments):
                sectioned_segments.append([])

    print(sectioned_segments)
    print(set(len(set(s["offset"] for s in segs)) == 1 for segs in sectioned_segments))
    assert all(
        set(len(set(s["offset"] for s in segs)) == 1 for segs in sectioned_segments)
    )

I got:
[[]]
{False}

I am not sure why sectioned_segments is initialized as [[]]. it seems like it should be [].

the input of for stabilize_timestamps() is likely to have empty segments because as long as anything is in segments it will get appended to sectioned_segments.
# before you run stabilize_timestamps(results)
print(results['segments'] if isinstance(results, dict) else results)

yeah. it is empty.

@@ -599,8 +599,10 @@ def stabilize_timestamps(
         )

     segments = deepcopy(segments)
-    sectioned_segments: List[List] = [[]]
+    sectioned_segments: List[List] = []
     for i, seg in enumerate(segments, 1):
+        if len(sectioned_segments) == 0:
+            sectioned_segments.append([])
         sectioned_segments[-1].append(seg)
         if seg["anchor_point"]:
             if i < len(segments):

This is how I fixed it for now, but I didn't look at the whole script yet.

yeah. it is empty.

since it's empty, there's no timestamps in the results to process
the assertion statement is there to check if there are even any timestamps and if they are properly grouped by offsets.
this if it does not past the test, it cannot be properly processed
I'll make it a warning instead.

are those only changes you made?
those new lines does exactly what the old one does. sectioned_segments always starts with 0 length. what exactly is the does the changes set out to do different?

In the old version, sectioned_segments contains an inner empty list[[]]. It does not have offsets, so assertion fails.
In the new version sectioned_segments is empty itself, so assertion succeeds.

ok i see. segments is empty so it never enters the loop.
I'll a change to have it warn of 'no segments' and return the empty list before everything else.
thanks for pointing this out.

thanks!

@@ -1024,8 +1024,9 @@ def transcribe_word_level(
             seek += segment.shape[-1]
             all_tokens.extend(tokens.tolist())

-        all_segments[-1]["anchor_point"] = True
-        all_segments[-1]["next_offset"] = float(seek * HOP_LENGTH / SAMPLE_RATE)
+        if len(all_segments) > 0:
+            all_segments[-1]["anchor_point"] = True
+            all_segments[-1]["next_offset"] = float(seek * HOP_LENGTH / SAMPLE_RATE)
         if result.temperature > 0.5:
             # do not feed the prompt tokens if a high temperature was used
             prompt_reset_since = len(all_tokens)

there is another patch.

thanks!
patched


Climate: generic_thermostat not displaying operation mode correctly

Home Assistant release (hass --version):
0.29.7
Python release (python3 --version):
3.4.2
Component/platform:
climate, generic_thermostat / Raspbian GNU/Linux 8 (jessie)
Description of problem:
Operation mode text (e.g. "Idle", "Heat") is not updated correctly when adjusting temperature settings manually). The heater has been turned on while the operation mode is still showing "Idle".
Expected:
The operation mode text to match the current status of the heater.
Problem-relevant configuration.yaml entries and steps to reproduce:
climate:
  platform: generic_thermostat
  name: Room
  heater: switch.heating
  target_sensor: sensor.room_temp
  min_temp: 10
  max_temp: 30
  target_temp: 21

Adjust thermostat temperature 3 degrees below the current temperature
Make sure operation status is "Idle"
Increase the thermostat temperature setting by 5 degrees
(Heater should starts normally) But the operation status is still showing as "Idle"
Close the thermostat dialog, open it again and increase the temperature setting by 1 degree will make the operation mode to change to "Heat".

Traceback (if applicable):

Additional info:

Same applies when you are in "Heat" mode and adjust the temperature to below the current temperature.

I'm having the same problem....The generic thermostat is not updating its state as heat is being turned on and off.  It turns the heat on and off, just not setting the "idle" and "heat" state correctly.
I'm running on release 0.35.2.
Python is 3.4.2
I have identical setup as javefang

I'm also having the same issue I'm running v0.35.3 on Python 3.4.2

I'm on 0.40 and can confirm this has been fixed. Thanks for the good work!
On Fri, 17 Mar 2017 at 07:26, balloobbot<EMAIL_ADDRESS>wrote:

There hasn't been any activity on this issue recently. Due to the high
number of incoming GitHub notifications, we have to clean some of the old
issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check
if that solves the issue. Let us know if that works for you by adding a
comment 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/3740#issuecomment-287285602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJRxFhQ5TDSenCj6FksbjltVEEu_l-_ks5rmjW_gaJpZM4KQfI5
.


Add themes

We can make an option available for users which allows them to choose a theme of game. Something like this.

Hi @exiler0,
Thanks for extending Parity to allow for themes! I appreciate the work, but I'm actually in the process of rewriting Parity right now into a Progressive Web App, and because it'll be a rewrite, I'm not going to accept this pull request.
You can always create a fork of parity if you wish!


Scheme and theme changer

Idea (It's working, but i never documented nothing :sweat_smile:) Maybe i can pull request and any of us can maybe use them??
It's not well documented because my english is very poor sorry (I will try)
If there has errors please tellme with comments and i will try to fix them. I'm learning github

Hey Krypto, first off thanks for the PR. I appreciate any contribution big or small. A lot of your ideas here align with what we want to do per the roadmap:
https://github.com/Brain-Bones/skeleton/wiki/🛣-The-Skeleton-Roadmap-(proposal)
Unfortunately I don't think this one I can merge in the current state. Without discussing some of these ideas with us beforehand, you've taken some liberties that may not align with a few of the project's goals. Specifically:

The LightSwitch is due for a refactor and cleanup, but your version changes from providing three options (light/dark/system) to a binary (light/dark). Users lose a very important mechanic this way.
I would really like to introduce a theme picker like this, but it should be separate from the LightSwitch. I've provided a wireframe mock of the best position in the image below this list.
We have plans to migrate the themes to the /src/lib/ directory so that users may import the styles directly into their projects from the package, rather having to import these themselves, so the /static directory is not ideal. However we need update the documented instructions in Guides -> Themes alongside this change, so users know how this works. Probably best for this to be a dedicated update on a dedicated branch/PR.
I've also noted at least one console.log remaining in the code. Logs should always be pruned from the code before merged into a production environment.

We've outlined the process and provided a place to discuss larger updates here. Going forward, it may be best to reach out and review your ideas here before you spend the time implementing. Just to help save everyone's time and ensures the requirements are set before you write your first line of code! This ensures we can and will merge proposed features and updates! :)
If you have any questions, please feel free to follow up on this page. I'll see your replies and can respond asap. Thanks!


Make QA testing easier

Currently, QA testing doesn't happen consistently because it's all manual
process and is mostly done locally. We also have a huge test matrix at the
moment because we haven't pruned our supported dependencies in a long time.
Hopefully some of our next releases will clean this up though.
const cartesian = (...a) => a.reduce((a, b) => a.flatMap(d => b.map(e => [d, e].flat())));

const variants = {
    python: [2, 3],
    sphinx: [18, 24, 35, 41],
    html: [4, 5],
    browsers: ["firefox", "chrome", "safari", "edge", "ie11"],
    viewport: ["mobile", "tablet", "desktop"],
};

const product = cartesian(
    variants.python,
    variants.sphinx,
    variants.html,
    variants.browsers,
    variants.viewport,
);

console.assert(product.length == 240);

:grimacing:
It will hopefully soon be something closer to:
const cartesian = (...a) => a.reduce((a, b) => a.flatMap(d => b.map(e => [d, e].flat())));

const variants = {
    python: [3],
    sphinx: [35, 41],
    html: [5],
    browsers: ["firefox", "chrome", "safari", "edge"],
    viewport: ["mobile", "tablet", "desktop"],
};

const product = cartesian(
    variants.python,
    variants.sphinx,
    variants.html,
    variants.browsers,
    variants.viewport,
);

console.assert(product.length == 24);

Way better!
If we're down to 24 or 12, we can easily automate tests here. Automation would
be a great end goal, but even just a better story for manual testing our most
important variants would be a fantastic first step.

@nienn might have some thoughts here.
One additional requirement might be screenshot output, or something reviewable by community members. We can always give community members access to our saucelab/etc account too though.

I built out a QA test site on one of our staging S3 buckets:
https://readthedocs-static-dev.s3.us-east-2.amazonaws.com/qa/theme/index.html
This is currently manually updated and doesn't include PR builds. It's reachable by Saucelabs however. I see this probably be used less frequently, and maybe only for release QA testing.
The QA tox environments that I added already can serve as a preliminary, local QA test. For instance, to test a branch:
% git co agj/some-pr
% tox -e py3-sphinx41-html4
...
The HTML pages are in .tox/py3-sphinx41-html5/tmp/html.
________________ summary ________________
  py3-sphinx41-html4: commands succeeded
  congratulations :)
% firefox .tox/py3-sphinx41-html5/tmp/html/index.html


NAT for VPN Gateway is GA

NAT for VPN Gateway is GA, removing the preview keyword from the doc. pls see https://azure.microsoft.com/en-in/updates/vpn-nat-now-ga/

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

#label:"aq-pr-triaged"

@sitarant can you take a look at this update?

@sitarant can you take a look at this update?

@JefferyMitchell it looks good to me

@sitarant Thank you #sign-off


Ability to use etcd (via k8s Secrets) as a backing store

Modifying how certain workloads work might be out of the user's control; and those workloads might require secrets or configmaps to properly configure themselves.
Aegis Safe should give an option to generate those secrets at runtime, and attach them to the cluster and then (optionally) delete the pods that are bound to those secrets (so that the Deployment that manages those pods will recreate new ones).

Though about that a little bit; and it does not seem like a good idea.
First, let’s assume that we implemented the feature. What we create is effectively not much different than an ability to run kubectl create secret that workloads use through Sentinel.
With an additional problem of having to link the lifecycle of these Secrets to workloads.

When an Aegis secret is updated, the associated Secret will also need to change;
When the Secret changes, the workload will be oblivious to it (unless the secret is mounted as a file; but in that case why not use Aegis Sidecar to do a similar mount?)
To reflect the changes, we might have to kill the pod; which will result in the question: Who kills the pod, and when. — Aegis Safe cannot (and should not) have enough context to know when the pod is ready to be terminated, it does not own the pod.
We can create an Operator like “whenever an aegis-managed secret is changed; kill all pods that read from that secret”; (there can be annotations to opt in or opt out from this)

An even if we sort out this, cross-cluster secret sharing will be a whole new level of mess.
Too much complexity with no additional benefit.

One way to use secrets, though, would be to leverage etc as a backing store:

For each secret generated in Aegis Safe…

Create/Update a Kubernetes secret aegis-$workloadId-secret Secret in aegis-system namespace.
This secret can only be readable by Aegis Safe.
Aegis Safe can have a in-cluster storage mode.
WHen in-cluster is acive, and Aegis Safe cannot find a secret in memory, it will check the cluster secet.
The value of the secret will be encrypted by the age key, similar to the persistent mode.

Updating th title of the issue accordingly.

Punting to 1.x; there is no immediate need for this since Aegis Safe already has one functioning backing store.

Discussed the security posture of it in another issues.
tl:dr;: Not worth it.
Closing as WONTFIX.


Use .env at the root of the application

Quoting a discussion from our chat:

@luislavena: any specific reason why .env information is looked up in config/.env instead of the root of the repository?
@jodosha: Hello, nope, only to keep all the confs under config/. If you are thinking about Heroku, please notice that Lotus::Environment reads config/.env and sets the env vars for you. It uses Dotenv internally.
@luislavena: thanks, was actually thinking on foreman and tools like azk and others that read repo's root for .env and allow you run one-off commands.

@jodosha @luislavena I'd leave it in config folder. Users can always point foreman and azk to this folder.

What if devs can't do it? For instance in deployment envs.
http://lucaguidi.com

On 23/mag/2015, at 09:03, Trung Lê<EMAIL_ADDRESS>wrote:
@jodosha @luislavena I'd leave it in config folder. Users can always point foreman and azk to this folder.
—
Reply to this email directly or view it on GitHub.

@jodosha I question if users should use foreman in deployment env or not.

@joneslee85 @jodosha the main issue with .env inside config are:

dotfiles inside anything other than root of your project are hard to spot.
The default of foreman and azk look for .env at the root of your project
Dotenv follows that and the usage recommendation is to place .env at the root of the project.

As you can see, there are several sources that can define .env placement in the root of your project as standard.
While config sound reasonable, we are forcing a different behavior than the one expected from these other tools.
To use foreman, azk or dotenv with a custom rake task in those scenarios I'll be forced to be explicit on the location of the env file instead of the assumed and documented default.

@luislavena the original intent is to have everything consolidated in 1 config folder, but now when I have more thought about this, the dotenv seems irrelevant to persistent config because it is not recommended to use it on production anyway. So sure, I'd vote :+1: moving them out to root.


[Port] System.Reflection.ParameterInfo::ToString()

On CoreClr, RuntimeParameterInfo.ToString() inherits ParameterInfo.ToString().
On NetNative, RuntimeParameterInfo.ToString() implements what ParameterInfo.ToString() should do.
Unfortunately, that code is totally tied to RuntimeTypeInfo due to the fact that it has to be on guard for
MissingMetadataExceptions. Better just to port CoreClr's code over and live with the duplication for a ToString() method that only user-extended Type's will ever care about.

Diagnostics only - this can be deferred.

Done: https://github.com/dotnet/corert/pull/2684


Network contextualization sets depreacated NETWORKING variable on RHEL9 based OS

On Alma Linux 9 contextualization sets variable NETWORKING=no in /etc/sysconfig/networking, use of ifcfg scripts is deprecated and setting this variable is not necessary. Moreover, in our use case, this variable misleads other software, that checks this (deprecated) variable to determine if system has networking configured.
I would suggest to change following line of code, which checks for existance of directory/etc/sysconfig/network-scripts/
https://github.com/OpenNebula/one-apps/blob/ccbf6be391a3e58667ce53f5172e33d4ed226b00/context-linux/src/etc/one-context.d/loc-10-network.d/functions#L100
to use same method as in netcfg-scripts https://github.com/OpenNebula/one-apps/blob/ccbf6be391a3e58667ce53f5172e33d4ed226b00/context-linux/src/etc/one-context.d/loc-10-network.d/netcfg-scripts#L25
This directory still exists, because it contains file describing depreciation of scripts configuration method /etc/sysconfig/network-scripts/readme-ifcfg-rh.txt.
This change in the one-context.d/loc-10-network.d/functions would skip setting this variable.

Merged! thanks for your feedback!


example/cipher：aes-cbc-with-pkcs7

@googlebot I signed it!

@googlebot I signed it!

No description provided.


Link feature doesn't work

Bug Description
When i want to convert text to link with Beaver Note 🤩, i get a link formatting but when i press ctrl+click , it doesn't open the link 😭.
To Reproduce
Steps to reproduce the behavior:

Create a note
Write into it ✍
Select link
Click on the link button in the options
Press ctrl+click
It doesn't work 😕

Screenshots

Desktop (please complete the following information):

OS: Windows 11 Professionnel Éducation v24H2
Application Version: 3.7.0

Thanks for reporting this issue. Please try using Alt + click instead of Ctrl + click. We had to change the shortcut due to the introduction of context menus. However, the translations were never updated. We are aware of the issue and plan to address it in the next release. Unfortunately, we're currently tied up with the mobile app, which is why the issue hasn't been resolved yet.

Thank you very much !!!!!🤩👍😀


Question about OTA

Hi,
first, thank you for the great work - I am using your design since 6 Months, without any big issues (controlling 4  MHI SRK via mqtt from fhem)
I just recently noticed that all 4 modules open an hotspot allthough configured and connected.
Is this used for OTA? Or is OTA done via the usual connected WLAN and it is a bug that the hotspot mode comes up in normal "production" mode?
Thank you for your input, and best regards
Markus

Hi Markus,
Great to hear that you got it up and running. I also noticed the open hotspot at some point. However, I relocated to another city a while ago and left the aircons including the arduinos in my old house. So I no longer have access to a working unit for testing what is causing this.
It looks like this is caused by the ESP running in dual mode as described here:
https://github.com/tzapu/WiFiManager/issues/229
Can be solved in the code, but maybe easier to replace the Wifimanager library with this one:
https://github.com/kentaylor/WiFiManager#selectively-operates-in-dual-mode
I hope this version of wifimanager is directly interchangeable with the current ESP2MQTT code.
Let me know if this helps.
Regards,
Rob


fix: build to use snapped rust

Applicable spec:
Overview
Use snapped rust tooling for latest version.
Rationale

Juju Events Changes

Module Changes

Library Changes

Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

TO fix: https://github.com/canonical/chrony-operator/pull/16


[Question]

Is there anyway you can add money to a character or yourself

Yes, but it's not too simple since I didn't want to encourage admin abuse. It requires access to the server console and manually editing the SQL database. There are many tools (Google HeidiSQL for example) that let you view and edit SQL.
Ensure that you are disconnected from the server. If you were online in the past 15 minutes you need to open the server console and run "ocrp_forcesqlpush"
Then, connect to the SQL database and open ocrp_users table. Find the row with your SteamID and change the "wallet" and "bank" rows to whatever you'd like. Save the changes.
Reconnect to the server and you should see the changes. Changes you make the a player's data will be overwritten if the player is online or was recently online when you edited the database. You must make sure they disconnect and you run the "ocrp_forcesqlpush" command before updating the database.
I could add a command to simplify this process if it's a popular idea, but like I said I feel it promotes admin abuse.

ok was afk watching family guy and also its not that i want to admin abuse its just i play darkrp sometimes and it bugs out and gives me 1e+647$


Dependabot 08/11/2023

Repo chosen for this sprint:
network-access-control-infrastructure
The "network-access-control-infrastructure" Terraform repo doesn't have Dependabot configured yet.
The VPC module uses the community module and is currently set at 2.70.0
In the "staff-device-dns-dhcp-infrastructure" we have frozen the module by copying it into the repo, resulting in severing the relationship with the community module.
That has been done because there are no changes to the VPC configuration, so the constant changes in the community module create unnecessary noise and risk.
We planned to follow that same pattern in the network-access-control-infrastructure repo.

"The "network-access-control-infrastructure" Terraform repo doesn't have Dependabot configured yet."
After a bit of research and discussion with Aaron we learned that in most Terraform infra repos Renovate Bot has been configured.
During the configuration of this repo to use Renovate we discovered that the Renovate bot had an issue which prevented it completing a run through the configured repos.
Work to resolve that was done, those changes have been linked to this ticket. They were necessary in order to achieve this first goal.
The Renovate bot now works for this repository.
There are at this moment ten pull requests generated by Renovate Bot.
However the decision to use Renovate while valid at the time because Depndabot didn't support Terraform is now outdated.
Suggest we remove the Renovate repository and remove configuration for Renovate managed repositories. For consistency we should only use Dependabot as it's integrated with GitHub and we can use the single view of all Dependabots.


[Storage] release new extension version

v 0.2.1

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/williexu/azure-cli-extensions.git@release#subdirectory=src/$EXT&egg=$EXT"


Update sbt-mima-plugin to 0.6.1

Updates com.typesafe:sbt-mima-plugin from 0.6.0 to 0.6.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" } ]

labels: semver-patch

Codecov Report

Merging #328 into master will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
- Coverage   97.56%   97.34%   -0.23%
==========================================
  Files          24       24
  Lines        1316     1319       +3
  Branches       39       53      +14
==========================================
  Hits         1284     1284
- Misses         32       35       +3

Impacted Files
Coverage Δ

core/src/main/scala/io/iteratee/Enumerator.scala
94.96% <0%> (-2.1%)
: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 7c340dd...fee121b. Read the comment docs.


Firmware updates for newer linux-firmware

This depends on updated linux-firmware recipe being merged into the OE-core

the corresponding changes  in OE-Core are pushed to master, so please merge this asap.


Fix validate_b1_vesting

Since "stake for voting cannot be negative", after 10 years later, claimable is bigger than max_claimable, max_claimable - claimable is negative which is <= stake, which means assert never crash, b1 can claim their tokens forever.
I do not know if I understand the right, please correct me if i am wrong.

a better way of saying this is reversing the conditional.  At all points in time, b1's stake (the tokens it has that it cannot liquidate) must be greater than or equal to the total granted tokens (max_claimable) less the tokens which have been released so far (claimable)
This assert restricts how fast b1 can unstake its tokens, it does not affect the quantity of tokens b1 was granted.
with your changes, assuming claimable is 0 (ie b1 cannot liquidate granted tokens at all), you end up with 1'000'000'000 >= stake.  In other words a restriction on the maximum stake can be.  This condition is only false when stake > 1'000'000'000 .  A stake of 0 (which would mean liquidating all b1's tokens) is valid at any time with that math.


select multiple drag

Step by step scenario
see this demo

I want to select multiple drag,
can I do that?

AFAIK not now but it should be possible eventually as underlaying draggable lib already supports that


Improve CLI commands & structure

Problem description
Having a CLI to invoke IS product APIs is important for many cases.

This can be used to generate necessary base artefacts in IS side when a developer generates client side project (app)
Will be useful for dev-ops experience when resource definitions needed to propagate across environments.

Preferred Solution
We have a basic CLI which is capable of generating IS service provider definitions. It better to refactor it to centralize all the commands in one tool and structure them in a proper manner. Define main cli commands thats capable of handling with any product APIs.
Sub Tasks

[ ] create a structure for CLI commands
[ ] centralize all the CLI commands in tool
[ ] Document usages and extendability.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Hybrid Action Spaces

Hey @danijar , first of all thank you very much for the wonderful work.
I'm currently implementing the work in an environment with hybrid action spaces (IE both continuous and discrete actions), I've tried discretizing the continuous actions and it works.
However I am trying now to adapt the Critic network to include a multi-headed output for both action distribution (Categorical and Continuous), I am struggling a bit to adapt the world model accordingly tho, do you have any suggestions on how to act?
Many thanks in advance.

How about one hot encoding the discrete action and concatenating with the continuous one?

I'm not completely sure about what you mean by one-hot encoding, wouldn't the output of the network still be a continuous value (sampled from whatever distribution)?
You mean that I could have [cont_action_1, cont_action_2, ..., disc_action_1, disc_action_2, ..., #num_discrete_actions] as action space and when applying the action just choose the discrete one with the highest value?
Many thanks again for the support!

I have implemented a rudimentary version of hybrid model trough multi-headed output from the actor critic, I still have to test it troughly to evaluate its performance.

Just updated the code and results, which includes factorized action spaces.


Looking up/down doesn't work after changing orientation

As of version 2.1.0, using my own application or even the sample application, if a video/image is loaded, it doesn't matter if the activity starts in portrait or landscape mode, when I change its orientation to the contrary then looking up or down doesn't work. Nor in touch mode neither in motion mode.
Here is how I init MDVRLibrary. But as I said, it also happens in demo sample:
private void initVRLibrary() {
    MDVRLibrary.Builder builder = MDVRLibrary.with(this)
            .displayMode(DISPLAY_MODE_NORMAL)
            .interactiveMode(INTERACTIVE_MODE_MOTION_WITH_TOUCH)
            .ifNotSupport(new INotSupportCallback() {
                @Override
                public void onNotSupport(int mode) {
                    explanation_image.setImageDrawable(DrawableUtils.getDrawable(getApplicationContext(), R.drawable.ic_scroll_down));
                    explanation_text.setText(getString(R.string.slide_device_360));
                }
            })
            .pinchConfig(new MDPinchConfig().setMin(1.0f).setMax(8.0f).setDefaultValue(0.1f))
            .pinchEnabled(true)
            .directorFactory(new MD360DirectorFactory() {
                @Override
                public MD360Director createDirector(int index) {
                    return MD360Director.builder().setPitch(90).build();
                }
            })
            .barrelDistortionConfig(new BarrelDistortionConfig().setDefaultEnabled(false).setScale(0.95f));
    if (type == Type360.VIDEO_360) {
        builder.asVideo(this);
    } else {
        builder.asBitmap(this);
    }

    mVRLibrary = builder.build(R.id.surface_view);
}

<activity android:label="BitmapPlayerActivity" android:name=".BitmapPlayerActivity" android:screenOrientation="landscape" android:configChanges="screenSize|orientation" />

the activity is landscape in demo.


Bumps version to 1.9.2

This is directly based on 1.9.0 due to #416.  It effectively reverts
the 1.9.1 release.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Performance regression is expected, since 1.9.1 introduced a number of improvements.


[1.19.2] - Hexal Incompatibility with Integrated Dynamics

Hello,
This is Intego from the Hex Casting Discord, I wanted to report a bug with Integrated Dynamics, CyclopsCore, and Common Capabilities.
Here is the crashlog and how to reproduce the bug.

Boot Minecraft 1.19.2
Go to create world
Notice the bug and crash to desktop.

crash-2023-03-29_17.38.54-server.txt

What versions of the mods though?

Looks like 0.2.13 fixes this. Since I was able to load a world with both mods.


Question: Why remove the admin account from FileVault?

I have difficulties wrapping my head around this recommendation:

The admin account can also be removed from FileVault.

What is the benefit of not being able to unlock the disk using the administrator account? I thought the admin account is supposed to be more difficult to be compromised than the normal user account. So why would only the user account get the FileVault key?
I think I understand the technical details, but don't understand the threat scenario. I would appreciate any clarification.
Thank you for your time 🙂

I can't think of any particularly strong reason to do this, other than as a general separation of privilege, but even then the risk is difficult to comprehend. Feel free to remove or change that directive.

Also from https://support.apple.com/HT203998

If FileVault is enabled, a hidden user may continue to appear in the initial login window after the computer is turned on or restarted.

which leads the whole thing ad absurdum

Thanks for the fix!


Full uint32 and partial int64/uint64 support

Hello,
Great library @kawanet. I have noticed that uint32 support is limited (up to<PHONE_NUMBER>) and int64/uint64 is not supported at all. I have prepared a patch which removes uint32 limit and adds int64/uint64 support (up to 2^53). Unfortunately, it can slow down the performance because float detection is replaced with Math.floor() function. Can you at least verify if the approach is proper?
Thanks,
PM
uint32-int64-uint64-support-added.txt

+1 for this (or similar) change. I discovered that hard way that I have to manually examine a js number and either send it to msgpack as a Uint64 or Int64 object from another library! This is the only way I can get cross-platform compatibility as other implementations treat negative numbers > 32 bits as uint64 whereas msgpack-lite treats it as an int64.


Got suspended

Hey I just got suspended on WoW and all it says is "Verbal Abuse" and I don't really say anything ever in chats, so I think maybe its because I once had some dumb shit in the RP addon, but i didnt use it for ages and i deleted all the the profiles when i stopped using it, but I wanted to ask if there is somehow a way for people to still see it or something? :/
Kind regards.

Profile data is logged on Blizzard servers every time the profile is received by someone, deleting profiles on your end afterwards does not hide it from them. If you had content in those profiles breaking TOS, it would be actionable.

I don't know, I'm not Blizzard CS :p

Of course! I was just wondering and blizzard takes like 14 days to respond

Thank you for your help!

Again so sorry to bother you!
here is what i tried: i deleted my profile through the addon interface, i deleted the .lua files on my pc from the addon itself, i dont use the addon anymore, dont even have it installed and when i did install it just to check if its still there (the profile) it was gone on my end. is it still possible for others to see? can you please help me get rid of it if it is i have no idea what else to try and i dont want my account to keep getting banned

If you don't use the addon anymore, or if you use it and deleted the profile, the data is gone and nobody will receive the profile anymore. It could linger in other players' local directory, but this won't add any more logs on Blizzard's side.


Develop and document CMS to Mongo integration

Figure out how to reference geoJSON that we store in mongo to the metadata that lives in Drupal.


WPCAS core APIs

@prashantesmagico

[ ] mapUserWithQuestions(admin)
[x] bulkUploadQuestions (do we need this?)

@VamshiBatta07

[x] getLatestSurveyStatusByUserId
[x] generateSurveyFormsForTeam
[x] publishSurveyFormsForTeam
[x] showSurveyStatusesForUser
[x] getSurveyFormByUserId
[x] respondToSurveyByUserId

WIP. Dependent on question mapper. To be closed post that.


Only print warning if no snapshots found

A very incomplete solution to https://github.com/mitsuhiko/insta/issues/319.
Until we can agree on a good path forward, this seems like a good tradeoff, given the likelihood that someone has a subset of snap files being gitignored, vs. every standard run of cargo-insta.
But totally fine to close if you don't agree @mitsuhiko

I think this is a good start.

Thanks!


WinUI Design Toolkit Bug: [descriptive bug title here]

WinUI Toolkit Bug Report

Name of component or part of Toolkit:

Describe the bug:

Version Info:

Additional context:

Closing it. No description.


MINIFICPP-1740 Add FetchFile processor

FetchFile added mostly according to NiFi's implementation. A difference between this and NiFi's implementation is that the flow is only transferred to failure due to completion strategy failure if it is explicitly set to fail (in case of move strategy conflict). In NiFi's case it's a bit inconsistent as it could also fail if the move target directory could not be created or it has permission problems, but the flow is transferred to success in any other completion strategy failure.
https://issues.apache.org/jira/browse/MINIFICPP-1740

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

This was a mistake on my side, because there are still open threads. @lordgamez agreed to submit a followup with the changes, thanks.

Addressed comments in #1288


fix: build issue with XCode 14 and M1 machines

Description
I have been getting build errors for iOS locally, and found a related GH issue for the same problem.
Test plan
My local build is running fine now, if it doesn't create problems for the CI then it should be a safe change.
Related issues
N/A
Backwards compatibility
Y

@kathaypacific not sure why this is failing I have a similar patch locally and it's working. Maybe how the patch was generated? I have to do the following to get patches to generate correctly:

`rm -rf node_modules
yarn.
Edits needed for the patch
yarn patch-package <target-dependency>
Commit that patch before building.

Opened #3656 which has a the fix, but a slightly different patch file.

Closing for #3656


AssertionError on lastest develop on Mac OS X (Yosemite)

Traceback (most recent call last):
File "/usr/local/bin/pyeth", line 9, in
load_entry_point('pyethereum==0.7.51-35-g2e3fc6d', 'console_scripts', 'pyeth')()
File "/Library/Python/2.7/site-packages/pyethereum-0.7.51_35_g2e3fc6d-py2.7.egg/pyethereum/eth.py", line 133, in main
config = create_config()
File "/Library/Python/2.7/site-packages/pyethereum-0.7.51_35_g2e3fc6d-py2.7.egg/pyethereum/eth.py", line 125, in create_config
konfig.validate_config(config)
File "/Library/Python/2.7/site-packages/pyethereum-0.7.51_35_g2e3fc6d-py2.7.egg/pyethereum/config.py", line 103, in validate_config
assert len(config.get('network', 'node_id')) == 128  # 512bit hex encoded
AssertionError

can you try to delete node_id from your config file? start with -L :DEBUG to get its path reported.

okay.  what config file though?  (not that familiar with pyethereum)

on osx:
/Users/<username>/Library/Application Support/Pyethereum/config.txt
simply delete the file if you did not change it.
also config files can also be used by invoking with the -C <path> option.

i still get the same error.  : (

you probably have old incompatible data. best is to delete the default data dir:
/Users/<username>/Library/Application Support/Pyethereum/

this worked.  thanks.
also, does pyethereum have jsonrpc support?

no not yet. but it features a restful api, which should be accessible at localhost:30203
see
https://github.com/ethereum/pyethereum/blob/develop/pyethereum/apiserver.py
and
https://github.com/ethereum/pyethereum/blob/develop/pyethereum/ethclient.py


Do you have model of 15x15 board?

Do you have model of 15x15 board?
thanks.
how long will it take to train?

thanks


chore: replace noop span creation with context suppression

Creating a span without a tracer is disallowed by the spec

Already fixed in another PR https://github.com/open-telemetry/opentelemetry-js/pull/1899#issuecomment-776084148


PowerToys Crushed

Microsoft PowerToys version
0.86.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.27758.0
IntPtr Length: 8
x64: True
Date: 2024-12-16 13:26:23
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/dup #30507 related to Desktop Composition being disabled.


Add glow effect when hovering title bar buttons

Add glow effect when hovering over the three buttons on window's title bar.
Slightly adjust window's shadow (more spread out and slightly move to bottom right).

Thanks 🙂


Linode provider icon/logo

Linode is almost ready to be an official provider, so we need an icon/logo for it. https://www.linode.com/

Got it. Thanks.


[5.1] Fix dynamic replacement runtime when generating replacements from multiple object files

The sections with the replacements get merged and we need to consider all replacements.
SR-10947
rdar://51913012

Fail dynamic_replacement_multifile in optimize mode rdar://51944415

@swift-ci Please test


gh-808 Added validation for max file size property

gh-808 Is to add a helpful user message to the UI when a file that exceeds the maximum file size is set to be uploaded.
Since this is set in the plugin.yml of mdm-core, the ApiPropertyService was updated to not allow a maximum file size configuration to be added that is greater than the Grails config maximum request size.
Bootstrap was also updated to set the api property, if it doesn't already exist, to a value that equals the Grails configured maximum file size.

@joe-crawford I'm not sure why the build test isn't passing:
DataModelFunctionalSpec > MI07 : test merge into of two DMs with a Model Data Type FAILED
java.lang.AssertionError at DataModelFunctionalSpec.groovy:2379
It passes when I run this test locally.

@joe-crawford I'm not sure why the build test isn't passing: DataModelFunctionalSpec > MI07 : test merge into of two DMs with a Model Data Type FAILED java.lang.AssertionError at DataModelFunctionalSpec.groovy:2379
It passes when I run this test locally.

Thanks for updating, that looks like a StaleStateException error so isn't related.
I've rebased onto develop, the new failing tests are also not related. This looks good to me, I've commented on the UI PR.

Hi @GBishop-PHSA, many thanks for the PR, have tested successfully locally with your UI branch and seen the message when an overly large attachment is attempted.


ZEVA - track warnings  in sales_submission_content so we have a record of what analyst saw

In the sales submission content table, we have a warnings field which is actually a calculated field, so it isn’t actually holding data but each time that table is accessed it calculates warnings based on what’s in the database at that moment
One of the issues we are experiencing is getting the 21 error on submissions that didn’t have that error when they were originally processed. It seems to happen only in cases where that vin was originally part of a submission that was approved, but that specific vin was not (some details were wrong, or not registered in bc, etc). In that case, the supplier resubmitted it and the sale was approved, but now the original submission shows the 21 error. That’s because when it calculates the field it checks if that VIN is in our system in the record of sale table (only approved vins go in there), and it excludes any that match the submission id of the current submission. So the old record gets through that filter and is given a 21 error.
Quick fix
We can remove the 21 error by adding a condition on the filter that removes any records where the submission timestamp is later than the timestamp of the current submission. This way, anything that comes through later than the current submission does not affect the calculated field.
Long term solution
It still doesn’t fix the problem of this data lacking a snapshot of exactly what the analyst was seeing at the time of validation. To fix this, we would need to add a new field to the content table. It would be a many-to-many relationship, so we would need to have a few tables to account for that.
Warnings table
Warnings_sales_submission_content join table
And then the sales_submission_content table would have a new field warnings_sales_submission_content_id

James  - 05/Oct/22
No to be actioned at the moment. Monitor how Emily's quick fix for the error 21 works out.
James - 12/Jan/23
Discussed with Kimia, Al and James that this is an example of a wider issue that need to be investigated. Certain data (e.g. data issued to suppliers) should be fixed in time, and never change.
Need to create a card to review all the data/information that should be fixed in time to check it is not being calculated.

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @emi-hi @jig-patel @JulianForeman @tim738745 @vibhiquartech


Switch the linter from golint to revive, and fix warnings.

Changes
This finishes up the switch from the deprecated golint to
revive, which is the replacement. This was started in #4206.
This consisted of one new lint warning, and switching some
suppressions to revive from golint.
Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[X] Follows the commit message standard
[X] Meets the Tekton contributor standards (including
functionality, content, code)
[X] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

Looks like we might have to wait for https://github.com/tektoncd/plumbing/pull/882 since 1.39 throws some warnings that 1.42 doesn't.

/test pull-tekton-pipeline-build-tests

pkg/pullrequest/disk.go:99:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := refToDisk("base", path, r.PR.Base); err != nil {
		return err
	}
pkg/apis/pipeline/v1beta1/resource_types_validation.go:70:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := validateTaskRunResources(ctx, tr.Outputs, "spec.resources.outputs.name"); err != nil {
		return err
	}
pkg/apis/pipeline/v1alpha1/condition_validation.go:55:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := validateSteps([]Step{cs.Check}).ViaField("Check"); err != nil {
		return err
	}
pkg/apis/pipeline/v1alpha1/run_validation.go:73:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := validateWorkspaceBindings(ctx, rs.Workspaces); err != nil {
		return err
	}
pkg/apis/pipeline/v1alpha1/task_validation.go:143:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := validateResourceVariables(ts.Steps, ts.Inputs, ts.Outputs, ts.Resources); err != nil {
		return err
	}
pkg/apis/pipeline/v1alpha1/pipeline_validation.go:178:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := validatePipelineWorkspaces(ps.Workspaces, ps.Tasks); err != nil {
		return err
	}
pkg/termination/write.go:64:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := f.Sync(); err != nil {
		return err
	}

Failure is legit I think. Does revive do something similar to go vet, where depending on the number of errors and "gravity" they do not show everything (so after you fix something it will show new warning) ?

If I run golangci-lint 1.42 locally, I see no errors. If I run it with 1.39, I see these. My guess was that the plumbing change hadn't taken effect yet. Might be worth just fixing these though...

/test pull-tekton-pipeline-build-tests

OK, I gave up and fixed them.

/retest


railway up doesn't work with capitalised project name

Trying to deploy a project with a directory name containing uppercase letters
Running railway up gives:
lstat PATH_TO_PROJECT (all in lowercase letters): no such file or directory
Note that after moving the project to a path that doesn't contain any uppercase letters in the name, the command works.

What operating system are you on?


Remove version: qBittorrent.qBittorrent version 4.2.5

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-4.2.5/qbittorrent_4.2.5_x64_setup.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available.;


Create ion-date / ion-datetime similar to ion-select

From @richardshergold on January 12, 2016 9:38
@adamdbradley I love the ion-select you have added to alpha49.  I think it looks great.
On my form I have a bunch of select fields and also a date input field.  The date input now feels a little out of place as the date fields look different to the ion-selects and also when you click on the date field the selections appear at the bottom of the screen just like an old style select rather than in an alert box like your new ion-select i.e
  <ion-select >
    <ion-label>Gender</ion-label>
    <ion-option value="f" checked="true">Female</ion-option>
    <ion-option value="m">Male</ion-option>
  </ion-select>

  <ion-label>Date</ion-label>
  <input type="date">

Would it be possible to have the date input look and feel the same as the ion-select ?
Copied from original issue: driftyco/ionic2#931

From @richardshergold on January 12, 2016 14:11
I got round this by programatically building my date list and using a select for the date input.  Probably not the cleverest way but it will suit me for now.

From @adamdbradley on January 12, 2016 14:53
Absolutely, it's on our todo :)

IMHO: This way of doing selects is a huge step back.  Because of this, Ionic2 feels less native and more like a web app.  With Ionic v1, I always thought it was really cool to be able to use the native selectors for drop downs and for dates.  I'm sure you guys have your reasons for not implementing this natively.  However, every product owner I have talked to so far dislikes this behavior.  So I am forced to implement my own.

I am a bit confused. Is the following intended to work on iOS and Android and you just allowing some different options with a future ion-date/ion-datetime tag?  The code below works on Android.  A native datepicker is opened.  However, in iOS there is no ability to enter a date whatsoever. No native datepicker, nada, zelch.
                <ion-item>
                    <ion-label floating>Birthday<span danger>*</span></ion-label>
                    <ion-input ngControl="birthDate" type="date"></ion-input>
                </ion-item>

Hey @keithdmoore ! You can still use the native date picker on platforms that support the date input (like modern android). Unfortunately safari (and therefore ios) does not support date inputs ): http://caniuse.com/#feat=input-datetime . But, on platforms that support it there is definitely nothing stopping you from using the native date input if thats what you would like!

iOS safari DOES partially support date/time.  "Partial support in iOS Safari refers to not supporting min, max or step attributes".  So since this works on iOS <input type="date" />, I am lead to believe there is a bug with ion-input type="date" on iOS.  I guess I just need to create a separate issue for that?

Hey, sorry read the chart wrong (: . It does have partial support. Sure, you can create a separate issue for it. Also, just so you know. The reasons behind creating our own custom datepicker, and not using the native one is because of things like partial support. With a custom datepicker we can assure that it works exactly the same across every platform. And, as you can see from things like the "alert" component for Ionic 2, we are striving for as close to a native feel as we can get (: Because of this, i think you will be very happy with the ion-datetime element !

@jgw96 Awesome!  Glad to hear that!  For now, I will open an issue for the current issue with type="date".  Thanks for the followup!

@keithdmoore No problem at all! Also, i am going to close this issue, as i believe the original issue is fixed. Thanks for using Ionic everyone!

Added to the 2.0 branch and should be available in beta7: https://github.com/driftyco/ionic/commit/1e331c9ca079e9ec2d8a5cb672f40cbf07f9b473

@adamdbradley or @brandyscarney:  I know this is a dumb question but how do I reference the 1e331c9 commit in my package.json to upgrade to this version?  ionic-angular: <???>


Extract ionospheric correction parameters from NAV files

Hi!
First of all, thank you for creating this package. I'm learning GNSS signal processing and use your package to read RINEX files.
Now I'm investigating broadcaset ionospheric delay compensation models, so I decided to include model coefficients in the returned data:
Several notes:

Model coefficeints are stored in  attrs as numpy arrays with 8 or 4 (for Galieo) coefficients.
I put rinex_string_to_float into io, because putting it into utils creates a cyclic import. I guess conceptually utils should not import other modules.
I had to modify "galileo3.15n" file. I assume you created it by hand. If I understand RINEX correctly --- the right way to parse it is to strictly follow Fortran format specifies. So "IONOSPHERIC CORR" line as provided seems to violate it. Edited: I had to do the same with demo.10n.

Do I miss something in RINEX format specification? Specifically for ION ALPHA it reads 2X,4D12.4, so I convert substring of length 12 asfter skipping first 2 symbols. Or am I theoreticall right, however this strict following is impractical (i.e. every second RINEX file won't conform to it)?

Hey, are you interested at all in accepting pull requests?
I constantly spot and fix different problems, but if you are slow to response it is hard to separate different fixes/improvements in different pull request. So I will probably end up maintaining my own branch with many unrelated fixes.

Thanks @nmayorov everyone is glad for your improvements. As you see the user community is growing everyday. We were unusually busy the past few weeks, thanks for your patience.
I modified your contribution slightly to use Pytest framework--thanks again.


Server side cluster generation

Anyone know an application of this plugin server side in nodejs?
I would like to create a geojson that represents the clusters generated with the childCount among its properties.
many tnks
Stefano

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.
If you are really sure that this is a bug in leaflet, or a feature request, please change the wording to make it look like a bug report.

ok @IvanSanchez,
maybe you're right
but I thought if perhaps the basic algorithm would be generic it could also work in NodeJs environment (like so many javascript libraries born for browsers and modified to run on server side)
tnk
Stefano


fix(BehaviorPropertyObserver): publish immediately when TaskQueue already flushing

fixes aurelia/binding#496, aurelia/binding#479, #363
Requires aurelia/task-queue#16

@EisenbergEffect I've tested this change (and the corresponding task-queue change) in the following:

the skeleton-navigation project
the templating-resources test-suite
each of the gists attached to the issues mentioned above ^^^

I think this is good to go. Let me know what you think.


Copy URL from Clipboard

Hi! I really like your workflow.
Would it be too hard to add a functionality to generate the snippets from the clipboard too?
Thanks

Thanks for your comment.  This workflow needs both url and title. But what I can take from clipboard is either one. Other app or workflow may be suitable for your use.

Thanks for your response. I was thinking that the title could be added as
an Alfred parameter after 'url'.
I might try to do it myself and ask for a PR
On Wednesday, 9 March 2016, CK Moon<EMAIL_ADDRESS>wrote:

Thanks for your comment. This workflow needs both url and title. But what
I can take from clipboard is either one. Other app or workflow may be
suitable for your use.
—
Reply to this email directly or view it on GitHub
https://github.com/fallroot/copy-url-for-alfred/issues/2#issuecomment-194150803
.

--
Miguel García Puyol


Generalize Visual FoxPro / DBF extraction code and separate it from FERC Form 1

We have a bunch of Visual FoxPro / DBF to SQLite extraction / conversion code that lives in the pudl.extract.ferc1 module. Really this is more analogous to the XBRL extractor code, or the ExcelExtractor that we use for the EIA data, and should be split out into its own more generally applicable DBF extractor module.
The data this module should enable us to extract includes:

FERC Form 1
FERC Form 2
FERC Form 6
FERC Form 60
Bonus Points: FERC EQR for 2002-2013

The forms 1, 2, 6, and 60 are already archived and should be available for programmatic access via pudl_datastore command. We do not anticipate any further updates to the existing DBF data that has been published. All new FERC data is being published using XBRL.
We use a modified version of the dbfread library to access this type of data.
@zschira created a scoping issue in #2335
Note that the old FERC EQR data could be structured very differently from the other form data, and it might be more appropriate to extract that data to CSV or Apache Parquet if it's just a couple of very long tables. This is a stretch goal and might really be an entirely separate project so... if the work doesn't apply directly, that's fine and it should be put off.

All years of DBF data for a given form should be extracted into a single SQLite DB.
All years of data for a particular table should be available in a single table in the SQLite DB.

- [x] Pull the DBF to SQLite code out of [`pudl.extract.ferc1`](https://github.com/catalyst-cooperative/pudl/blob/main/src/pudl/extract/ferc1.py) into a generic `pudl.extract.dbf` module. (probably do this first get that change merged into `dev` before making a bunch of other changes)
- [x] Factor out the code that's of general utility to extracting all of the above forms.
- [ ] Create a configuration or thin wrapper that adapts the generic code to work with specific form.
- [ ] Develop configurations/wrappers allowing the generalized code to extract Forms 1, 2, 6, & 60.
- [ ] Integrate these extractors into the [`ferc_to_sqlite`](https://github.com/catalyst-cooperative/pudl/blob/main/src/pudl/convert/ferc_to_sqlite.py) script
- [ ] Integrate these extractors into the `pudl.ferc_to_sqlite` DAG in Dagster.
- [ ] Integrate the newly extracted SQLite DBs into our nightly builds and [Datasette deployment](https://data.catalyst.coop)

Sure, I agree. Happy to do that on a small independent PR once we get everything merged into XBRL integration.

@zschira Not a lot here but related to #2335

@rousik As I said to @zschira there's not a whole lot here, but this is the issue we were chatting about.
I wrote the original code and am happy to flesh this out more if that would be useful.

@rousik asks:

I'm suspecting that we might want to do some cleanup of the FERC 2 table names, see https://github.com/catalyst-cooperative/pudl/blob/rousik-ferc2/src/pudl/package_data/ferc2/table_file_map.csv - e.g. f2_117_cmpinc_hedge seems to contain lot of excess useless information that just clutter the things. Thoughts?

My recollection is that the tables have names that are defined in the FoxPro DB independent of the filenames (the differed significantly from the filenames for FERC 1). Do the filenames just happen to match the names of the tables that are stored inside the database? Or are they being derived from the filenames? I don't think changing the table names in the translation from DBF to SQLite is a great idea, since if there's any documentation out there in the world explaining what's in the old DBs, it would apply pretty directly to the translated SQLite DB.
When we take the data from the translated DB and do more extensive transformations and combine it with the more recent XBRL data to create new PUDL DB tables, we'll give it a longer more readable table name.
For FERC 1 with the DBF to SQLite translation we tried to keep all of the data without discriminating, since otherwise nobody can access it, and we weren't 100% sure what would be useful and what wouldn't. However, early on there were two unusual tables that seemed to contain binary data (like they’d jammed PDFs or word docs into the DB or something) which also made up ~90% of all the overall bulk of the database, and we skipped them in the translation to SQLite. FERC later revised all the old data archives, removing all of that mysterious data!

In what sense are the contents of f2_117_cmpinc_hedge messy?
Really all we are trying to do in this step is translate the data into a modern format that's easy to access. We happen to be able to easily get all the annual DBs into a single multi-year DB which is nice, but all of the cleaning, reshaping, renaming etc. takes place when we extract from the FERC SQLite DB and try to integrate it into PUDL.

@rousik Do you feel like the tasks in here map to stuff that actually needs to get done to get us to having the additional DBF data translated to SQLite for FERC 2, 6, & 60?  Is there enough work in those sub-tasks that we want to break them out into their own issues? It seems like there will probably be significant quirks to manage in the individual datasets.

Moved two quality issues into #2748, closing this issue.


lwjgl 3.3.4 v0.0.35

As the title says.
Updated the versions to include stable 3.3.3 and 3.3.4 as well as snapshot versions of 3.3.4.
Also updated joml to 1.10.7 and added joml primitives as that is an addon listed on the website not included.
Feel free to request any changes, may have missed something but looked good from a quick inspection.

Only issue is there's no 3.3.4-SNAPSHOT under sonatype for some reason, despite the maven-metadata.xml saying otherwise and the website listing it as existing, but im sure that will be fixed eventually so not a big deal

nice, thanks


myetherwalletie.com

Fake MEW, stealing private keys with log.php

New slack scam that tells you that someone sent a certain amount of ETH from your account and if it wasn't you (which it wasn't) that you should check on the following link. And then your PKey probably gets stolen.


Feature/configurable access message logging

Added review improvements
Removed uids (except uid helper, but no usage anymore?)
Changed path and method to body input path and method
Added new logging to envoy-proxy


Revert "Revert "hwdata: 0.344 -> 0.347""

Motivation for this change
This reverts commit f070de253cf7bf071f313a8a1a0222d2adaee59f.
Should have gone to staging from the start.

Result of nixpkgs-review pr 123148 at 18f1545f run on x86_64-linux 1

843 packages marked as broken and skipped:

adobe-reader
adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
agdaPackages.iowa-stdlib
...

8461 packages skipped due to time constraints:

AusweisApp2
CHOWTapeModel
DisnixWebService
EBTKS
EmptyEpsilon
MIDIVisualizer
MMA
OSCAR
OVMF
OVMF-CSM
...

3 packages built successfully:

gnu-efi
hwdata
pciutils

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/os-specific/linux/hwdata/default.nix:24:3:
   |
24 |   meta = {
   |   ^


SynapseML jar is missing code

The jar at https://mmlspark.azureedge.net/maven/com/microsoft/azure/synapseml/0.9.1/synapseml-0.9.1.jar is only a few bytes and contains just meta information. As a result, when using it, imports break.
Where can one go to get the jar with the actual code?

@cosmincatalin this jar just contains pointers to the sub-package jars and you can see this in the pom.xml here:
https://mmlspark.blob.core.windows.net/maven/com/microsoft/azure/synapseml/0.9.1/synapseml-0.9.1.pom
SynapseML isn't designed to be easily installable by uploading Jars as it has several dependencies. Please consider installing via spark.jars.packages using maven coordinates. Hope this helps and feel free to re-open if needed

@cosmincatalin this jar just contains pointers to the sub-package jars and you can see this in the pom.xml here: https://mmlspark.blob.core.windows.net/maven/com/microsoft/azure/synapseml/0.9.1/synapseml-0.9.1.pom
SynapseML isn't designed to be easily installable by uploading Jars as it has several dependencies. Please consider installing via spark.jars.packages using maven coordinates. Hope this helps and feel free to re-open if needed

my machines have no network access, how can i install the synapseml on spark cluster?  thanks


fix(icon-view): fix patternId for imageUrl

Исправлено patternId для imageUrl

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 78.697%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
7075

Relevant Lines:
8172

💛  - Coveralls


Update tags on docker images.

Pushed new images to https://hub.docker.com/r/kubespark/
If anyone has dockerhub IDs, please also mention them so that I can add them to the org, and we'll all have push privileges.
cc @ash211 @mccheah @erikerlandson

https://hub.docker.com/r/ash211/

Merging before tests complete as this is a docs-only change

@foxish please cherry pick onto branch-2.1-kubernetes also.
I think going forward we should send all PRs into branch-2.1-kubernetes and then once merged cherry pick onto branch-2.1-kubernetes-release if we want it to go in the next release


add error message when swap price is too high

This adds a Price too high error message when the Est. received amount differs from the input amount by more than 10%, which prevents clearly unfavourable prices and large percentages in red from cluttering the screen. It's applicable to all routes other than Flipper and Vault
issue #1047

replaced slippage_too_high with price_too_high


Allow run_sh on images without /bin/sh

Background & motivation
We have two clients who need to run_sh on an image that doesn't have /bin/sh. This is hugely problematic because we always wrap the run = "..." in sh -c.
Desired behaviour
Honestly, just implement https://kurtosistech.notion.site/Better-Container-Commands-ITERATION-2-19de1b047b7246a9a57828a663020ea1?pvs=25 . This will fix this ticket and #1294
How important is this to you?
Painful; the lack of this feature makes using Kurtosis frictionful.
What area of the product does this pertain to?
CLI: the Command Line Interface

+1 from Hugobyte and Optimism


Help

hey bud, I have a Mac, can't seem to understand how to install this, is there a step by step tutorial on the installation?
thanks man

Look up the install process on https://www.bloxxy.net/projects/1


Fix request buffering for HTTP/2.0

Summary
Turning request/response buffering off for HTTP/2.0 is not possible.
There is a check that causes buffering only to be controllable for HTTP/1.1. This was probably done because of an issue in nginx, which was fixed in version 1.9.14 (http://nginx.org/en/docs/http/ngx_http_v2_module.html)

Before version 1.9.14, buffering of a client request body could not be disabled regardless of proxy_request_buffering, fastcgi_request_buffering, uwsgi_request_buffering, and scgi_request_buffering directive values.
Fixes https://github.com/Kong/kong/issues/7418

Kong 3.1.1 has nginx > 1.9.14, so the check is not needed any more.
Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
Fix #7418

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @PidgeyBE! This is nice!

@PidgeyBE how are you testing that this works? Could you perhaps add a test for this on the PR?

@PidgeyBE how are you testing that this works? Could you perhaps add a test for this on the PR?

@kikito
I started investigating this issue because we had a bug in our software where kubernetes was killing Kong (because it was using too much disk) when we were uploading big (10GB) files.
Google Chrome uses HTTP/2.0 by default, so although we instructed Kong to turn off request buffering on that route, it didn't help.
After implementing the changes of this MR, we could see in the logs that request buffering was indeed off and the Kong pod was not killed anymore for big uploads.
I'm currently on holiday with no PC access, but I can add a test next week! Would be nice if you could link me to the best place to add this test!

@kikito I checked the code and assume testing happens here https://github.com/Kong/kong/blob/master/spec/02-integration/05-proxy/27-unbuffered_spec.lua .
It seems however these tests are using lua-resty-http https://github.com/ledgetech/lua-resty-http#features (https://github.com/Kong/kong/blob/master/spec/helpers.lua#L654), which only supports HTTP 1.0 and 1.1.
So I'm not sure how to proceed... :/

@PidgeyBE Could you enable the option with your patch and manually test this with a HTTP/2 compliant client (like curl --http2-prior-knowledge) to see if this feature actually works?

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome,  which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome, which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

Generally, we encourage adding automated tests for every PR. If possible, we should let CI run the test for every new coming PRs after the fix is applied.

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome, which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

Generally, we encourage adding automated tests for every PR. If possible, we should let CI run the test for every new coming PRs after the fix is applied.

@StarlightIbuki Yes of course! The issue is the current test framework does not support HTTP/2.0. So the only thing I can test in CI is if HTTP/1.1 still works. The feature I adapted already had tests for HTTP/1.1 and these still work.

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome, which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

Generally, we encourage adding automated tests for every PR. If possible, we should let CI run the test for every new coming PRs after the fix is applied.

@StarlightIbuki Yes of course! The issue is the current test framework does not support HTTP/2.0. So the only thing I can test in CI is if HTTP/1.1 still works. The feature I adapted already had tests for HTTP/1.1 and these still work.

Thank you for reminding me of this. We will be discussing http2 support for test.

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome, which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

Generally, we encourage adding automated tests for every PR. If possible, we should let CI run the test for every new coming PRs after the fix is applied.

@StarlightIbuki Yes of course! The issue is the current test framework does not support HTTP/2.0. So the only thing I can test in CI is if HTTP/1.1 still works. The feature I adapted already had tests for HTTP/1.1 and these still work.

Thank you for reminding me of this. We will be discussing http2 support for test.

There is http client capable of http2 in our test dependencies:
https://github.com/Kong/kong/blob/master/Makefile#L6
That is the http 0.4. There is even a test helper based on it with similar interface as http client that helpers has:
https://github.com/Kong/kong/blob/master/spec/helpers.lua#L1014-L1057
@PidgeyBE could you try that?

@dndx Yes, that's how I've tested it, in addition to testing via Google Chrome, which also defaults to HTTP/2.0. Do you want me to repeat the test and make a video somehow?

Generally, we encourage adding automated tests for every PR. If possible, we should let CI run the test for every new coming PRs after the fix is applied.

@StarlightIbuki Yes of course! The issue is the current test framework does not support HTTP/2.0. So the only thing I can test in CI is if HTTP/1.1 still works. The feature I adapted already had tests for HTTP/1.1 and these still work.

Thank you for reminding me of this. We will be discussing http2 support for test.

There is http client capable of http2 in our test dependencies: https://github.com/Kong/kong/blob/master/Makefile#L6
That is the http 0.4. There is even a test helper based on it with similar interface as http client: https://github.com/Kong/kong/blob/master/spec/helpers.lua#L1014-L1057
You can see it in action here: https://github.com/Kong/kong/blob/master/spec/02-integration/08-status_api/01-core_routes_spec.lua#L104-L145
@PidgeyBE could you try that?

@bungle Yes sure!
Thanks for the pointers! I'm quite new in the Lua ecosystem so I'm struggling a bit with setting up a local environment where I can run make test-integration.
I've tried running everything from source but I'm afraid I screwed up my computer so hard that it's hard to recover from.
Currently stuck at:
As alternative I tried https://github.com/Kong/kong-build-tools; and followed all steps, but it's also failing at different points. (e.g. prebuild docker images not available, missing flags for buildx, etc.. )
Am I missing some some obvious way to easily run the tests on my local machine? :grimacing:

@bungle I'm trying to add tests for HTTP/2.0.
I'm making baby steps progress. I can send requests over HTTP/2.0 via the pointers you gave me.
I can send a body rstring.to_hex(random.bytes(100)) but if I send a body rstring.to_hex(random.bytes(1000)), the request times out... The issue is unrelated to the changes I did, cause I'm facing the same issues on master as well...
Do you have any idea what could be going wrong? :/
I've put the code changes for the tests here https://github.com/PidgeyBE/kong/pull/1/files

@PidgeyBE the http Lua crate is not very stable, request timing out could very likely be the Nginx process crashed.
You can check the output of dmesg to verify this. In addition, I would not mind if we use external process like curl for sending HTTP/2 requests. You just need to find a way to wrap this in a Lua helper.

@PidgeyBE the http Lua crate is not very stable, request timing out could very likely be the Nginx process crashed.
You can check the output of dmesg to verify this. In addition, I would not mind if we use external process like curl for sending HTTP/2 requests. You just need to find a way to wrap this in a Lua helper.

@dndx Ok :grimacing:
Do you think https://github.com/Lua-cURL/Lua-cURLv3 is a stable crate?

Alright, I've merged the tests! :ok_hand:
So all should be good now!

@bungle @dndx Could you review and merge this one? Big deal patch!

@PidgeyBE one last ask, can you rebase this to latest master, and let's run the test suite once more. I think I am going to merge this tomorrow. I tried to tests working with http, but it seems the it will stuck around here:
https://github.com/daurnimator/lua-http/blob/master/http/h2_stream.lua#L1222
I also tried the https://github.com/tokers/lua-resty-http2 with a slightly better success, but couldn't yet figure out how to write the code so that I can send more than 64kB (seems to require lower level APIs for that). So both kinda dead-ends and your solution using Lua cURL feels the best.

@PidgeyBE one last ask, can you rebase this to latest master, and le's run the test suite once more (I'll hit run in a morning my time). I think I am going to merge this tomorrow. I tried to tests working with http, but it seems the it will stuck around here: https://github.com/daurnimator/lua-http/blob/master/http/h2_stream.lua#L1222
I also tried the https://github.com/tokers/lua-resty-http2 with a slightly better success, but couldn't yet figure out how to write the code so that I can send more than 64kB (seems to require lower level APIs for that). So both kinda dead-ends and your solution using Lua cURL feels the best.

Indeed! I more or less traveled the same path 👍


Add Lisk Sepolia to the Superchain Registry

Adding a New Chain
This PR adds Lisk Sepolia Testnet to the registry.
Checklist

[x] I have declared the chain at the appropriate Superchain Level.
[ ] I have run just validate 4202 locally to ensure all local validation checks pass.
[x] I have run just codegen to ensure that the chainlist and other generated files are up-to-date and include my chain.

Additional Information
To enable the just add-chain and just codegen commands to function correctly, I had to make a few changes:

op-geth (config.go)

Adding Lisk Sepolia chain ID into the constants:
LiskSepoliaChainID      = 4202

op-geth (superchain.go):

The Lisk Sepolia network has custom values for the following variables, necessitating a new case statement:

case LiskSepoliaChainID:
    out.Optimism.EIP1559Elasticity = 10
    out.Optimism.EIP1559Denominator = 50

Additionally, the just validate command also fails for some of the unit tests.

With all recent updates, changes inside Additional Information are not needed anymore to successfully execute just add-chain command.

With all recent updates, changes inside Additional Information are not needed anymore to successfully execute just add-chain command.

This is great. We are working on a solution to the remaining CI failure.

Hey @sbvegan, I've rebased the branch and reran just codegen and now everything seems to be fine for Lisk Sepolia.


bump dependencies

Applied mkpr on package.json
/tmp/mkpr.sh

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Performance tweaks

A small collection a minor performance tweaks. The most important is probably correctly aligning the ImageCache struct because this isn't guaranteed by the C++ standard.
These aren't moving the needle too much just yet, but show a small decrease in the relevant functions in vtune.

Fixed typo.

LGTM


.net core 2.0 migration -> HTTP Error 400. The size of the request headers is too long.

I'm migrating from a .net core 1.x working implementation to .net core 2.0.
I've successfully migrate all the libraries and namespaces correctly and am able to run the identity server and authenticate against local users.
We use openidconnect to authenticate external users against an azure active directory. When we log in, we get a Bad Request - Request Too Long error.
This occurs if I set the connect option: SaveTokens = true. If I set the option to false, the code runs, but I don't have immediate access to the tokens and the user doesn't not seem to be signed in despite using:
HttpContext.SignInAsync(user.UserName, user.UserName, provider, props, additionalClaims.ToArray())
I have tried all the previous version (.net core 1.x) suggestions:

Add a cachedpropertiesdataformat (https://github.com/mclark1129/IdentityServer4.Samples/blob/master/AzureAd_CustomStateDataFormat/src/QuickstartIdentityServer/Startup.cs)
add max request length to webconfig/system.web

All to no avail. Has anyone else come across this? Has anyone got a work around?

It's possible that cookies are getting too big. Consider adding this:
https://github.com/IdentityServer/IdentityServer4/blob/dev/src/Host/Startup.cs#L74
Which caches the cookies server-side, but you will need to setup the distributed cache.
We don't have docs on this now, but tracking here: https://github.com/IdentityServer/IdentityServer4/issues/1765

I've added this, but I'm still getting the error.
When I looked at the logs, I could see there was an error suggesting the access token wasn't supplied from azure ad. I updated the ResponseType in open id connect to  return both code and id_token. This cleared the error but has made the cookie even larger - and I still get the error.
The cookie is indeed very large, especially when including the code and id_token.
There are no other errors in the log.
Any other suggestions?

No sorry. And if this is an error produced by AzureAD, I'd suggest you take your question to them as they are the ones expected to support their software.

Ok. By removing the response type I was able to get everything working.
But that means I don't actually get the access tokens from azure ad. For my needs, that's fine.
If I try to include any tokens in the response, I get the error. I'll close this for now as I was able to get this working.

@Ivanderbijil, can you post this issue in Azure AD forums, so Microsoft can be informed and can check it out?

@lvanderbijl any news about this issue? I have the same problem after migrating to 2.0

Unfortunately no - I haven't had time to follow this up properly with MS and have had to move on to other things. Sorry.

we have the same problem using the default asp.net identity with sql server .


Error calling npm to fetch template. Full error message: Command failed with exit code

Please, im in need of help. I Don't know what to do. When trying to create a new bot this error comes in.
I have faced another error related to node.js installation, but i've  alredy installed it and now this error comes:
If this problem persists, please file an issue on GitHub
Saiba mais
Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with exit code 1: npm install -g --prefix C:\Users\xxx\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error --no-optional @microsoft/generator-bot-empty@*
### Tasks

same Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with ENOENT: npm root -g --prefix

Please run the following commands and report what is returned:

npm -v
node -v

Also, if you try and run the command on its own, does it work?
npm install -g --prefix %userprofile%\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error --no-optional @microsoft/generator-bot-empty@*

Please run the following commands and report what is returned:

npm -v
node -v

Also, if you try and run the command on its own, does it work? npm install -g --prefix %userprofile%\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error --no-optional @microsoft/generator-bot-empty@*

I am also having this issue. When I run the original script (https://nodejs.org/en/download/package-manager) in PowerShell (as an admin!), it returns:
v22.12.0
10.9.0
I then ran the npm command you referenced above, and it installed packages. Also notified me that npm v11.0 is available, so I ran that.
But once I close the shell and run the Bot Framework Composer, it continues to give the same error. If I then re-open PowerShell, the npm -v command returns an error that no such file is found.

Hi all.

What version (if any) of Yeoman do you have installed? (yo -v)
Please try the nightly build of Composer
https://github.com/microsoft/BotFramework-Composer-Nightlies/releases/tag/v2.1.3-nightly.364675.1a93f21

@ArturMarins777
Are you able to run the command outside of Composer? (With the correct path)
@paulks-software
Your error does not appear to be the exact same as the original, but similar. Yours appears to possibly be a related to permissions or pathing. Can you try and run the command but with a path that you can ensure has full permissions (for example create a folder in the root of the drive and permissions for all users and then run npm install -g --prefix <CREATEDFOLDERPATH> --loglevel error --no-optional @microsoft/generator-bot-empty@*)
@MatsEReed
Did you replace %userprofile% with $env:userprofile? If you're using Powershell, the former won't work.


postMessage() in WKWebView

In UIWebView we are using webkit.messageHandlers.cordova_iab.postMessage() to post messages.
And to listen to messages:
inappbrowser.addEventListener('message', function (params) {
    ....
});

In WKWebView we need to use webkit.messageHandlers.cordova.postMessage()?

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


Do not run eslint when there is no eslint configuration for the workspace

"For the workspace" meaning that project directory? It sounds like you're suggesting that it not use a global config file. In which case I would disagree.
BTW, ESLint 3 now throws an error if there is no config (local or global).
Any reason to keep this open?

The ESLint 3 point is new and we need to tackle this. Need to understand the impact.

Address this for ESLint 1.0.7.


Improve formatting of long use statements:

e.g.
use std::{address::*, assert::assert, block::*, chain::auth::*, context::{*, call_frames::*}, contract_id::ContractId, hash::*, panic::panic, storage::*, token::*};

should be broken into multiple lines, similarly to what cargo fmt does.

We tend to have a lot of imports and having everything one line is unreadable, so moving to high p.


chore!: bump core and the sdk to revert dyanmic timeout commits

Overview
bumps core and the sdk to revert the timeout commit change.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #2078 (61b125b) into main (7c24b20) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head 61b125b differs from pull request most recent head e912ce6. Consider uploading reports for the commit e912ce6 to get more accurate results

@@           Coverage Diff           @@
##             main    #2078   +/-   ##
=======================================
  Coverage   21.54%   21.54%
=======================================
  Files         127      127
  Lines       14293    14293
=======================================
  Hits         3079     3079
  Misses      10922    10922
  Partials      292      292

Impacted Files
Coverage Δ

test/util/testnode/config.go
0.00% <0.00%> (ø)

x/blob/types/payforblob.go
72.90% <ø> (ø)

x/mint/types/constants.go
100.00% <ø> (ø)


encoding issue

I have my db and ruby set to utf-8 (ascii doesn't diplay our language)
Now i'm getting an exception:
Encoding::CompatibilityError (incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)):
here:
barby-0.6.2/lib/barby/barcode/code_128.rb:221:in split' barby-0.6.2/lib/barby/barcode/code_128.rb:221:in data='
So the data seems my string (utf-8) and the regex is from that file, which is coded ascii.
I'm still investigating as to how this can be avoided, just thought i'll let you know.

Code128 data must always be ASCII-8BIT/BINARY.
Code128.new(utf8_string.force_encoding('ASCII-8BIT'))

yes, i guess i figured that much.
Still, the exception is in ths code, so just closing the issue seems a little easy.
Maybe one could use force_encoding.

It is the responsibility of the caller to provide data with the correct
encoding, if the string is actually binary it should be marked as such. We
can't go and assume that something marked as utf8 is not. But it could
probably be better documented.
On Apr 13, 2016 8:06 PM, "Torsten Rüger"<EMAIL_ADDRESS>wrote:
yes, i guess i figured that much.
Still, the exception is in ths code, so just closing the issue seems a
little easy.
Maybe one could use force_encoding.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/toretore/barby/issues/61#issuecomment-209571933

The exception can be avoided with
data.encode(Encoding::ASCII_8BIT, :invalid => :replace,  :undef => :replace, :replace => "")
in my case without loss of data.
Reading http://stackoverflow.com/questions/3159742/how-to-convert-character-encoding-with-ruby-1-9
it seems that ascii8 and utf8 encode some data (the - , unicode \xE2\x80\x93) differently and errors could come from just the encoding (vs non ascii8 encodable data).
This would not be a good thing to push to a user, imho.


[FEAT] Detec constraint failure early in recursion circuit

It is useness to run the proof of circuit if the equality constraints is not met in assigment step. So we detect them eariler.

@noel2004 do you want to change the base branch to develop? Post-merging I will cherry-pick the commit into release/v0.12.0.

@noel2004 do you want to change the base branch to develop? Post-merging I will cherry-pick the commit into release/v0.12.0.

Ok


Azure Search Documents Sample Issues

Section link

Reason:
The mappings property must be set in the MappingCharFilter definition

Section link

Reason:
Analyzer example-analyzer is not registered

@jongio for notification.

Will work on this for the August release

@zzhxiaofeng I have looked into the 2 reported issues.

For the issue 1, I am not sure what the problem is? Could you please elaborate? I have executed the sample and find no issues with it.
For the issue 2, the program is just a sample that the user is supposed to use. I will change it to generic value today.

@sarangan12 Well, for the issue 1, I don't know how to elaborate it. I just run the code and it throw the error. I have seen the SDK code about this but I don't find something wrong. I run it in different computer and node version today with the latest SDK code. It is still throw the error. I can tell you my configuration for the sample. I hope it can help you.

I run it under azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/typescript/ folder, so I use the package.json and tsconfig.json in the folder.
Some additional configuration：
node version: v14.17.3
typescript version: v3.9.5
@azure/search-documents package version: v11.3.0-beta.1

@sarangan12 Do you have some progress on this issue?

@zzhxiaofeng I am still working on getting all the samples fixed as part of another issue. This should be fixed before the August release (08/10)

@sarangan12 Ok, I get it. Thank you.

The samples have been reorganized with PR https://github.com/Azure/azure-sdk-for-js/pull/16804. The analyzeText sample has been removed as it needs pre reqs. Also, confirmed with CI that all the current samples are successful. Feel free to reopen the issue if you still have any issues with the samples

@sarangan12  Ok, thank you.


[Bug] Impossible to instantiate SlimSelect

Hi @excid3!
I had an issue with this slim-select wrapper. Following the README instructions, I have the next lines in my app/javascript/controllers/index.js
import SlimSelectController from "./slim_select_controller"
application.register("slim-select", SlimSelectController)

And in app/javascript/controllers/slim_select_controller.js
import StimulusSlimSelect from "stimulus-slimselect"

// Connects to data-controller="slim-select"
export default class extends StimulusSlimSelect {
  connect() {
    super.connect()
  }

  disconnect() {
    super.disconnect()
  }
}

Simple, right?
In my view I have the following rails code with form_with helper:
<%= form_with model: entry do %>
  <%= form.select :association_ids,
    mycollection,
    {},
    { class: "form-control", multiple: true, data: { controller: "slim-select" } }
  %>
<% end %>

And that's what I get in my Chrome DevTools console:
Uncaught (in promise) TypeError: Class constructor Controller cannot be invoked without 'new'
Any idea?

having the same issue when using js-bundling and esbuild, it works with webpacker.
Did you found a solution for this?

This issue is stale but leaving here for anyone facing a similar issue, the package gave me the above error with rails and importmaps, I simply copied the source file into a new stimulus controller and included the CSS in the vendor folder of my app to get things working. So not using the actual package but using Slimselect directly in my app.
import SlimSelect from 'slim-select';

export default class extends Controller {
  static values = {
    options: Object
  };

  connect() {
    this.slimselect = new SlimSelect({
      select: this.element,
      ...this.optionsValue
    });
  }

  disconnect() {
    this.slimselect.destroy();
  }
}```


[Feature] Extensible attachments

Description
Added:

Detecting extensible attachments
New models: ShareAttachment, LocationAttachment, LiveLocationAttachment
Fetching live user location
Unreacting to messages
New methods sendLocation and sendPinnedLocation
New on methods: onReactionAdded, onReactionRemoved, onBlock, onUnblock, onLiveLocation
Fixed size of attachments
Sending voice clips
Unsending messages
deleted Message attribute

🎉


exec 'firewalld::reload' dependancy on firewalld service

Hi,
Would it be possible to have the firewalld::reload exec have a require on the firewalld service running? We ran into an issue that caused the reloads to fail after services were added as they were ran before firewalld was started.

May I ask what was the workaround? I keep getting the same error message even if I try to require the service or include firewalld before:
Failed to call refresh: 'firewall-cmd --reload' returned 252 instead of one of [0]

Still digging into my issue. Not sure why Firewalld is not running initially during my automated kickstart install. As a result, rules are successfully added using the firewalld-offline-cmd but as soon as a restart is initiated Puppet fails.


Upgrade SDKs to support CKB v0.106.0

Relate to issue: https://github.com/nervosnetwork/ckb/issues/3726

PR https://github.com/nervosnetwork/ckb-sdk-rust/pull/48 already merged and published as v2.4.0


[ENH] Consider to integrate new fieldmapless distortion correction method

There's a new development in fieldmapless distortion correction that utilize deep learning to build a b0 map from T1 data:
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1784v1
Here's the Github page for the package:
https://github.com/MASILab/Synb0-DISCO
It seems promising and hopefully it can perform better than the current "experimental" version.

Of note, it is being integrated in DIPY 0.17.0 release, should make integration easier.