Add new one-shot service state

Abstract
Adds the new service state "COMPLETED" for services that are "one-shots", i.e. that are intended to run only once and not be persistent like e.g. a service.
Concrete Usecase
I am implementing an image builder that will be deployed on the workers. Once the image is built the app/service is no longer needed and can be undeployed. - This can be generalized, i.e. let's say a user wants to deploy a container that should only perform a specific action once and is no longer of any use afterwards, thus there is no need to redeploy it.
Reasoning - more context
Turns out we currently only support persistent services and not one-shots.
Taken from the oakestra paper:

In fact the structure looks more like this:

A dead service currently gets redeployed all the time automatically by the cloud scheduler, until the service gets manually undeployed/removed.
Good news: The necessary SLA changes are not breaking but legacy compatible, because when we use a boolean with the default value of false for one_shot, the NodeEngine in go will simply handle it as false when it is undefined which is the case for all legacy/current services.
Proposal

Add a new state for one-shot container use-cases. For now, it will simply have another state (COMPLETED) instead of DEAD thus the cloud scheduler will not try to resurrect it.
Result

It worked on my side as well at first

But after a while the state changed to failed

Then re-executed, swithced back to complete

I'm using the following deployment descriptor:
{
      "microservices" : [
        {
          "microserviceID": "",
          "microservice_name": "curl",
          "microservice_namespace": "test",
          "virtualization": "container",
          "cmd": ["sh", "-c", "curl <IP_ADDRESS> ; sleep 5"],
          "memory": 100,
          "vcpus": 1,
          "vgpus": 0,
          "vtpus": 0,
          "bandwidth_in": 0,
          "bandwidth_out": 0,
          "storage": 0,
          "code": "docker.io/curlimages/curl:7.82.0",
          "state": "",
          "port": "",
          "added_files": [],
          "one_shot": true,
          "constraints":[]
        },
        {
          "microserviceID": "",
          "microservice_name": "nginx",
          "microservice_namespace": "test",
          "virtualization": "container",
          "cmd": [],
          "memory": 100,
          "vcpus": 1,
          "vgpus": 0,
          "vtpus": 0,
          "bandwidth_in": 0,
          "bandwidth_out": 0,
          "storage": 0,
          "code": "docker.io/library/nginx:latest",
          "state": "",
          "port": "",
          "addresses": {
            "rr_ip": "<IP_ADDRESS>"
          },
          "added_files": [],
          "constraints": []
        }
      ]
}

@giobart
Thank you for spotting that completed jobs get turned into failed ones. I have not seen this before myself.
I was able to replicate your observations thanks to your provided SLA.
I found the issue. The cluster-manager mongodb_client updates all jobs that are inactive for some time into failed jobs.
I have adjusted the code accordingly.
Now the issue is fixed.


Speed in config.js doesn't do anything

i cant get the speed config to work no matter what i set it to its always slow.

in playerCell.js change the getSpeed() function fot this
getSpeed(dist) {
        var speed = 2.2 * Math.pow(this._size, -0.439);
        speed *= 40 * this.server.config.playerSpeed;
        return Math.min(dist, speed) / dist;
    };

in playerCell.js change the getSpeed() function fot this
getSpeed(dist) {
        var speed = 2.2 * Math.pow(this._size, -0.439);
        speed *= 40 * this.server.config.playerSpeed;
        return Math.min(dist, speed) / dist;
    };

Thanks! this worked. someone should really fix it.


Expose morphing functions for consumer use

Related to https://github.com/hotwired/turbo/issues/1177, https://github.com/hotwired/turbo/issues/1085
Document and export the range of morphing available to Turbo's internals. The continuum spans from morphing elements, to morphing their children, to morphing turbo-frame elements, to morphing body elements.
Instead of exporting Idiomorph directly, this commit exports a mix of the utility functions and the Morphing-prefixed .renderElement class functions. This way, the range of turbo:-prefixed are dispatched regardless of whether the call originated Turbo-side or application-side.

@jorgemanrubia this proposal aims to provide clients with the tooling necessary to explore the viability of morphing outside of Turbo-managed Page Refreshes to the same URL.
I've read your comment https://github.com/hotwired/turbo/issues/1085#issuecomment-1837186466 regarding the ways that Morphing is incompatible with Turbo's current snapshot-driven navigation mechanisms.
I'll share them here for context:

the current implementation relies on managing different body elements at rendering time (not the same morphed one)

Agreed. Like you mention, the internals could be changed to account for the difference in expectations

does browser history make sense with morphing?

The main use case I've encountered that would benefit from morphing involves a List-Details view. The idea is that driving the page toward the Details of a selected item from the List would preserve the state of the List while replacing the contents of the Details with Morphing. In that scenario, navigating the browser backwards and forwards for that entry in the history should utilize Morphing, but navigating past the page with the List-Details view should utilize full-page Replace rendering.

Should Turbo create snapshots before each morph so that it can restore those? You wouldn't do that with stream actions, why would you do for page refreshes with morphing?

I think that might be necessary to support the browser history manipulation described above.

this would also be an additional API in the library, more choice for the user

Agreed. Exposing the functions directly (like what is proposed in this diff) promotes exploration in this space, but ultimately it would be nice for Turbo to provide first-party support for this. The most obvious change would involve a [data-turbo-render-method] attribute (proposed in https://github.com/hotwired/turbo/pull/1145), but I'm also wary of expanding that area of the interface. There are too many edge cases and combinatory explosion of [data-turbo-*] attributes to account for.
Having said that, I'm not sure of an alternative that is more subtle while being declarative, relies on progressive enhancement and graceful degradation, etc.
In the use case I've described above, the navigation graph is fairly limited based on the URLs of the List-Details pattern. You'd want to morph when navigating from /lists/:list_id to /lists/:list_id/details (and maybe even /lists/:list_id/details/:id and /lists/:list_id/details/:id/edit or /lists/:list_id/details/new?). You might even need to support variations on the nouns (if the models are polymorphic) like /lists/:list_id/special_details or /special_lists/:list_id/details.
I wonder if the pattern of URLs is knowable ahead of time. If it is, would a Turbo Native-like Path Configurations JSON file make sense? A callback that provides the source and destination URLs for comparison? A new detail property on a turbo:-prefixed CustomEvent?


ghetto fix for search page offset

¯_(ツ)_/¯ i'm not a js dev, don't quote me in what i did cuz i know isn't a proper fix, i just debugged based on what i know about.

This change is

                if (offset > grandTotal) {
                    log.warn('Ended because API returned an empty page.');
                    return end();

                }

                log.debug(`Cur offset ${offset} : total  : ${total}  ${grandTotal}`)
                // Forcefully increase offset owo
                offset = offset + 25;
     			return await recurse();

            }

Can you test with this one?

possibly fixed in the last release, LMK it it fixed for you @zyhp @cswl


Crash in Firefox

Hello,
Using compromise in Firefox crashes:
TypeError: all[k].push is not a function[Learn More]  line 684:11
var all = {};                                                                                // 671
Object.keys(obj).forEach(function (cat) {                                                                            // 672
var arr = unpack(obj[cat]);                                                                                // 673
//special case, for botched-boolean                                                                                // 674
if (cat === 'true') {                                                                                // 675
cat = true;                                                                                // 676
}                                                                                // 677
for (var i = 0; i < arr.length; i++) {                                                                             // 678
var k = arr[i];                                                                                // 679
if (all[k] !== undefined) {                                                                                // 680
if (typeof all[k] === 'string') {                                                                              // 681
all[k] = [all[k], cat];                                                                                // 682
} else {                                                                                // 683
all[k].push(cat);                                                                                // 684
}                                                                                // 685
} else {                                                                                // 686
all[k] = cat;                                                                                // 687
}                                                                                // 688
}                                                                                // 689
});                                                                                // 690
return all;

This seems to be the place where it unpacks the lexica.
Do you use a custom lexicon?
Try to change line 683 to
} else if Array.isArray(all[k]) {

ahh yikes!
thanks Dirk, will roll-out a hotfix today.

@sebilasse and @spencermountain
Wow, thanks for looking into this so fast, that's great!!

hey @DirkStevens, can you share somehow the lexicon you used to trigger this?
if it's proprietary, or too big, just share the part that triggers it?
it may be sensitive to numbers, unicode, true/false, etc.

Hello @spencermountain,
What do you mean with the lexicon?
Here's more information that I got by breaking right before the crash:

all.txt
arr.txt
arguments.txt

@DirkStevens I think he means what I asked too :
Do you only use the default Lexicon or did you add your own Lexicon ?

@sebilasse I use the default Lexicon.
My code performs text analysis with ngrams to find often occurring phrases, however that code is not executed prior to the crash.

ahhh 'watch', a reserved word in firefox, but not the others.
nice bug! 🥇
holy smokes, i can't believe this landed on production!

@spencermountain just btw: TypeScript is what makes me happy ;) I am a bit confused by the PR view. It lists all unmerged changes (not only by me [?])

k, fixed in 10.7.2.
lemme know if you see anything fishy goin on
thanks you two!

Works!  Thanks so much @sebilasse and @spencermountain


Typescript error TS2554 ("Expected 2 arguments, but got 1.") not thrown on boilerplate repo

Describe the bug
I created a svelte-kit demo app using a npm create svelte@latest jan-11 command.
I selected "SvelteKit demo app" to the first question, yes to typescript, yes to eslint, yes to prettier, and no to the rest.
I'm also learning typescript, so I'm stepping through the typescript handbook while I do this.   From one of the first pages of the handbook they have this example:
// This is an industrial-grade general-purpose greeter function:
function greet(person, date) {
  console.log(`Hello ${person}, today is ${date}!`);
}

greet("Brendan");

Therefore, I changed src/routes/+page.svelte begin with the following:
<script lang="ts">
	import Counter from './Counter.svelte';
	import welcome from '$lib/images/svelte-welcome.webp';
	import welcome_fallback from '$lib/images/svelte-welcome.png';

	// This is an industrial-grade general-purpose greeter function:
	function greet(person, date) {
		console.log(`Hello ${person}, today is ${date}!`);
	}

	greet('Brendan');
</script>

Running tsc outputs nothing.  Running eslint . outputs nothing.
Running npm dev, I get the following:
  VITE v4.0.4  ready in 448 ms

  ➜  Local:   http://<IP_ADDRESS>:5173/
  ➜  Network: use --host to expose
  ➜  press h to show help
Hello Brendan, today is undefined!
Hello Brendan, today is undefined!
10:56:36 AM [vite-plugin-svelte] ssr compile done.
package files     time     avg
jan-11      5   65.2ms  13.0ms

Why would a typescript error not be thrown there?
Creating an empty directory with a single hello.ts file with just the greeter function and invocation, you do see the following:
hello.ts:6:1 - error TS2554: Expected 2 arguments, but got 1.

6 greet("Brendan");
  ~~~~~~~~~~~~~~~~

  hello.ts:2:24
    2 function greet(person, date) {
                             ~~~~
    An argument for 'date' was not provided.

Found 1 error in hello.ts:6

Reproduction
See description.
Logs
No response
System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 924.47 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.0 - /opt/homebrew/opt/node@16/bin/node
    npm: 8.19.3 - /opt/homebrew/opt/node@16/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Firefox: 108.0.2
    Safari: 16.2
  npmPackages:
    @sveltejs/adapter-auto: ^1.0.0 => 1.0.0
    @sveltejs/kit: ^1.0.0 => 1.0.11
    svelte: ^3.54.0 => 3.55.1
    vite: ^4.0.0 => 4.0.4

Severity
annoyance
Additional Information
No response

tsc can't handle Svelte files, that's why we built svelte-check which can handle both TS and Svelte files. It should be part of your package.json , the script to invoke it is named check

aha! thanks!

is there a way to make eslint run svelte-check, though?


Unexpected Assembly Loading Behavior

During my attempt to use Prepatcher I have discovered an odd behavior in the way it loads assemblies.
I modified the Prepatcher source locally to add more in-depth logging for this analysis.
I have a mod with multiple assemblies:

When starting the game from Steam, it fails to discover all assemblies.
I created a simple method that logs all found assemblies for all mods currently running, which I call right at the beginning of Loader.DoReload().

The strange thing happens when I restart the game from within the game, achieved by adjusting the mod-list and letting it restart that way.
Doing that, it ends up finding all assemblies that were expected.

The way I discovered this is when I created a [FreePatch] method in my TeleCore.Patching module, in there I used my custom TLog type which is provided by TeleCore.Loader - since that assembly was not loaded into the context, I kept getting an error thrown.
Interestingly, the only assembly discovered when starting normally, is the one containing a FreePatch method, was it intended for Prepatcher to only load assemblies that have that attribute?
I attached two log files, one where I started the game normally, one where I restarted from within the game (which also disabled a mod to make that happen, the mod is not related to this issue).
PrepatcherIssue_StartedNormally.txt
PrepatcherIssue_RestartedIngame.txt

Upon analyzing the logs more carefully, I noticed one difference - restarting the game, from within the game, does not initialize Doorstop.
I have Doorstop set-up so I can debug the game more conveniently, it partially makes sense why it does not vibe well with Prepatcher, though I personally dont see why it would. Especially since it already breaks at the step during the Prepatcher Mod class initialization.
Not sure if this can be be made compatible.

After discussing on Discord it turns out this is simply infeasible to make compatible for all cases, Doorstop is merely a dev tool after all anyway and should not be used by players anyway.
The version I used in particular was by Bradson, he cleared it up!
But this may still be interesting to consider for developers.


feat: main workflow

cli test for main will be expanded in the future

@productdevbook is this PR ready for review?

Yes


Automate downloads of packages

Following from Todd's recommendation to look at how to download models outside of our ecosystem (something we haven't done before). I prefer to give users some assent and information on what is getting downloaded to their local machine. But that can make for a clumsy user experience, too. Note that whatever we do, it ideally would not require any extra server infrastructure on our part but rely solely on github.
On another note, are we happy with the import methods used to date? I have long wanted to refactor that code, even if we keep its interface as-is.

Are there certain default corpora or libraries that we want to auto fetch and install if the user doesn't specify any?
This is the approach that Stanford NLP (and many others) is using and I think it's good baseline to guarantee providing something that always basically just works. Users can always customize later. Unless I hear otherwise, I'll wire something up and we can adjust it during review or later.

Are there certain default corpora or libraries that we want to auto fetch and install if the user doesn't specify any?

Todd, please run with it and do what you believe is right.
A little on my perspective:

I like using Git/GitHub to manage our cltk-specific dependencies
I prefer language-specific repos (eg https://github.com/cltk/latin_models_cltk )
For dependencies external to the CLTK (stanfordnlp is the big one), I don't know whether we should re-host these or to simply pull from their source. These days, I am leaning towards fetching straight from them.

Side note: For stanfordnlp I have been storing files in ~/stanfordnlp_resources, however this could be moved to our default ~/cltk_data dir.

Concerning pre-fetching things, I am ambivalent. Models? For Latin and Greek, that might make sense. Corpora? Maybe, depends on the size of the corpora, in part, maybe. One key thing is that whenever a user is missing some asset, we need to do raise meaningful messages that help our users understand exactly what to do fix the issue.

If you and I majorly deviate on something above, let's talk about it. But again, I trust your instincts.
Also, I have done the following for stanfordnlp, which may or may not be of use to you:

https://github.com/cltk/cltkv1/blob/master/scripts/download_misc_dependencies.py
https://github.com/cltk/cltkv1/blob/31584e4c12153612511fb4c984c7db50df751dd7/src/cltkv1/wrappers/stanford.py#L191

Download for w2v: https://github.com/cltk/cltkv1/blob/35bf1fe64a8a62711ada05112b42ef545d4fe5a2/src/cltkv1/embeddings/embeddings.py#L307
for stanfordnlp: https://github.com/cltk/cltkv1/blob/35bf1fe64a8a62711ada05112b42ef545d4fe5a2/src/cltkv1/dependency/stanford.py#L204
Crossing fingers these links will stay up. I'll think of some backups, too.


Extra whitespace above the header and below the footer.

Steps to reproduce
Tell us about your environment:

Puppeteer version<EMAIL_ADDRESS>Platform / OS version: OSX 10.11
URLs (if applicable):
Node.js version<EMAIL_ADDRESS>
What steps will reproduce the problem?
I have configured a header and footer for the site example.com and I have got the following issue.
Please include code that reproduces the issue.
1 JS code
const puppeteer = require("puppeteer");

(async () => {const browser = await puppeteer.launch({headless:true});

const page = await browser.newPage();
var fs = require("fs");

await page.goto("https://example.com/");

await page.pdf({path: "./output/1.pdf",

 format: "A4",

 displayHeaderFooter:true,

headerTemplate:"
Header
",

footerTemplate:"
 Footer
",

printBackground : true,

preferCSSPageSize:false,

margin : {top: "120px", bottom : "120px"
}
} );
await browser.close(); })();

What is the expected result?
The pdf with no white space above the header and below footer, with content in the footer
What happens instead?
There is an extra whitespace above the header and below the footer and added to tat the footer is also generated empty without content.
I have attached the output pdf
1.pdf

You have to override this style using a

In which file should this code be added?

Hi, Any suggestions how to set  margins of the footer / header in cm same as for the main document ?

Good question. Currently working on the same. Let me know if you found a way :)

Add it directly to you header or footer template:
const header = '
header of Juan
 Page  of
';
const footer = '
footer of Juan
 Page  of
';

Bhavu it's working...Thank you

@dasheck0 still trying - the margins as cm don't work in the header (1cm translates to 13mm when PDF opened in illustrator, note the main body margin is 10mm as intended)
my workaround now is to create 210x297mm size SVG and keep margins 0;
also is there any way to use fonts in the header and footer if we cant have external links?

Hey! I worked on this bug during the whole day, and I find some solutions for all these space bugs. I'll try to provide some explanation (or at least some documentation) to keep a trace of everything for the future (and possible fixes).
it can be good to add theses tricks somewhere in the documentation.
Padding after the header and before the footer
This is the default style provided by Chrome with print_header_footer_template_page.html. You can solve this by adding :

This style must be added in the headerTemplate or the footerTemplate code.
Padding in the content
Strangely, the default body contains margin or padding, so just remove it with :
body {
  padding: 0 !important;
  margin: 0 !important;
}

This one must be in the CSS of the document which will be printed.
Compute the header and the footer with correct cm sizes
This one gives me some headache.
The problem is the header and the footer are bigger than the real display. For example, a square of 1x1cm will be displayed as a square of ~1.5 x ~1.5cm.
Here's the issue in Chromium bug tracker.
The bug seems caused by an auto-scaling of 1.33f (see here). So we can fix it by computing our header/footer in a bigger size.
In our case, we work with an A4 document (21x29.7cm). Compute your headerTemplate/footerTemplate with a width of 27.93cm (21 * 1.33), and scale down to the real size by a transform. Here's an example :

    This is a real size header

By doing this, you can get the same result than an HTML computed header.
I hope it will help some people to create their documents. :)

The scaling solution by @AamuLumi works really well, thanks! One little modification: For an A4 document the width should be 28cm, not 27.93cm (21 x 1.333333333 = 27,99999993).

Guys any of the solutions don't seem to be working.

Easier:
#footer, #header {
  all: unset;
}

You might need to toss in an !important flag.

headerTemplate: "Header",
footerTemplate: "Footer"
Puppeteer: "^12.0.1"
Nodejs: "18.14.x"

Since Chrome 117+ it's fixed. No need to scale the content with 1.333f
https://github.com/chromium/chromium/commit/f6529c7990744370869e4ab2794caae6c46ba044


Regenerate Google.Cloud.PubSub.V1

This PR was generated using Autosynth. :rainbow:
Log from Synthtool
2020-03-13 22:43:19,669 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/apis/Google.Cloud.PubSub.V1/synth.py.
Skipping microgenerator fetch/build: already built, and running on Kokoro
Building existing version of Google.Cloud.PubSub.V1 for compatibility checking
Generating Google.Cloud.PubSub.V1
Running mid-micro-generation script for Google.Cloud.PubSub.V1
Running post-generation script for Google.Cloud.PubSub.V1
Updated 1 path from the index
Updated 1 path from the index
Building new version of Google.Cloud.PubSub.V1 for compatibility checking

Changes in Google.Cloud.PubSub.V1:
Minor changes:
Class 'RetryPolicy' added.
Class 'Subscription'; property 'RetryPolicy RetryPolicy { get; set; }' added.

Diff level: Minor

2020-03-13 22:43:36,439 synthtool > Wrote metadata to synth.metadata.

Perhaps we should actually add these tests, but with Skip for the moment?


PHP & Bootstrap

I also have this issue.

+1

Also not keeping the plain bootstrap template and make it more like the technic page.

I'm currently working on this issue. :3 Almost ready for first release.

Sounds good! Can't wait.

Me neither!


feat: Add mssql_ha_prep_for_pacemaker for configuring HA solution other than Pacemaker

Enhancement: Add the mssql_ha_prep_for_pacemaker variable to configure SQL Server for Pacemaker.
Reason: Previously, the role did not have a variable to control whether to configure SQL Server for Pacemaker. Some users require to not configure for Pacemaker to use some custom HA solution.
Result: You can use the mssql_ha_prep_for_pacemaker variable to configure SQL Server for Pacemaker.

[citest]

Adding multi-node tests in IDM CI repo idm-qe/mssql-tests/-/merge_requests/22

[citest]


Constant Range Support

I don't understand the parts of this patch that are doing stuff with demanded bits, why is that in here?

@regehr Before this PR, all the constants we're synthesizing stay in the RHSs. But in constant range synthesis, we now have reserved constants in LHSs: For query [(x<= LHS') && (x<LHS'+c) == True], here, (x<= LHS) && (x< LHS+c) is the LHS and True is the RHS. Since the reserved constant now occurs in LHS, after the first query, we need to call getInstCopy() on LHS to fill it with the model returned from the solver. This triggers the bug where the demandedbits are not initialized properly in function getPhi() and getInstCopy(), which leads to wrong synthesis results.

Before this pull request, the model filling only works on RHS, and the bug is hidden because we're not having phi's synthesized.

Also I've thought about reverse the query, like [True == (X<= LHS') && (X<LHS'+c)], where True as LHS and (x<= LHS') && (x<LHS'+c). By setting the query this way we can eliminate the extra getInstCopy() call on LHS. However, the refinement check are needed here and the direction matters. The reversed query can lead to over-conservative results.

looks great except for a few minor changes

Fixed the issues, please review @regehr

LGMT, thanks!


Note about System.PullRequest.SourceRepositoryURI possible inaccurate

The documentation for System.PullRequest.SourceRepositoryURI says that "This variable is initialized only if the build ran because of an Azure Repos Git PR affected by a branch policy. It is not initialized for GitHub PRs." I believe this is inaccurate. I see this variable initialized from a GitHub PR. See here
I stumbled across this while trying to solve this.

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

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd
GitHub Login: @juliakm
Microsoft Alias: jukullam

@collinbarrett I apologize for the delay. I'm working on confirming this with the engineering team.


Make sure that we fail on unsupported Disk types

Fix an issue where we only log that we don't support a Disk type, but
don't return an error, and pass the disk unconverted to Libvirt.

@aglitke FYI


del

Del

No, there would need to be some kind of backend that could write to the filesystem.

No, there would need to be some kind of backend that could write to the filesystem.

Is there not a function to handle outputting to the local file system in JS? Why would that require an entire backend?

Is there not a function to handle outputting to the local file system in JS? Why would that require an entire backend?

There is, in node.js.
Browser can’t do that for security reasons. Imagine you open a random website and it starts saving backdoors on your disk.


X and Y in scatter: not x and y as in y=f(x)

Just wanted to mention that as someone not familiar with plotly (I suppose that's where it comes from), the use of X and Y in the python examples kept me confused as to how to produce a scatter plot for several hours.
My goal was to plot a single variable with markers, not a line (i.e. with scatter not with line). I set up my problem thus:
>>> import numpy as np
>>> import visdom
>>> viz = visdom.Visdom()
>>> x = np.arange(0, 100, 1)
>>> y = x ** 2

Thinking of X as the independent variable and skimming the examples, I tried the following with included errors:
>>> viz.scatter(x, y)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/anaconda2/anaconda/lib/python2.7/site-packages/visdom/__init__.py", line 179, in result
    return fn(*args, **kwargs)
  File "/anaconda2/anaconda/lib/python2.7/site-packages/visdom/__init__.py", line 508, in scatter
    assert X.ndim == 2, 'X should have two dims'
AssertionError: X should have two dims

... and then this, in case it would work with a tuple:
>>> viz.scatter((x, y))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/anaconda2/anaconda/lib/python2.7/site-packages/visdom/__init__.py", line 179, in result
    return fn(*args, **kwargs)
  File "/anaconda2/anaconda/lib/python2.7/site-packages/visdom/__init__.py", line 508, in scatter
    assert X.ndim == 2, 'X should have two dims'
AttributeError: 'tuple' object has no attribute 'ndim'

Once I finally figured it out this worked):
>>> viz.scatter(np.column_stack((x, y)))

I don't suppose this is really an issue but, I wanted to point out my confusion in case someone else ran across this later: Y is the class label data and X can't have less than two "samples." If there's a better place for me to post this, please let me know.

Hi @hsclouse ,
Thanks for your message! I totally see how this API initially seems unintuitive. When we implemented the plotting wrapper, we did indeed discuss the pros and cons of using X to contain both dependent and independent variables. In the end, we hoped that the documentation (https://github.com/facebookresearch/visdom#visscatter) would be enough to get people on the right track.
Note that the plotting wrapper is totally optional, though -- ultimately, if it's easier for you, you can follow https://plot.ly/python/line-and-scatter/ and use the generic plotting API https://github.com/facebookresearch/visdom#generic-plots.


chore: add countryen as a maintainer

This PR adds a few tweaks to the docs, indicates @Countryen is a
maintainer and adds a placeholder file for the contributing guide.

Hi @Countryen I've just sent an invite to you as a collaborator, will also reply to your email.
BTW when the invite comes in, can you let me know if you can see the 'insights' section of the project?

It has a nice checklist on useful bits and pieces to add to a community project!

@dwmkerr Hey, thanks. Wanted to ask again soon-ish, too.
Yes, I can see this:

Great!
On Sun, 30 Jun 2019 at 21:17, Pascal Ried<EMAIL_ADDRESS>wrote:

@dwmkerr https://github.com/dwmkerr Hey, thanks. Wanted to ask again
soon-ish, too.
Yes, I can see this:
[image: image]
https://user-images.githubusercontent.com/11256873/60397154-24468f80-9b4a-11e9-9770-0e80b808600b.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dwmkerr/sharpshell/pull/288?email_source=notifications&email_token=AAOWOSC3EPDW4V2JQFALYQTP5CW7LA5CNFSM4H4MRFJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4MAZA#issuecomment-507035748,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOWOSEZCDHQK4NKGPOGLCTP5CW7LANCNFSM4H4MRFJQ
.

@dwmkerr I think I did see that already, before you added me, though. As I can see it for other projects (where I am not a contributer), too.

Ah got it
On Sun, 30 Jun 2019 at 22:00, Pascal Ried<EMAIL_ADDRESS>wrote:

@dwmkerr https://github.com/dwmkerr I think I did see that already,
before you added me, though. As I can see it for other projects (where I am
not a contributer), too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dwmkerr/sharpshell/pull/288?email_source=notifications&email_token=AAOWOSCIPSJEFZW7VON4BM3P5C365A5CNFSM4H4MRFJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4MX4Q#issuecomment-507038706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOWOSEHHU2PSN76HDLQUODP5C365ANCNFSM4H4MRFJQ
.


Peek doesn't work for files in .zip

Description of the new feature / enhancement
Peek doesn't work for files inside .zip when looking through .zip through File Explorer

Scenario when this would be used?
This feature could become handy for any user
Supporting information
No response

It is a good idea, just already captured by some other users. Check out this list of common issues. If you have more ideas, then you can see if anyone else has already suggested it and +👍 their issue.
https://github.com/microsoft/PowerToys/wiki/Common-Triage-Issue


Object.keys should be included in prefer-lodash-method

If I am not mistaken, Object.keys({}) should throw an error when prefer-lodash-method rule is enabled.

If not, it would nice to have such a rule.

That is a valid point.
Just released v0.3.0 with a fix that also reports problems when using static methods that Lodash implements.

:+1:
Just to put it on the record for the others finding this issue, the supported methods:
Object: ['assign', 'create', 'keys', 'values'],
Array: ['isArray']
['every', 'fill', 'filter', 'find', 'findIndex', 'forEach', 'includes', 'indexOf', 'lastIndexOf', 'map', 'reduce', 'reduceRight', 'some']

Extracted from this commit, https://github.com/wix/eslint-plugin-lodash3/commit/7bcd3f2720ea726585fb4acd6f42367a43f47483.


Add support for shuffle filter

This enables use of the numcodecs Shuffle filter, merged here: https://github.com/zarr-developers/numcodecs/pull/273
Note that a release of numcodecs is needed for this.
Otherwise using the main branch of numcodecs is fine.

@martindurant when you have time to look at this it would be good to get this into the main branch. Thanks!


Render Image in Table

Just a question.. In Table, how would I render an image?
In case I would have to bring the whole marking <img .. /> any help ?

Sorry, that's a simple question.
I was able to render a <template scope> inside the el-table-column


Add .Net friendly iterator

Implement more .Net friendly iterator for result and choice.
Main iterator are Disposable, and "sub" iterator reuse main iterator handle, faking the disposing. The goal is to let developer to use nested foreach easely.
Principal issue is that "sub" iterator can't be reseted. But with a standard nested foreach it's transparent.
Another issue are that I can't install and test it for .Net Standard 2.0 ^^'.

Thanks @Luc-BOLOGNA I've had a look through the pull request and generally like what I see 👍
I think I'll hold off on integrating this for now as I think the main priority is to get a new release out to officially support tesserat 3.05.01 and .net core 2 (via .net standard 2). Will probably look at merging this into the Tesseract 4 branch later when I get time.


Question: Should transact_commit commit if ExecutionResult is not Success?

Here is the current definition of the transact_commit fn:
    /// Execute transaction and apply result to database
    pub fn transact_commit(&mut self) -> Result<ExecutionResult, EVMError<DB::Error>> {
        let ResultAndState { result, state } = self.transact()?;
        self.db.as_mut().unwrap().commit(state);
        Ok(result)
    }

The way it is implemented, it calls commit(state) even if the result is different from ExecutionResult::Success.
Is it expected? Shouldn't it commit only on success?

It should commit, as it is a valid transaction and at least it updates the balance of the sender and benefactor/coinbase.


etc: Fix error message about missing Cargo snapshot

Fixes #2197

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+ 663f944a213ca6a0fa7f712ae8f5a8ae1e3cbb00

:hourglass: Testing commit 663f944 with merge 9780093...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


[BugFix] add pushdown predicate process when join reorder

Problem Summary:
Fixes #23896
When we supported outer join reorder, (a semi join b ) left join c where c.col is null will reorder to (a left join c)  semi join b where c.col is null. (a left join c), then (a left join c)  may generate some new plan when a contins inner join which leads to a optExpression match the pattern in SemiJoinReorderRule but predicate in the topJoin is not null which makes        Preconditions.checkState(topJoin.getPredicate() == null); failed.
This pr firstly add pushdown predicate process in JoinAssociateBaseRule to generate more optimzied plan and secondly remove the Preconditions.checkState(topJoin.getPredicate() == null); to avoid unnecessary check.
Actually, the SemiJoinReorderRule can be removed in the future because  the new  JoinAssociateBaseRule has the ability to do the same thing when doing some necessary change. I think when the JoinAssociateBaseRule had been tested in more clients, we can comebine these two rules.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 14 (92.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SemiReorderRule.java
2
3
66.67%
[165]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/JoinAssociateBaseRule.java
11
11
100.00%
[]

@Mergifyio backport branch-3.0


DeviceInputSystem: Add callback trigger for already connected devices

This PR adds code to the onDeviceConnectedObservable in the DeviceInputSystem that force any new observers to fire for already connected devices.  This is specifically so that the DeviceSourceManager will add DeviceSources for already connected devices.

I just found a scenario in which this doesn't work so I'm closing this.

Changed approach to fix


Error Handling

Hi guys, good work.
We would like to base our project camunda-graphql on your graphql-java-tools.
My question:
When using graphq-java-tools what is the best way or level to implement GraphQL Error Handling?
I.e. error/exception handling when something goes wrong in the resolvers, like here for example.
Currently the error gets reported on the server console, but the response in GraphiQL look like this:

How can I put the exception-message ("no processes deployed with key 'x': processDefinition is null") from the API-call into the GraphQL response?
Update: it looks like GraphQLServlet is responsible for adding the error(s) to the response. Although there are errors (here: ExceptionWhileDataFetching) from the result of new GraphQL  (which is OK) they are not getting inserted into the JSON-response.

Yeah, I suspected it was something in the servlet that was squelching the errors.  When that project becomes active again I'll work with the author to provide an option to pass those errors to the client as well.

So, what can we do if the project GraphQLServlet never gets active again?
Can we fork it and continue to maintain it using another name?
How is that problem of dependent and inactive projects solved in the Java open source community?
BTW, further analysis of GraphQLServlet shows that only these two error types - InvalidSyntaxError and ValidationError - are supported in the GraphQL JSON response. Because of this line. If you omit the filter, you get all errors.

I was planning on forking and publishing a version of the servlet soon if it stays inactive.

You have my support.

@hloydl this should be doable as of graphql-java-servlet:1.0.0.  Simply subclass the servlet and override the method that filters errors out.

If you want a more robust solution definitely create an issue in that project with a description of how you'd like it to work.


Update client credential grant to do a cache lookup by default

Client credential grant will only look up tokens in the cache if used with acquire token silent. It should instead do a default cache lookup, with the option to skip.

I know MSAL Py has this approach while MSAL .NET does not. So this is not a strong requirement for GA. It can also be added later.


The remotehosts endpoint's image management handler is hard coded to assume client-server is an identifier for the images.

Rather than be hard coded the proper value needs to be determined by looking at the Crucible config file:
# grep CRUCIBLE_CLIENT_SERVER_REPO /etc/sysconfig/crucible
CRUCIBLE_CLIENT_SERVER_REPO=quay.io/crucible/client-server

Not all environments, including CI, use client-server.


NCBI Blast TypeError: argument of type 'float' is not iterable

Hi, while i was trying to run ncbi blast in apscale, in some of the fasta subsets i keep encountering this error. I've tried to exclude uncultured sample sequences during blast search and downloaded xml2 files but i still had the same error. Has anyone had a similar issue? Could it be related with a specific OTU causing this error because it gets a hit in blastn that does not fit into the format of the program?
Thanks in advance!
Traceback (most recent call last):
File "c:\users\marja\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\marja\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\marja\AppData\Local\Programs\Python\Python39\Scripts\apscale_gui.exe_main.py", line 7, in
File "c:\users\marja\appdata\local\programs\python\python39\lib\site-packages\apscale_gui_main.py", line 611, in main
blast_xml_to_taxonomy(fasta_file, xml_files, read_table, limit)
File "c:\users\marja\appdata\local\programs\python\python39\lib\site-packages\apscale_gui\blast_utilities.py", line 237, in blast_xml_to_taxonomy
if 'uncultured' in hit[6]:
TypeError: argument of type 'float' is not iterable

Hi, I have not yet seen the particular error. I will have a look at it and try to provide a fix until end of the week.


Update OCurrent and OCluster to master

@kit-ty-kate : this is just your commit I found on the live branch, updated with some more recent commits.

Thanks!


fix(healthcheck): fix endpoint

:tada: This PR is included in version 1.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adding multi-language screenreader support

This builds on the work in #1361 to allow content editors to specify a language for the main content to be in. This assumes that most of the sidebar content will remain in English or be dealt with separately. This also adds RTL support for arabic.
Testing

Go to the admin panel and create a page in a different language and in arabic
Arabic should render RTL and the appropriate lang tag should be added to main content section.

Review

@anselmbradford
@jimmynotjim
@sebworks
@kave

:+1:

Closes #1345

:+1:

:+1:


Add README for kube-prometheus helm chart

Would love to have a README with a couple examples of how to get the kube-prometheus helm chart running successfully.
Something similar to: https://github.com/coreos/prometheus-operator/blob/master/helm/prometheus/README.md

@ryanwalls I had the same issue on the first time I deployed kube-prometheus. I'm pretty sure this is related to https://github.com/coreos/prometheus-operator/issues/443#issuecomment-311046540.
Could you try to reinstall prometheus with the right serviceMonitorSelector?
helm install --name prometheus --set serviceMonitorsSelector.app=prometheus prometheus

@gianrubio Which issue are you referring to?
Also, I'm using the kube-prometheus chart, so I'm not explicitly installing the prometheus chart.

Does anyone managed to install kube-prometheus chart? I alway have an error of: Error: apiVersion "monitoring.coreos.com/v1" in kube-prometheus/charts/exporter-kubernetes/templates/servicemonitor.yaml is not available

@burdiyan it's your first time running the charts? If the answer is not, you probably have some garbage from previous version.
I would recommend you to:

Purge the charts running: ``` helm delete --purge chart-name````
Remove all the crd or thirdypartyresource.

kubectl delete crd (or thirdypartyresource) prometheuses.monitoring.coreos.com
kubectl delete crd (or thirdypartyresource) servicemonitors.monitoring.coreos.com
kubectl delete crd (or thirdypartyresource) alertmanagers.monitoring.coreos.com

Reinstall the chart

let me know if this fix you setup.

@gianrubio That was my first attempt to install the chart in a brand new GKE cluster.

Do you have prometheus-operator installed? Try to install it first and after that install kube-prometheus.
Also please post the output of
kubectl get pods,jobs -n monitoring

@gianrubio Yeah, that was the error, and I just figured out that you have to install the operator first. Worth mentioning on the README of kube-prometheus chart I believe.
Thanks a lot, anyway!

Does someone want to add a troubleshooting section or something to the helm readme? Maybe we can add some examples as well, as suggested in the beginning of the thread.

I can do it after all the rework on helm, btw I mapped this dependency on my todo list

@burdiyan you seem to have experienced the same problem i did: are you using quay.io/coreos/prometheus-operator:v0.11.3 on k8s 1.6.x ?
if that's the case, then this PR should solve it: https://github.com/coreos/prometheus-operator/pull/829

@gianrubio how does it work that one's supposed to install the operathor first to then install kube-prometheus? I though [this chart dependency[(https://github.com/coreos/prometheus-operator/blob/master/helm/kube-prometheus/requirements.yaml#L7-L10) would take care of that

@odino I guess master branch is not yet published to the CoreOS chart repository, and in previous versions this requirement was not there yet.

gotcha!

This should now be fixed, we are now automatically uploading new versions as they are bumped and merged.

@brancz Thanks for getting the latest versions synced up! Can this issue remain open until the original concern is addressed of adding information to the readme on how to actually use the charts? I'm installing via the scripts right now and would prefer to move to the chart but not really sure how to do it.

Thanks for your response. I’m fine with re-opening for that purpose.

@jordanjennings There is an official helm chart that can be deployed all in one go now. It may still require some documentation to be complete, but I'm happy to address your concerns there if you are prepared to move to that version

Since we don't support the helm chart in this repo anymore, closing this issue. Feel free to open a new one if you think it's not valid, thanks!


Wrong concatenation of passwordReset parameter to the callback url when create users using the Ask Password and Email Verification options

Describe the issue:
In the Ask Password flow, a parameter is appended as &passwordReset=true to the redirect url as follows,
https://localhost:9443/myaccount&passwordReset=true
After adding the new password and click the proceed button, user gets 405 Method Not Allowed error in normal browser window. But in incognito window user is redirected to the management console instead of myaccount.
How to reproduce:
Create a user by Ask Password and Email Verification Option.
Change the password through the link that comes via email and click on proceed.
Environment information

Product Version: IS 5.11.0

Workaround for now
Setting the redirect url along with an opaque parameter and set that url as "redirect_uri" at the end of create password url in the Ask Password email template as follows,
{{carbon.product-url}}/accountrecoveryendpoint/confirmrecovery.do?confirmation={{confirmation-code}}&userstoredomain={{userstore-domain}}&username={{url:user-name}}&tenantdomain={{tenant-domain}}&redirect_uri=https://localhost:9443/myaccount?temp=test"
There're three places where this redirect_uri should be set in email template.

Optional Fields
Related issues:
https://github.com/wso2/product-is/issues/12306

@minolih can we close this issue? Isn't this issue reproducible in latest release?

@nilasini I will reproduce this issue. It was on hold due to a blocker to test.

@minolih could you able to check on this?

@nilasini This issue is already fixed.

@minolih can i redirect to any other url, i tired but after that url i am getting an extra parameter along with the url  (&passwordReset=true )   https://example.com&passwordReset=true

@BrunoSuwin What is the version of WSO2 Identity Server you are using?

5.11

@BrunoSuwin The fix for this issue is not available in the public release of WSO2 IS 5.11.
However, the fix for WSO2 IS 5.11.0 can be applied via a U2 update. In order to get the U2 update you need to have a subscription to WSO2 Identoty Server.

Ok , Thanyou so much for your time 👍


tests: add ethernet eve test

Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6405

I've just added one commit to cover more protocol (http and fileinfo). I'm stopping there. Sorry for update on live MR.

Requires https://github.com/OISF/suricata/pull/9715

replaced by #1667


org.osgi.service.jpa is unusable with some exporters

I currently try to upgrade pax-jpa to use the "new" org.osgi.service.jpa instead of osgi.cmpn but noticed a major problem.
If one looks into the jar it declares the following in the manifest:
Import-Package: javax.persistence;version="[1.1,2)",
     org.osgi.framework;version="[1.8,2)"

As one can see it requires a given version range that can only be satisfied by old (outdated) jpa bundles, also the spec says

Previous versions of this specification recommended that the JPA API packages were versioned using the OSGi recommended semantic versioning policy. Whilst this would have been an excellent way to ensure compatibility between JPA persistence bundles, client bundles, and JPA providers, in practice few bundles followed this versioning policy. As a result the various actors in the JPA service can easily be created with have clashing version ranges.

and further on

The contract capability means that clients can safely import the API using the contract and no import version.

I therefore think it must be like this to be usable (e.g. eclipse link exports the packages with version 2.0):
Import-Package: javax.persistence,
     org.osgi.framework;version="[1.8,2)"

Not sure if it maybe even needs a
Require-Capability: osgi.contract;
 filter:="(&(osgi.contract=JavaJPA)(version=*))"

It seem to only work with the osgi.cmpn because it only optionally imports the package, but as can be seen with pax-jpa when running the TCK this can easily lead to class cast exceptions or dysfunctional service.

since  JavaJPA 2.2  seems to be compatible with 1.0 and 2.1 we should update the range to 2.2)


[1.14.x] KOGITO-6130 Upgrade to Quarkus 2.4.2

Assembly:

https://github.com/kiegroup/optaplanner-quickstarts/pull/225
https://github.com/kiegroup/optaplanner/pull/1675
https://github.com/kiegroup/kogito-examples/pull/979
https://github.com/kiegroup/kogito-apps/pull/1113
https://github.com/kiegroup/kogito-runtimes/pull/1717

The (build) optaplanner-quickstarts check has failed. Please check the logs.

jenkins please retest this


Please make the MapBuilder values_field nullable a configurable value

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
With MapBuilder, it's not possible to build the sample schema described in the spec: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#backward-compatibility-rules-1
optional group my_map (MAP) {
  repeated group map {
    required binary str (UTF8);
    required int32 num;
  }
}

because in Line 141, nullable is hard-coded to true.
https://github.com/apache/arrow-rs/blob/3096591520d303eb34a432c82733e86f34999232/arrow/src/array/builder/map_builder.rs#L138-L142
So, it will also be optional int32 num.
Describe the solution you'd like
Can we make it configurable?

hi, I would like try to fix this :)


Android Q Images could not be saved and getting blank in Uri

Having Same issue ,Android Q Images could not be saved and getting blank in Uri

i resolved it successfully forgot to upload an answer.

i resolved it successfully forgot to upload an answer.

can you post the answer Brother

@Harshit1308 I am also facing the same issue on Android 10.0 (Q). Please provide the answer.

Just add this line in AndroidManifest file :
android:requestLegacyExternalStorage="true"

is my answer worked for you or not??

@VivekThummar52 Thanks, your answer worked perfectly.


Snail Racing?

As I perused the channels of the UQCS Discord server, I sensed a certain somberness in the atmosphere, as though cowsay no longer brings on any excitement. Determined to shake things up and contribute to the community, I took it upon myself to introduce a new feature to the server's bot.
I struggled to come up with a fresh and exciting idea, but inspiration finally struck me while racing my father-in-law home from a long weekend of manual labor in far-off regional Victoria. The idea of Snail Racing popped into my head like a bolt of lightning - a thrilling, fun, and unique addition to the UQCS bot's arsenal.
  1 |.......🐌       | coxy
  2 |..............🐌| JimmyD 🏁
  3 |......🐌        | Jason
  4 |.......     🐌  | Danie
  5 |...........🐌   | Brandon
  6 |.............🐌 | Tom

This was also an excuse to try Discord's interaction message UI, such as Buttons. I had been eager to test out these features after @JamesDearlove mentioned it, and the opportunity to incorporate them into my Snail Racing creation was perfect.
With the addition of interactive buttons, the Snail Racing application became even more engaging and immersive. The UQCS community could now participate in the fun and exciting experience of virtual snail racing with just a click of a button.

Love the idea, and playing with it on the testing server has been great fun! I'm not the most experienced, so I'll let @andrewj-brown , or someone else also review to double check. Also, feel free to voerrule any of the suggestions.

I'll endeavour to review this on Sunday.

Force pushing hurts me emotionally. But there was a state ref error which refused to acknowledge the previous commit 😢

... and i forgot to squash merge, very cool


Fixing error message for S3 when no files found

The error message in S3 when no S2 files were found is out-of-date, and this tiny PR fixes that issue

Threw in another bug patch that fixes a typo that prohibits plotting emission spectra


Avoid fatal error on PageType in limited situations

I'm testing some packages now...an e-commerse package adds a page type manually, but does not set a publish target object to the new page type. Because of this, I've got fatal errors on adding new page. I think developers should set a publish target object to a page type object, but this change will help beginners.

hmm i recognize the problem but i don't really like the fallback. i think we should just add a target object to every page type in the add() method that defaults to "full site" and keep the add routine in the composer dialog the same


Choose data source not appearing when choose SQL Server as Input (intermittent  problem)

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog):
Visual Studio Version 2019 4.8.09032

Describe the bug

At the Data step
Click SQL Server but the Choose data source... not appearing (the problem is intermittent )

To Reproduce
Steps to reproduce the behavior:
Please see the video CannotBrowseSQLServer.mp4 in the link below.
https://drive.google.com/drive/folders/12tV2M9IV2onX7LxBo6CpPCcVYGwbU6e_?usp=share_link
Expected behavior
Choose data source appears.
Screenshots
Please see the video CannotBrowseSQLServer.mp4 in the link below.
https://drive.google.com/drive/folders/12tV2M9IV2onX7LxBo6CpPCcVYGwbU6e_?usp=share_link
Additional context
Add any other context about the problem here.

Dup of #2622
We're fixing this bug. As a workaround, you can save and close .mbconfig, then reopen it. In most of cases the sql input window should re-appear


Custom decorator TypefaceSpan - Setting the text size modifies the size of the date in the calendar

I've created a custom span to display text with a specific typeface to display under the date. I'm trying to make this text smaller, but setting the paint to smaller text size makes the date smaller too, which is undesirable. Is there a way to get around this?
This is how I'm trying to set the text size. Is there another way I should be trying this?
   @Override
    public void drawBackground(Canvas canvas, Paint paint, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) {
        paint.setTypeface(newType);
        paint.setColor(mColor);
       paint.setTextSize(mSize);

        Rect rect = new Rect();
        paint.getTextBounds(mIconText, 0, 1, rect);

        int textWidth = rect.width();
        int textHeight = rect.height();

        canvas.drawText(mIconText, (left + right) / 2 - textWidth / 2, bottom + textHeight, paint);
    }

For anyone wondering, I figured out a way to do it. I set an Absolute Size Span after setting the custom span. For some reason, the absolute size span doesn't apply itself to the previous custom span (which is good!)
            @Override
                public void decorate(DayViewFacade dayViewFacade) {
                    dayViewFacade.addSpan(
                            new CustomSpan(
                                    size,
                                    color,
                                    text));
                    dayViewFacade.addSpan(new AbsoluteSizeSpan(getContext().getResources().getDimensionPixelOffset(R.dimen.text_size)));

                }


fix/tweeter-logo

Fixed the Issue

I have fixed the issue https://github.com/arguflow/arguflow/issues/562
The issue is to the logo of the twitter is old logo of twitter , it should be updated.and target is to replace the old logo of twitter with new logo of twitter.

Changes I have proposed :

In this issue , I have replace the old logo of twitter with new logo of twitter.

Could you please assign HacktoberFest label to this PR, because it is not counted under HacktoberFest till now.


Improve support for ES modules

This PR improves support for ES modules. It also adds some new tests for ESM imports. Fixes #138.
I rewrote the aliasToRelativePath function to implement the following new features:

Adding missing extensions to ESM import specifiers.
Finding matching .ts source files for generated .js files.

@all-contributors please add @Zebreus for code


Express should use ErrnoError

The Express v4 definition only allows middleware to forward unadulterated Error objects. If you need to access patched-in errno or code properties, you're hosed. I have a DB library providing error codes via code that I'd like my Express error handler to log. The current definition file doesn't allow this because it requires an Error rather than an ErrnoError.
I think we should change Error to ErrnoError in the Middleware error handler signature and in NextFunction.

Also, I believe the frequent use of (err?: ?Error) is redundant. Isn't this equivalent to (err: ?Error)?

Can anyone tell me why NextFunction returns a mixed? If it's really needed, that's fine, but it errors on the common idiom if (err) return next(err), which would be type-compatible with a function that returns void were next defined to return void.

cc @bassettsj / @gcedo who've both contributed to the Express v4 libdef before


The usage of computers in lab

Hi, is that possible to view the computers being occupied in the lab? Maybe a form of a pie chart or just a percentage. Since sometimes a lab is still busy even though no event is held. By the way, I am really appreciated your work, it is quite nice to see that someone finally tackle the lab problem.

This is something we discussed early on in the process, and we don't think it's possible unfortunately. As far we are aware there's no way to tell which PC is in use (at least that we would be allowed access to). I'd definitely like to, as it'd be a great way to gauge how busy each room is. If a solution arises that would be great!

Just some advice (it might be stupid to say): similar to what you guys have done in C11 with a QR code corresponding to a computer, but instead of just reporting an issue, people can also scan to sign up as an additional option.


Reza

reza

Rezaaaa...

Reza... Balas dlu

Rezaaa..

Rezaaaa

Ahí busco
El lun, 16 de dic de 2024, 11:03, tassooktavianus @.***>
escribió:

Rezaaaa
—
Reply to this email directly, view it on GitHub
https://github.com/dyaskur/google-chat-poll/issues/130#issuecomment-2545714504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNBHOCYGQZ3DEQQHZ7HSYNT2F3MT5AVCNFSM6AAAAABQCP23JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVG4YTINJQGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

🙏
Florencia reaccionó a través de Gmail
https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app
El lun, 16 de dic de 2024, 13:42, Florencia Klaassen <
@.***> escribió:

Ahí busco
El lun, 16 de dic de 2024, 11:03, tassooktavianus <
@.***> escribió:

Rezaaaa
—
Reply to this email directly, view it on GitHub
https://github.com/dyaskur/google-chat-poll/issues/130#issuecomment-2545714504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNBHOCYGQZ3DEQQHZ7HSYNT2F3MT5AVCNFSM6AAAAABQCP23JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVG4YTINJQGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

🙏🙏🙏

Dina....


Update order.py

修复由于package参数错误导致提交支付失败的问题

Codecov Report

Merging #467 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #467   +/-   ##
======================================
  Coverage    72.4%   72.4%
======================================
  Files          77      77
  Lines        2877    2877
======================================
  Hits         2083    2083
  Misses        794     794

Impacted Files
Coverage Δ

wechatpy/pay/api/order.py
39.47% <ø> (ø)
:arrow_up:

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 c5e57ee...1b61ae9. Read the comment docs.


Automatic selection of entry point

Hi,
When there is only entry point, is it possible to automatically identify it, skip the "Select an entry point" step and go straight to the step of displaying recommended order to upgrade projects?

If there's only one project in the solution (or if the tool is run on a project directly) the entry point step should be skipped as you describe. Is this not the behavior you're seeing?

@vijaya-lakshmi-venkatraman You mention "only entry point" and "to upgrade projects" so I'm wondering what you understand about the entrypoints. From the tool's perspective, any project is a viable entrypoint. It may be an application, a library you want to ship, or just the one project you care about getting converted to .NET 5/.NET Standard at this point.

@mjrousos Sorry, I am yet to check how the tool behaves when there is only one project in the solution.
@twsouthwick  My understanding of entry point was more in terms of the application entry point. Thanks for the clarification. Now I get the tool's pov. I will close this thread.


Music Remote Center - no sound

Hi. I am found a bug...
If Enabling Music Remote Center and play music then not a sound to 3,5mm headphone jack.
How i can solving this?
Device: RPi 4B, OS: Lean (2020-11-15)

Try:
echo "dtparam=i2c_arm=on,audio=on" >> /boot/config.txt

Then reboot.

Thnak you very much!! You are gold! :)
And, bonus..., do you know any app for Bluetooth management (on your builds)?


Unable to use French public satellite imagery (IGN)

Description
When trying to use the BDOrto IGN imagery, no tile is loaded. When going into the console, here are the 2 errors :
"Access to image at 'https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/15/16844/11479.jpg' from origin 'https://mapwith.ai' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
"GET https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/19/269514/183672.jpg net::ERR_FAILED 302"
Version
2.0.0-beta.0
What browser are you seeing the problem on? What version are you running?
Chrome v111.0
The OS you're using
Windows 11
Steps to reproduce
Use the BDOrtho layer in France
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-beta#background=fr.ign.bdortho&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w58294608&map=19.04/47.34221/5.06107&overlays=osm-gps
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response

Thanks for reporting, but unfortunately Rapid isn’t able to display imagery or data from another server unless the server is configured to allow cross origin-resource-sharing (CORS).
Although browsers can sometimes display images or data as “passive” content, our application isn’t allowed to read those pixels into a Canvas or WebGL context.
There is a lot more information on this link, along with examples of how to configure a server to allow cross origin requests.
https://webglfundamentals.org/webgl/lessons/webgl-cors-permission.html

Sorry for the very late answer
I understand, but with the 1.X version of Rapid, we were able to, but not anymore with the former beta, now 2.0 version of Rapid

I tried this out and browsers still expect the proxy server to also set the Access-Control-Allow-Origin header too.  Maybe openstreetmap.fr can do this?
https://stackoverflow.com/questions/18539403/chrome-cancels-cors-xhr-upon-http-302-redirect

Investigation of the problem showed that his XHR was not landing on the CORS-enabled URL directly, but was being redirected to it through an HTTP 302 (redirect) response.
So bear in mind that the redirecting URL must also include an Access-Control-Allow-Origin header, else the browser will stop right there with its attempted cross-domain request.

Fails through openstreetmap.fr proxy:

Seems ok on ign.fr:

You can use the direct URL in the custom layer
https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image/jpeg

Should be fixed by https://github.com/osmlab/editor-layer-index/pull/2468


Add a white background to input_comparison.drawio

It's hard to see the diagram in README while using dark mode:

Adding a white background to it would solve this
That's all, great mod btw

hmm, it seems to set the theme automatically for me

if you're using a custom theme, it might not handle that properly. but i'll check and see if setting the theme through github also enables dark mode (it should, but it could not)

Oops, apparently it's because of my browser? On Brave it also seems to be fine. Welp, it's very probably my browser, I'm sorry


Bluetooth unexpectedly turns off on the Samsung S7 devices

See the thali03_samsung-SM-G930F.md from the CI logs from the #1735 PR:
01-18 14:06:04.101  3948  3948 E BluetoothAdapter:
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: android.os.DeadObjectException
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.os.BinderProxy.transactNative(Native Method)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.os.BinderProxy.transact(Binder.java:503)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.bluetooth.IBluetooth$Stub$Proxy.getState(IBluetooth.java:1290)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.bluetooth.BluetoothAdapter.getState(BluetoothAdapter.java:1086)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at com.broadcom.bt.service.bleaudio.BluetoothLeAudio$1.onServiceDisconnected(BluetoothLeAudio.java:215)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1340)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1354)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.os.Handler.handleCallback(Handler.java:739)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.os.Handler.dispatchMessage(Handler.java:95)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.os.Looper.loop(Looper.java:158)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at android.app.ActivityThread.main(ActivityThread.java:7229)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at java.lang.reflect.Method.invoke(Native Method)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-18 14:06:04.101  3948  3948 E BluetoothAdapter: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

...

01-18 14:06:05.271  9723  9788 I jxcore-log: not ok 106 Can call startUpdateAdvertisingAndListening without error
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:   ---
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:     operator: notOk
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:     expected:
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:       false
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:     actual:
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:       'Failed to start the connection manager (Bluetooth connection listener)'
01-18 14:06:05.271  9723  9788 I jxcore-log:
01-18 14:06:05.271  9723  9788 I jxcore-log:   ...
01-18 14:06:05.271  9723  9788 I jxcore-log:

...

01-18 14:06:05.291  9723  9788 I jxcore-log: not ok 107 Can call startListeningForAdvertisements without error
01-18 14:06:05.291  9723  9788 I jxcore-log:
01-18 14:06:05.291  9723  9788 I jxcore-log:   ---
01-18 14:06:05.291  9723  9788 I jxcore-log:
01-18 14:06:05.291  9723  9788 I jxcore-log:     operator: notOk
01-18 14:06:05.291  9723  9788 I jxcore-log:
01-18 14:06:05.291  9723  9788 I jxcore-log:     expected: false
01-18 14:06:05.291  9723  9788 I jxcore-log:
01-18 14:06:05.291  9723  9788 I jxcore-log:     actual:   'Radio Turned Off'
01-18 14:06:05.291  9723  9788 I jxcore-log:
01-18 14:06:05.291  9723  9788 I jxcore-log:   ...
01-18 14:06:05.291  9723  9788 I jxcore-log:

The same situation is here
https://github.com/ThaliTester/TestResults/tree/102585911579949a_Add_null_sending_in_JSON_between_Android_and_Node_evabishchevich/

More logs: https://github.com/chapko/thali-logs/tree/can-shift-deadobject/2017-02-17T13:16:33.687Z
The most relevant logs are from the device ad081603480f209327:
02-17 16:17:26.260 18328 18531 I jxcore-log: # Can shift large amounts of data
...
02-17 16:17:28.150 18328 18531 I io.jxcore.node.ConnectionHelper: connect: Trying to connect to peer with ID 34:8A:7B:75:6B:43
...
02-17 16:17:32.150  3663  3700 W BroadcastQueue: android.os.DeadObjectException
...
02-17 16:17:33.820 18328 18531 I jxcore-log: 2017-02-17 13:17:33 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"off","bluetooth":"off","wifi":"on","cellular":"doNotCare","bssidName":"70:cd:60:ff:5a:07","ssidName":"U"}'
...
02-17 16:17:33.880 18328 18531 I jxcore-log: 2017-02-17 13:17:33 - INFO testThaliMobileNative: 'Connection info: {"listeningPort":58147,"clientPort":0,"serverPort":0}'
...
02-17 16:17:33.890 18328 18531 I jxcore-log: 2017-02-17 13:17:33 - INFO testThaliMobileNative: 'Connected to the 58147'
...
02-17 16:17:34.240 18328 18531 I jxcore-log: 2017-02-17 13:17:34 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"on","bluetooth":"on","wifi":"on","cellular":"doNotCare","bssidName":"70:cd:60:ff:5a:07","ssidName":"U"}'

These lines clearly shows that Bluetooth failed with exception but we got success result in Mobile('connect') callback with native listening port and were able to successfully connect to this port from node. But probably native listener was in the inconsistent state and test just failed.
Such system errors are probably inevitable but is there any way to detect these failures and destroy existing connections between node and native layer? In this case we can at least handle this failure and try to reconnect again.


Should Solid Team meetings and chat be open/public?

This can be two separate discussions but keeping together for now: for the sake of transparency and openness, I think team meetings and chat should be open to everyone.
We could perhaps make the meetings listen-only for non-members (with maybe a dedicated portion for questions?), and the chat could be read-only for non-members as well.

Closing as the ODI is taking on stewarship from the Solid Team.


fix(sync-apps): prevent YAML anchors in application objects

When syncing multiple apps at the same time, the application objects
in the root repo contained YAML anchors:
applications:
  menu-service: &id001 {}
  pizzeria-application: *id001
  stock-service: *id001

Fixes #86

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

v3.1.2
GitHub release

Your semantic-release bot :package::rocket:


[DNS] Add DNSMasq and DNSData CRD to manage DNS entries

DNSMasq CRD allows creating a dnsmasq DNS serverinstance and expose
the service via ExternalEndpoints and metallb to the edpm nodes on
isolated networks.
Using the DNSMasqOptions the instance can be customized from the default
config started.
Hosts information is being added via configmaps which have a label with
{dnsmasqhosts: dnsdata (can be customized via DNSDataLabelSelectorValue)}
set.

DNSData CRD allows to register hosts to be resolved in the dnsmasq
instance. The CRD creates the required configmap with the label as
described above.

Additionally there is a service_controller.go with no CRD. It watches
for LoadBalancer services in the same namespace of a DNSMasq instance and
creates a DNSData CR to registers service endpoints which have an annotation
set with {"dnsmasq.network.openstack.org/hostname": }.

Depends-On: https://github.com/openstack-k8s-operators/lib-common/pull/241
Depends-On: https://github.com/openstack-k8s-operators/lib-common/pull/258
Jira: OSP-23053

recreate of https://github.com/openstack-k8s-operators/infra-operator/pull/31

All my questions and comments got answered so it looks good to me. I did not approve it as I would like to rely on somebody else also looking at the overall DNS handling logic.

just for reference, hjensas accepted the procedure in the previous PR we had before the master->main branch renaming https://github.com/openstack-k8s-operators/infra-operator/pull/31#pullrequestreview-1420322226

All my questions and comments got answered so it looks good to me. I did not approve it as I would like to rely on somebody else also looking at the overall DNS handling logic.

just for reference, hjensas accepted the procedure in the previous PR we had before the master->main branch renaming #31 (review)

Ohh cool. Then I will approve this based on the combined reviews.


install: add chart-checker

This adds a go chart-checker that adds certain Cilium-specific checks.
The first linter ensures that the preflight mode can be installed alongside an existing installation.

Nice work!

I've picked this back up - PTAL, thanks!


[Feature Request] Send emails to all users on board as "cc" trail.

I feel if the users get emails as "cc" instead of invidiualy getting emails it would bring a lot more visibility. The users can start an email chain on that if required.

I just realized I never replied to this. Sorry!
As part of the current re-write efforts, the email features will get a complete overhaul. I'll make this a part of that.


Playback of Widevine encrypted content on Firefox 47 beta

Hi,
We are testing with a version of Shaka Player on Firefox beta  - this version supports the Widevine CDM
In eme_manager.js   - I am trying to force the use of persistent state via always setting "persistentState: 'required' "  On Chrome this allows use of the provider_client_token feature by initiating a request for a server supplied certificate that can be used to obfuscate the client side private data.
We don't see this server certificate request when we test on Firefox - therefore a provider_client_token is not returned by the Widevine license server.
Has anyone else tested this  - is persistentstate / provider_client_token supported on Firefox??
Tested on Firefox 47.03b (beta channel)  On OSX 10.10.5 and Windows 10   - Shaka Player 1.3.1 (I realise this is old, but works on Chrome)

This is not something we have tested yet, but I will look into it.

I just tried the demo page with Firefox Nightly 50.0a1 (2016-06-07). The Unified Streaming "Tears of Steel (Widevine)" asset works! It did not work in FF 49 so it looks like mozilla has fixed the CDM issue(s) there.
I have not tried shaka-player v1.6.5 (the version jwplayer currently uses). It would be great if it just worked in 1.6.x but we're pretty excited about integrating shaka v2 once it's released.

Update: Widevine streams are playing shaka-player 1.6.5 with Firefox Nightly 50.0a1 (2016-06-07).

Thanks for testing for us, Rob!  Since this appears to be working in the latest Firefox with both versions of Shaka, I will consider the matter resolved by Mozilla.

Do you have an idea of what the issues are with getting EME working with Firefox 47? Firefox 47 is available now, and Mozilla has announced Widevine support would be available in this release.
Firefox 50 isn't expected to be released until November, so this puts us in a bind.
https://blog.mozilla.org/futurereleases/2016/04/08/mozilla-to-test-widevine-cdm-in-firefox-nightly/
https://blog.mozilla.org/futurereleases/2016/02/04/update-on-2016-firefox-release-schedule/

@robwalch Widevine is now available in Firefox 47, which was released this week. The "Tears of Steel (Widevine)" video works for me with Firefox 47, 48 (Beta), and 50 (Nightly) on OS X. Can you please try retesting?
I suspect you may have hit a temporary problem during Firefox Nightly 49 that has been reverted. We tried to update to a newer version of the Widevine CDM about two weeks ago, but hit some content compatibility problems. Firefox bug 1273214 has more information.

btw, the persistentState problem @kidmiracleman reported above is Firefox bug 1278198. I think @robwalch saw a different problem.

@joeyparrish - can this be reopened?  The intent of this ticket is to highlight a potential issue with persistentState and dependent provider_client_token feature of Widevine.

@kidmiracleman: As @cpeterso pointed out, the issue with persistentState seems to be Firefox bug 1278198.  Since that is a bug in Firefox, not in Shaka, I've tagged it "bug" and "external".
I will reopen this issue until the Firefox bug has been confirmed fixed.

Yes I saw a different problem that is resolved in 47. Thanks!

From tomorrow onwards, Firefox Nightly (version 50) should support the persistentState attribute. Please re-test in an up-to-date Firefox Nightly build tomorrow, and let me know whether that works.

Firefox 50 is due out tomorrow and should have the fix.  Closing this issue.  Thanks, everyone!


Error 500 at build time

At build time, the '/_locales/' folder get pre-rendered by nitro. But it fails and there is no explanation as to why.
Example on pnpm build :
ℹ Prerendering 40 routes                                                                                nitro 9:10:13 PM
  ├─ /_locales/about/en/data.json (17ms)                                                                                nitro 9:10:13 PM
  │ └── Error: [500]
  ├─ /_locales/contact/en/data.json (14ms)                                                                                nitro 9:10:13 PM
  │ └── Error: [500]
  ├─ /_locales/dashboard/en/data.json (14ms)                                                                                nitro 9:10:13 PM
  │ └── Error: [500]

...etc and lower on the same command :
Errors prerendering:
  ├─ /_locales/about/en/data.json (17ms)                                                                                nitro 9:10:13 PM
  │ └── Error: [500]
  ├─ /_locales/contact/en/data.json (14ms)                                                                                nitro 9:10:13 PM
  │ └── Error: [500]
  ├─ /_locales/dashboard/en/data.json (14ms)

...etc
ERROR  Exiting due to prerender errors.                                                                                9:10:13 PM

  at prerender (node_modules/.pnpm/nitropack@2.9.7_@opentelemetry+api@1.9.0_drizzle-orm@0.33.0_@cloudflare+workers-types@4.20240_bhl4qsy7253l5px3bgqyitvdqa/node_modules/nitropack/dist/chunks/prerender.mjs:220:11)
  at async node_modules/.pnpm/nuxt@3.13.2_@opentelemetry+api@1.9.0_@parcel+watcher@2.4.1_@types+node@20.14.9_drizzle-orm@0._5izbfushtltydskmchrenphyii/node_modules/nuxt/dist/index.mjs:3628:5
  at async build (node_modules/.pnpm/nuxt@3.13.2_@opentelemetry+api@1.9.0_@parcel+watcher@2.4.1_@types+node@20.14.9_drizzle-orm@0._5izbfushtltydskmchrenphyii/node_modules/nuxt/dist/index.mjs:5778:3)
  at async Object.run (node_modules/.pnpm/nuxi@3.13.2/node_modules/nuxi/dist/chunks/build.mjs:102:5)
  at async runCommand$1 (node_modules/.pnpm/nuxi@3.13.2/node_modules/nuxi/dist/shared/nuxi.b8b195e1.mjs:1648:16)
  at async runCommand$1 (node_modules/.pnpm/nuxi@3.13.2/node_modules/nuxi/dist/shared/nuxi.b8b195e1.mjs:1639:11)
  at async runMain$1 (node_modules/.pnpm/nuxi@3.13.2/node_modules/nuxi/dist/shared/nuxi.b8b195e1.mjs:1777:7)

 ERROR  Exiting due to prerender errors.                                                                                9:10:13 PM

 ELIFECYCLE  Command failed with exit code 1.

Hello. I need a code example, it's not clear what the problem is.

Thank you for your quick response. Unfortunately I tried to make a reproduction, but was unable to do so because I have no idea where the bug comes from and the error messages didn't help.
I thought it might be because nuxt hub was building differently, but it is not the case on my reproduction attempts.
When trying builds on the project, I tried to remove all the /locales/ folder except where there was translations. Because not every route did Error. It didn't affect the issue.
Most of the translation jsons were empty as I had not optimized the translations into separate fields at this stage.
Unfortunately I migrated sunday evening to the normal i18n because I needed to publish this small project quickly.
Why would prerendering json fail is an interesting question though.

I see that you weren't able to find the issue. If you have time, please try to create a reproduction. Thanks in advance! I'm closing the issue for now.


Training ASR model with larger batch size couldn't accelerate

Hello,
I was trying to train Transformer model in AISHELL, everything works fine with the default setting. But when I changed the batch size from 8 to 16, the time spent on each iteration became about twice(sometimes even more) compare to previous, which means it didn't shorten the training time. I tried to changed the batch size to 32 and it had the same problem.
I was thinking maybe the cause was in the dataloader, then I check the code and it looks like the only step compute in CPU is audio loading. So I printed the time cost in this step, but it doesn't seem to be the problem.
Any idea about this issue?
Recipe: speechbrain/recipes/AISHELL-1/ASR/transformer
Python: 3.8.0
torch: 1.7.1+cu101
torchaudio: 0.7.2

Hi,
We will need a bit more of context. Are you using 1 or many GPUs? Do you mean that increasing the batch_size also increased the training time? If so, this could be due to a slow read access where the data are stored. This typically happens when the data are accessed through the NFS. If this is the case, increasing the num_workers on the dataloader will solve the issue.

Hi,
We will need a bit more of context. Are you using 1 or many GPUs? Do you mean that increasing the batch_size also increased the training time? If so, this could be due to a slow read access where the data are stored. This typically happens when the data are accessed through the NFS. If this is the case, increasing the num_workers on the dataloader will solve the issue.

I did the experiment separately with 1 GPU and multi-GPU training using DDP, both methods ran into the same problem. Like you said, when I increased the batch_size, the training time was also increased.
So I increased the num_workers on the dataloader as you suggest, and the training speed has been significantly improved, everything seems to be fine by now.
Thank you for your great work and helpful reply!


Phonetic Encoding

These changes allow encoding of words into their phonetic representation by using a variety of algorithms. After a word is encoded, we compute its score in the same way we would if it was not encoded: by using a string distance algorithm.
Phonetic.java provides numerous encoding algorithms provided by the org.apache.commons.codec.language package. The Phonetic class exposes the following algorithms:

CaverPhone2
DoubleMetaphone
MatchRating
Metaphone
Nysiis
RefinedSoundex
Soundex

AlgRunner.java now has an optional field to provide a configured Phonetic object that it will use when computing a score.

Running with DoubleMetaphone Encoder, 8 threads and input "beesh" caused some threads to throw NullPointerException from Levenstein's distance function. Double Metaphone might pass nulls to Levenstein.


vue icon dosent show

[ x] I'm sure this issue is not a duplicate.

[ ] I'm submitting an icon request:

Type: ``
Icon Name: vue
Sample original Icon:
Extensions: vue
Filenames: ``
Language ids: ``

Language Extensions:

More info: sorry, I know english not very well and maybe I should not to create this issue, but .vue icons dosent backlint. I shure that I enable extension, other icons are good.

You need to install some vuejs extension. Try vetur

You need to install some vuejs extension. Try vetur

Sorry but you are wrong.
I try this setting and icon was become. But how I understood this setting must be used for custom user settings or I didnt understand logic of this extension. Help me do it please, why this setting was help me?

Just install vetur. Remove the setting.

Some icons become active once you have the proper extension, like the VueJS one.
What you've done is just force the icon to be shown for vue extension regardless of you having the extension or not.
As you said, this works but it's mainly designed for fine tuning and customization. Normally, if you use vuejs you will like to use some extension to give you syntax coloring and other stuff.

Some icons become active once you have the proper extension, like the VueJS one.
What you've done is just force the icon to be shown for vue extension regardless of you having the extension or not.
As you said, this works but it's mainly designed for fine tuning and customization. Normally, if you use vuejs you will like to use some extension to give you syntax coloring and other stuff.

thank you very much!


Update coverage.html see full custom rule without scrolling.

Fixes custom rule text area requiring scroll.
width was hard-coded to 1000px, this sets it to 100% instead.

I appreciate the PR donaciano.
See PR 119 merged into pilot (https://github.com/secureworks/dalton/pull/119).
Let me know if you see any issues on pilot.
Thanks!


ukmm: 0.7.1 -> 0.8.0

Description of changes
Version bump. https://github.com/NiceneNerd/ukmm/compare/v0.7.1...v0.8.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

$ nixpkgs-review pr 229695 -> 1 package built: ukmm


Group dependabot updates

This pull request includes a small change to the .github/dependabot.yml file. The change adds grouping for dependency updates by action patterns for various package ecosystems.

.github/dependabot.yml: Added groups configuration with actions patterns for gitsubmodule, nuget, and pip package ecosystems.

coverage: 80.718%. remained the same
when pulling 0a07b509261b0325b7cb4078140805eafd2b3e82 on Alan-Jowett:group_dependabot
into a25446f778acb32882acbf90d6b17a1ad531c0ce on iovisor:main.


Implement shared_future, shared_future, and shared_future<R&>

We probably won't use shared futures in the library, but application developers might want to use them.

Closing, we do not seem to use this in the libraries.


finite:0.4.1

I am submitting

[ ] a new package
[x] an update for a package

Version 0.4.1

Fixes error in #powerset function (#8).

Thanks!


tests: Fix CLI Test on Windows

Changed the output path of CLI test on Windows to a similar path.
This should fix the Windows build error as I patched it similarly here on the conda-forge Windows test 👍 : https://github.com/conda-forge/griffe-feedstock/blob/befe014bfac10bb45a46ad7e19d598c34e53db99/recipe/patches/0001-windows-cli-test-patch.patch

Reference:
https://stackoverflow.com/questions/313111/is-there-a-dev-null-on-windows
https://stackoverflow.com/questions/446209/possible-values-from-sys-platform

I ran make format, Black was complaining :slightly_smiling_face:

Awesome! I did this on the GitHub website because I didn't want to forget about it, so I couldn't do the make format command 😄

Thanks a  lot ^^ The last error is related to mypy, not sure why it fails in CI while working locally :/ Unrelated to this PR anyway, so I'll merge :)


Add tests

See:
http://nicksda.apotomo.de/2010/09/getting-a-bloody-rails-3-generator-running-and-testing-it/
https://github.com/plataformatec/devise/tree/master/test/generators
https://github.com/ryanb/nifty-generators/tree/master/test
https://github.com/codebrew/backbone-rails/tree/master/test/generators

I'm using Mocha.js for my Backbone testing in Rails and it is really nice. The Should style assertions with Chai.js are beautiful. My glue code for asset pipeline is available as a rails engine: https://github.com/quartzmo/mocha_rails. What do you think about a scaffold generator option for Mocha tests in backbone-on-rails?

The idea (credit to phaedryx) is that the backbone-on-rails generators, either through an option or through detection of JS test gems gems like mocha_rails or Jasminerice, would then generate the right type of tests, similar to how Rails does for Rspec or testunit.

Could you open another issue for this?

Started work on unit tests for the generators in the tests branch


[Event Request] codeunit 99000845 "Reservation Management" - OnBeforeSetValueArray

New event
local procedure SetValueArray(EntryStatus: Option Reservation,Tracking,Simulation) ArrayCounter: Integer
var
	IsHandled: Boolean;
begin
	OnBeforeSetValueArray(EntryStatus, ValueArray, IsHandled, ArrayCounter);
	if IsHandled then
		exit(ArrLen);
	Clear(ValueArray);

[IntegrationEvent(false, false)]
local procedure OnBeforeSetValueArray(EntryStatus: Option Reservation,Tracking,Simulation; var ValueArray: array[18] of Integer; OnlyPurchLine: Boolean; AllPurchLines: Boolean; var IsHandled: Boolean; var ArrayCounter: Integer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 40804.