[BUG] - Creature has wrong sqm alignment on the HUD

Describe the bug
Some creatures like Minotaurs, Amazons and much more have wrong alignment on the HUD, the bot can't find the exaclty position of the corpse to loot it.

Go to amazon's or minotaur's and loot it.
See error

Expected behavior
Loot the corpses correctly.
Screenshots

Desktop (please complete the following information):

OS: Windows
Tibia Version 12.64 [latest]

I summoned several creatures to know which ones had this misalignment and there are several.
Next step I will print each creature to get the alignment distance because they have different distances.
 When a finish the calcs, I will update the comment. Watch out @mathiconical!
The numbers after the monster name means the x, y of misalignment from the perfect SQM!
 Still needing improves when creature is on the edges because windowCoordinate of the creature still in the wrong place. Going to fix it ASAP.

@lucasmonstro Working correctly now.

@mathiconical everything working like a charm! Thanks for your report.


Error loading runelite, Even though I am sure it is the latest version.

When starting  RuneLite, I get the following error msg: "Runelite has not yet been updated to work with the latest game update, it will work with reduced functionality untill then." But I have downloaded the latest version of RuneLite (<IP_ADDRESS>). Also, on my laptop everything works fine. I have tried to re-install but this doesn't solve the problem. Launcher version is 2.1.3.

Try deleting ~/.runelite/cache. It may have incorrect permissions. Otherwise make sure you installed from https://runelite.net/ and not some phishing site.

Deleting the cache solved the problem for me. Thx =)


Change the duration displays to better format

Currently, there are two methods (a short format and a long format) in ApplicationHelper that render durations. I'd like to switch to just using one format, "hh:mm".
E.g. If you've worked on something for one and a half hours: "01:30"

Hey, I'd like to work on this, but i'm not sure i've understood the issue. Reading through the code i found two functions which render durations. To only take one format, wouldn't removing one of the functions be  enough?

@IamAdiSri Hi there! :wave: I'm glad to hear that you're interested in working on this issue.
 It would be necessary to remove one of the methods (let's say long_duration_display), and replace all uses of that method with the other method (duration_display).
Also, the current duration_display method returns a string that looks like "1h30m" to indicate a duration of 1 hour and 30 minutes. I'd like to have that method return "01:30" instead of "1h30m".

@J3RN I don't quite understand your app well enough to run it locally, so I'd be grateful for feedback from some interactive testing on your part. I think this should do what you need though.

@yock Thanks for your PR! I'll review those changes over there.
Did you run into errors following the instructions in the README?

@J3RN Truth be told, I just don't have Postgres running on my machine at the moment.

@J3RN  I just wanted to mention that I did claim the issue first. I can hardly say anything now that yock has made a PR but the project maintainers should make sure that in the future, priority is given to contributors in the order in which they claim the issue.
@yock Please ask if somebody is already working on an issue before making a PR or beginning work on it yourself.


Error while updating property "d" of a view managed by RNSVGPath: null for input string h

svg file: https://gofile.io/?c=xir00F
generated React Component using svgr online:
import React from 'react'
import Svg, { Defs, Rect, Path } from 'react-native-svg'
/* SVGR has dropped some elements not supported by react-native-svg: style, title */

const SvgComponent = props => (
  <Svg id="prefix__Layer_1" data-name="Layer 1" viewBox="0 0 50 50" {...props}>
    <Defs></Defs>
    <Rect width={50} height={50} rx={2.17} ry={2.17} />
    <Path
      className="prefix__cls-1"
      d="M19.79 25.42H10.4v8.71h10.46v2.62H7.28V12.6h13v2.61H10.4v7.63h9.39zM24.91 36.75V12.6h3.4l7.74 12.21a69.38 69.38 0 014.34 7.85h.07c-.29-3.23-.36-6.17-.36-9.93V12.6H43v24.15h-3.12l-7.66-12.26a74.82 74.82 0 01-4.52-8.06h-.1c.18 3 .25 5.94.25 10v10.32z"
    />
  </Svg>
)

export default SvgComponent

Hi, this is a problem with svgo. Try this
https://github.com/smooth-code/svgr/issues/329#issuecomment-522604257

Hi, this is a problem with svgo. Try this
#329 (comment)

I don't understand this:  Just disable noSpaceAfterFlags in convertPathData plugin.
I am not using convertPathData plugin!

@ghasemikasra39 It's default in svgo. Put this in .svgorc
plugins:
  - convertPathData:
      noSpaceAfterFlags: false

i am using svgr to transform svg files for react-native and haven't use svgo, but get this error recently, what do you think it's cause?

@tolooaak svgo is builtin in svgr.


Remove python 2-isms

As of bfcbe1228fe2d369cae2b09357499c7f6f5fce0e the support for Python 2
has been removed.
This commit removes python and pip calls, and instead replaces them
with python3 and pip3, as these are the python 3 versions of those
calls

Correct me if I'm wrong, but my understanding is that as python2 goes away completely, we're python and pip will point to python3 and pip3 already and that if anything, we'd remove direct references to 3.


Hddm

Changes proposed in this pull request:

Add two drift detectors: HDDM_A and HDDM_W.
Add corresponding test files.

Checklist

[X] Code complies with PEP-8 and is consistent with the framework.
[X] Code is properly documented.
[X] Tests are included for new functionality or updated accordingly.
[x] Travis CI build passes with no errors.
[x] Test Coverage is maintained (threshold is -0.2%).
[x] Files changed (update, add, delete) are in the PR's scope (no extra files are included).

The idea of HDDM_A and HDDM_W is based on the paper : "Online and non-parametric drift detection methods based on Hoeffding’s bounds". Implementation based on MOA.

Thanks for your comments @jacobmontiel
I have made changes as you requested.
In my first PR, I have added corresponding test files and its results seems good.
If you need further evidence, maybe I can do some comparative tests between this python code and MOA later.

Thanks for the changes @jiahy0825
I have some comments, which can be divided into three parts:

There are some minor items still unresolved from the review regarding some methods where the documentation states that they return self, however, this is not the case.

Regarding the comparison with MOA, I did a quick test using the synthetic data in your tests:

MOA
scikit-multiflow

HDDM_A
1054
1052

HDDM_W
1020
1018

As you can see, a single drift is detected as expected and the instance ids are close and consistent delta=2
I did another test with more (abrupt) drifts using the following:
np.random.seed(1)
mu, sigma = 0, 0.1  # mean and standard deviation
d_1 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.25, 0.1  # mean and standard deviation
d_2 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.5, 0.1  # mean and standard deviation
d_3 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.75, 0.1  # mean and standard deviation
d_4 = np.random.normal(mu, sigma, 500) > 0
data_stream = np.concatenate((d_1.astype(int), d_2.astype(int), d_3.astype(int), d_4.astype(int)))

With the following results from MOA:

MOA
scikit-multiflow

HDDM_A
518,  1551
?

HDDM_W
520, 1237, 1527
?

Please use the above information to compare it with your implementation.

Finally, although coverage from your tests is very good., there are some lines of unreached code  (see here) which can be easily covered.

The easiest ones to reach are in the reset method of HDDM_A. Please add it to your test.
For the rest, maybe using a more complex stream can help. [Optional]

Note: You need to sync your PR with the master since some CI tests are failing due to changes in our dependencies. You will need the fix from the master in order for the unrelated CI tests to pass.
Let me know if I can be of help.

Thanks for your comments, and that helps me a lot. @jacobmontiel
I have made some changes according to your comments:

The documentation states that they return self:

I have changed the documentation and delete inappropriate comments (such as comments below). Compared to add return at the end of the method, I think this change can make code more concise.
    Returns
    -------
    HDDM_W
    self

Tests between MOA and this python code.
First of all, I tested my implementation based on the drifts you suggested. But the result is not very well, my implementation can only find one drift at 515.
I conducted an analysis of the result:
mu, sigma = 0.5, 0.1  # mean and standard deviation
d_3 = np.random.normal(mu, sigma, 500) > 0

According to your drifts:
For example, mean and standard deviation of d_3 is 0.5 and 0.1. It means that most data in d_3 is around 0.5, after compare d_3's data with 0, almost all data in d_3 changed to 1(True) . d_4 is the same as d_3. This phenomenon causes almost no conceptual drift in d_3 and d_4 (even in d_2). So I think my result of only detected one drift is reasonable.
In order to do tests with more abrupt drifts, I used the following code, and did some tests between MOA and my implementation.
mu, sigma = 0.0, 0.1  # mean and standard deviation
d_1 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.25, 0.1  # mean and standard deviation
d_2 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.0, 0.1  # mean and standard deviation
d_3 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.25, 0.1  # mean and standard deviation
d_4 = np.random.normal(mu, sigma, 500) > 0
data_stream = np.concatenate((d_1.astype(int), d_2.astype(int), d_3.astype(int), d_4.astype(int)))

Besides, I am curious about the problem of delta=2  between MOA and my code, I think The source of the problem is random  generators between Java and Python. So I generate drift stream first and write the stream to the file. Then MOA and scikit-multiflow read the same stream file and begin their test. (The data file is uploaded as an attachment)
In the end, the results between MOA and scikit-multiflow are the same, which means delta=0
Single drift:
drift_stream_single.txt

MOA
scikit-multiflow

HDDM_A
1052
1018

HDDM_W
1052
1018

Abrupt drift:
drift_stream_abrupt.txt

MOA
scikit-multiflow

HDDM_A
515, 1514
515, 1514

HDDM_W
518, 1513
518, 1513

I add reset to my test file and hope it helps.

If you have questions, please let me know. :slightly_smiling_face:

After I push my new test code, I got The Travis CI build failed. (Python 3.7.4 on Windows failed)
But I only changed the test file, there is no reason to report an error.
I'm not very familiar with this problem, maybe I do something wrong when I sync my PR with the master? Can you help me or give me some suggestion?
Thanks a lot.

Thanks for the changes and the tests @jiahy0825.
I have marked as resolved the remaining items from the review.
The last results are very helpful to validate your implementation, great work. Regarding the test stream with multiple drifts, it is strange because I also saved it into a file so both implementations would observe the same data. Perhaps I did something wrong. Do you have any comment on this aspect?

Thanks for your comments @jacobmontiel .
Regarding your question, I have the following comments:

Check the parameters and code that generated the data stream.
For example, whether the mean and variance of the four streams d_1, d_2, d_3, and d_4 are correct. And whether the data is compared to 0 at the end.
Check the generated result, the generated data file should only contain 0 (False, data is negative) or 1 (True, data is positive).
I use python to generate the data and write to a file, maybe java's implementation is a little different.
Keep the MOA version up to date (although not necessarily useful).

The code that generates the data is as follows:
# Data
np.random.seed(1)
mu, sigma = 0.0, 0.1  # mean and standard deviation
d_1 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.25, 0.1  # mean and standard deviation
d_2 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.5, 0.1  # mean and standard deviation
d_3 = np.random.normal(mu, sigma, 500) > 0
mu, sigma = 0.75, 0.1  # mean and standard deviation
d_4 = np.random.normal(mu, sigma, 500) > 0
data_stream = np.concatenate((d_1.astype(int), d_2.astype(int), d_3.astype(int), d_4.astype(int)))

# open file
fd = open('data_stream.txt', 'w')
# write data
for data in data_stream:
    fd.write(str(data) + "\n")
fd.close()

The corresponding data file is generated in this way:
data_stream.txt
By analyzing this data file, we can know that 1495 of the last 1500 data(d_2, d_3 and d_4) are 1, so intuitively, there should be only one concept drift, and it occurs between d_1 and d_2.
If you still have questions, maybe you can send the code and data files here and let us check together.

Thanks for the detailed information @jiahy0825.
Looking into the steps you listed we are on the same page on the Python side. Perhaps the difference came when setting the test in MOA. I converted the data to an arff file and loaded it into MOA, perhaps there is an easier way. Comments?
Looking into the data, I agree that your test setup is clearer by repeating only two concepts.

Thanks for your comments @jacobmontiel.
I agree with you that perhaps the difference came when setting the test in MOA. I used a more direct approach.
Read the txt file directly, and then call the java class HDDM_A_TEST. The following is my code：
public class HDDM_A_TEST_STREAM {
    public static void main(String[] args) {
        HDDM_A_Test hddm_a = new HDDM_A_Test();
        String str;
        ArrayList<Integer> arr = new ArrayList<Integer>();
        try {
            BufferedReader in = new BufferedReader(new FileReader("filepath\\data_stream.txt"));
            while ((str = in.readLine()) != null){
                arr.add(Integer.parseInt(str));
            }
        }catch (IOException e){
            System.out.println(e.getMessage());
        }
        for (int i = 0;i < arr.size();i++){
            hddm_a.input(arr.get(i));
            if (hddm_a.isChangeDetected) {
                System.out.println("change detected:" + i);
            }
        }
    }
}

I'm not very familiar with java, Hope it helps.
If there are any other questions, please feel free to point out.

Thanks for the information, it helps a lot. Everything seems right. I will merge the PR now.
Thanks again @jiahy0825 for the hard work, your understanding and patience through the PR review.


Blog Of Mathematical Operations

The feature isn't related to a problem but people may seek to know more about math's operators like division by zero and multiplication tables addition tricks or Vedic maths.
I want we should add a link of blog section about different mathematical operations so that people can refer to it like how to add, how to multiply, how to subtract, and how to divide and exception cases of division by 0!,We can give pictures of how to add and some interesting facts about math!We can even extend this site to have more mathematical expression like powers, fractions, logarithm etc.
We can either give the solution of the problems which a student did wrong!

Sorry, @swastika2108 we don't think we will ever add a blogging section to the website. It's a website for kids to practice/play with simple math problems like Addition/Subtraction. We don't think we need this feat.


Current prezto incompatible with new zsh v5.4.1 (macOS)

Description
after updating zsh to v5.4.1 via homebrew, the cat command incl. GNU-cat (maybe other unrelated commands too) displays strange behavior; the last line of a cat stdout is omitted; if the catted file contains only one line, it looks in the Terminal as if the file is empty (no stdout); if the catted file contains at least two lines, the final line is "swallowed" (missing), independent of file size (line count). After switching to the system default zsh at /bin/zsh, everything is fine again; after completely removing prezto and resetting zsh to a blank zshrc, everything is fine with v5.4.1. Then, after reinstalling prezto (fresh without any customization), the problem appears again.
Expected behavior
no missing last lines in stdout, e.g. with cat
Actual behavior
see above: description
Steps to Reproduce

update zsh to 5.4.1; witness buggy behavior
completely delete prezto to see default behavior
install fresh prezto to see the buggy behavior again

Versions

Prezto commit: current
ZSH version: 5.4.1
OS information: 10.11.6

Have you tried switching prompts?

Yes, switching to default zsh (as I wrote above), but also changing the shell temporarily with bash. No problems in both cases, only with zprezto in combination with newest zsh 5.4.1. Switch to Apple's Terminal app using zsh, same thing.

Edit: I believe you meant something else, but yes, I've also switched prezto prompts, sorin, agnoster. Same same.

This is how it looks: simple cat vs. cat into variable + echo

This is really strange... I'm also running homebrew zsh (5.4.1) and I'm not seeing this issue.
What is the output of which cat and what modules do you have enabled?

which cat is /bin/cat … I also have GNU-cat in /usr/local/bin, but gcat also produces this bug.
I haven't enabled any modules; except for switching to the paradox prompt, this is a fresh prezto installation without any modifications. (Deleted the original .zprezto directory, and all the .z* symlinks at ..)

This is the preztorc output:
cat ~/.zprezto/runcoms/zpreztorc | grep -v "^#" | grep -v "^$"
zstyle ':prezto:*:*' color 'yes'
zstyle ':prezto:load' pmodule \
  'environment' \
  'terminal' \
  'editor' \
  'history' \
  'directory' \
  'spectrum' \
  'utility' \
  'completion' \
  'prompt'
zstyle ':prezto:module:editor' key-bindings 'emacs'
zstyle ':prezto:module:prompt' theme 'paradox'

This looks like it's a bug with handling files with no newline at the end of them (I tested a file with a newline and a file without and only the latter caused this issue). I'm guessing it's a zsh regression, but it's hard to tell without looking into it more (I'll try to do that later today).
This is even easier to reproduce with this command: echo -n hello world

These are the differences: https://fossies.org/diffs/zsh/5.4_vs_5.4.1/
in C programs > Src/utils.c: https://fossies.org/diffs/zsh/5.4_vs_5.4.1/Src/utils.c-diff.html

https://github.com/zsh-users/zsh/commit/43e55a9bcd2c90124a751f2597d2f33cb6e3c042#diff-bb10d67e7a8561b66a53a805f3c77a40R233
They started resetting the prompt_sp option on calls to the prompt function which is a bug on our end. We just need to specify sp in all of the prompt_opts arrays. Fix incoming soon.

I'll be working on patches for external prompts as well as most of those appear to run into this as well. However, it has been fixed for all prompts which we have the code for in prezto.

It works.

Thanks for reporting! Glad it was an easy fix. :)

Was a pleasure. :)


ZIP-209: Prohibit Negative Shielded Chain Value Pool Balances - Implementation

Is your feature request related to a problem? Please describe.
ZIP-209 defines how the consensus rules are altered such that blocks that produce negative shielded chain value pool balances are prohibited.
Describe the solution you'd like
We should implement ZIP-209 in Zebra, for the Sprout, Sapling, and Orchard pools.
There is also a consensus rule that the transparent pool balance can't be negative - we should implement it at the same time.

I explicitly listed all 3 shielded value pools in this ticket, and added the transparent pool consensus rule as well.
(We might as well implement all 4 at the same time, the data structures and code are very similar.)

This implementation will be done following the specs at https://github.com/ZcashFoundation/zebra/pull/2430

Are #2599 and #2610 the last 2 outstanding PRs before we can close this one or is there something else to be done?

This is the last PR we have to close this issue when merged: https://github.com/ZcashFoundation/zebra/pull/2652


Attempt remove the delete keyword

Resolves https://github.com/nodegit/nodegit/issues/533

Do we know why this is failing?

It was failing because normalizeOptions doesn't know to exclude remote_callbacks, I could have hardcoded it there, but I preferred to just take a shallow clone of the passed in options object as to not mutate the one passed.


[BUG] Chain not included for specific instance..

I have one specific instance of an implementation that will not add the chain certificates to the PFX such that they can be exported.  Noticed in v 1.3.1 and repeated on v 1.5.0.  This issue is only occurring on a single client at the moment.
In our implementation, after we export the PFX file we make three calls to openssl in order to extract the client cert, the chain cert, and the key.  The key and client cert are created properly, but the chain is not.   We then import these three files into our server app (FileMaker Server).
To date this has only happened on 1 out of about 130 instances.   I can deliver the entire State folder if it would be helpful for inspection.

I think it would be helpful to get the associated order (-Verbose will probably tell the filename).
Also the PEM file from your ACME server and the File containing the servicedirectory (part of state). Make sure to not include AccountKey and CertificateKey. Write me an email, if you don't want to expose it here.
Also setting $VerbosePreference = 'Continue' might print out the while script, so we can see everything that happens along the way.


Support specifying iteration number of checkpoints for decoding.

Assume you have the following checkpoints:

checkpoint-100.pt, checkpoint-500.pt, checkpoint-1000.pt
epoch-0.pt, epoch-1.pt, epoch-2.pt, epoch-3.pt

If you want to use checkpoint-1000.pt and checkpoint-500.pt for decoding, you can use
--iter 1000 --avg 2

If you want to use epoch-3.pt, epoch-2.pt, and epoch-1.pt for decoding, you can use
--epoch 3 --avg 3

LGTM, thanks!


Error when using from ES module

In a ESM only project, is not possible to import "@radix-ui/themes":
(node:94507) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
esm-project/node_modules/@radix-ui/themes/dist/esm/index.js:1
export { Theme, useThemeContext, updateThemeAppearanceClass } from './theme';
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1177:20)
    at Module._compile (node:internal/modules/cjs/loader:1221:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1115:32)
    at Module._load (node:internal/modules/cjs/loader:962:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
    at async DefaultModuleLoader.import (node:internal/modules/esm/loader:246:24)

Node.js v20.3.1

import { Theme } from "@radix-ui/themes";
         ^^^^^
SyntaxError: Named export 'Theme' not found. The requested module '@radix-ui/themes' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@radix-ui/themes';
const { Theme } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:188:5)
    at async DefaultModuleLoader.import (node:internal/modules/esm/loader:246:24)
    at async loadESM (node:internal/process/esm_loader:40:7)
    at async handleMainPromise (node:internal/modules/run_main:66:12)

Node.js v20.3.1

https://github.com/radix-ui/themes/issues/51 might be related to this as well, given that some Remix templates use ESM by default.

Add this to your remix.config.js: serverDependenciesToBundle: ["@radix-ui/themes"] and it should work.

@anges244 I am not using Remix in this case, is just a simple an ESM native project.

#13 is related as well. Looks like an issue with ESM exports.

I encountered this issue in vite. What resolved the issue for me was adding radix to the noExternal config:
	ssr: {
		noExternal: ["@radix-ui/themes"],
	},

I can't remember where but one of the docs mentioned to check this website to see if the issue is with the package and at least according to it it is.

I encountered this issue in vite. What resolved the issue for me was adding radix to the noExternal config:
  ssr: {
    noExternal: ["@radix-ui/themes"],
  },

I can't remember where but one of the docs mentioned to check this website to see if the issue is with the package and at least according to it it is.

Remix is adding Vite support and the current non-production version has this issue and recommendation and noExternal fix works for it https://remix.run/docs/en/dev/future/vite#esm--cjs

This will be fixed in the upcoming 3.0.0 version.
We released "@radix-ui/themes": "3.0.0-rc.1" which should work in ESM projects if you need an early version now. Please refer to the changelog for other changes in this release.

This will be fixed in the upcoming 3.0.0 version.
We released "@radix-ui/themes": "3.0.0-rc.2" which should work in ESM projects if you need an early version now. Please refer to the changelog for other changes in this release.

thank you! Just tried rc2 and it works with my setup!
cc @itsMapleLeaf


machine resource fails if audit failures occur

================================================================================
Error executing action `converge` on resource 'machine_batch[default]'
================================================================================

RuntimeError
------------
Error: command 'chef-client -l info' exited with code 1.

This is due to:
 Chef Client finished, 20/24 resources updated in 39.348871933 seconds
   2/4 controls succeeded

We shouldn't fail on audit failures.
This is using:
chef-provisioning (1.2.0)
chef-provisioning-aws (1.2.1)
Chef Development Kit Version: 0.7.0.rc.0
chef-client version: 12.4.1
berks version: 3.2.4
kitchen version: 1.4.1
Provisioning to AWS.  Chef-Server 12 (also running in AWS)

I don't see a huge difference between the converge failing and the audit failing, do you? In both cases, the server wasn't configured according to your wishes, and that seems like a good reason to fail. Unless I'm missing something about what audit mode means--I thought it was a set of tests you could do to verify that your server is in fact set up the way you want it.

Closing this and moving the comments to #393


"InvalidURL URL can't contain control characters."

So my setup with this script was working fine until recently the drive where I was saving the Stories failed and I had to move the folders over to a different one (along with the script itself and the login cookies, of course). Now I'm seeing this error over and over for any username I input:
----------------------------------------------------------------------
 [E] (1) Download failed: InvalidURL URL can't contain control characters. '/api/v1/users/************\r/usernameinfo/' (found at least '\r').
 [W] Trying again in 5 seconds.
----------------------------------------------------------------------
[E] (2) Download failed: InvalidURL URL can't contain control characters. '/api/v1/users/************\r/usernameinfo/' (found at least '\r').
[W] Trying again in 5 seconds.
----------------------------------------------------------------------
[E] (3) Download failed: InvalidURL URL can't contain control characters. '/api/v1/users/************\r/usernameinfo/' (found at least '\r').

[W] Trying again in 5 seconds.
----------------------------------------------------------------------
[E] Retry failed three times, skipping user.

I redownloaded the script and checked my text file with the list of usernames in case either file was corrupted after the drive failed, but the problem persists. So is this a problem on my end, or was the drive failure just a coincidence and it's actually that IG changed something on their end?

I tested with Python 3.7.5 and on multiple machines (windows and debian), I can download stories just fine. I recommend reinstalling Python and the dependencies this script uses and see how that goes but in any case I can't reproduce the issue.

It's working again after setting python3.7 as the default using update--alternatives, installing python3-pip and then installing the API and running the script with said version. For some reason python2 doesn't seem to do the job anymore? I may have just broken it on my end, if it's working fine for other people.
Thanks for your help.


Vickel: Watch markntel[\W_]*+advisors(?!.com(?<=marknteladvisors.com))

Vickel requests the watch of the watch_keyword markntel[\W_]*+advisors(?!\.com(?<=marknteladvisors\.com)). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

markntel[\W_]*+advisors(?!\.com(?<=marknteladvisors\.com)) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


IlmBase math tests fail

Hi, everyone.
I'm trying to build OpenEXR 2.2.1 with ICC/ICPC 18.0.1, on a system with two Xeon E5-2699 CPUs, running CentOS 7.4, and am having trouble with ImathTest.
The relevant env vars are (at least I think those are the relevant ones):

CC=icc
CXX=icpc
CFLAGS="-g -fPIC -xHost -O2 -std=c11"
CXXFLAGS="-g -fPIC -xHost -O2 -std=c++14"

The build commands are:

./bootstrap
./configure --prefix=/usr/local
make -j
make -j check
make install

Here's a list of the failed assertions, and what I did to fix them:

testInvert.cpp:65: void ::invertM44f(const Imath_2_2::Matrix44 &, float): Assertion `ident1.equalWithAbsError (identity44f, e)' failed.

Changed lines 119-121 and 149-151 to pass 1e-6 as their last parameter instead of 0

testBoxAlgo.cpp:908: void ::boxMatrixTransform(): Assertion `b51 == b5' failed.

Commented-out line 908 (because I didn't see an "approximately equals" function for Box types)

testTinySVD.cpp:110: void verifyTinySVD_3x3(const Imath_2_2::Matrix33 &) [with T = float]: Assertion `std::abs (product[i][j] - A[i][j]) <= valueEps' failed.

Changed 'valueEps' to '(2 * valueEps)'
Do these solutions seem reasonable? Does anybody know what's causing the problems in the first place?

Looking into the OpenEXR backlog.
We definitely don't want to change the comparison threshold. Something else is going on. Are you still getting these errors? Any more information you can provide?

Closing the issue for now, feel free to re-open or file a new issue if you need further help.


[WIP / Draft - Do Not Merge] - Additional cleanup after libgemma refactor https://github.com/google/gemma.cpp/pull/82

Will retarget this PR to dev once the examples branch PR merges to dev. https://github.com/google/gemma.cpp/pull/82 already was already large enough, these changes are left as a follow-up for now.

Move command line argument definitions out of the gemma.h interface (to app.h)

TODO:

Refresh (+ test) SP and highway dependencies with updated commit hashes
(maybe?) make a custom args.h for hello_world (shouldn't need --model 2b-it argument since IT is assumed)
(maybe?) local cmake build option for gemma.cpp by pointing tokenizer and highway dependencies to a submodule
(maybe?) small model demo in examples/ as a template for defining other models.

You are using my code without my consent

My license with google I have lost it due to your theft

Please be specific if you're raising an issue with the PR code.

Now this is facts theft is theft ask permission at least I was working on another project with my api

I see a screenshot that appears to have nothing to do with this Gemma.cpp repository. Further such comments will be reported and deleted.

I HAVE MANY MORE THE NAME WAS NOT GEMMA APP IT WAS GEMINI EVERYONE PU;;ED IT SO FAST IT WAS SHOCKING THET TOLD ME THEE USING IT FOR EDUCARTIONAL USAGE ITS MY API I PAY NOT U IF ANYTHIMG TRANSPIRES AS ITS FROM GOOGLE WHERE SHE USED BOTS AND SSH TO PULL IT OUT OF MT MASTER IF U LOO U WILL SEE ANOTHER SPAKING ABOUT IT BEING PULLED FROM MY MASTER FILE

these are my google projects i am new i sent the screen shots to whom i am suppose to on github the screen shots where also deleted herewith she or he hacked my google console i will re send

These are use as training models for my company so it does have something to do with gemma.cpp and now gemma2

You can report it I have premium Microsoft endorsed GitHub thanks


Reduce indexmap version requirement to 1.6.2

Ok, this is a very niche problem, but important in my particular case, and I think the change shouldn't have any impact to anyone else. I'm just submitting a PR with no prior discussion since it's just a one-line change, but I'm happy to discuss further if you have concerns.
Problem
My project depends on both deno_core and sqlx, and Deno requires =1.6.2 of indexmap to work around some circular dependency problem in dependencies.
With the recent addition of indexmap = "1.7.0" to sqlx, I can no longer include both crates at the same time since Cargo refuses to resolve two different versions of a crate if those versions are semver-major-compatible.
I initially intended to just stay on 0.5.7 for a while, but I also just started using a PgListener in my project, so the recent panic fix (https://github.com/launchbadge/sqlx/commit/135d16a34f2a05b075a7939d129d9076f4356c06) is important to me as well.
Solution
This PR reduces the required version of indexmap to 1.6.2 so that Cargo will allow both deno_core and sqlx to coexist.  The changes between 1.6.2 and 1.7.0 are minor, and anyone without my unusual version requirements should get the latest 1.x version anyway, so this shouldn't actually affect anyone else. Any thoughts?

Thank you! I have this exact same issue.


Neovim support

Related #130

Dang, you beat me to it :D

Oh, I'm sorry!
This achievement would not have been possible without your support.
And I don't know Neovim-specific rules yet, so I always welcome your help.
Thank you very much!

This feature shipped with https://github.com/Kuniwak/vint/releases/tag/v0.3.6.
Thank you, @RianFuro ! :rose:

Looks like this doesn't cover the non-recursive version of tmap as I'm seeing errors for the following:
" Terminal
tnoremap <ESC><ESC> <C-\><C-n>
tnoremap <D-l> clear<CR>

tmap <C-h> <ESC><ESC><C-h>
tmap <C-j> <ESC><ESC><C-j>
tmap <C-k> <ESC><ESC><C-k>
tmap <C-l> <ESC><ESC><C-l>

Should I open a PR to add tmap support as well?

@jrolfs ouch, good catch. No idea how i missed that :/
Basically, we'd need to fix that in vimlparser (https://github.com/ynkdir/vim-vimlparser), but ynkdir seems inactive for almost a year now, so I don't know how much good it'd do us.
@Kuniwak maybe we should opt to resolve it in your local copy instead?

Seems fairly easy to miss as there's quite a few examples (as well as a plugin or two) around for improving Neovim's default and none of them use tmap.
The <ESC><ESC> part of my example is a little contrived, however it's really nice to let <C-l> etc. expand to the standard pane navigation I have defined (i.e: <C-l> → <C-w><C-l>).

@Kuniwak I'll hopefully have time for a PR so let me know what you decide regarding @RianFuro's comment.


Upgrade chromedriver

Bara att mergea för den som godkänner (givet att alla tester fått ✅ )

yes, the automated PR didn't want to work.. and this was what npm audit said one should do.

yes, the automated PR didn't want to work.. and this was what npm audit said one should do.


Meteor showers in space

Add a meteor entity and create periodic meteor showers in space.  Meteors should be able to break some kinds of nodes, and should respect protector nodes and technic force fields.

Im interested in deep regions of space where the danger is as good as the reward for being there.
If we place the meteors we should improve the loot in those regions of space a bit.


run adata.uns['SPECTRA_overlap'].index, and there are some factors without name?

Hi, everyone!
As I follow the tutorial of spectra to fit model without cell type annotations after 10000 epochs, and run adata.uns['SPECTRA_overlap'].index, I got some factor without name as follow. I want to know why? Thanks!

And there are also some duplicate factor names, like the factor 81 and factor 87 are both pentose-phosphate-pathway, but the umap plot looks quite different.


Make a query interface with drop downs

Enable a user to use drop downs to query the database.
Similar to exomast:
https://catalogs.mast.stsci.edu/eaot

Doesn't have to be fully featured, but should output the SQL query so they can modify it.

Something akin to Hubble

Another implementation: https://www.astropix.org/advanced_search


Add $CORES as a system-wide environment variable

The goal here is running docker exec <OPTIONS> <CONTAINER ID> <CMD> should always have the environment variable $CORES defined.

Take a look at this ( http://bencane.com/2013/09/16/understanding-a-little-more-about-etcprofile-and-etcbashrc/ ).


Only info

Do you know this lib? https://github.com/Clans/FloatingActionButton
It's not maintained anymore - but maybe there are features you could use.

Please list the features you'd like to see, and I'll try to do so. (Except custom animations)

Is this possible?

Option to dim the FABsMenu background -> https://github.com/Clans/FloatingActionButton/raw/master/screenshots/menu_default_opened.png
Option to add/remove button to the FABsMenu programmatically

@Rainer-Lang
Both things are already available:

Use the fabs_menu_overlayColor attribute for FABsMenuLayout. The color is completely customizable.

Check the app sample code. I add and remove buttons programmatically there.

Nothing for now. Thanks for your time. :heart_eyes:
I close this issue tomorrow when I'm back at the pc.


Test this!

Test issue to see if everything is working properly.

Very funny joke indeed :joy:


Landingpage: Margin problem appearing again on Production landing (iphone6splus)

on my iphone 6splus, I'm getting wacky center column margins. not a high priority right now, but flagging.

Should be fixed by 6f00938

This is fixed on my localhost, possible that issue is connected to how Sass is getting compiled a la #9 , as the fixes are dependent on media queries.

please make sure to check in on this when you review the site


Support TypeScript

🚀 Feature Proposal
Ref:
When I use i18next react, it supports TypeScript. Could this vue version also add TypeScript support for the $t interface?
https://react.i18next.com/latest/typescript
Motivation
Add translation key validation/auto-completion support during dev.
Example
//similar usage as react version.
const { t } = useTranslation('settings')//namespace support, load namespace if it's not loaded
t('TranslationKey')//can be validated by TypeScript

The type definitions used by react-i18next are quite lengthy and complex, and that's not something I'd like to duplicate and maintain separately for i18next-vue.
There seem to be efforts of extracting the types to the core library, see https://github.com/i18next/i18next/issues/1504.
When that works out, I think using (and possibly slightly augmenting) the types sounds like a good idea.

@pedrodurek interesting... also others are looking for it 😉

It looks like the linked issue has been merged; is this something that could be re-evaluated at this point?

I look into this in the near future and see how to integrate the types best.
We'll probably not publish a new version with this right away, but wait a bit for the "dust to settle". As @adrai's linked ticket shows, there are still quite some type-related changes and fixes going on in i18next itself.

We plan to include this in i18next-vue v3. In fact, you can try it in the alpha version already: https://github.com/i18next/i18next-vue/releases/tag/v3.0.0-alpha.0
The syntax is like in your example
const { t } = useTranslation('settings');

This should work as good as the types for i18next.getFixedT().
See https://github.com/i18next/i18next-vue/issues/16 for other changes planned for version 3.

As outlined above, this is implemented in v3.


Expand clickable area in blueprints list

It seems that the area indicated in red can't be clicked. However, it has a hover effect which indicated that it's clickable.
I found this confusing when I was quickly clicking through the items — sometimes my click wouldn't register.

I suspect that the area covered by the 2px expansion is not actually clickable. This control will need a complete rewrite I believe:

it needs the proper triangle (#2738)
it needs suppression of the expansion effect on the triangle
it needs better control the highlight area (which is negatively affected by suppressing the expansion, and is hard to work around)

Fixed by https://github.com/rerun-io/rerun/pull/3118


Warn if a PR changes submodules

See https://github.com/rust-lang/rust/issues/12463

@nick29581 I believe this bug could be closed as it was fixed in #28


Giving error when install latest version through pod

Hello
i am getting complier error when run the project. i did install the latest version of it.
Error :
"Generic type 'DataResponse' specialised with too few type parameters (got 1, but expected 2)"
here i attach screenshot for more reference.

Any update on this

No, Still i am waiting for someone give me solution.

Hi @codal-jayeshk ,
I had the same issue after updating of pods in the project. In my case, AlamofireObjectMapper version was downgraded from 6.0.2 to 6.0.0 automatically. And this caused errors. So I fixed it via manual version setting.
  pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire', :branch => '5.0.0-rc.3'
pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper', :branch => 'master'

This is not the best solution, but still, fixed the issue for me ;)

.responseObject(completionHandler: { (response: DataResponse<Type, AFError>) in
Should work.


dart2js: 10x worse performance in lzma than DDC

Dart version: Dart VM version: 2.3.0 (Fri May 3 10:32:31 2019 +0200) on "windows_x64"
Chrome version: 74.0.3729.131 (Official Build) (64-bit) (cohort: Stable)
Firefox version: 66.0.3 (64-bit)

main.dart:
import 'dart:html';
import 'package:lzma/lzma.dart';
void main() async {
  await Future.delayed(Duration(seconds: 1));
  var t0 = DateTime.now();
  for (int i = 0; i < 10; i++) {
    lzma.encode((("ASDF$i" * 10).codeUnits));
  }
  var t1 = DateTime.now();
  document.body.text = "dt: ${t1.millisecondsSinceEpoch - t0.millisecondsSinceEpoch}";
}

Benchmark results:
webdev serve
Chrome: 3,683ms
Firefox: 10,969ms
webdev serve --release
Chrome: 43,095ms
Firefox: 11,536ms

CC @rakudrama @sigmundch

Could you provide what the results look like if you add -O3 or -O4 as a flag to the dart2js compiler?
By default to comply with the Dart2 semantics we add many extra checks that today we don't optimize away (yet). The checks can be expensive, so until we add the extra optimizations we added the -O3 and -O4 flags to remove the extra checks entirely. Many customers use these flags when deploying logic that is performance sensitive, and we basically recommend doing so under the assumption that the code was tested with the checks extensively.

shouldn't webdev --release use -03 or -04 by default?
I always thought it was the default behavior.

webdev didn't appear to be passing -O3 or -O4 by default:
[INFO] build_web_compilers:entrypoint on web/main.dart: Running dart2js with --minify --packages=.package-eb69edfde2318f0ace563aeb9e18ce74 -oweb/main.dart.js web/main.dart
Adding
targets:
  $default:
    builders:
      build_web_compilers|entrypoint:
        options:
          compiler: dart2js
          dart2js_args:
            - -O4

To my build.yaml passes -O4 as expected
(Chrome)
-O4: 1,936ms
-O3: 2,115ms
-O2: 46,172ms
Problem appears to be solved

shouldn't webdev --release use -03 or -04 by default?

We don't do that today since they are technically not safe for all programs. In practice I have never seen issues though so we might consider changing it.

Can close! @vsmenon – we may want to talk about giving better guidance here...
Even a note from build_web_compilers?

@kevmoo @vsmenon Even with -O2 should Dart2JS be 10x slower than DDC?
It is probably worth keeping this open so @rakudrama or others can investigate what code path makes an optimizing compiler 10x slower than a dev one?

@matanlurey ack – will let @rakudrama et el handle

We can take a closer look, but I wouldn't be surprised if the problem is basically that a couple methods that are hot have extra unnecessary type checks that one day we'll be able to optimize away.
In terms of the default, it's a good question. The -O3 flag and up make assumptions that your program has no errors thrown at runtime (exceptions can be thrown, but errors not). To ensure that the optimizations work properly, we expect that users only enable it if their code was well tested.
If we default to -O3, I'm worried that users will not be as aware of this assumption. @vsmenon proposed a middle-ground: could be to surface to the webdev tool an additional flag to make this more explicit? @jakemac53 what do you think? Say webdev --release --O3?

I guess that webdev --release should assume that the code is well tested.
So maybe there should be an option like "webdev --homolog" that do what webdev --release does today.
Maybe a new flag for --03 like webdev --production.

We only have 2 flavors of build today dev and release. Adding a third flavor would be quite invasive and we'd have to rethink the flags.
We could plausibly give a UX like webdev build --O3 with https://github.com/dart-lang/build/issues/1544
The downside there is we currently only support overwriting dart2js_flags, not appending or replacing.
So in addition to configuration set aliases I believe we need to add specific --O level flag support to build_web_compilers:entrypoint and handle smartly merging with dart2js_flags.

I would be more interested in knowing what customers want -O2 by default. I can't think of any.

@rakudrama @sigmundch @kevmoo
We should probably break this out into two issues:

Type checks in dart2js are slow.  (I think @rakudrama 's type rep work may address some of this?)
Make > -O3 / unsafe optimizations more discoverable (or possibly default) in webdev and other tools.

Sounds good to track pieces separately.

Type checks in dart2js are slow.

Besides the new RTI (see #36085) we also need to add entrypoint specialization that allows us to elide checks when we can statically tell that they are not needed (see #34003).

Make > -O3 / unsafe optimizations more discoverable (or possibly default) in webdev and other tools.

Filed https://github.com/dart-lang/build/issues/2279 to track this.
@matanlurey - let us know if the 3 issues above are tracking everything we need to track, if so, we can close this current issue.

Closed in favor of above issues.


@conda-forge-admin, please add bot automerge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/opendp-smartnoise-core-feedstock#4.


[Fix] jsx-indent-props: Reset line.isUsingOperator correctly after ternary (#3146)

Closes #3146
When having a JSX element after a ternary and there are not only spaces before the opening bracket (e.g. due to a return keyword) line.isUsingOperator is not reset correctly and the rule enforces a higher indent.
Example:
export const LintExample2 = () => {
  const foo = true
    ?
test

    : false;

  return

    test

;
};

Codecov Report

Merging #3157 (3db5285) into master (d56fdb8) will decrease coverage by 3.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3157      +/-   ##
==========================================
- Coverage   97.51%   94.42%   -3.09%
==========================================
  Files         119      119
  Lines        8130     8130
  Branches     2895     2895
==========================================
- Hits         7928     7677     -251
- Misses        202      453     +251

Impacted Files
Coverage Δ

lib/rules/jsx-indent-props.js
100.00% <100.00%> (ø)

lib/util/propTypes.js
68.18% <0.00%> (-29.21%)
:arrow_down:

lib/util/ast.js
75.00% <0.00%> (-21.16%)
:arrow_down:

lib/rules/jsx-no-comment-textnodes.js
88.88% <0.00%> (-11.12%)
:arrow_down:

lib/rules/boolean-prop-naming.js
91.97% <0.00%> (-7.30%)
:arrow_down:

lib/rules/jsx-props-no-multi-spaces.js
94.11% <0.00%> (-5.89%)
:arrow_down:

lib/rules/jsx-no-literals.js
95.65% <0.00%> (-4.35%)
:arrow_down:

lib/rules/no-unused-prop-types.js
90.00% <0.00%> (-4.00%)
:arrow_down:

lib/rules/no-invalid-html-attribute.js
93.07% <0.00%> (-3.08%)
:arrow_down:

lib/rules/no-unused-state.js
94.80% <0.00%> (-3.04%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


Swift Compiler Error (Xcode): Generic parameter 'ElementOfResult' could not be inferred

This package works fine on android but there is an error on IOS platform.
Error;
Swift Compiler Error (Xcode): Generic parameter 'ElementOfResult' could not be inferred
/Users/mus/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/ios/Classes/SwiftMobileScannerPlugin.swift:40:42
Could not build the application for the simulator.
Error launching application on iPhone 8.
This line gives the error:   let barcodesMap = barcodes!.compactMap { barcode in...
Package version: mobile_scanner: ^3.0.0
Flutter version: Flutter 3.7.3

Same here! I came across the same problem....
Swift Compiler Error (Xcode): Generic parameter 'ElementOfResult' could not be inferred
/Users/baimamboukar/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/ios/Classes/SwiftMobileScannerPlugin.swift:40:42

Device: iPhone 8
Flutter version: 3.7

@juliansteenbakker
I followed the configuration steps but still, it failed!

Same here! I came across the same problem....
Swift Compiler Error (Xcode): Generic parameter 'ElementOfResult' could not be inferred /Users/baimamboukar/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/ios/Classes/SwiftMobileScannerPlugin.swift:40:42

Device: iPhone 8
Flutter version: 3.7

You may need to update to the latest version of MacOS, then to the latest version of Xcode.

You may need to update to the latest version of MacOS, then to the latest version of Xcode.

Thank you for your answer. This solved my problem.

You may need to update to the latest version of MacOS, then to the latest version of Xcode.

Thank you for your answer. This solved my problem.

@mustafayilmazdev can you show the output of your flutter doctor please ?

You may need to update to the latest version of MacOS, then to the latest version of Xcode.

Thank you for your answer. This solved my problem.

@mustafayilmazdev can you show the output of your flutter doctor please ?

[✓] Flutter (Channel stable, 3.7.3, on macOS 13.2.1 22D68 darwin-arm64, locale
en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.75.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
• No issues found!
Hope it helps 😄

您可能需要更新到最新版本的 MacOS，然后更新到最新版本的 Xcode。

Upgrading to the latest version of MaxOS and the latest version of Xcode can solve the problem. The key is that my home computer is MacBook Pro (Retina, 15-inch, Mid 2014), and there is no version upgrade.
How can I solve the problem (by adjusting swift code) when I cannot upgrade MacOS?


 It was bad designed, didn't have any tests, and due to non-stable, worse API back then, it had generally bad base.
Now core is much more stable and offers more sane interfaces. Commands now relatively easy to write, and we use optparse (rather than argparse which is really nice however with optparse it's simpler to write wrapper base classes).
Those are basic commands we want to implement:

log - similar to hg log/git log etc.
cat - outputs pygmented file node's content, allow to annotate with line numbers/changeset/date
show - shows information about given object (path/changeset ID or even date)
info - shows information about whole repository (size, branches, tags, number of commits, etc)
blame - should call cat with blame flag already set
diff - shows differences between node or set of nodes (under same directory)

There are other commands we want to introduce once working directory API is finished.
Commands should be implemented as subclasses of base commands.
Moreover we want to allow users to easily define their own vcs configuration (as python module at location defined with
environment variable, defaulting to $HOME/.vcs).
Writing commands should be possible as subclasses or decorated functions.

Basic functionality is done and seems to be working pretty well. We've also removed Python2.7 requirements so it should work for older versions too. Other tasks related with CLI should be done at separate issues.


Added release dates to changelog

Coverage remained the same at 71.493% when pulling 6e01f3acc7f119266113df50ff4313e9625091ba on ablythed:hvplot_changelog_dates into 2b9dfeddb2adbc25a053d4f8765feafc8b0f83b8 on holoviz:master.

This is great thank you! The PR needs to be rebased after the changelog as updated and then I left that comment about the title formatting.

@philippjfr It should be good to go now, I think

Perfect, thank you!


Feature: let users configure events

Codewindow tends to be very slow (at least on my machine) while editing big files (800+ LOC). This is particularly noticeable when typing. I read through the source code, and found that the Codewindow in being update on TextChanged (relevant file: https://github.com/gorbit99/codewindow.nvim/blob/master/lua/codewindow/window.lua#L94)
I would like to be able to customize all (or to the very least, the one I mentioned above) event(s), mainly those that trigger Codewindow's updates. This shouldn't be that hard to implement.
An alternative solution (though not the best option) could be to delete these augroups and define them myself (on my config):
vim.api.nvim_del_augroup_by_name("CodewindowAugroup")
llocal augroup = vim.api.nvim_create_augroup('CodewindowAugroup', {})
-- .. define the autocmds to my liking

Great suggestion. I'll try to work it into the non-wip version in a bit.

Awesome, thanks!


Keeps on showing 'invalid response data' for VS Code theme extension

Are you experiencing an issue with...
My own instance of shields
🐞 Description
I really have no idea why it's happening but this is very strange.
So, I have two themes for VS Code:
https://marketplace.visualstudio.com/items?itemName=SujanShrestha.everest-night-theme
https://marketplace.visualstudio.com/items?itemName=SujanShrestha.chrome-console-dark
The latter one was published just today and the rating and downloads badges for it keep on giving the invalid response data error. What's strange is that, it seems to be working sometimes but not always. I republished the theme like 10 times but nothing happened so I let it like that thinking it must have been some cache related issue and it's still the same.
After an hour, it did show the downloads as 2 and "no ratings" text but now the same errors are back. Another strange thing is, it's showing perfectly fine on its github repo but not on the VS Code Markeplace.
The way the package.json for both of the themes are structured, is exactly the same. Only differences are the names and versions but the badges work fine for the other theme but not for the "Chrome Console Dark" one.
I really have no idea if it's the issue from my side or the shields itself so I opened this issue.
Edit
Screenshots requested
From the marketplace:

From github repo:

All the badges links:

It seems, it has some kind of a problem parsing the JSOn data from the marketplace only, because I have the version linked from github's package.json and it gives no errors.
Edit 2
So now, the overall downloads at the marketplace page shows just 1 while it's showing 4 in the git repo.

So I assume it's either the shields' problem or the marketplace's API?
🔗 Link to the badge
https://img.shields.io/visual-studio-marketplace/d/SujanShrestha.chrome-console-dark?color=%23f19767&style=for-the-badge
https://img.shields.io/visual-studio-marketplace/stars/SujanShrestha.chrome-console-dark?color=%23f19767&style=for-the-badge
💡 Possible Solution
No idea...

Could you please update the issue description with all badge links, and the embedded badges so that they will render inline?
Additionally, since you say the behavior is intermittent, it would be helpful if you could capture a screenshot of the badge for reference. All we can do is speculate until we're able to reproduce the issue, but as to some of the other items:
The "invalid response data" means that the upstream API (the Marketplace in this case) returned an unexpected HTTP response structure that diverges from the typical, expected response. When this happens consistently, it's typically due to the upstream provider changing their API contract (such as removing a field we were using). If it's an intermittent occurrence though then it's possible the upstream API is having some issues and returning some kind of error-ish response.
It's also possible that there's a temporary issue that occurs shortly after publishing an updated version to the marketplace.
Finally, there's all sorts of caching layers between you and us, both more locally on your machine, on the actual rendering platforms (Marketplace vs. github.com vs. etc.), and our CDN. A straightforward way to bust these caching layers is to make a minor tweak to the badge parameters, e.g. change the style, color, label, etc. query params.

Hi, I have updated it as you requested. One more thing that I noticed is that, every time someone downloads my theme and the counter increases, it shows the error for a while before finally updating to the latest count again.

If you are seeing this consistently, would you mind snagging the raw api response the marketplace api is returning from your package when this occurs? It's a bit of a pain to call, but it's a post to https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery/
and headers/body shown below
{
  "headers": {
    "accept": "application/json;api-version=3.0-preview.1",
    "content-type": "application/json"
  },
  "method": "POST",
  "body": "{
    "filters":[{
      "criteria":[
        {
           "filterType":7,
           "value":"yourPublisher.yourPackage"
         }
      ]}
    ],
    "flags":914
    }"
}

Hello, I encountered the same issue, the vs marketplace shows invalid response data.
Here is my request result using curl:
curl https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery/ -H "accept: application/json;api-version=3.0-preview.1" -H "content-type: application/json" -X POST --data "{\"filters\":[{\"criteria\":[{\"filterType\":7,\"value\":\"DiscreteTom.vscode-retsac\"}]}],\"flags\":914}"

{
  "results": [
    {
      "extensions": [
        {
          "publisher": {
            "publisherId": "05313ab7-1b2c-497f-a960-b9f8d7906a28",
            "publisherName": "DiscreteTom",
            "displayName": "DiscreteTom",
            "flags": "verified",
            "domain": null,
            "isDomainVerified": false
          },
          "extensionId": "a0feddb5-fde4-431d-aae5-6e672bc0418b",
          "extensionName": "vscode-retsac",
          "displayName": "vscode-retsac",
          "flags": "validated, public",
          "lastUpdated": "2023-03-11T09:45:29.403Z",
          "publishedDate": "2023-03-11T09:41:15.91Z",
          "releaseDate": "2023-03-11T09:41:15.91Z",
          "shortDescription": "VSCode extension for retsac.",
          "versions": [
            {
              "version": "0.1.0",
              "flags": "validated",
              "lastUpdated": "2023-03-11T09:45:29.403Z",
              "files": [
                {
                  "assetType": "Microsoft.VisualStudio.Code.Manifest",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Code.Manifest"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.Content.Changelog",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.Content.Changelog"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.Content.Details",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.Content.Details"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.Content.License",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.Content.License"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.VsixManifest",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.VsixManifest"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.VSIXPackage",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.VSIXPackage"
                },
                {
                  "assetType": "Microsoft.VisualStudio.Services.VsixSignature",
                  "source": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832/Microsoft.VisualStudio.Services.VsixSignature"
                }
              ],
              "properties": [
                {
                  "key": "Microsoft.VisualStudio.Services.Links.Getstarted",
                  "value": "https://github.com/DiscreteTom/vscode-retsac.git"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.Links.Support",
                  "value": "https://github.com/DiscreteTom/vscode-retsac/issues"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.Links.Learn",
                  "value": "https://github.com/DiscreteTom/vscode-retsac#readme"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.Links.Source",
                  "value": "https://github.com/DiscreteTom/vscode-retsac.git"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.Links.GitHub",
                  "value": "https://github.com/DiscreteTom/vscode-retsac.git"
                },
                {
                  "key": "Microsoft.VisualStudio.Code.Engine",
                  "value": "^1.76.0"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown",
                  "value": "true"
                },
                {
                  "key": "Microsoft.VisualStudio.Code.ExtensionDependencies",
                  "value": ""
                },
                {
                  "key": "Microsoft.VisualStudio.Code.ExtensionPack",
                  "value": ""
                },
                {
                  "key": "Microsoft.VisualStudio.Code.LocalizedLanguages",
                  "value": ""
                },
                {
                  "key": "Microsoft.VisualStudio.Code.ExtensionKind",
                  "value": "ui,workspace,web"
                },
                {
                  "key": "Microsoft.VisualStudio.Services.Content.Pricing",
                  "value": "Free"
                }
              ],
              "assetUri": "https://discretetom.gallerycdn.vsassets.io/extensions/discretetom/vscode-retsac/0.1.0/1678527680832",
              "fallbackAssetUri": "https://discretetom.gallery.vsassets.io/_apis/public/gallery/publisher/DiscreteTom/extension/vscode-retsac/0.1.0/assetbyname"
            }
          ],
          "deploymentType": 0
        }
      ],
      "pagingToken": null,
      "resultMetadata": [
        {
          "metadataType": "ResultCount",
          "metadataItems": [{ "name": "TotalCount", "count": 1 }]
        }
      ]
    }
  ]
}

As the result, I noticed there is no statistics in the result, so the issue maybe cause by here.

Interesting.
I think the situation you're seeing (completely missing statistics array) is another related but slightly different bug.
For your plugin, all the badges are affected, so
https://img.shields.io/visual-studio-marketplace/v/DiscreteTom.vscode-retsac
https://img.shields.io/visual-studio-marketplace/last-updated/DiscreteTom.vscode-retsac
https://img.shields.io/visual-studio-marketplace/d/DiscreteTom.vscode-retsac
all throw the same error.
For the issue in the top post, only the downloads badge was affected.
In any case, I've submitted a PR at https://github.com/badges/shields/pull/8985 to handle the case where statistics[] is completely missing from the response.


[#157462870] mock timers in controller tests

Warnings

:warning:

Please include a description of your PR changes.

:warning:

Could not get info from npm on @types/lolex

Affected stories

🐞 #157462870: Fix i test che dipendono da Date.now() falliscono su CircleCi

New dependencies added: @types/lolex and lolex.
lolex
Author: Christian Johansen
Description: Fake JavaScript timers
Homepage: http://github.com/sinonjs/lolex

Createdover 3 years agoLast Updated1 day agoLicenseBSD-3-ClauseMaintainers4Releases24Direct Dependencies

This README is too long to show.

  Generated by :no_entry_sign: dangerJS


Notes filter doesn't find note with text in a link

Example note
[Pairs](/fixtures)

Should be possible to show fixtures on the date with this note with the query string ?notes=pairs

The filter below should work, but clearly isn't
https://github.com/laingsimon/courage_scores/blob/9676cb39161fb3cb9c53687f479d70addb02d921/CourageScores/ClientApp/src/helpers/filters.ts#L138


Explicitly check licenses in CI

Convenience improvement to avoid having to run the license check on every make unit-test by moving that to an explicit CI check. Note the unit tests still build the licenses CSV file, which will only happen on changes, to ensure we do not forget to keep that CSV up to date.
All Submissions:

[X] Have you signed our CLA?

@josvazg Would it be better to run this only once during the release process? And not on every make unit-test run

Wait, something is wrong. make unit-test is now always running the CSV, even if code has not changed. This is not expected.

Fixed, now the CSV creation it runs on unit tests ONLY when go.mod changes.
That should be a good and hopefully reasonable balance between ensuring that the CSV gets updated before the PR is submitted and not being too intrusive when running unit tests locally.


SmugMug has disabled sslv3, so smugpy needs to adjust ssl context for TLSv1_2

The generated error:
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>

Experienced by a user of a different smugmug system too: http://dgrin.com/showthread.php?t=258073

Confirmed with SmugMug support:

We did make some changes on our end. SNI TLS is going to be a requirement for SmugMug going forward. We believe that change is the source of the error that you’re seeing. Mmugline/smugpy will have to make sure they make updates on their end to start using SNI in order to fix the issue.
Our API team is always available to help third party developers with their apps and can be reached via<EMAIL_ADDRESS>


docs(syntax): enable lint warnings on missing docs, and add a lot of documentation

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6611  👈
#6610
#6609
#6608
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on  Graphite


[SPARK-36771][PYTHON] Fix pop of Categorical Series

What changes were proposed in this pull request?
Fix pop of Categorical Series to be consistent with the latest pandas (1.3.2) behavior.
Why are the changes needed?
As https://github.com/databricks/koalas/issues/2198, pandas API on Spark behaves differently from pandas on pop of Categorical Series.
Does this PR introduce any user-facing change?
Yes, results of pop of Categorical Series change.
From
>>> psser = ps.Series(["a", "b", "c", "a"], dtype="category")
>>> psser
0    a
1    b
2    c
3    a
dtype: category
Categories (3, object): ['a', 'b', 'c']
>>> psser.pop(0)
0
>>> psser
1    b
2    c
3    a
dtype: category
Categories (3, object): ['a', 'b', 'c']
>>> psser.pop(3)
0
>>> psser
1    b
2    c
dtype: category
Categories (3, object): ['a', 'b', 'c']

To
>>> psser = ps.Series(["a", "b", "c", "a"], dtype="category")
>>> psser
0    a
1    b
2    c
3    a
dtype: category
Categories (3, object): ['a', 'b', 'c']
>>> psser.pop(0)
'a'
>>> psser
1    b
2    c
3    a
dtype: category
Categories (3, object): ['a', 'b', 'c']
>>> psser.pop(3)
'a'
>>> psser
1    b
2    c
dtype: category
Categories (3, object): ['a', 'b', 'c']

How was this patch tested?
Unit tests.

Test build #143458 has started for PR 34052 at commit 71dccda.

Test build #143458 has finished for PR 34052 at commit 71dccda.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143458/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47967/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47969/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47969/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47967/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47967/

Test build #143465 has started for PR 34052 at commit 3e8169f.

Test build #143465 has finished for PR 34052 at commit 3e8169f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47976/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143465/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47976/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47976/

Test build #143480 has started for PR 34052 at commit 1983026.

Test build #143480 has finished for PR 34052 at commit 1983026.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143480/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47991/

Thanks! merging to master/3.2

As this a bug fix, I think we should backport this to branch-3.2. cc @HyukjinKwon
@xinrong-databricks Could you submit a backport PR against branch-3.2?

@ueshin Sounds good!


[Migration] Behavioural Change in SCIM2 Users Endpoint.

Describe the issue:
In the IS-5.11.0, SCIM2 users response does not contain duplicate user entries due to sorting done at the SCIM level. This also causes inconsistencies when listing users as outlined in https://github.com/wso2/product-is/issues/10897.
This has been fixed with https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/pull/323 and a new configuration has been added to toggle this behaviour. Removing duplicate user entries is enabled by default and to switch to the legacy behaviour, the following configuration should be added to the deployment.toml.
[scim2]
remove_duplicate_users_in_users_response = true

Environment information:

Product Version: IS-5.12.0

Related PRs:
https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/pull/323
https://github.com/wso2/carbon-identity-framework/pull/3316

Added to docs with https://github.com/wso2/docs-is/pull/2991, https://github.com/wso2/docs-is/pull/2997


Issue while creating Shared Dashboards in New provider version - 1.18.1

With the new release 1.18.1, we are seeing errors while creating the shared dashboards using terraform. The plan is successful, however the apply fails.
Error details:
Error: status code 204 (expected: [201])
with module.dynatrace_dashboard["platform_kv"].dynatrace_dashboard_sharing.this
on ../modules/configuration/dashboard/dashboard.tf line 51, in resource "dynatrace_dashboard_sharing" "this":
resource "dynatrace_dashboard_sharing" "this" {

We did a Dynatrace export and compared  dynatrace_dashboard_sharing between 1.18.1 and 1.17.0, please find the below details
Version 1.18.1
resource "dynatrace_dashboard_sharing" "ShareSettings_for_dash_1" {
  enabled      = true
  dashboard_id = "${var.dynatrace_json_dashboard.dash_1.id}"
  preset       = false
  permissions {
  }
}

Version 1.17.0
"#" DEFINE dynatrace_dashboard_sharing.dash_1.id = 2845-4b46-42cc-28341
resource "dynatrace_dashboard_sharing" "dash_1" {
  enabled      = true
  dashboard_id = dynatrace_dashboard.dash_1.id
 "#"  preset     = false
  permissions {
    permission {
      type  = "ALL"
      level = "VIEW"
    }

Hello @kvaidy01
You're stumbled across two separate regression bugs here, apologies for that.
Your issues will be addressed with the upcoming release.

Release 1.19.0 takes care of this issue.


La Chute de la Maison Lynch

https://github.com/gravaillon/momgravaillon/files/1225231/houselynchgrav.zip

This is still a zip, not the package and ini file.  They need to be hosted at the same path, so they should be added to a repository.


Have to enable AutoRefresh every time I open a file

There are some files that I always want AutoRefresh to be on for. Can there be a way to automatically enable AutoRefresh for certain files whenever they open?

Implemented in 21f8d3e.

Wow, that was quick work!


Add composer module

Add composer module
Checklist

I applicable, I acknowledge that I have:

[x] Read the contributing guide
[x] Ran terraform fmt on all modified files
[x] Regenerated the relevant README.md files using tools/tfdoc.py
[x] Made sure all relevant tests pass

We don't have a module for composer as it's a single resource. I don't know how I feel about this, WDYT @juliocc @lcaggio @wiktorn ?

I think that this is exactly the reason we have blueprint instead of module.
There is no much abstraction provided for the user, but brings some complexity, which will grow with future versions of the Composer

We don't have a module for composer as it's a single resource. I don't know how I feel about this, WDYT @juliocc @lcaggio @wiktorn ?

I think that this is exactly the reason we have blueprint instead of module.
There is no much abstraction provided for the user, but brings some complexity, which will grow with future versions of the Composer

Agreed, I would close this PR then. :)


Profile.update() broken

Note: I haven't really used github before so let me know if I'm doing something wrong.
Profile.update() is broken due to the 'config' slot not being filled out by the profile.all() method, which causes getattr() in the 'Marshallable' mixin to break. Using git clone of master from [05/27/16] on Ubuntu 16.04 x64.
Sample code:
from pylxd.client import Client

API = Client()

for x in API.profiles.all():
    print(">> Name: " + x.name)
    x.update()

Results:
(env) pjones@ThinkPad:~/Development/Node-Z/src$ python nzhd.py
>> Name: default
>> NAME: _client
>> NAME: config
Traceback (most recent call last):
  File "nzhd.py", line 11, in <module>
    x.update()
  File "/home/pjones/Development/Node-Z/env/lib/python3.5/site-packages/pylxd/profile.py", line 68, in update
    marshalled = self.marshall()
  File "/home/pjones/Development/Node-Z/env/lib/python3.5/site-packages/pylxd/mixin.py", line 37, in marshall
    marshalled[name] = getattr(self, name)
AttributeError: config

Strangely enough I don't seem to have a profile called '_client' or 'config'.
(env) pjones@ThinkPad:~/Development/Node-Z/src$ lxc profile list
default
docker
Jail
nz-01

And when I modify the code to remove the 'x.update()' line, the profile list is accurate:
from pylxd.client import Client

API = Client()

for x in API.profiles.all():
    print(">> Name: " + x.name)

(env) pjones@ThinkPad:~/Development/Node-Z/src$ python nzhd.py
>> Name: default
>> Name: docker
>> Name: Jail
>> Name: nz-01

Ah, I see what's happening here. all doesn't fetch a full profile (or any other object fetched with all), and so you shouldn't really be able to update it without getting the rest of the object. I'll take a whack at this in the morning.

Fixed in #112


Do not create test file in repo root folder

I noticed that line 122 creates a file named production_config.rb in the repo root path when you run rspec spec on my dev machine. I think the line might be a leftover from a previous commit. Am I right?

Whops, missed that one. Thanks! :)


[FLINK-1948] [streaming] Manual task slot sharing settings added for stream operators

This PR introduces 2 new methods for the streaming operators to give control over the slot sharing settings for task slots.
The javadocs for the 2 methods explain the behaviour.
It also contains a method name refactor getVertex -> getStreamNode and some comments for controlling the chaining behaviour.

Looks good.
How about we try to offer a method like startNewChain() as well, so that the pipeline control seems consistent. We then have increasing levels of resource isolation for tasks:

startNewChain()
startNewResourceGroup()
IsolateResource()

when you say startNewResourceGroup() that starts a new chain as well, but I guess we could specify a startNewChain() but then we should probably add a method for isolating a task only as its own chain.

I updated the PR with the changes

LGTM, merging.


Can't we use Visual Studio 2015 or 2017 to write modules in C#

[Enter feedback here]
I saw most of the articles prefers VS code to develop module by installing IoT Edge Module Extension. Can't we achieve the same using Visual Studio 2015 or 17 . If yes then how can we perform the same. Please suggest.

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

ID: 6c7aa1ca-7807-7b0e-6ddb-887106288aa8
Version Independent ID: c20a9ac2-63a3-fe68-ba5b-038af4fe3c90
Content: Develop modules for Azure IoT Edge
Content Source: articles/iot-edge/module-development.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@ampac28 thank you for your feedback.
In accordance with this doc as long as you use the Azure IoT Device SDK  and package your application as a Docker image you can use any IDE you would like.


Image Properties Context menu disappear !

When close Opera and open again, Image Properties disappear.
On ver. 22.0.1471.401 and above

Fixed in 3f1dcfc4c9ea305668f9f96603ef40c33553e71c


Import Packages from password Protected zip.

@Dakkaron  I am trying to use ArchieveImporter to import a package which has further subpackages from a password protected zip but I am unable to handle .pyd files in it, any idea how can we resolve this issue?

From what I can see, .pyd files are Windows specific. Since I am a Linux dev, I haven't tested it with .pyd files, but it shouldn't be that hard.
Do you have a sample file that I can test it with?

@Dakkaron Just to give you some background of what I have done so far:

With the original implementation of ArchieveImporter, we are going into infinite recursion(when init.py  imports package.subpackage) while importing any package from zip. In order to resolve this I placed 'sys.modules[fullname] = newModule' before 'exec(data,  newModule.dict)', it seems to work but I have no idea of it's repercussions.
In order to list .pyd files I added 'modlist += [ x[:-4] for x in namelist if x.endswith(".pyd")]' into getModlist method similarly a line can be added for .so files in case of linux. You can test it with any .so file instead .pyd that you have.

Now the problem I am running is exec() does not like content of .pyd (not sure about .so, I have not tested it). I tried searching importlib module of python to see how Python initializes .pyd file but without luck.
Any guidance at this point will be helpful.


⚠ GLDDNS Server (ns2.glddns.com) has degraded performance

In 5ef8275, GLDDNS Server (ns2.glddns.com) (ns2.glddns.com) experienced degraded performance:

HTTP code: 200
Response time: 433 ms

Resolved: GLDDNS Server (ns2.glddns.com) performance has improved in 6801cc9 after 7 minutes.


Sometimes ternary operator is used instead of || operator in return statements

Sometimes, ... ? true : ... or ... ? false : ... is used in return statements (not sure if anywhere else), instead of using ... || ... or !... && ... respectively.
An example of ? true can be found at CatEntity$TemptGoal#canBeScared and one of ? false can be found at BeeNestDestroyedCriterion$Conditions#test (decompiled with 2fd50ed4458e015d46fb574d0a95499d2dcb3350)

Fixed in #23


[EV-3971] add helm customization reference

Product Version(s):

Issue:

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

LGTM. Is this only for 3.28+?
@ti-afra

Actually, we need to add this to sidebars-calico.js so it actually gets published ...


Better select, map-first design

Add @prestonp's beautiful select.
And a new map-first, mobile-friendly design.
You can see the changes at http://open-austin.github.io/austingreenmap/

:+1:

:deciduous_tree:


Prep for 0.12.2 release

nit: I feel like you don't need to prefix all the changes with Add or Fix when they're part of the Added and Fixed headers. It feels implied to me, but no strong opinions, just making conversation :D

I'm auto generating the changelog from the PR titles so that's what happens. It's easier for me to leave them.


Update schema

Replaced local schema with remote
Updated raw_parser and mite_parser, accept schema <1.1 and convert them to schema >=1.1
started to implement 'cleanup_ids'

@Adafede I have implemented the 'cleanup_id' function but it does not seem to retrieve values correctly - e.g. genpept 'AAM70353.1' should yield uniprot 'Q8KND5' but it returns None (https://www.ebi.ac.uk/ebisearch/search?db=proteinSequences&query=AAM70353.1)


Allow sending messages longer than 4096 chars

This will split message into 4096 char chunks and send one after another.

@laurynas-karvelis Hey! Thanks for this, I think we should move the handling of this case to Message.js and set a custom send method instead of the if statement in Base.js, what do you think?

This is what I've achieved so far, I suppose this makes sense.

Published<EMAIL_ADDRESS>

Hi @mdibaiee, sorry for such a long response :). I'd like to keep contributing once in a while by submitting PRs instead of being repo collaborator. I'm not sure how actively I'll keep on developing with this module, hence won't be able to stay always up-to-date with the codebase etc.
I might come back with additional PR sometime soon-ish regards persisting Markdown/HTML structure once a long message gets split up into multiple 4Kb chunks.

@laurynas-karvelis I understand, I would like to thank you for your contributions anyways. :grin::+1:

Thank You for this great module :)


SocketException on ci.adoptopenjdk.net

Jenkins is currently showing this exception. We have attempted to restart jenkins but that has not yet cleared it.
java.net.SocketException: Permission denied
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:433)
    at sun.nio.ch.Net.bind(Net.java:425)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
    at hudson.TcpSlaveAgentListener.<init>(TcpSlaveAgentListener.java:100)
    at jenkins.model.Jenkins.launchTcpSlaveAgentListener(Jenkins.java:1232)
    at jenkins.model.Jenkins.<init>(Jenkins.java:925)
    at hudson.model.Hudson.<init>(Hudson.java:85)
    at hudson.model.Hudson.<init>(Hudson.java:81)
    at hudson.WebAppMain$3.run(WebAppMain.java:233)
Caused: hudson.util.HudsonFailedToLoad
    at hudson.WebAppMain$3.run(WebAppMain.java:250)

config.xml had <slaveAgentPort>21</slaveAgentPort> which appears to have been causing a problem (potentially only when jenkins was upgraded from 2.107.1 to 2.107.2 earlier today as the slaveAgentPort has been set to 21 since 23rd October 2017. Prior to that it was 49187. We've switched it to zero which is consistent with the JCK jenkins instance which upgraded without problems.


Installation of VS SKU can fail silently

The installation of Build Tools SKU, and presumably Test Agent SKU, can silently fail during a Docker build.  Hopefully, this would get caught in tests but I'm guessing there could be cases where tests don't catch things.  The build should immediately fail if the VS installation fails.
Here's an example Dockerfile that will succeed on a build even though the installation has failed (note the referencing of a non-existent component named Foo):
# escape=`

ARG REPO=mcr.microsoft.com/dotnet/framework/runtime
FROM $REPO:4.8-windowsservercore-ltsc2019
RUN curl -fSLo vs_BuildTools.exe https://download.visualstudio.microsoft.com/download/pr/1d102ee6-9263-4353-8676-6430f0cc5998/c0457643c8a80b008250148151a51cb6cc0aa2ccb57316db496628faa9b9a84f/vs_BuildTools.exe `
    && start /w vs_BuildTools.exe ^ `
        --add Microsoft.VisualStudio.Workload.MSBuildTools ^ `
        --add Microsoft.VisualStudio.Workload.NetCoreBuildTools ^ `
        --add Microsoft.Net.Component.4.8.SDK ^ `
        --add Microsoft.Component.ClickOnce.MSBuild ^ `
        --add Microsoft.VisualStudio.Component.WebDeploy ^ `
        --add Foo ^ `
        --quiet --norestart --nocache --wait

Assigning to @mthalman to investigate how this can be achieved.  Unit tests could be created to validate content but it's desirable to have the Docker build fail up front if there is a failure.


add polygon with offset methods, add drawing polygons as wireframe

add polygon methods with offset (x/y). This allows to reuse existing vertices arrays instead of recalculating them for every draw call.
add polygonWireframe method to draw the outline of a polygon useful for debugging manually created polygons.

Hey thanks for the PR - I've tested it and have a couple of changes locally I'd like to add - what's the best way to do this? I can either push a commit to your fork somehow, or just make the commit in my repo after merging the PR.
Basically just using your added polygon method and calling polygon(vertices, triangles, trianglesCount, 0, 0) instead of duplicating the methods, and renaming and moving the wireframe method around a bit.

I think it's easier if you commit it in your repo after merging the PR, but it doesn't really matter for me.
Is it easy to do a release after that? Then I could go back to using the official dependency instead of a local jar in my project :)

OK no problem - I'll merge it now and then will make another commit and a release when I get a chance.
By the way you can also just install your local working version of shape drawer to your local maven repository - use the install gradle command. You may have to adjust the version / dependency in your libgdx gradle setup, but then it will use the local installed version as the dependency.

@judos v2.6.0 - let me know if there's an issue


Implement significant UI bug fixes

This PR fixes a bunch of visual UI bugs that were mostly present in Monologue even before v2.2.2:

fix RailKill/Monologue#1
fix RailKill/Monologue#2
fix RailKill/Monologue#3
fix RailKill/Monologue#6
fix RailKill/Monologue#7
fix RailKill/Monologue#9
fix RailKill/Monologue#11
resolve RailKill/Monologue#13
fix RailKill/Monologue#15
fix RailKill/Monologue#16

Summary by Sourcery
This pull request addresses multiple visual UI bugs in the Monologue application, enhances file operation handling, and improves node connection logic. Additionally, it introduces filename truncation and refines ID management for nodes and options.

Bug Fixes:

Fixed various visual UI bugs in the Monologue application, including issues with file dialogs, tab management, and node connections.

Enhancements:

Introduced filename truncation to handle long filenames in the UI.
Improved file operation handling by adding a flag to distinguish between header and welcome window operations.
Enhanced node connection logic to update connections dynamically and handle disconnections properly.
Refined the ID management for nodes and options, including adding a new ID copy feature and updating ID references.

Critical bugs found:

The editing of node ID does not check for option node ID, this is present in v2.2.2 as well, but it is also a problem for my implementation. I will look into this and fix it.
RootNodePanel is not actually a MonologueNodePanel, which I assumed it was, and now it is breaking when trying to open the RootNodePanel. Problem with my implementation, will fix.

Thanks for continuing to improve this project, all these changes are really nice!


Allow duplicate tags keys

You disabled the option to set duplicate tags keys (e.g. dog:joe and dog:lisa) in the same record while datadog system support that.
Consider replacing your tags container from std::map<std::string, std::string> to std::vector<std::pair<std::string, std::string>>.

Do you have an example? I am finding it difficult to think of a time this would happen in the real world. This could help me understand an appropriate way to implement the behavior.

Yes, for example if i wanted to count the total number of football games
this year and be able to see a distribution of how many games each player
played.
I would do this by record each game to counter metric with the following
tags format - 'player:{player name}'.
On Tue, Mar 26, 2019 at 8:57 AM Garrett Frank Sickles <
<EMAIL_ADDRESS>wrote:

Do you have an example? I am finding it difficult to think of a time this
would happen in the real world. This could help me understand an
appropriate way to implement the behavior.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/garrettsickles/DogFood/issues/10#issuecomment-476498850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-3kd-uQlcN22BN1gUXP0fM6kb_Vo44ks5vacTegaJpZM4cHNBW
.

--

https://github.com/garrettsickles/DogFood/pull/11

Looks fine to me 👍


fix(maker-pkg): add targetArch to pkg name

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[ ] The changes are appropriately documented (if applicable).
[x] The changes have sufficient test coverage (if applicable).
[ ] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
Made a minor change to added targetArch to pkg name to be consistent with dmg maker.

Thanks @malept - I'm just having build issues so am unable to run yarn test. I've run:
yarn install
yarn build

but get about 250 type errors. Do you have build instructions somewhere that I missed? Thanks!
packages/template/webpack/src/WebpackTemplate.ts:47:18 - error TS2339: Property 'updateFileByLine' does not exist on type 'WebpackTemplate'.

47       await this.updateFileByLine(
                    ~~~~~~~~~~~~~~~~

packages/template/webpack/src/WebpackTemplate.ts:49:10 - error TS7006: Parameter 'line' implicitly has an 'any' type.

49         (line) => {
            ~~~~

packages/template/webpack/src/WebpackTemplate.ts:57:18 - error TS2339: Property 'updateFileByLine' does not exist on type 'WebpackTemplate'.

57       await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => {
                    ~~~~~~~~~~~~~~~~

packages/template/webpack/src/WebpackTemplate.ts:57:82 - error TS7006: Parameter 'line' implicitly has an 'any' type.

57       await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => {
                                                                                ~~~~

Found 250 errors.

Please read the contributing docs for how to run commands.

There are 2 unit tests failing locally for me (but they are failing irrespective of this PR)

It would help to know which tests are failing for you.

The issue appears to be in packages/api/core/test/slow/api_spec_slow.ts:124:17
The call (execSync) to npm unlink is failing with Must provide a package name to remove. I am using npm 7.13.0 which requires npm unlink to be npm unlink -g (see https://github.com/npm/cli/issues/1946)
So I'd disregard my failing errors.
  333 passing (3m)
  1 pending
  2 failing

  1) electron-forge API (with installer=npm)
       init (with custom templater)
         "after all" hook for "should create deep files correctly":
     Error: Command failed: npm unlink
npm ERR! Must provide a package name to remove

npm ERR!      /Users/narayans/.npm/_logs/2022-02-14T19_57_07_385Z-debug.log

      at checkExecSyncError (node:child_process:707:11)
      at execSync (node:child_process:744:15)
      at Context.<anonymous> (packages/api/core/test/slow/api_spec_slow.ts:124:17)

  2) electron-forge API (with installer=yarn)
       init (with custom templater)
         "after all" hook for "should create deep files correctly":
     Error: Command failed: npm unlink
npm ERR! Must provide a package name to remove

npm ERR!      /Users/narayans/.npm/_logs/2022-02-14T19_58_02_037Z-debug.log

      at checkExecSyncError (node:child_process:707:11)
      at execSync (node:child_process:744:15)
      at Context.<anonymous> (packages/api/core/test/slow/api_spec_slow.ts:124:17)

Superseded by #3057


[#6061] Refactor commons-module

Codecov Report

Merging #6096 into master will decrease coverage by 0.41%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #6096      +/-   ##
==========================================
- Coverage   40.78%   40.37%   -0.42%
==========================================
  Files        3024     3026       +2
  Lines       90599    91681    +1082
  Branches    11817    12040     +223
==========================================
+ Hits        36949    37012      +63
- Misses      50486    51495    +1009
- Partials     3164     3174      +10

Impacted Files
Coverage Δ

...int/common/profiler/trace/TraceMetadataLoader.java
81.06% <ø> (ø)
:arrow_up:

...strument/classloading/PlainClassLoaderHandler.java
50.94% <ø> (ø)
:arrow_up:

...point/common/profiler/trace/StaticFieldLookUp.java
46.51% <ø> (ø)

.../concurrent/jsr166/ConcurrentReferenceHashMap.java
0% <ø> (ø)

...avercorp/pinpoint/common/util/CollectionUtils.java
90.9% <ø> (+13.98%)
:arrow_up:

...filer/concurrent/jsr166/ConcurrentWeakHashMap.java
13.52% <ø> (ø)

...ercorp/pinpoint/common/util/ThreadMXBeanUtils.java
60.37% <0%> (+9.58%)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


Console.log/debug max length

Hello.
Thanks for this awesome set of tools, it makes easier for a JS dev like me get into Ocaml world.
Something that makes very easy to work with Javascript is being able to inspect almost anything with console as a last resort or as initial approach while prototyping.
Console on this library makes a great work on that, but when it prints list it has a max-length. Is there a way to increase or override that length? It is limited to 6 elements on the list, which is quite small.
Thanks and regards

I think you can call this function to adjust the maxLength that can be printed: https://github.com/facebookexperimental/reason-native/blob/master/shared-src/objectPrinter/ObjectPrinter.re#L19
Let me know if that doesn't work!


Future: Consider adding "Truck Factor"

In a future version, consider adding "truck factor" ("hit by a bus factor") as a metric.
See "What is the Truck Factor of Popular GitHub Applications? A First Assessment"
https://peerj.com/preprints/1233v1.pdf
See also:
http://mtov.github.io/Truck-Factor/
https://lwn.net/Articles/651366/

This should be weighted by project size. If the code could be rewritten from scratch in a few weeks, truck factor is meaningless. It's also difficult to tell automatically if a single-committer version control history in fact means that no one else is familiar with the code.