[WIP] [MB-3227] Redux Refactor: PPMs

Description
Explain a little about the changes at a high level.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
this article explains more about the approach used.

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

Messages

:book:
:link: MB-3227

  Generated by :no_entry_sign: dangerJS against 4358b4e13e88c8196c5477dca82cd255586637af

Closing this since the work was split up and completed in:
https://github.com/transcom/mymove/pull/5606
https://github.com/transcom/mymove/pull/5610
https://github.com/transcom/mymove/pull/5626

Closing this since the work was split up and completed in:
https://github.com/transcom/mymove/pull/5606
https://github.com/transcom/mymove/pull/5610
https://github.com/transcom/mymove/pull/5626


Clock doesn't accept newline (%n)

Hello,
like it says in the name, the clock doesn't accept the newline symbol (coded in strftime format as %n). Instead the clock displays some sort of hieroglyphic.
Explanation: I have a thin (32 px) vertical panel. The clock is a bit too small (with font size 8) to see if used with standard configuration, so I wanted to split the clock vertically. It didn't work. Of course, one could use two clocks, one above another, each one displaying only hours and only minutes, but it looks a bit incohesive, since the digits are too far apart vertically.
So, any chance of implementing at least this part of the strftime format?
Thanks and regards

@joewing, what do you think?

Unfortunately, I can't say I know off the top of my head what would be involved in making this work, but I would be willing to accept a PR if that's the offer.

Unfortunately, I can't say I know off the top of my head what would be involved in making this work, but I would be willing to accept a PR if that's the offer.

Sadly, I'm not a dveloper, I can just hope that someone else picks this up and creates a PR. But thanks for the answer!

kenderipa can you add a screenshot to show the issue?


I have the flinging too,

I have the bouncing/flinging, and i've tried these fixes, and when i builded the game and installed on my quest, Im like stuck to the ground, i can move, but its kind of like Tag Freeze from Gorilla Tag.

You must have setup the script wrong, try use the example scene from the unity package


Feature-WIP Support Dictonary Table (FE Part I)

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
In this PR we support all required meta data structure for Directionary table in FE. and some of base operations' grammar.
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall


Added issue and pull request templates

What is the context of this PR?
Added the issue and pull request templates used in the survey runner to the authoring tool within the .github folder.
How to review
Discuss if this is appropriate for the author tool and whether more fields need to be added or removed from the template.

 Github PR/Issue templates (1)

Love that the PR to add a PR template uses said PR template. So meta 😄


@njit numpy mean incorrect result

Calculating the mean of an array using numpy.mean() returns a different value if the method is jitted. Sample code block (below) returns 92.22270202636719 for jitted mean and 90.123474 for np.mean().
import h5py
import numpy as np
from numba import jit, njit

@njit
def mean(arr): return np.mean(arr)
h5f = h5py.File('wmap-nside=64-m=720-test.h5','r')
arr = h5f['ctheta'][:]
print(mean(arr))
print(np.mean(arr))

wmap-nside=64-m=720-test.zip

This appears to be a floating point issue originating from the fact that Numba uses a naive and less accurate summation when calculating the mean vs Numpy. The type of the data coming from the h5py file is dtype('<f4') (i.e float32) and there are ~2.5 million elements, so this is going to be an issue. I can reproduce the results you are seeing, but then if I run:
print(np.mean(arr.astype(np.float64)))
print(mean(arr.astype(np.float64)))

I get essentially the same result for each of 90.1234642.
This issue is related to https://github.com/numba/numba/issues/3702 and https://github.com/numba/numba/pull/3046

Any idea when the issue can be solved? I really hope to be able to use numba to accelerate my app that makes intensive use of numpy, the speed up is about 40%, only problem is the result is incorrect.

@rsandx just make sure your input data is float64 and you won't have issues

@DCowman my data is actually float64 as the info shown below:
<class 'pandas.core.frame.DataFrame'>
Index: 54 entries, 2019-12-10 to 2020-02-27
Columns: 5 entries, open to volume
dtypes: float64(5)
but the index is string, does it matter?


<EMAIL_ADDRESS>hash check failed of shell.exe as version 1.8.1 is delivered

I have a fresh scoop installation. Then I ran:
scoop bucket add extras
scoop install nilesoft-shell

During installation, it reads that the installation v1.7 is going to be installed and then fails with the hash check on shell.exe:
Installing 'nilesoft-shell' (1.7) [64bit] from extras bucket
shell.exe (3.2 MB) [======================================================================================================================================================================] 100%
Checking hash of shell.exe ... ERROR Hash check failed!
App:         extras/nilesoft-shell
URL:         https://nilesoft.org/download/shell.exe
First bytes: 4D 5A 50 00 02 00 00 00
Expected:    5b29ba86b356fe6246da0f0ca9cb037c20843d4f50e381d77f70b3d54097d1cf
Actual:      c87da931586ab14ce957e99971ef8b344edfb1b0caa273e87c1be752bb924447

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=nilesoft-shell%401.7%3a+hash+check+failed

When checking the properties of %USERPROFILE%\scoop\apps\nilesoft-shell\1.7\shell.exe it says it is version <IP_ADDRESS>.

The fix solves the hash issue, but it's on the wrong version! See https://github.com/ScoopInstaller/Extras/commit/63b9f4702f7207c03f68511f07175977813c84bb#commitcomment-103029517


bug: usePrepareContractWrite chainId validation not working

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.6.4
Current Behavior
I'm using the usePrepareContractWrite function in order to mint a NFT on Ethereum Mainnet.
In my MVP I'm calling the function as described here:
const {
    config,
    error: prepareError,
    isError: isPrepareError,
  } = usePrepareContractWrite({
    addressOrName: "0xaf0326d92b97df1221759476b072abfd8084f9be",
    contractInterface: ["function mint()"],
    functionName: "mint",
    chainId: 1,
  });

  const { data, error, isError, write } = useContractWrite(config);

When the user switches chains via Metamask extension, the write function invokes a transaction of 0 ETH to the specified contract address. The same behaviour occurs in the Docs page, while sometimes the 'Mint' button is disabled, occasionally when hopping chains it still tries to send a transaction when it's on the wrong chain.
Expected Behavior
An actual error whenever the current user is not on the specified chain chainId . The write function should not execute an empty transaction.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?

I believe this is related to a previously reported bug which was closed without a fix:
https://github.com/wagmi-dev/wagmi/issues/827

@ivelin #827 was closed because it needs a minimal reproducible example (see https://github.com/wagmi-dev/wagmi/issues/827#issuecomment-1210061779). If you believe this issue is related, it could be helpful to provide one.

import * as React from "react";
import {
  usePrepareContractWrite,
  useContractWrite,
  useWaitForTransaction,
} from "wagmi";

export function MintNFT() {
  const { config } = usePrepareContractWrite({
    addressOrName: "0xaf0326d92b97df1221759476b072abfd8084f9be",
    contractInterface: ["function mint()"],
    functionName: "mint",
    chainId: 1,
  });
  const { data, write } = useContractWrite(config);

  const { isLoading, isSuccess } = useWaitForTransaction({
    hash: data?.hash,
  });

  return (
    <div>
      <button disabled={!write || isLoading} onClick={() => write?.()}>
        {isLoading ? "Minting..." : "Mint"}
      </button>
    </div>
  );
}

Here I want to use usePrepareContractWrite with the parameter chainId: 1 in order to mint an NFT on the Ethereum Mainnet only. Whenever I switch chains and trigger the mint button, which calls the write function, Metamasks opens and prompts the user to send ETH to the specified contract address. I expected that the write function is not populated/shows an error.

@ivelin #827 was closed because it needs a minimal reproducible example (see #827 (comment)). If you believe this issue is related, it could be helpful to provide one.

Not sure if you saw the follow up comment on the issue by @wuichen:
https://github.com/wagmi-dev/wagmi/issues/827#issuecomment-1219285514

Issue has been identified. I am working on a fix. :)

Issue has been identified. I am working on a fix. :)

Thank you very much!


Using tfdbg with Monitored Session

System information

I am using a modified version of  CIFAR10 tutorial TensorFlow.
CentOS Linux release 7.3.1611
TensrFlow from Source
TensorFlow v1.3
Python 2.7

Describe the problem
Hello,
I see that I can not use tfdbg with Monitored session. That is if I try to wrap mon_sess = tf_debug.LocalCLIDebugWrapperSession(mon_sess) where mon_sess is tf.train.MonitoredTrainingSession( I get the following error:
TypeError: Expected type <class 'tensorflow.python.client.session.BaseSession'>; got type <class 'tensorflow.python.training.monitored_session.MonitoredSession'>
Can there be a support from Debugger with Monitored Sessions?

This has been fixed in dc58dcbea9beb30e0013f41e08786471ca4a6cb6. Try upgrading to TensorFlow 1.4.

Hello,
Thanks for the info, I updated to v1.4 and tfdbg works for me.
However, there seems to be some unsupported features. When I ran with tfdbg> run -f has_inf_or_nan, my model diverged with a NaN.
However, I received the following error:
tensorflow.python.training.basic_session_run_hooks.NanLossDuringTrainingError: NaN loss during training. Exception ignored in: <bound method LocalCLIDebugWrapperSession.__del__ of <tensorflow.python.debug.wrappers.local_cli_wrapper.LocalCLIDebugWrapperSession object at 0x7ff95630a6a0>> Traceback (most recent call last):   File "/usr/lib/python3.4/site-packages/tensorflow/python/debug/wrappers/framework.py", line 705, in __del__ AttributeError: 'MonitoredSession' object has no attribute '__del__' .
Can you please guide me through this?

I can reprodce on master with the following program:
import tensorflow as tf
from tensorflow.python import debug as tf_debug

with tf.train.MonitoredSession() as sess:
  sess = tf_debug.LocalCLIDebugWrapperSession(sess)
  del sess

@caisq, can you fix this?

Thanks for letting me know. Will fix it soon.


Augmented JPA unit tests to run under both Eclipselink and Hibernate

Signed-off-by: Laird Nelson<EMAIL_ADDRESS>

This PR, at a high level, ensures that Surefire will run twice (in normal operation): once using Eclipselink, and once using Hibernate.  This ensures that our tests run against both major JPA providers we support.
To accomplish this, the pom.xml effectively copies classes into two "weaving areas"—areas where static bytecode enhancement can take place for each JPA provider without polluting the other's classes.  Surefire is then configured to run against each weaving area so that the "right" classes are used at test time.
In addition, the Maven default executions—default-test and default-cli—are configured so that if they are invoked they work properly, though in such cases only the Eclipselink tests will be run.

This PR also exposed several unspecified behaviors.  In one, Eclipselink happily lets a once-managed-now-detached entity get re-persisted, whereas Hibernate throws an exception in such a use case.  In another, Eclipselink defers acquiring database-generated identifiers until flush time; Hibernate seems to somehow come up with them early.  Each of these cases is exactly the sort of thing that makes running our tests against both providers valuable.

This PR also proves that transactional interceptor-governed methods work fine under Eclipselink and Hibernate.


Addon Nacos operator

Description of your changes

Fixes https://github.com/kubevela/kubevela/issues/4707
How has this code been tested?

Checklist

I have:

[x] Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
[x] Updated/Added any relevant documentation and examples.
[x] New addon should be put in experimental.
[x] Update addon should modify the version in metadata.yaml to generate a new version.

Verified Addon promotion rules
If this pr wants to promote an experimental addon to verified, you must check whether meet these conditions too:

[x] This addon must be tested by addon's e2e-test to guarantee this addon can be enabled successfully.
This addon must have some basic but necessary information.

[x] An accessible icon url and source url defined in addon's metadata.yaml.
[x] A detail introduction include a basic example about how to use and what's the benefit of this addon in README.md.
[x] Also provide an introduction in KubeVela documentation.
[x] It's more likely to be accepted if useful examples provided in example dir.

@wangyikewxgm @wonderflow This addon is done, Please review it :)


made the h1

just made my first contribution
color red

just made my first contribution
color red

Looks good, well done!

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Overlays select area

Hello,
Is there any example/plugin that uses a rectangle to select a group of annotations (and changes the color when those are selected)?
Instead of going through the annotations one by one, I would like to select a group of annotations and label them simultaneously
Can you suggest me something related to this?

There are a number of OpenSeadragon plugins:
http://openseadragon.github.io/#plugins
...But I'm not aware of anything that's exactly like that. You might be able to use the code from the selection plugin:
https://github.com/picturae/openseadragonselection
...As a starting point.


Improve APCA ratings

For example:

a tags: -50%~
p tags: -80%~

Nord code syntax highlighting also triggers these problems but that's an upstream issue to take.

On light mode it gives a -80% but it's weird because I see the text color very close to black.


Update install-node.mdx

Update image version reference from 3.20 to 3.27 (latest) in documentation

Product Version(s):
Open Source, potentially others
Issue:
Earlier version reference which throws error when running:
~$ calicoctl get ippools -o wide
Failed to get resources: Version mismatch.
Client Version:   v3.27.0
Cluster Version:  3.20.0
Use --allow-version-mismatch to override.
on the "Test networking" page
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

 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.

@EyeBar Thanks for this contribution. We'll get someone to look this over and get back to you.


⚠ Processors has degraded performance

In b2988ab, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 137 ms

Resolved: Processors performance has improved in af748e7.


SharePoint 2010

Is SharePoint 2010 supported and/or are there plans to support it?

Hi @stephenjjbrown,
I would say, nope, SharePoint 2010 is out of scopes within the stack in general.
The auth part works for 2010, however, all the upload/publishing and download methods rely on REST API (/_api/** endpoint) which was introduced in 2013.

Okay, cool. Just wondering. It might be good to include in the readme that SPGo is only > 2013.


There is a room can not be loaded？

There is a room can not be loaded？

Do you mean a ROM? What is the ROM?

GUNNAC   nes rom


Accidentally deleted the postal.yml file - need rails secret_key

Using the up arrow key and editing the wrong command, I accidentally deleted the postal.yml file. I should.. but I don't have a backup of it. Lesson learned...
I have pretty much all of the values needed to recreate it. But.. I am wondering where I can find the rails: secret key. I think that gets created upon initialization. Is it in a table in the database? Some conf file in rails?

It seems as if I can just run postal initialize-config again and then just fill in the same settings I used before. I was looking at some of the source code, and it doesn't look like it uses the secret as an encryption key or anything. Maybe it's just an internal validation key??
Anyway... I am about to trigger a restart (with the new postal.yml)... with fingers crossed.

kay... seemed like everything was okay, but not... I am getting this when running postal run
EAFNOSUPPORT: Address family not supported by protocol - socket(2) for "::" port 25
I didn't change anything else on the server. Only the config file got deleted. I have no idea what this is all about. I am reading other threads making mention of this being some kind of ipv6 issue. But why didn't this show itself before?

Okay.. looks like this is resolved. I followed the idea in the following comment...
https://github.com/atech/postal/issues/435#issuecomment-354847432
Not sure why I had to do this. The server does have ipv6 enabled. But for some reason, the smtp server can't bind on it. So, my workaround was to force it on ipv4 <IP_ADDRESS> (per the comment above).
I guess I just need to remember to make that edit again if I upgrade or pull from the repo.

As you surmised, the secret_key is part of Rails not the application so if it gets changed, I think the worse that might happen would be users being logged off.
Interesting error about no support for IPv6, it might have been a pending server/daemon restart or something if it was working properly before or perhaps there was already something else trying to use that port.
Do you still experience that error after restarting the server?

Some things I did try...

I changed ports.
I tried adding a host with a port (for smtp_server).
I tried host: <IP_ADDRESS> and also <IP_ADDRESS>, and just localhost.
I tried without any smtp_server entry in the yml file (defaults)
I tried removing the ip6 entries in the hosts file

Ultimately, from what I have read on other Ruby forums, it's an issue with ipv6 on my server. Previously, the postal server did fine on restarts of the app. I don't recall the last time the server was rebooted though. After I had the ipv6 issues, I applied all ubuntu updates to see if that would clear things up. But after applying and a reboot, the postal server gave the same error on postal run.
At that point, I decided to just opt for the small code mod I referenced in my previous comment. I was pretty sure that would work, and it did.
FYI.. this is a Digital Ocean instance running the latest Ubuntu. I believe private network is also enabled, but I don't think it's being used at this point. I run most of my instances with another provider. And now that the ip has pretty good reputation, I don't want to move it. It's been running stable for quite some time now. I may, at some point, perform a "reinstall" on the DO instance, but that will require a window of downtime while I rebuild postal and restore data from a backup. I don't know that I want to do something like that right now though.
So, for now, I will just implement the way I have it and I have made a note in my app notes folder about the code change - which will be required on upgrades.

Okay... I just now saw this... I bet this is the issue with DO.
https://github.com/atech/postal/issues/836

Thanks for your thoroughness. Personally (and I think in other issues here), people have had issues with DO and IPv6 and not experienced them on other providers servers so best to keep yourself as stable as possible for now until some official conclusion can be found.
Fortunately in this case, updates are few and far between, you should be able to continue as you are for a while yet.


Throw error( java.lang.UnsatisfiedLinkError) in ai.djl.pytorch.jni.PyTorchLibrary.torchGetItem(long, long[])

No implementation found for long ai.djl.pytorch.jni.PyTorchLibrary.torchGetItem(long, long[]) (tried Java_ai_djl_pytorch_jni_PyTorchLibrary_torchGetItem and Java_ai_djl_pytorch_jni_PyTorchLibrary_torchGetItem__J_3J)
Simple:
static NDArray filterMatrix(NDArray matrix, int start) {
Shape shape = matrix.getShape();
long[] ss = new long[shape.dimension() - 1];
for (int i = 0; i < ss.length; i++) {
ss[i] = shape.get(i);
}
NDArray out = np.create(new Shape(ss));
long a = ss[0];
long b = ss[1];
long c = ss[2];
for (int i = 0; i < a; i++) {
for (int j = 0; j < b; j++) {
for (int k = 0; k < c; k++) {
NDArray temp =  matrix.get(i, j, k);//throw the java.lang.UnsatisfiedLinkError
out.set(new NDIndex(i, j, k), temp.get(start));
}
}
}
return out;
}
...I hope to get your answer,Thanks.

@cwjtojava
This most likely caused by JNI library mismatched with cached version. You machine cached an earlier version of snapshot JNI, and it doesn't match with latest code.
Would you please remove cache folder and try it again?
rm ~/.djl.ai/pytorch

If you are building from DJL source, you might also need clean pytorch engine project:
./gradlew :pytorch:pytorch-engine:clean

Feel free to reopen this issue if you still can reproduce it in latest version of DJL


⚠ Bofrost.lu has degraded performance

In 8b39414, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 940 ms

Resolved: Bofrost.lu performance has improved in 878c2e2.


update from 1hr to 2hrs

1hr for a game and ready stuff is to low we need to make it like 2hrs

thanks


Error: The iso_checksum_type must be specified

Build in GitHub Codespaces.
......
warning: `v86` (lib) generated 2 warnings
    Finished release [optimized] target(s) in 18.03s
cp build/wasm32-unknown-unknown/release/v86.wasm build/v86.wasm
false && wasm-opt -O2 --strip-debug build/v86.wasm -o build/v86.wasm
make: [Makefile:178: build/v86.wasm] Error 1 (ignored)
BLOCK_SIZE=K ls -l build/v86.wasm
-rwxrwxrwx 1 codespace codespace 1652K Apr 21 07:48 build/v86.wasm
=================================================
=== [*] Downloading & building the arch image ===
=================================================
qemu output will be in this color.

1 error(s) occurred:

* The iso_checksum_type must be specified.
[-] Looks like something went wrong building the image, maybe try again?

Fixed.
        "iso_checksum": "b670458c7aeeefe0d4af11a16f76bd37b32783a2",
        "iso_checksum_type": "sha1",


Hotkey post / Improve tags

DBP post on keyboard shortcuts
make tags look a little better across the site
update tags page

@victorvalle more thoughts? i guess i should have broken this PR into a couple different ones...

I feel the article must reflect that hotkeys depend on language and how some companies bet on that instead of a unique hotkey or a hotkey standard.

Good update on the article, simple and clean!

Thanks Paul! I like when you write these wonderful articles :)


Create jobs by GUI

Hi,
In DBEaver there is some way to create a job through the GUI interface. Same thing exists in PGAdmin?

One more requires this feature. #6262

I also need this feature.  BigSQL seems to have just ended support for pgAdmin 3 LTS, and I can no longer install LTS on my new machine.    Please make a DBeaver front end for the pgAgent scheduler.

Yes please! It would be a very useful feature for all pgAgent users who migrated from PgAdmin4 (:S) to DBeaver...

Agreed! This is a feature I could really do with. pgAdmin4 is horrible to use and pgAdmin3 is almost unusable with more recent server releases.

I concur, this is a must-have feature for dbbeaver and would be very appreciated by all Postgres admins

Definitely a must-have feature as already mentioned by @jinverso

Is there any chance this could be used to manage pg_cron jobs as well?

Hello @ivanlonel,
It is possible since both pgAgent and pg_cron use cron to create schedules, so we can use the same logic for these two.
But please create a separate feature request.

Hello @ivanlonel,
It is possible since both pgAgent and pg_cron use cron to create schedules, so we can use the same logic for these two.
But please create a separate feature request.

Thanks for your reply, @ShadelessFox. I've created #14943, following your advice.

verified


Iban in an included country raise UnknownCountryCodeResult

An IBAN from an included country raises an UnknownCountryCodeResult error.
For example Wallis & Futuna (WF) included in France (FR) WF9120041010050500013M02606 is not valid with IbanNet but is valid on https://bank-codes.fr/iban/validate/

Thanks for reporting, this is definitely a bug. Will have a look asap.

After further investigation, I do not believe that site is correct. I have reviewed different sources, all of those mention that included countries use the country code of their parent country, which in this case would be FR.
https://www.ecbs.org/iban/france-bank-account-number.html
https://www.swift.com/standards/data-standards/iban-international-bank-account-number

French Guiana, French Polynesia, French Southern Territories, Guadeloupe, Martinique, Mayotte, New Caledonia, Réunion, Saint Barthélemy, Saint Martin (French part), Saint Pierre and Miquelon, and Wallis and Futuna Islands have their own ISO country code but use "FR" as their IBAN country code.

If you have different sources, I would be happy to review, but for the time being I will not make any chances with the confidence that this library implements the SWIFT registry correctly.


Test one package at a time in workspaces; run only the packages own tests

This seems like a great approach to limit the combinatoric explosion of possible mutation tests in large codebases. 👍 Is it straightforward to implement?

Hi Josh,
Actually, I think the specific thing of testing only each mutant's own package was already fixed since 1.0.0.
Maybe something is going wrong with this. Could you have a look at some of the files in mutants.out/log and see if it seems to be running only the relevant tests for each mutant, or, otherwise doing anything really strange?
The other package related thing to fix is to allow generating mutants for only one package at a time, although this can be approximated today by using --file patterns.
I'd like to understand a bit more about the tree where you're seeing that long ETA. If you run cargo mutants --list does it seem to be generating an excessive number of mutants for each function, maybe due to complex return types? How long would the tests on this tree and the packages within it normally take?
If you have a machine with a good amount of RAM compared to how much the tests use and a lot of cores you could try -j which might reduce the overall time.


Create release notes for GOV.UK Frontend v4.0.0 (major breaking release)

What
Create release notes for GOV.UK Frontend v4.0.0.
Why
To tell users about the changes we've made and explain what they may need to do. Changes needed may depend on different scenarios, so we need to make sure users understand when they need to make changes.
Who needs to know about this
Technical Writer, Developers
Done when

[x] Technical Writer and Developers meet to scope work
[x] Technical Writer drafts release notes
[x] Developer reviews and approves release notes
[x] Release notes pass 2i

Draft doc: https://docs.google.com/document/d/1sANEJKi1PQmjwipdxViIz_gx5PJM_rUTfwelfAU8kcc/edit

Release notes for developer review: https://docs.google.com/document/d/1atVBJI2ETBskZay_coZJxEsL1T4BOgoKY9BKszyr4Bo/edit#heading=h.3tiprhyq874l

@vanitabarrett Release notes have passed 2i and I've added the approved contents into the changelog. Let me know what else I can help with!


Hosted Version

having some trouble getting nous set up on my local machine. specifically, getting this error:
For help, see: https://nodejs.org/en/docs/inspector
node:internal/modules/cjs/loader:1148
  throw err;
  ^

Error: Cannot find module 'ts-node/register'
Require stack:
- internal/preload
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at internalRequire (node:internal/modules/cjs/loader:176:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1563:5)
    at loadPreloadModules (node:internal/process/pre_execution:730:5)
    at setupUserModules (node:internal/process/pre_execution:206:5)
    at prepareExecution (node:internal/process/pre_execution:159:5)
    at prepareMainThreadExecution (node:internal/process/pre_execution:54:10)
    at node:internal/main/run_main_module:11:19 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

Node.js v20.14.0

Can anyone help me fix this, or is there a deployed version I can play around with?

I'll put up a public demo soon, there's some updates I need to make first before I can do that.
Has the ts-node module been installed ok? If you don't run the bin/configure script you'll need to run the commands in it.
Are you running it with npm run start:local? Are you able to get it running with the docker compose file?

Odd, can you delete node_modules and npm install again.
Add the project Id (not the name) for GCLOUD_PROJECT
I still need to spend some time setting up a seamless deployment setup with GitHub.  At work I have a hacked up pipeline which deploys from GitLab as thats what we use internally.

https://discord.gg/aG8DtECHcR

A close out note from our Discord discussion. The final fix was to use the npm run start:local script and not node dist/index.js to run it, as it need to be run with the ts-node plugin so it loads the import mappings via the tsconfig-paths module


help me in improving accuracy

I followed your ideas to train a model. After training when I test with my own data my predictions are not upto the mark.
Please share me your accuracy level.
print('Test accuracy:', 100*score[1])

You are asking this for which source file? Would you mention the file name directly?

facial-expression-recognition.py
dont mind for not mentioning the file name.

I've got the following metrics
Test loss: 2.279457058505316
Test accuracy: 57.42546670713874
BTW, you can directly use the pre-trained weights stored in the path: https://github.com/serengil/tensorflow-101/tree/master/model . Set fit variable false in the main program and put all those files in same directory.

Actually, you should re-design the model (add new convolution, pooling layers). But it requires test and test again. Also, you should train with gpu because it lasts very long.
BTW, kaggle competition winner model got %34 accuracy. Here, we've already imporved that accuracy (%57). I mentioned it in related blog post: https://sefiks.com/2018/01/01/facial-expression-recognition-with-keras/

Nice job.
Thanking you for quick clarification on related work.
Please can close the issue.

Hi,
Interestingly working on your code for sentimental analysis.
In your emotion-analysis-from-video.py project, when I pass the image
frames within a tensorflow session, model.predict() is not returning any
values. Its constant for all emotions 14.2, 14.3, etc something in that.
I am interested in knowing why this weird thing is happening.
I am working on it for it for 2 continuous days.
Thanks,
Balaji B
On Sat, Apr 21, 2018 at 12:11 AM, Sefik Ilkin Serengil <
<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/serengil/tensorflow-101/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/serengil/tensorflow-101/issues/1#event-1586801995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVu9FGD49YAloTlDE6rqFhmtxwGMUOHnks5tqivugaJpZM4TdJ74
.


Optional type inference doesn't work for numbers

For strings infering the type from optional to required using an if works:
local match = ("123 things"):match("^%d+")
if not match then
    return "text doesn't have a number at the beginning"
end

-- no error, match went from string? to string
local num = tonumber(match)

But the same doesn't work for numbers:
local num = tonumber(match)
if not num then
    return "text doesn't have a number"
end

-- error: Type 'number?' could not be converted into 'number'
print(num * 2)

Checking if the num is nil also doesn't work
if num == nil then

Nor does checking it's type
if type(num) ~= "number" then
-- or
if type(num) == "nil" then

This isn't related to numbers vs strings - it's the same issue as https://github.com/Roblox/luau/issues/356 which is on the roadmap to fix. The example with match appears to work because the type of match is initially assigned to string?.


fatal error:: Tor configuration invalid or server down :: dictionary keys changed during iteration

Select your issue type: (check at least one)

[ ] Bug
[x] Question
[x] Suggestion
[x] Other (please describe):

Describe your issue:
i followed all the steps and still i get the same error all time
the tor is still running and even the json file is in default config
your help is appreciated thank you
Ways to Reproduce the issue (optional):

same problem here.

Same trying to get some answers, if you guys find something let me know. thank you

same problem in 2022


Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead.

flutter run
Launching lib/main.dart on Nexus 5 in debug mode...
Initializing gradle...                                0.8s
Resolving dependencies...                             1.2s
Running 'gradlew assembleDebug'...
Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead.
Built build/app/outputs/apk/debug/app-debug.apk (27.2MB).
Installing build/app/outputs/apk/app.apk...           9.1s

Hi,
I'm having the same "warning".. did you solved it ?

go to app level build.gradle file that's inside the android folder , now just use implementation instead of compile , that's it.

Same here, any info welcomed! :)

Same... here...

There's not much to change in fact, juste replace the "compile" in the build.gradle with "implementation"
dependencies {
    compile 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
    compile 'me.dm7.barcodescanner:zxing:1.9.8'
    compile 'com.android.support:design:27.1.1'
}

dependencies {
    implementation 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
    implementation 'me.dm7.barcodescanner:zxing:1.9.8'
    implementation 'com.android.support:design:27.1.1'
}

Ok, thanks @Tr4X, but do we do that directly in our project or maybe something in the repo ? :)

@alternadom indeed it should be done in the repo if you want your plugin to be future-proof, and it looks like the merge cited in #19 is the right way to go ;)

please publish to https://pub.dartlang.org!


Y/n confirmation dialogues shouldn't require pressing enter

Is your feature request related to a problem? Please describe
Generally in shells, answering y/n dialogues require only one key-press. However, in Yazi, we need to press two keys (y/n and then enter).
Will you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
In Yazi, there seems to be only one way to accept keyboard input from the user.  We need another dialogue box for single letter inputs.
Describe alternatives you've considered
No response
Additional context
No response

Hi! You can bind dy ==> remove --force to achieve this (dy means delete and yes).
See the docs here https://yazi-rs.github.io/docs/configuration/keymap#remove

Hi! You can bind dy ==> remove --force to achieve this (dy means delete and yes).
See the docs here https://yazi-rs.github.io/docs/configuration/keymap#remove

I know this is a minor issue, but remove --force is not having confirmation at all. I would like to have a confirmation. It just seems an overkill to require two keypresses for a single letter response.

All inputs require Enter confirmation, but the most dangerous deletion doesn't.
I think this inconsistency might confuse users, and they could easily forget about this behavior since each input looks too similar.

All inputs require Enter confirmation, but the most dangerous deletion doesn't.
I think this inconsistency might confuse users, and they could easily forget about this behavior since each input looks too similar.

A fair point. The current behavior does make sense in that way.
My use case is  cleaning up directories with a large number of not-so-important files. This might involve repeated deletions. Asking confirmation is still important to avoid accidental deletions, but always having to press Enter would be cumbersome.

You can press Space to select multiple files and then delete them all at once.
Alternatively, you can also press v to enter visual mode, batch-select entire sections of files, and delete them all at once.

BTW, I plan to expose the input component as an API. At that time, if you really need it, you can implement it with just a few lines of code. It will be as simple as https://yazi-rs.github.io/docs/tips#smart-enter-enter-for-directory-open-for-file.

BTW, I plan to expose the input component as an API. At that time, if you really need it, you can implement it with just a few lines of code. It will be as simple as https://yazi-rs.github.io/docs/tips#smart-enter-enter-for-directory-open-for-file.

Sounds great, thanks!

BTW, I plan to expose the input component as an API. At that time, if you really need it, you can implement it with just a few lines of code. It will be as simple as https://yazi-rs.github.io/docs/tips#smart-enter-enter-for-directory-open-for-file.

A related question: is there a way to open only the current file even when there is a selection?

Not supported yet, but we can add it, something like open --hovered

Not supported yet, but we can add it, something like open --hovered

Done by https://github.com/sxyazi/yazi/issues/673


How to update sourcemaps?

I'm using watchify with this gulp recipe:  Fast browserify builds with watchify
It works and is rebuilding the bundle on any change. However, the source maps are not being updated with the changes. Does anyone know how to get the sourcemaps updated?
Versions from package.json
"devDependencies": {
    "browserify": "^12.0.1",
    "gulp": "^3.9.0",
    "gulp-eslint": "^1.1.1",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-util": "^3.0.7",
    "lodash.assign": "^3.2.0",
    "vinyl-buffer": "^1.0.0",
    "vinyl-source-stream": "^1.1.0",
    "watchify": "^3.6.1"
  }

But you're getting the first source map? Hmm. That doesn't sound right. Can you provide more info? Preferably a reproducible example?

I managed to fix it by adding in browserSync, and reloading whenever the bundle changes. Not sure if that's the right way to fix the problem, but would have needed browserSync/auto-reload in any case.


removed the word as meeting

as per the user report #5646 .
I removed the following word which  written two times
as meeting

This PR seems to be a duplicate of  #5648 (removed the word as meeting) .
Please consider closing this PR (#5649), since the target text & content is exactly the same.

Resolved in: https://github.com/MicrosoftDocs/windows-itpro-docs/pull/5648


Update CSS

I'm not sure if this is by design or whether I'm not doing something correctly or whether this is a bug:
      <style>
        :host {
          --feedback-height: ${this.expanded ? '70vh' : '60px'};
        }
      </style>

I update expanded to be true or false, but the style doesn't change. In the inspector, the value doesn't change either. This does not only happen with css variables, it also doesn't work with the usual properties (background-color: ${condition}).
I'd appreciate a clarification :)

Are you using ShadyCSS? Style bindings are not supported with ShadyCSS because styles are globalized and you can't have pre-element variations.

Closing as a bit out of scope for lit-html. Whether or not styles can be updated is environment dependant, but lit-html supports it if the environment does.

Is there any way to have a similar syntax to this --feedback-height: ${this.expanded ? '70vh' : '60px'} working with lit-html ?

Set the css property from JS, apply it in CSS, no need to try and make it part of the template:
CSS
:host {
  height: var(--feedback-height);
}

JS
this.style.setProperty('--feedback-height', this.expanded ? '70vh' : '60px')

I was able to achieve this using the [styleMap] (https://lit-html.polymer-project.org/guide/template-reference#stylemap) directive. Thank you for your help.


Notification about too large attachment has clean html in it

I've tried to sent 73mb video to my buddy. After sending entire 73mbs I received notification looking like this:
https://imgur.com/a/TFsRd
I think it should say precisely that attachement was too large and do not allow to upload file instead of sending all of the data then saying it's too big.
I must add that I am using server different that matrix.org, my buddy uses official matrix.org synapse.

At now in version 0.8.12 if I send big file it is show "Connectionreset by peer"


Migrate to ESLint

TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.

This was fixed in #75


Protect main branch

Protect main branch so that any changes should come through a PR - @ishanppendse

Protected main branch. Henceforth any change should come from a PR.


Remote-exec provisioner error

I'm trying to deplpy CloudLabs with terraform in my Azure subscription.
But i keep failing on "remote-exec provisioner error" (see picture)
I can connect to all the VMs created
i would appreciate any help on this issue.

similar error when running the tmp/script from the hackbox.

Hey! Thanks for this report, it looks like Elastic introduced a breaking change by starting to ask for confirmations when running this command: https://github.com/chvancooten/CloudLabsAD/blob/507c4a4a86226460f3f6ab52b36ba6c3dfecd04c/Ansible/roles/elastic_server/tasks/main.yml#L86, triggering this script: https://github.com/chvancooten/CloudLabsAD/blob/507c4a4a86226460f3f6ab52b36ba6c3dfecd04c/Ansible/roles/elastic_server/files/set-password-elastic.sh
Root cause seems to be this command: https://www.elastic.co/guide/en/elasticsearch/reference/master/reset-password.html, which luckily does have a --batch flag.
Could you try modifying the command in the set-password-elastic.sh file to say  /usr/share/elasticsearch/bin/elasticsearch-reset-password -b -u elastic instead, and try again? Let me know if it works or submit a PR and I will integrate it!
(Sorry, would do that myself, but I'm quite busy ATM :) )

I applied and tested the change, unfortunately  it did not work. The issue still remains the same.

Hey, thanks for applying the fix! Looks like this is a new problem as indicated by the error message. It seems like the IP address for Elastic is not properly propagated from Terraform to Ansible this time - this could be because you tried running Ansible separately. This is possible, but in that case you would need to fill the Template files with the IP addresses from your terraform output manually. Alternatively you can re-run the provisioning from start to finish to re-populate the Ansible files for deployment. Let me know if that works!

I tried applying IP addresses manually but got the same error as the first post. i tried running what i assume is the provisioning (ansible-playbook -v cloudlabs.yml) but it ended up with the same issue :/

Could you please provide a bit more information on how you provided the IP address to Ansible? Since the error you get now must be related to faulty config, and not the original issue :)

Original issue has been addressed in https://github.com/chvancooten/CloudLabsAD/commit/9fbe65dd546445323f23288c5e1167db64d7cba2, keeping this open for support on the config issue

Hey, I decided to restart the whole process. these are the errors i have encountered. hopefully this will give some kind of insight.
First error

My fix Added username:

Second error:

My fix:
Replace all {{ ip address }} to ip.

Third error:

This is where I'm stuck :(
sorry for a long post, if we ever meet i'll buy you a beer. :)

Hi @Shoulderboy, thanks for the more detailed information! I think I see what the error is now. The below line:
https://github.com/chvancooten/CloudLabsAD/blob/main/Terraform/08-ansible.tf#L45
references the wrong template (linux.tmpl where it should be elastic.tmpl), looks like a copy-paste error when a fix was made to change the templating system. Could you make this change and see if that fixes your issues and propagates the variables correctly? No other changes should be necessary!


Custom Messages for digits:{length} in dictionary

Versions:

VueJs: #.#.#    xxx
Vee-Validate:  xxx

Description:
i want to Custom Messages for digits:{length} in dictionary , but how can i get the {length} that i input
Steps To Reproduce:
my code like this:
html:

js:
export let veeCustomMessage = {
zh_CN: {
custom: {
validateCode: {
required: '该项为必填',
decimal: length must ${decimal}
}
}
}
}
in my custom messages ,how can i get the number 5  that i input  thanks

html is :

html is :
'''''''
''''''''

Messages can either be strings or functions, functions receive the following:

String fieldName
Array params

The params order is preserved as passed to the rule in the template.
Here is an example:
https://jsfiddle.net/logaretm/sgsg78vf/

thanks much ,it solve my question perfectly


Use of mutation testing in auom - Help needed

Hello there!
My name is Ana. I noted that you use the mutation testing tool mutant in the project.
I am a postdoctoral researcher at the University of Seville (Spain), and my colleagues and I are studying how mutation testing tools are used in practice. With this aim in mind, we have analysed over 3,500 public GitHub repositories using mutation testing tools, including yours! This work has recently been published in a journal paper available at https://link.springer.com/content/pdf/10.1007/s10664-022-10177-8.pdf.
To complete this study, we are asking for your help to understand better how mutation testing is used in practice, please! We would be extremely grateful if you could contribute to this study by answering a brief survey of 21 simple questions (no more than 6 minutes). This is the link to the questionnaire https://forms.gle/FvXNrimWAsJYC1zB9.
Drop me an e-mail if you have any questions or comments (anasan@us.es). Thank you very much in advance!!

Its a bit annoying you emailed AND opened an issue. I've replied to one email.

Sorry for the inconvenience. The issue has been a means of contacting the
project developers to our research study.
El mié, 30 nov 2022 a las 21:11, Markus Schirp @.***>)
escribió:

Its a bit annoying you emailed AND opened an issue. I've replied to one
email.
—
Reply to this email directly, view it on GitHub
https://github.com/mbj/auom/issues/28#issuecomment-1332684296, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIEC75ZRFMEU6QIHOPY2DWK6YGFANCNFSM6AAAAAASPM77VQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


api_debug causes Frozen string error

When we run survey-gizmo-ruby with debug everything crashes with "Can't modify frozen string".
Error comes from https://github.com/jarthod/survey-gizmo-ruby/blob/master/lib/survey_gizmo/logger.rb#L7
It's probably sufficient to remove the hashbang from gsub
What do you think?

Indeed, could you please write a PR to change this to a normal gsub? it's not a good practice to modify arguments anyway.

Indeed, could you please write a PR to change this to a normal gsub? it's not a good practice to modify arguments anyway.


IR inlining and object allocation on stack break string concatenation in loops

Now this is a bug that took some digging. It's a problem with IR, probably specific to function inlining and allocating variables on the stack.
The original symptom I spotted was string concatenation only working on the first iteration of a loop.
Consider this program (tested on Windows and Linux):
actor Main
  new create(env: Env) =>
    var t = "["
    var i: U32 = 1

    while i <= 4 do
      let x: String = i.string()
      t = t + x
      i = i + 1
    end

    t = t + "]"
    env.out.print(t)

This program should build up, and then print, the string "[1234]". However, it actually prints "    4]", those blanks are 0 bytes.
The first time through the loop t is correctly set to "[1".
On subsequent iterations the string concatenation goes wrong. Instead of catting "[1" and "2" it cats "\0\0" and "2", giving "\0\02".
Similarly the next iteration gives "\0\0\03" and the last "\0\0\0\04". The final concat, outside the loop, works correctly giving "\0\0\0\04]".
This bug only occurs when String.add() is inlined, which it normally is. (Adding half a dozen pointless @printf()s to String.add() makes it big enough that it isn't inlined, which makes the bug go away.)
The implementation of String.add is:
fun add(that: String box): String =>
  let len = _size + that._size
  var s = recover String(len) end
  _ptr._copy_to(s._ptr, _size)
  that._ptr._copy_to(s._ptr._offset_tag(_size), that._size + 1)
  s._size = len
  s

Inlining this in the program above gives roughly the following. I've only inlined the cat in the loop not the one afterwards as that not relevant here. (This code can't actually build due to accesses of private members, but it illustrates what the IR does.)
actor Main
  new create(env: Env) =>
    var t = "["
    var i: U32 = 1

    while i <= 4 do
      let x: String = i.string()
      let len = t._size + x._size
      var s = recover String(len) end
      t._ptr._copy_to(s._ptr, t._size)
      x._ptr._copy_to(s._ptr._offset_tag(t._size), x._size + 1)
      s._size = len
      t = s
      i = i + 1
    end

    t = t + "]"
    env.out.print(t)

The bug behaviour described above is caused by the first call to _copy_to(). This is supposed to copy the contents of the first string (t) to the newly declared string (s). This goes wrong because the same pointer is used for both the source and destination for the call to _copy_to().
The reason that happens is that the assignment of the new String to variable s changes t._ptr to also point to the new String contents. This happens because of a combination of 2 things:

The inlining process decides that s and t can be different generations of the same variable (due to SSA).
We allocate s on the stack, meaning it can only have one generation in existence at a time.

Combined these mean that the creation of a new String object in the loop actually just allocates a new ptr buffer and overwrites the fields of the old version. Close examination of the generated IR confirms this is what happens.
This effectively makes the code:
actor Main
  new create(env: Env) =>
    var t = "["
    var i: U32 = 1

    while i <= 4 do
      let x: String = i.string()
      let len = t._size + x._size
	  t._ptr = pony_alloc(len)
	  t._size = len
      t._ptr._copy_to(t._ptr, t._size)
      x._ptr._copy_to(t._ptr._offset_tag(_size), x._size + 1)
      i = i + 1
    end

    t = t + "]"
    env.out.print(t)

Given that the memory returned by pony_alloc() contains all 0s, this clearly gives the observed behaviour.
I don't currently know if it's a bug in our code generation or in LLVM's optimiser. It could be any of:

We are allocating variables on the stack when it isn't safe to.
We aren't telling LLVM that it's not safe to decide s and t are the same variable.
LLVM is messing up inlining.

As an aside: it's taken me ages to dig through the above (with several wrong turns on the way), but it's been a very good learning experience.

Nice catch!
On 02 May 2015, at 00:22, andymcn <notifications<EMAIL_ADDRESS>wrote:
Now this is a bug that took some digging. It's a problem with IR, probably specific to function inlining and allocating variables on the stack.
The original symptom I spotted was string concatenation only working on the first iteration of a loop.
Consider this program (tested on Windows and Linux):
actor Main
new create(env: Env) =>
var t = "["
var i: U32 = 1
while i <= 4 do
  let x: String = i.string()
  t = t + x
  i = i + 1
end

t = t + "]"
env.out.print(t)

This program should build up, and then print, the string "[1234]". However, it actually prints " 4]", those blanks are 0 bytes.
The first time through the loop t is correctly set to "[1".
On subsequent iterations the string concatenation goes wrong. Instead of catting "[1" and "2" it cats "\0\0" and "2", giving "\0\02".
Similarly the next iteration gives "\0\0\03" and the last "\0\0\0\04". The final concat, outside the loop, works correctly giving "\0\0\0\04]".
This bug only occurs when String.add() is inlined, which it normally is. (Adding half a dozen pointless @printfhttps://github.com/printf()s to String.add() makes it big enough that it isn't inlined, which makes the bug go away.)
The implementation of String.add is:
fun add(that: String box): String =>
let len = _size + that._size
var s = recover String(len) end
_ptr._copy_to(s._ptr, _size)
that._ptr._copy_to(s._ptr._offset_tag(_size), that._size + 1)
s._size = len
s
Inlining this in the program above gives roughly the following. I've only inlined the cat in the loop not the one afterwards as that not relevant here. (This code can't actually build due to accesses of private members, but it illustrates what the IR does.)
actor Main
new create(env: Env) =>
var t = "["
var i: U32 = 1
while i <= 4 do
  let x: String = i.string()
  let len = t._size + x._size
  var s = recover String(len) end
  t._ptr._copy_to(s._ptr, t._size)
  x._ptr._copy_to(s._ptr._offset_tag(t._size), x._size + 1)
  s._size = len
  t = s
  i = i + 1
end

t = t + "]"
env.out.print(t)

The bug behaviour described above is caused by the first call to _copy_to(). This is supposed to copy the contents of the first string (t) to the newly declared string (s). This goes wrong because the same pointer is used for both the source and destination for the call to _copy_to().
The reason that happens is that the assignment of the new String to variable s changes t._ptr to also point to the new String contents. This happens because of a combination of 2 things:

The inlining process decides that s and t can be different generations of the same variable (due to SSA).
We allocate s on the stack, meaning it can only have one generation in existence at a time.

Combined these mean that the creation of a new String object in the loop actually just allocates a new ptr buffer and overwrites the fields of the old version. Close examination of the generated IR confirms this is what happens.
This effectively makes the code:
actor Main
new create(env: Env) =>
var t = "["
var i: U32 = 1
while i <= 4 do
  let x: String = i.string()
  let len = t._size + x._size
  t._ptr = pony_alloc(len)
  t._size = len
  t._ptr._copy_to(t._ptr, t._size)
  x._ptr._copy_to(t._ptr._offset_tag(_size), x._size + 1)
  i = i + 1
end

t = t + "]"
env.out.print(t)

Given that the memory returned by pony_alloc() contains all 0s, this clearly gives the observed behaviour.
I don't currently know if it's a bug in our code generation or in LLVM's optimiser. It could be any of:

We are allocating variables on the stack when it isn't safe to.
We aren't telling LLVM that it's not safe to decide s and t are the same variable.
LLVM is messing up inlining.

As an aside: it's taken me ages to dig through the above (with several wrong turns on the way), but it's been a very good learning experience.

Reply to this email directly or view it on GitHubhttps://github.com/CausalityLtd/ponyc/issues/155.

Fixed.


Firefox on Android does not display model

Description
On Firefox for Android, the model is not shown, only the shadow of it (which means the model was loaded). Looks like a shader couldn't compile, lacking ext_shader_texture_lod maybe? No idea

Live Demo
Reproducible on any demo here: https://googlewebcomponents.github.io/model-viewer/examples/
Browser Affected

[ ] Chrome
[ ] Edge
[x] Firefox 63.0.2
[ ] Helios
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

Versions
Tip of tree

Looks like an issue in Firefox where the extension is listed as supported, but fails in runtime. https://bugzilla.mozilla.org/show_bug.cgi?id=1451287

Other related issue of expanding the check for EXT_shader_texture_lod: https://bugzilla.mozilla.org/show_bug.cgi?id=1270435

(Documenting info for upstream bug reports)
Correctly failing in Khronos conformance tests on Firefox/Android Pixel 2: https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance/extensions/ext-shader-texture-lod.html


In ra.chartsjs.js: calculateTotalOnObjectArray is undefined

Version: 0.4.0 release
Line 85:
  let results = calculateTotalOnObjectArray(response.data, seriesColNames);

Console.log output:
Uncaught ReferenceError: calculateTotalOnObjectArray is not defined
    extractDataFromResponse http://localhost/static/slick_reporting/ra.chartsjs.js:85
    createChartObject http://localhost/static/slick_reporting/ra.chartsjs.js:19
    DisplayChart http://localhost/dashboard/sessions/:241
    <anonymous> http://localhost/dashboard/sessions/:232
    jQuery 7
    <anonymous> http://localhost/dashboard/sessions:235

The result is that there is no graph rendered at all.

Hello @squio
Thank you for your report !
Both this issue and #10 have been addressed in the branch develop in case you wanty to give it a test out and provide any feedback which is very appreciated.
Release will be sometime tomorrow morning nothing new comes up

Many thanks for the fixes (this and #10), they work great in the new release 0.4.1.
And the time picker is working - I was gonna report that next but you were ahead of me ;-)


Administrative rights are not required to run regedit

The line "You must have administrative credentials to run regedit" is not correct. Large parts of the registry can be viewed by non-administrative accounts. On my work laptop I do not have administrative rights and I can read the "...NET Framework Setup\NDP\v4\Full" subkey as described on this page.

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

ID: 2115da38-e95e-46fc-1e2d-da88ef92c6cf
Version Independent ID: a3790e8a-0654-851b-c991-ab7382025406
Content: How to: Determine which .NET Framework versions are installed
Content Source: docs/framework/migration-guide/how-to-determine-which-versions-are-installed.md
Product: dotnet-framework
Technology: dotnet-appcompat
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thank you for opening this issue. I'll add it to the backlog. You can always submit the fix yourself by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!


[Dub Link Shortener] Improvements to 'Search Links' and 'Shorten Links' commands

Description

Search Links: Improved the UX, added metadata and a workspace selection accessory
Shorten Links: Added form options for workspace, tags, domain and improved UX
Replaced project slug with workspaceId as slug is deprecated now
Used React hooks from @raycast/utils and upgraded dependencies

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

closes https://github.com/raycast/extensions/issues/12991

@quuu can you please take a look when you find some time ☺

Hey @pernielsentikaer , I have not been getting traction from @quuu on this. Can you please take a look when you have some time? 🙏

Ack, am away for travels until the next week -- can review then otherwise, @pernielsentikaer  or @steven-tey

Hi 👋
@quuu we can wait until next week for sure 🙂

Thanks for the ack @quuu and I agree lets make progress on this next week.

Hey @quuu added the todo(s) if you want to review!

Awaiting approval from @quuu


[Bug]: Chroma is running in http-only client mode

What happened?
I have pip install chromadb and chromadb-client, but when I run the tutorials code. It faces errors.
import chromadb
chroma_client = chromadb.Client()
Versions
chromadb                  0.5.0
chromadb-client           0.4.25.dev0
OS versions  14.4
python 3.12.2
Relevant log output
Traceback (most recent call last):
  File "/Users/ruidan/code /chromadb/1.py", line 2, in <module>
    chroma_client = chromadb.Client()
                    ^^^^^^^^^^^^^^^^^
  File "/Users/ruidan/miniconda3/lib/python3.12/site-packages/chromadb/__init__.py", line 274, in Client
    return ClientCreator(tenant=tenant, database=database, settings=settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ruidan/miniconda3/lib/python3.12/site-packages/chromadb/api/client.py", line 139, in __init__
    super().__init__(settings=settings)
  File "/Users/ruidan/miniconda3/lib/python3.12/site-packages/chromadb/api/client.py", line 43, in __init__
    SharedSystemClient._create_system_if_not_exists(self._identifier, settings)
  File "/Users/ruidan/miniconda3/lib/python3.12/site-packages/chromadb/api/client.py", line 50, in _create_system_if_not_exists
    new_system = System(settings)
                 ^^^^^^^^^^^^^^^^
  File "/Users/ruidan/miniconda3/lib/python3.12/site-packages/chromadb/config.py", line 330, in __init__
    raise RuntimeError(
RuntimeError: Chroma is running in http-only client mode, and can only be run with 'chromadb.api.fastapi.FastAPI' as the chroma_api_impl.             see https://docs.trychroma.com/usage-guide?lang=py#using-the-python-http-only-client for more information.

I fix it by uninstalling and reinstalling conda install conda-forge::chromadb
It doesn't work by using pip install chromadb
It is the conflicting between miniconda env and pip env.

@dandan950, chromadb (core package) and chromadb-client are incompatible as they occupy the same namespace chromadb. If I had to guess, your chroma-client package took precedence and overrode chromadb core package.

It did work after I remove chromadb client.
So the real reasons is the imcompatible between chromadb and chromadbclient.:)

@dandan950, can I close this issue?


Configure GPIOs pins as GPIO explicitly

Some GPIOs (GPIO32 and GPIO33) need to be explicitly configured as gpios, as we don't know which pin are the users going to choose I think a good solution is to configure all the GPIOs.
Fixes part of #183, another PR will create the predefined display configuration for TTGO Camera Plus board.

I've added astyle configuration file and script on #187

Great! I think we can merge it and run the formatted as you suggested.

Thanks!


Fix flaky tests in IndexLabelTest due to non deterministic JSON key ordering

Motivation
IndexLabelTest has the following tests that are flaky, detected using the NonDex tool:
org.apache.hugegraph.unit.IndexLabelTest#testIndexLabel
org.apache.hugegraph.unit.IndexLabelTest#testIndexLabelV49
org.apache.hugegraph.unit.IndexLabelTest#testIndexLabelV56
The tests fail due to non-deterministic ordering of the properties in the JSON string created by the JsonUtil.toJson() method.
Command to reproduce
mvn -pl hugegraph-client edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=org.apache.hugegraph.unit.IndexLabelTest
Log
[ERROR]   IndexLabelTest.testIndexLabel:47 expected:<...ame":"personByAge","[id":0,"check_exist":true,"user_data":{},"base_type":"VERTEX_LABEL","base_value":"person","index_type":"SECONDARY","fields":["age"],"rebuild":true]}> but was:<...ame":"personByAge","[check_exist":true,"user_data":{},"id":0,"fields":["age"],"base_value":"person","rebuild":true,"index_type":"SECONDARY","base_type":"VERTEX_LABEL"]}>

[ERROR]   IndexLabelTest.testIndexLabelV49:66 expected:<{"id":0,"[name":"personByAge","check_exist":true],"base_type":"VERTEX...> but was:<{"id":0,"[check_exist":true,"name":"personByAge"],"base_type":"VERTEX...>

[ERROR]   IndexLabelTest.testIndexLabelV56:88 expected:<{"[id":0,"name":"personByAge","check_exist":true,"user_data":{},"base_type":"VERTEX_LABEL","base_value":"person","index_type":"SECONDARY]","fields":["age"]}> but was:<{"[name":"personByAge","id":0,"check_exist":true,"user_data":{},"index_type":"SECONDARY","base_type":"VERTEX_LABEL","base_value":"person]","fields":["age"]}>

Changes
Using the jackson ObjectMapper, comparing the JSONNodes instead of raw json strings would make the test deterministic, as the order of the properties will not be compared.

thanks，we will take a look for it soon
and what's the influence in production env？

A flaky test would have no direct impact on production environment, but the tests themselves may fail if moved/run in different java environments due to assumptions made about the determinism of the Java APIs. In this case the order of the elements of the json returned by JsonUtil.toJson() is assumed to be same as the predefined order defined in the expected string json.
The Nondex tool helps in identifying such assumptions by exploring different behaviors of non-deterministic Java APIs and reports the flaky tests.
Fixing the flaky tests would make the behavior of the tests consistent across java environments.


Parsing of user and password failing

Hi, I'm trying to set this up to work with Snowflake, but struggling to get the credentials passed to the profiles.yml file.
I've set up the profile with _user_ and _password_ , and created env vars in the workflow file, which map back to my stored secrets.
docs:
 account: <my_account>
 database: <my_db>
 user: _user_
 password: _password_
 role: <my_role>
 schema: dev
 threads: 2
 type: snowflake
 warehouse: <my_compute>

But this fails to authenticate. If I hard-code the credentials in the profiles file, it works fine. If I hard-code the environment variables (rather than grabbing from secrets) it fails . But if I print the env_vars to console, they're there - so I think it's failing to map the environment variables to _user_ and _password_ .
Have I misunderstood how to configure this, or is this a bug?
My workflow step looks like this...
      - name: Generate DBT Docs
        uses: mwhitaker/dbt-action@master
        with:
          dbt_command: "dbt docs generate --profiles-dir ../docs_hosting/"
          dbt_project_folder: "dbt/dbtlearn"
        env:
          DBT_USER: ${{ secrets.SF_USER }}
          DBT_PASSWORD: ${{ secrets.SF_PWD }}

I suspect that it has something to do with your folder structure and that the code can't find your profile.yml file to do the user/password substitution. Can you send me (either here or by email) an outline of your folder structure, ie where the profile.yml and dbt models are.

I'm fairly confident it's reading the profiles file OK, as the error message that comes off notes the Snowflake server I'm connecting to (which must be coming from the profiles file), and if I hard-code the values in the profiles file, it finds them & connects OK.
Database Error
  250001 (08001): Failed to connect to DB: <my_account>.snowflakecomputing.com:443. Incorrect username or password was specified.

folder structure per below...
- /dbt
 - /dbtlearn
  - /models
  - /seeds
  - dbt_project.yml
  - packages.yml
 - /docs_hosting
  - profiles.yml
  - staticwebapp.config.json
- /.github
 - /workflows
  - workflow.yml

I see. Yeah, this action does assume that profiles.yml is at the root of your dbt project, so in dbt/dbtlearn. In that case you'd just use
with:
   dbt_command: "dbt docs generate"
   dbt_project_folder: "dbt/dbtlearn"

If it's important to keep profiles.yml in a different folder that's possible of course. I have a test here in the profdir branch:
- name: Generate DBT Docs
  uses: mwhitaker/dbt-action@profdir
  with:
     dbt_command: "dbt docs generate"
     dbt_project_folder: "dbt/dbtlearn"
     dbt_profile_folder: "../docs_hosting"
  env:
     DBT_USER: ${{ secrets.SF_USER }}
     DBT_PASSWORD: ${{ secrets.SF_PWD }}

Give that a try and let me if it's important to have going forward.

Yep, that worked perfectly!
For the use case we're trying to achieve this would certainly be helpful. Currently, our users are using the profile in ~./dbt , so adding a profiles file to the root in the repo would break their existing workflows, so we wanted to keep the 'custom' profile separate.
That said, now that I understand why it wasn't working, the alternative approach would be copy the profiles.yml file out from the 'template folder'  into the root of the dbt project before executing the dbt docs command - I did a quick test and that worked as well.

OK great - I think it might be a good idea to have the profiles file in another location. I'll test that a bit more before launching into main. I'll close this for now.
Thanks for writing in!


stm32h7 adc hangs with possible fix: adc clock configured to pll that's not enabled

On the stm32h743zi Nucleo board, I found this line of code hung, I believe in an infinite loop waiting for a ready pin to change:
    let mut adc = Adc::new(p.ADC1, &mut delay);
I believe the stm32h7 uses adc/v4.rs.
Looking at h7 reference manual, adc can use either of two clock sources

adc_ker_ck_input (with CKMODE[1:0]==0) or
adc_sclk  (with CKMODE[1:0] != 0)

A comment in rcc/h.rs at least hinted to me that CKMODE[1:0]==0 is being used:
Line 171             adc_clock_source: AdcClockSource::from_bits(0), // PLL2_P on H7, HCLK on H5
Looking at PLL2, it appears to not be enabled.
impl Default for Config {
    fn default() -> Self {
        Self {
            hsi: Some(HSIPrescaler::DIV1),
            hse: None,
            csi: false,
            hsi48: Some(Default::default()),
            sys: Sysclk::HSI,
            pll1: None,
            pll2: None,
            #[cfg(any(rcc_h5, stm32h7))]
            pll3: None,

So I changed the line to this, presumably picking SYSCLK/2 with CKMODE[1:0]==2
Line 171             adc_clock_source: AdcClockSource::from_bits(2), // sysclk/2 on H7, HCLK on H5
And now the ADC works for me. Or at least it does not hang during my call to new and I get reasonable values from the ADC.
I randomly picked 2 and it worked.  It could mean 64MHz/2=32MHz, which is less than 50MHz, from adc/v4.rs
#[cfg(stm32h7)]
const MAX_ADC_CLK_FREQ: Hertz = Hertz::mhz(50);

I have no idea at all if I did this right or not, and maybe setting up the PLL would be better.
Let me know how I can help make this better.  I could make a PR with the one line change if you like.
Robert

Oops, I just realized that fix breaks the H5, because it probably wants 0 in those bits
Robert

Fixed

Fixed


Check if the lockfile changed

Rather crude, but should work. Untested.

:pushpin: Commit f2ea93a has been approved by metajack

@bors-servo r+

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

:hourglass: Testing commit f2ea93a with merge 0de7e09...

:sunny: Test successful - travis

I don't think this worked...
http://build.servo.org/builders/linux-dev/builds/232/steps/shell_3/logs/stdio


Pass name style policy to kotlin code generator

This fix should make it so that the kotlin code generation respects the nameStyle option when using the gradle plugin.
Fixes #537

Codecov Report

Merging #538 (f480f1a) into master (7ee0951) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #538   +/-   ##
=========================================
  Coverage     59.43%   59.43%
  Complexity      883      883
=========================================
  Files            70       70
  Lines          7071     7071
  Branches       1036     1036
=========================================
  Hits           4203     4203
  Misses         2563     2563
  Partials        305      305

Files Changed
Coverage Δ

...hrifty/gradle/GenerateThriftSourcesWorkAction.java
0.00% <0.00%> (ø)

Thanks very much for the contribution!


Basic trait method implementations

Problem
Given all the middleware traits (there's a lot), this is a list of the types of them that we need to function for Arbiter.
Tech we already have

[ ] Transaction sending and results.
[ ] Event subscription and watching.

New tech

[ ] Block data.
[ ] Balance information.
[ ] Gas pricing.
[ ] TxPool.

Both of the above are roughly ranked in order of importance to yielding MVP middleware.

Closed by #378


Unable to extract info section - RegexNotFoundError

Please follow the guide below

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

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

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.therealskinnyonfat.com/episodes/episode-1.html', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.10240
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1
[debug] Proxy map: {}
[generic] episode-1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] episode-1: Downloading webpage
[generic] episode-1: Extracting information
[download] Downloading playlist: The Real Skinny on FAT - Worldwide Documentary Premiere
[generic] playlist The Real Skinny on FAT - Worldwide Documentary Premiere: Collected 2 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[vimeo] 273418341: Downloading webpage
[vimeo] 273418341: Extracting information
ERROR: Unable to extract info section (caused by RegexNotFoundError('Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\vimeo.py", line 528, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 972, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract vimeo clip page config; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\vimeo.py", line 546, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 972, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\vimeo.py", line 528, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 972, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract vimeo clip page config; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\vimeo.py", line 546, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 972, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 502, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\vimeo.py", line 560, in _real_extract
youtube_dl.utils.ExtractorError: Unable to extract info section (caused by RegexNotFoundError('Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same problem here
`youtube-dl https://player.vimeo.com/video/280688454 -v
[debug] System config: []
[debug] User config: ['-o', '/home/rollopack/Scrivania/']
[debug] Custom config: []
[debug] Command-line args: ['https://player.vimeo.com/video/280688454', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.18
[debug] Python version 3.6.6 (CPython) - Linux-4.16.0-2-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 4.0-2, ffprobe 4.0-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 280688454: Downloading webpage
[vimeo] 280688454: Extracting information
ERROR: Unable to extract info section (caused by RegexNotFoundError('Unable to extract \x1b[0;34minfo section\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/vimeo.py", line 528, in _real_extract
'vimeo clip page config')
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 880, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract vimeo clip page config; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/vimeo.py", line 546, in _real_extract
flags=re.DOTALL)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 880, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/vimeo.py", line 528, in _real_extract
'vimeo clip page config')
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 880, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract vimeo clip page config; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/vimeo.py", line 546, in _real_extract
flags=re.DOTALL)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 880, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 500, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/vimeo.py", line 560, in _real_extract
cause=e)
youtube_dl.utils.ExtractorError: Unable to extract info section (caused by RegexNotFoundError('Unable to extract \x1b[0;34minfo section\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.`

I ran into the same issue, I pasted mine as well because some of the line numbers are different.
$ youtube-dl --verbose https://player.vimeo.com/video/278398462
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://player.vimeo.com/video/278398462']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.10
[debug] Python version 2.7.15 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.1, ffprobe 4.0.1
[debug] Proxy map: {}
[vimeo] 278398462: Downloading webpage
[vimeo] 278398462: Extracting information
ERROR: Unable to extract info section (caused by RegexNotFoundError(u'Unable to extract \x1b[0;34minfo section\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 546, in _real_extract
    flags=re.DOTALL)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 972, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 560, in _real_extract
    cause=e)
ExtractorError: Unable to extract info section (caused by RegexNotFoundError(u'Unable to extract \x1b[0;34minfo section\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Simple Modifications No Longer Working in 0.90.73

None of the simple modifications that I have setup are working. For example,
From key:  keypad_1     To key:  end
From key:  keypad_2    To key:  down_arrow
. . .
One additional thing that I noticed is that in the Log tab, every second the following entry is added:
[2017-01-08 00:23:24.014] [warning] [grabber] event_manipulator_ is not ready. (virtual_hid_device_client is not ready) Please wait for a while.

I uninstalled and then re-installed version 0.90.73 and the simple modifications are working again.


Question about running on mac.

Description
Does godot-go work with the current version of godot and golang? I was getting an error:  does not have a library for the current platform. Thanks
Details

Go version
go1.10 darwin/amd64

Godot version
3.0.2.stable.official

Godot-Go version/commit hash
1746202a2001f65ff7eb635b8cd7fc2a6ea64ca2

OS
Mac

Hi @tealMage ,
Can you provide some more information about this? When are you getting this error? When you're building your library or when you're trying to run the game with Godot?
If you can post the full log output, it would be helpful.


add swipe controll

rebuild
When you want to prohibit control of swipe,
Added swipe of true or false for Props.
Since default props is set to true, there is no harm to existing users
I made it available only to users who want to use it.

Looks good!


V4 dev backports

I need to fix Netlify, it seems it fails with Could not find 'bundler' (< 2) - did find: [bundler-2.0.2]


WIP implement pagination in the app

Links are present in the request when done. One of the link is of next page. Take a look

@iamareebjamal thanks just saw that.
I am not able to come up with the logic required for BoundaryCallback
I think pagination should work when BoundaryCallback is written correctly.
(if everything else is correct)

Closing this PR as it is not required at the moment. Will send a new PR if it is needed

Actually I thought since now we are using filter everywhere we were getting all the events. But that is not the case. I will send a PR for this then as soon as I complete it


Could on_press accept an Fn as well as a message instead of a message only

Currently TextInput and slider etc allow an Fn to be run that results in a message. This is useful to filter messages that go back into the update.
Could the same be implemented for button.on_press as well?  It might be useful to moderate the message that button sends depending on context.

Thanks for the suggestion!
Have you tried something like this?
button.on_press(if some_context { Message::A } else { Message::B })

Is there any reason this may not work for your use case? Could you share a bit more about it? Why is a closure necessary?

Hey hecrj, the other reason for having a closure is that non-iced functions can be triggered. For instance I could implement a counter like the below and keep all my state in the counter without having to store anything in the App model. Useful for encapsulation of local self contained state (i.e.  React Hooks)
    fn view(&mut self) -> Element<Message> {

        let (count, count_access) = use_istate(||0);

        Column::new()
            .padding(20)
            .push(
                Button::new(Text::new("Increment"))
                    .on_press_callback(||count_accesss.set(count + 1)),
            )
            .push(Text::new(count.to_string()).size(50))
            .push(
                Button::new(Text::new("Decrement"))
                .on_press_callback(||count_accesss.set(count - 1)),
            )
            .into()
    }

Iced is inspired by Elm and The Elm Architecture.
Basically, state mutations are centralized in update and view is a pure function producing a description of the GUI. The whole runtime is built based on the assumption that your view code is pure. This guarantee this is what will allow us to build a time travelling debugger in the future!
Hooks (or any kind of mutable callback) are based on side-effects in view code, which is directly against the core foundations of the library.
That said, widgets themselves can have local state, and using something like hooks may be an interesting strategy to track internal state. This should be completely hidden from end-users, though.

Hey sure I understand and I actually like the Elm Architecture very much, just find it a little overkill if you have to run everything through it. It's good that you can have internal states on widgets though.

@dmarcuse After #155, it is possible to have non-cloneable messages by separating your UI interactions from your non-cloneable events. I detailed how to do this here: https://github.com/hecrj/iced/pull/155#issuecomment-573523405


Globalize 1.0.0 does not work the the latest es5-shim

When using globalize 1.0.0 with the latest es5-shim it throws throws new TypeError(ERR_ACCESSORS_NOT_SUPPORTED); on line 55 in plural.js.
I first created an issue in the es5-shim repo, see: es-shims/es5-shim#363 for more information.

Note that this means globalize doesn't support IE 8, which has defineProperty but does not support defining properties on non-DOM elements.

This regression has been introduced by 7e1cee3b, which updated make-plural from 2.1.2 to 3.0.0. So, the last Globalize that was compatible with IE8 was 1.0.0-alpha.20.

FWIW, this regression should affect the plural module only.

I plan a patch fix 1.0.1 that will bring back support for IE8. PR #579.

Looks like that PR was merged. Should this issue be closed?

Yeap, thanks

1.0.1 has been released.


Feature request: easy cast

I would like to have a easy cast feature. Just doubleclick right mouse and apply a lure if set doubleclick again to cast bobber or just cast bobber if auto lure is not set

Working on it already :)

perfect ;)

Done!