Can only yarn install with --ignore-engines

It looks like you guys have specified a node-engine in your package.json file of node 4.0.x...
"engines": {
    "node": "4.0.x"
},

However, this isn't actually correct, since this implies that keen dataviz will only work on x where x is exactly 4.0.0 <= x  < 4.1.0. I believe it should probably read "node": ">=4.0.0".
I'm currently using node v7.0.0 with webpack to bundle keen dataviz into my js app and it works just fine—except that I have to install my dependencies with yarn --ignore-engines.

Hey @topher515! Thanks for the issue! I apologize for the delay. Most of the team was out for the Thanksgiving holidays. I'll see if I can find out more on this!

FYI, I forked your repo, removed the engine field and now i can yarn install my forked repo no problem.
See: https://github.com/zoomforth/keen-dataviz.js/commit/ef2372e7d81e826ce8c7dc721ba70e032f23d2b8


Unexpected token . when loading css from react-flexbox-grid

Following the setup as described in read.me, I am getting:
Unexpected token .
D:\xxxx\xxx\node_modules\flexboxgrid2\flexboxgrid2.css:1
(function (exports, require, module, __filename, __dirname) { .container {
^
what am I doing wrong?
My next.config.js goes as follows:
// next.config.js const withCSS = require("@zeit/next-css"); module.exports = withCSS();

It seems like SSR works where it puts all required css/scss files into one file in /static/styles.css
However in the client, the loader doesn't seems to be configured correctly.

I think this issue is related to the externals from server.
https://github.com/zeit/next-plugins/issues/70
Basically I think what happened was that the server didn't bundle them correctly when compiling, therefore the require/import statement in the library becomes a separate file or something that webpack can't understand (the syntax looks like a normal javascript btw if you notice in the error log).
And by changing the rules of externals, it will start working again.

Getting the same issue. Was expecting to use this module in combination with the normalize.css NPM module and just doing import 'normalize.css, which I have gotten to work in Webpack builds before.

I had this issue as well, and after days of trying different solutions without luck, I found a module called next-transpile-modules that solved it!
Like so:
const withSass = require('@zeit/next-sass');
const withCSS = require('@zeit/next-css');
const withTM = require('next-transpile-modules');

module.exports = withCSS(withSass(withTM({
  transpileModules: ['react-flexbox-grid']
})));


Remove files generated by autotools

for #165. I think not many projects have them in their repo.

Hi @ukai, any chance we could have a new release with those changes ? The test-driver symlink is causing some issues in https://github.com/facebook/react-native


ArgumentException: The parameter is incorrect. pixelWidth, in SkiaSharp.Views.UWP SKXamlCanvas DoInvalidate()

Description
After a recent update to all of our third party nuget packages, we started getting this exception from SkiaSharp on UWP:
System.ArgumentException: The parameter is incorrect. pixelWidth
Call Stack:
SkiaSharp.Views.UWP.SKXamlCanvas.CreateBitmap(SkiaSharp.SKImageInfo info)
SkiaSharp.Views.UWP.SKXamlCanvas.DoInvalidate()
I tracked the cause down this check here:
https://github.com/mono/SkiaSharp/blob/b8511b732b77b6e9f3b4929a5fa5598d189adf1d/source/SkiaSharp.Views/SkiaSharp.Views.UWP/SKXamlCanvas.cs#L94
SkiaSharp is correctly checking that ActualWidth and ActualHeight are valid, but only before multiplying them by the dpi, so the exception is likely being caused by somebody else setting the dpi to zero or some other invalid value.  As a test, I explicitly turned on IgnorePixelScaling in my control, and it successfully avoided the exception, proving that the bad value is coming from dpi.
A simple fix would be to move this check to after the "width" and "height" are calculated, and to validate those values instead of "ActualWidth" and "ActualHeight"
Basic Information

Version with issue:  1.60.2
IDE:  Visual Studio 15.7.5
Platform Target Frameworks:

UWP:  10.0.16299

I just opened the issue list to log this exact issue.
Experienced this after updating from 1.60.0 to 1.60.2, I am using SkiaSharp within a Xamarin.Forms UWP application, in this instance to render a button used to navigate back, I don't get the issue in other scenarios, so it looks to me like it could be when destroying a control.
Tried rolling back to 1.60.1 and the issue doesn't occur here.  I also don't see an issue in iOS.

I am still hitting the exception with IgnorePixelScaling enabled on the SKCanvasView, could it be a race condition where ActualWidth is changing between doing the check and creating the Bitmap?

@DuncWatts The OnLoaded(), DoInvalidate(), and OnDpiChanged() functions are all identical between 1.60.0 and 1.60.2, so the issue isn't doesn't appear to related to the SkiaSharp version.
What version of Xamarin.Forms are you using?  We hadn't been getting this with 2.5.0, but we are now since we've updated to 3.1.0, however we also updated a number of other 3rd part packages so I didn't want to blame any one single package when it seemed like there was a simple fix possible in SkiaSharp.
It could be a race issue, but in either case the fix I suggested should resolve it as the width and height are local variables whose values wouldn't change once assigned.
It's also possible ActualWidth  and ActualHeight are negative values for some reason, as the validation is only checking if they're zero.  I haven't debugged into the SkiaSharp code yet, as the IgnorePixelScaling change fixed it for us.

@jalbertSyncroTech I'm using Xamarin.Forms 3.1.0.
All I say at the moment is I don't see any issues if I downgrade the SkiaSharp libraries to 1.60.0 or 1.60.1, only if I update to 1.60.2.

Dpi is initialized in in OnLoaded(). I found sometime OnSizeChanged is called before OnLoaded. So I think dpi should initialized in SKXamlCanvas.Initialize() directly.


Install Additional Product Icon Themes from market place menu entry

Adds the Install Additional Product Icon Themes... menu entry to the product icon selection theme

@joaomoreno I would like to add that menu entry now that we have https://github.com/microsoft/vscode-vsce/pull/529

While you're in there, is it easy to fix this nit about alpha order?

@gjsjohnmurray That's at an unrelated code location. I pushed a fix: 61decba0335cd3a50dc46581f6eb1b16121a0cf7


Gassetic with static files

Hi!
Thanks for sharing this awesome tool!
I used to use gassetic with dynamique html pages, so I can have code like this one:
    {% if platform == 'dev' %}
        <!-- dev:styles.css --><!-- endbuild -->
    {% else %}
        <!-- prod:styles.css --><!-- endbuild -->
    {% endif %}

It works perfectly!
What if I should use gassetic with static file, how can I do that?
Is there a way to have a platform agnostic tag?
      <!-- *:styles.css --><!-- endbuild -->

Cheers,
Thomas.

Great functionality !
It should be documented though.


Bug fix PUT /repos/:owner/:repo/branches/:branch/protection

The 'dismissal_restrictions' key in the 'required_pull_request_reviews' object must either be omitted (for the case of personal repositories), an empty JSON object, or a JSON object with exactly two keys 'users' and 'teams'. See https://developer.github.com/v3/repos/branches/#update-branch-protection. Closes #664

Closes #664

ping. Any changes needed?

Ping. I don't think GitHub is going to fix their mismatch between their documentation and their current behavior. I have users giving me feedback that the functionality isn't working. So for now, I have to rely on my fork that includes this pull request (https://github.com/mspiegel/go-github/) :(

I think we're in good shape. The GitHub API documentation used to be inaccurate. It previously said "You can disable dismissal restrictions by passing the dismissal_restrictions object as an empty array." https://web.archive.org/web/20170812204213/https://developer.github.com/v3/repos/branches/. Now it says "Pass an empty dismissal_restrictions object to disable"

How's it look? I feel like we have momentum and this is nearly complete.

Thanks! Merge? Is there a release cycle?

Merging.

@dmitshur has anyone tested dismissal_restrictions on org-owned repos?
Based on what I'm seeing, setting dismissal_restrictions to an empty object does not disable, but rather enables no one to dismiss.
In the GitHub branch protection settings I see dismissal restrictions enabled, but no one listed as being able to dismiss:
Restrict who can dismiss pull request reviews
Specify people or teams allowed to dismiss pull request reviews.

If, furthermore, the restrictions apply to admins (set further down), then absolutely no one except the reviewer will be able to dismiss.
Perhaps not passing the key is the correct way to disable on org-owned repos?

Hi @joebowbeer, could you please run your question by<EMAIL_ADDRESS>and report back here what their answer is?

I asked GitHub support for clarification. Watch this space.


Updated 'request account' page

Context
The content of the 'request account' page said that people should contact us to request their own account. But if their organisation already uses Register then they should ask a colleague with an account to contact us. This is now the most common situation.
Changes proposed in this pull request
I've made the content accurate and also taken the opportunity to also make minor content improvements throughout.
In addition, this page was referring to content in /config/locales/en.yml. That made it difficult to update and was unnecessary since we do not have other language versions. I've replaced these references with html. In future we may change the page so that it uses markdown.
I removed the content about the request page from /config/locales/en.yml to tidy up the code.

 Improve the 'request account' page


Support for Pandoc mark extension

[Pandoc 3.0 added]((https://pandoc.org/releases.html#pandoc-3.0-2023-01-18) the mark extension](https://pandoc.org/MANUAL.html#extension-mark), which enables the syntax ==…==in Markdown.
This could be useful as alternative syntax for “alert.”

Deckset doesn't support “highlighter-style” highlighting.  This is already a problem for the alert class, as it depends on the theme whether it will be visible at all.  Especially for quotations it should be rendered in some other way that makes clear that the highlighting is not part of the source, maybe 〖using brackets〗, ☞dingbats☜, or ➡emoji⬅.


Colleen, Q3 interviewing

Interviewees: friends and neighbors
5 people
5 individual half hours, total 2.5 hrs
$125

I apologize for all the activity above, I was preparing the Github Project Board Demo.
Issue #51 Update:  I expect to have a few more Interviews done by Monday, Oct 14, but I still may have a few more to do, especially since my first one had so many issues.  I would expect to be done before, but no later than Oct 21. Thanks!

I've been ill this past week so unfortunately I have to extend my deadline to October28, 2024. I appreciate your patience.

Need to go to doctor, new due date is Monday November 4, 2025 - assuming that is the date next Monday

After being diagnosed with Pneumonia, I have to move my final due date to November 18.  I appreciate all the support, thank you.

My new deadline is November 25. Thank you for your patience

New Deadline is December 7th - thank you for all your patience, guidance and support during this time.  I'm glad to be back


Reddit minimal

is it possible to backup your script separately? i have customized and want to share on the net but can't find the customization.
rounding does not work everywhere i set it to 15

fixed rounded corner in commit 5361ad5
of sure, backup script separately is possivel

there will be a version for Tampermonkey?
Will the full picture show without clicking the full picture?

I don't plan on creating a version for tampermonkey, but creating a script to show the entire image might be a good idea, even though the userstyle has an option to show 100% of the image inside the div

I don't plan on creating a version for tampermonkey, but creating a script to show the entire image might be a good idea, even though the userstyle has an option to show 100% of the image inside the div

https://chrome.google.com/webstore/detail/new-reddit-enhancements-c/bjnmegcnfngcoknlecbbmkpfkhbaiglh — Here's the code. fix image и добавь. and add. very useful function

already an option to resize the image in the post

best


UI updation

Making the navbar responsive.

Small screens:

I want to work on this. Please assign this to me is issue gets accepted.

@StephenStolk Cool !! Make it Responsive , I am assigning this issue to you !!


Give temple their own nodepool

From https://2i2c.freshdesk.com/a/tickets/983, temple is reporting server crashes as their users all come online at the same time. You can see this in the bump in their server startup times:

Given they get to 100+ users, and they all come on suddenly enough, I think it makes sense to put them on their own nodepool. We now also can accurately attribute costs per nodepool, so this makes cost recovery easier too. This will also relieve pressure on the other hubs that are on the same shared cluster.

For measuring the node, I saw that everyone has the basic default we set - 256M of guarantee and 1G of limit. Looking at actual memory usage:

You can see that most users are roughly under about 512M. This is super rough, but based on this I choose n2-highmem-8. This has about 58ish GB of RAM. The scheduler will fit in 100 users here (as that's about the per-node pod limit), and overall I think that'll work out ok.


Does this directive use the new ng2 animate?

Are you running your own custom request animation frame or is it running through the baked in ng animate? #

Sorry for the long wait for an answer--I thought that I had already answered this.
It actually doesn't need to request an animation frame, or even use ngAnimate.  It uses scroll events to detect changes, and depending on your configuration, it just updates the .style object on that element to make it work.  It works smoothly and cleanly, and as such I don't see the need for either of those.
I'd suggest looking at the code.  Do you think it can be done more cleanly?

Ng animate doesnt support dynamic values yet so it can't be done, even when it happens it works the same way

Out of curiosity, does ngAnimate now support dynamic values?  What would be the advantage of using ngAnimate over CSS transitions or the like?
This may also need to be continued on the new repo here.  I'll try to migrate the issue over soon:
cwdj-parallax


extrameridian, generall

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[e,g]

/trunk merge


Can I use this operator on KITII?

Can I use this operator on KITII?

Hi Niangao,
Thanks for your interest in our project. The point cloud in KITTI is essentially the "LiDAR" operator in our ModelNet40-C. However, you could still use the noise and transformation corruption operations for the object-level point cloud in KITTI. That is to say, you could first extract the point cloud of an object like a "car" or "cyclist", and then apply the operators in our code to them. Finally, you can put the corrupted point cloud back into the original KITTI point cloud.
Best,
Jiachen

Thank you for your reply .
I have found the  "impulse_noise" function in in generate_c:
def impulse_noise(pointcloud, severity):
    ...
    return normalize(pointcloud)

The normalize function will  normalizes the point cloud so that the generated point cloud is very different from the original point cloud
What does this function do? And
If I use it in Kitti, should I delete this function?

the normalize function will normalize the point cloud into the edge-length-2 cube, and I don't think it will make the generated point cloud different from the original point cloud for ModelNet40-C.
For KITTI, you should not use it since it is an open-world dataset.

Thank you


fix: make cv2 dependency optional

Makes CV2 dependency optional. It's not used in any of the functional code.
Note: None of this module has tests. We need tests ASAP.

Related issue: https://github.com/Unstructured-IO/unstructured/issues/1232

worth a release?


ja: Make docs/concepts/extend-kubernetes/operator.md follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/extend-kubernetes/operator.md to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/concepts/extend-kubernetes/operator.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.2/content/ja/docs/concepts/extend-kubernetes/operator.md
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/concepts/extend-kubernetes/operator.md
diff between translated and v1.18
https://gist.github.com/43f077a605fa5ecf233e5bb85c5ad034
Note
Currently, we use dev-1.18-ja.2 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

It seems already followed v1.18 of the original text
/close


DCOS-17250: Do/Don't Component for Design System

~⚠ This PR depends on #2349~
A Do/Don't component is a block that informs the user on how to/how not to use UI components. It consists of a title ("Do" or "Don't"), a description for the user and the UI component in question. The children of the component are the UI components to show. There is also a DoDontPanel component that wraps the blocks in a grid.
Example use:
<DoDontPanel>
  <Do description="...">
    <button className="button button-primary" type="button">
      Primary Button
    </button>
  </Do>
  <Dont description="...">
    <button className="button button-primary" type="button">
      Primary Button
    </button>
  </Dont>
</DoDontPanel>

Closes DCOS-17250
To test:

See Overview Tab for Checkboxes component

Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Alfred retest this please

@tnguyen0 Can you include an example of what this looks like in the PR description? Both a screenshot and what the HTML output would be?

I'd like us to build a set of components that one compose as illustrated below:

    <Headline>Usage</Headline>

    Every button that confirms or cancels and action should have the `button-primary` class.

        <button className="button button-primary" type="button">
            Confirm Button
        </button>

        <button className="button button-primary button-danger" type="button">
            Cancle Button
        </button>

    <Hint>
        You the  `button-primary` class also for submit "buttons"

            <input type="submit" value="Submit Button" className="button button-primary">

    </Hint>

    <Warning>
        Don't use the `button-primary"`  for simple links.

            <Link className="button primary-button">
                Simple Link
            </Link>

    </Warning>

I believe that the new UI dreamers could pick up on this work, @weblancaster and @Poltergeist


Start Date and End Date fields are standard date pickers

During the OpenHistoricalMapathon at State of the Map U.S. last weekend, I noticed that @jeffreyameyer’s laptop was showing iD’s Start Date and End Date fields as <input type="date">. While this is convenient for inputting valid start_date and end_date values in the recent past, my understanding is that OpenHistoricalMap/iD#81 changed these fields to <input type="text"> because most browsers don’t let users enter the full range of acceptable years in <input type="date">. For example, in Firefox 114, you can enter a year from 0000 to 99999 but not −1 for 2 B.C.
Unfortunately, I am unable to reproduce the issue in Firefox, Chrome, or Safari on macOS 10.13: the fields are plain text fields, as expected. In GreenInfo Slack, @danrademacher and @batpad were seeing the same. So far it’s just @jeffreyameyer’s computer for some reason.
The start_date and end_date fields are defined as date types. However, in the OHM fork, we’ve removed the code to map date to an input field. I recall that we change any date types to text at some point, but I’m unsure where.

Ugh - I'm not able to repro now... maybe we should close & reopen if we see it again?

We did both see that behavior, but it’s a total mystery. We can close this for now.

I’ve occasionally seen the standard date pickers in others’ browsers. I think it’s actually a feature that’s usually broken. In id-tagging-schema, start_date is typed as a date field, and iD copies that into the <input> element’s type attribute. But not in my browser for some reason…


fix: Rename JSX files, feat: Add vite

GitHub Issue (If applicable): None
PR Type
What kind of change does this PR introduce?

Code style update (formatting)
Refactoring (no functional changes, no api changes)
Build or CI related changes

What is the current behavior?
React-scripts is the default way to build your package, and behind the scenes uses webpack for bundling of dependencies, tree shaking, other things, and the resulting build is currently 13MB. I'd go on, but honestly, node-sass is giving me several issues around installing, but understand that the yarn.lock file is currently over 11k lines long.
What is the new behavior?
Introducing vite, something I've been using in my personal stuff (after finding out about it while trying to optimise a website at work a few months a go). It uses esbuild instead of webpack and does the same stuff -- only better. The resulting build is 11MB (~15% smaller without trying to optimise), only 294 dependencies (yarn.lock is 2k lines long), and will start a dev server in under 1s while also building the resulting production build much faster.
The other nice thing is it means we now no longer require node-sass as a transitive dependency, which always seems to give me issues when re-installing dependencies...
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tested code with current upstream repo
[ ] Added new tests to the test suite for the feature
[ ] Tested the full test suite, and ensured that the feature does not break current build.
[ ] Docs have been added/updated which fit (for bug fixes / features)
[x] Contains NO breaking changes
[ ] Associated with an issue (GitHub or internal)
[x] Checked licensing of Frameworks/Libraries (if applicable)

Just realised this is almost as big as @Matteas-Eden largest commit.


⚠ Bofrost.be has degraded performance

In 5949640, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.be performance has improved in 7c059d9.


bug: SchemaStore doesn't work

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.2
Operating system/version
NixOS
Describe the bug
I enabled yaml plugin but the SchemaStore doesn't work. If I enable it with schemas = require('schemastore').yaml.schemas() it works. So I thought this part
https://github.com/LazyVim/LazyVim/blob/e11a3cbe800a1216062f7cefd25827f6fdad9daa/lua/lazyvim/plugins/extras/lang/yaml.lua#L37
is why it doesn't work for me.
Steps To Reproduce

Enable yaml plugin
Open a yaml file with schema. E.g., you can create a metadata/test.yml file then open it in neovim.

Expected Behavior
The schema is loaded automatically based on the file path. E.g., when typing License there should be completion from the schema.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Thanks for you fast fix!


Error finding/loading main class org.owasp.dependencycheck.App

Hello
I’m having troubles running the CLI version of the 3.1.0 tool.
im running the following command:
SCRIPT_PATH/dependency-check.bat —project Test —scan FOLDER_TO_SCAN —out OUTPUT_PATH/report.html
And I get the following error:
Error: Could not find or load main class org.owasp.dependencycheck.App
I confirmed and all the tools files exist, nothing is missing.

Here's my output (same issue).  Did the OP figure out it's a silly mistake and quit asking?
[snip]\AppSecurity\DependencyCheck\bin>java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
[snip]\AppSecurity\DependencyCheck\bin>dependency-check.bat --help
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/owasp/dependencycheck/App : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.owasp.dependencycheck.App.  Program will exit.
[snip]\AppSecurity\DependencyCheck\bin>

OP figure out?

I thought maybe you had discovered a solution and stopped participating in the discussion.  I assume your error was more or less the same as mine.  Hopefully we can get this solved as I'm anxious to show the merits of Dependency Check to my colleagues.

@tysonkamp Thanks for the JVM information - the minimum required JVM to run dependency-check is 1.7.

@barronen1 are you positive you are using the latest JVM?  Can you run java -version just to be sure? Also, if the error is not the same can you provide the full exception/stacktrace?

Thanks Jeremy.  This is totally not your issue but maybe you would know: Is there some reason Oracle's download site for java does not use SSL and does not provide a signature for me to compare to after I download?  I thought these were security basics.

Workaround: http://oracle.com download page is insecure, http://java.com is secure.   BTW I'm up and running, thanks again.


Clipboardy should .toString() the value on copy first

When copying a value, it fails when it's a number type. I suggest using .toString() to add number support. I could make a pull request if this would be accepted.

No, the accepted type is a string. It's up to you to convert it to such type.


Add storage request overhead to execution dependencies

In order to provide more optimal plans, the planner should understand what the overhead is to make a read request of storage.  This should be the amount of time it takes to make the request and receive the response, taking the volume of data out of the equation.
This belongs in the execution dependencies because it may be different depending on the environment.  In OSS it would be very small, maybe in the nanosecond range.  In other environments, it involves the overhead of a network roundtrip.

This will likely involve doing some manual experimentation to determine the correct values.

To make sure I follow, the intent here is that by knowing the fixed overhead to make an RPC call to the storage layer we can begin to weight that cost against any potential gains of making lots of calls vs fewer calls.
With this being a field on the dependencies struct we can tune it for the both OSS and cloud.
Does that sound about right?

@nathanielc Yes, that's what I was thinking.

This was intended to help inform planner behavior for the optimization described here:
https://github.com/influxdata/influxdb/issues/17893
However, benchmarking shows that optimization is not worth making.


[UBS-User. Notifications] UI inconsistencies with mock-up in the 'Messages' tab in the personal cabinet

Environment: all.
Reproducible: always.
Build found: 22.03.22
Preconditions

User is Logged in to GreenCity as User https://ita-social-projects.github.io/GreenCityClient/#/
UBS-User is opened

Steps to reproduce

Click on the 'Messages' tab

Actual result

The titles and time of the messages aren`t aligned
The font of the message text is Roboro, Helvetica
The content of messages and time aren`t separate with place.
The placement of the buttons for expand\ collapse to show message content is near 'Time' column

Expected result

The titles and time of the messages is aligned
The font of the message text is Leto
The text of messages and time should be separate with place.
The placement of the buttons for expand\ collapse to show message content should be near '№ order'

User story and test case links
E.g.: "User story #2796
Test case"

Can not access "Повідомлення" as User.


[QUESTION] Is the amount of membership_item correct ?

Hi,
I'm trying to count the amount of new memberships subscribed during a Youtube livestream, and I'm a little surprised at the results I'm getting.
I know that some messages in the chat can only be seen during the live stream, and cannot be retrieved later with your library, and I'm wondering if it's the same for Memberships ?

Example, for bJjNnsWK_4U we can see there are 30 new memberships and 91 superchats
On the same channel, for 1AIMAiWweOA there are 1172 new memberships and 48 superchats.
Those two videos are only 1 month apart, same time length, approx. same amount of views
That's just one example, there are a lot of discrepancies between videos from a same channel. So I'm wondering if I can trust those numbers or not

Hi there - yes, the number of items you get should be correct (should be exactly what you see from the video's page). The streamer must have enabled memberships around that time.
If you go to 1AIMAiWweOA, you'll see:

But if you go to bJjNnsWK_4U, you'll see:

If you take more samples I am sure you will see clearer trends.

Hi there - yes, the number of items you get should be correct (should be exactly what you see from the video's page). The streamer must have enabled memberships around that time.
If you go to 1AIMAiWweOA, you'll see:

But if you go to bJjNnsWK_4U, you'll see:

If you take more samples I am sure you will see clearer trends.

Script is doing stats for all the videos on the channel, it usually takes few hours to complete, once it's done I'll come back put the the result for each day/month here if it seems odd

If you take more samples I am sure you will see clearer trends.

Script is doing stats for all the videos on the channel, it may take a couple of hours to complete, once it's done I'll come back put the the result for each day/month here if it seems odd

Okay great 👍

Alright so the issue is not your script, it is just Youtube not displaying all new Memberships.
I calculated the amount of memberships subscribed by checking the chat / superchat / membership_items and it's vastly under-estimated

If we just take in consideration membership_item it returns 8,416 for 6 months of streaming at 30 000 viewers / stream ~, it's unbelievably low, especially considering how insane the superchats were.
But by checking the chat/superchat we can see there were in fact approx. 123,915 memberships subscribed during the whole period.

It is quite unfortunate that YouTube hides a lot of data when showing the chat replay. The only logical reason I can think of is to reduce client side lag (and perhaps alleviate server stress?).
The only 100% accurate way is to run the tool while the user is live. This should get every message that was sent (including memberships + superchats)
I am adding some functionality to the tool which allows users to get live chat as soon as a channel goes live (#62) and will be released as soon as possible. This will definitely help with these types of calculations.

It is quite unfortunate that YouTube hides a lot of data when showing the chat replay. The only logical reason I can think of is to reduce client side lag (and perhaps alleviate server stress?).
The only accurate way - it seems - is to run the tool while the user is live. This should get every message that was sent (including memberships + superchats)
I am currently adding some functionality to the tool which allows users to get live chat as soon as a channel goes live (#62) and will be released as soon as possible. This will definitely help with these types of calculations.

oh, that could be indeed a nice feature

Linux-only, but I use this shell script to watch for livestreams and run chat-downloader every time a livestream is going on.
#!/bin/sh
channel="$1"

get_live_url() {
	_channel="$1"

	_url=$(youtube-dl --list-formats --playlist-end 1 "$_channel/live" | grep MPD)
	[ -z "$_url" ] && return
	_url=${_url#*be] }
	_url="https://www.youtube.com/watch?v=${_url%:*}"
	echo "$_url"
}

while live_url=$(get_live_url "$channel"); do
	if [ -n "$live_url" ]; then
			chat_downloader "$live_url"
	else
		sleep 60
	fi
done


POC: Add multi-app

(Sneak preview.)
Splits oauth flows based on Host to separate OAuth clients. This would require a true fork, as the config/env/flags are not compatible.
New config looks like:
request_logging = true

[apps."nirvine-app1.segment.com"]
skip_provider_button = true
set_xauthrequest = true
email_domains = [
  "segment.com"
]
upstreams = [
  "file://noop"
]
cookie_refresh = "5m"
provider = "okta"
okta_domain = "segment.oktapreview.com"
cookie_secret = "..."
client_id = "0oafor0pzyjZRBozQ0h7" # D
client_secret = "..."

redirect_url = "https://nirvine-app1.segment.com:5000/oauth2/callback"

[apps."nirvine-app2.segment.com"]
skip_provider_button = true
set_xauthrequest = true
email_domains = [
  "segment.com"
]
upstreams = [
  "file://noop"
]
cookie_refresh = "5m"
provider = "okta"
okta_domain = "segment.oktapreview.com"
cookie_secret = "..."
client_id = "0oafor4ph0v3tod4j0h7" # D
client_secret = "..."

redirect_url = "https://nirvine-app2.segment.com:5000/oauth2/callback"

Sorry, meant to keep this on my own fork, brb


Benchmark with competitors

It would be great to have benchmarks with competitors like io-ts, runtypes, etc
See as example https://github.com/gcanti/io-ts/issues/133

if there was a blessed place to put such code, even checkin results from main, i could be game to add some cases. could be snazzy to--during ci--generate some results, possibly dump a little SVG chart showing commit history against perf.
deno does something akin to this: https://deno.land/benchmarks


Implementation of signal-intensity, CB-function to DMA, cleanup, bugfixes and improvement to the digital filter

Requested a few changes, but overall good work 😄 Sorry for leaving you waiting so long haha

Requested a few changes, but overall good work 😄 Sorry for leaving you waiting so long haha

Will think about changing the name into something else ;) Not exactly the best idea to have a class with the same name as a namespace

Will think about changing the name into something else ;) Not exactly the best idea to have a class with the same name as a namespace


grid_with_text example with text size

Hi folks,
I want to use the grid_with_text code to quickly laying out test structures, but I am confused how one puts in a text size to it. I noticed that it takes a text/text_rectangular object, but passing a size into this object throws errors.
Also, in general it would be great to add an example of the grid_with_text object.
Best,
-Alex

Hi Aex,
let me know if this PR https://github.com/gdsfactory/gdsfactory/pull/305 makes it more clear

This clears it up for me,
Thank you Joaquin!

Awesome
Thank you Alex!


[xkb] 1dk layer is replaced by AltGr layer when used along Xkb-config Bépo or system-installed Optimot

On an XOrg setup :

install a 6-level layout such as Ergo‑L into /usr/share/X11/xkb/symbols/custom
configure it along with X-included Bépo or Optimot 1.7.

Now 1dk act as a AltGr layer latch and not a 1dk-typo layer.

First thing first, this issue is linked to #118 as this behaviour comes from the interaction between the 1dk implemented with <MDSW> and other layouts binding it to Mode_switch.
The big difference is here it’s not even an issue of loading order forcing default key binding. These combination are always broken.

@nivopol Bépo issue already fixed in xkeyboard-config, bug should be reported to the Bépo repository.

I should have F5, thanks.

Update: Fixed in Optimot 1.8 and Bépo (xkeyboard-config-2.42, to be published in about 3 months).
We still need a fix for configurations with older xkeyboard-config (≤ 2.41).


Fix name collision in program proto

Fix name collision in program proto around Entry-s (causes a name collision in the discovery API generation in g3).

Too bad that discovery api generation doesn't respect nested messages. This would seem to me to be a common problem; is there any way to change the discovery API generation to deal with this?

Too bad that discovery api generation doesn't respect nested messages. This would seem to me to be a common problem; is there any way to change the discovery API generation to deal with this?

IIRC, there's a similar restriction on enums in protos: even when nested, they can't have the same name. I suspect this has more to do with the fundamental behavior of protos than our API generation tools.


Log severity with Emoji

I want my logger to include the following emoji symbols with the log:
ERROR: ❗
WARNING: ❕
In other words, whenever an error is logged, the logger will also include "❗" in the log.
Is that possible by customizing the formatter, or does it require a deeper change?

Thanks for PR @surajthomask, I'll review it soon !
@noamtamim we'll keep the conversation going here https://github.com/delba/Log/pull/25


Add lint tests, fix pylint issues

Please a travis.yaml to your branch, to check whether the build actually works.
Example travis.yaml for tox: https://github.com/home-assistant/netdisco/blob/master/.travis.yml

Sure. I plan to do that in a separate PR soon as well as submit some other tests, no need to wait for that here -- this one is good to go as is.

Okay tested this, seems to work fine


How To Set-up Node.js API using Swagger, GraphQL and Hapi

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
How To Set-up Node.js API using Swagger, GraphQL and Hapi
Introduction paragraph (2-3 paragraphs):
Separating frontend and backend has been the de facto way of building full-stack applications. This comes with the advantage of reusing APIs and a great separation of concerns.
Swagger is an Interface Description Language for describing RESTful APIs expressed using JSON. Swagger is used together with a set of open-source software tools to design, build, document, and use RESTful web services. Swagger includes automated documentation, code generation, and test-case generation.
In this tutorial, we will create a simple API that integrates the Hapi Node.js framework, GraphQL, MongoDB database, and Swagger API  documentation.
Key takeaways:

An introduction to API design
How to set-up GraphQL
Setting up Hapi framework in Node.js

References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

sounds like a very helpful topic - but just want to make sure there is not too much overlap with this upcoming article being written
#1890

He's setting up a REST API and I'm writing for GraphQL API. Not much overlap. Swagger is just a tool that documents APIs. And my framework for Nodejs is Hapi.js of which @mwangiKibui will be different I guess. @hectorkambow

Yes I am going with Express.js . I suggest I will change the title to be specific @Qodestackr

Node.js is a runtime. A framework is like Express or Nest.js, meaning you using "pure Node" I say? I can remove Swagger if that makes it convoluted and my issue will still be well.

Am using Express.js sorry *
On Sun, 4 Apr 2021, 21:49 Wilson Gichuhi, @.***> wrote:

Node.js is a runtime. A framework is like Express or Nest.js, meaning you
using "pure Node" I say? I can remove Swagger if that makes it convoluted
and my issue will still be well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/1910#issuecomment-813081773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLHT7MTMLEDEIH7QRJBLJ3THCYCXANCNFSM42FJOFUQ
.


CMAKE_OSX_DEPLOYMENT_TARGET CMake Error

What is the issue with this?
CMake Error at external/clap-wrapper/cmake/shared_prologue.cmake:22 (if):
if given arguments:
"VERSION_GREATER_EQUAL" "10.15"

Unknown arguments specified
The shared_prologue.cmake:22 code is:
    if (${CMAKE_OSX_DEPLOYMENT_TARGET} VERSION_GREATER_EQUAL "10.15")

Shouldn't it be
    if (CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL "10.15")

??

Sorry, my mistake. Please ignore.


security: bump kubernetes version to v1.22.3

Signed-off-by: Anish Ramasekar<EMAIL_ADDRESS>
Reason for Change:

Bump kubernetes version to v1.22.3 to fix vulnerabilities in https://github.com/Azure/secrets-store-csi-driver-provider-azure/security/dependabot/test/e2e/go.sum/k8s.io%2Fkubernetes/open

Requirements

[x] squashed commits
[ ] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Does this change contain code from or inspired by another project?

[ ] Yes
[ ] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

Codecov Report

Merging #701 (4211e02) into master (b458c5c) will not change coverage.
The diff coverage is n/a.


Update requirements.txt

Add ftfy 6.1.1 to stop OpenAIGPTTokenizer's warning/fallback to  BERT BasicTokenizer.

👍


demote to flaky tests from parallel e2e

Temporary fix to stabalize e2e while we investigate. @ixdy
http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-test-e2e-gfce/3953/testReport/junit/
http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-test-e2e-gce/3951/testReport/junit/

LGTM

Thanks for doing this.

@mikedanese - do we have open issues to fix those tests in parallel mode? If so can you please cc me to them? Thanks!

Me too, me too!


Fix warnings in the Ballerina Integrator build

Purpose

Fix warnings in the ballerina integrator build.

resolves #446

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


The staging app is stuck on the loading screen.

-Tested on FI staging app version 1.4.0(178)
-App is stuck on the loading screen.Not moving forward.

This should be fixed in 179

-Tested this issue on staging app version 1.4.0(180)
-But still it is getting stuck on "Generating Recovery Keys" loader modal.

@cakesoft-swati I just tried this on a ios Device and it worked fine and on ios simulator as well.

Could this be a device-specific problem? Because I have deleted and reinstalled it several times, still not running.

@Varunram  do u have iPhone7?

-Verified this on Staging app version 1.4.0(182)
-Now it is working.


Provide the BuildContext to createRenderObject and updateRenderObject

We'll need this for RTL support because the RTL state will live in the widget
tree. Also, remove the oldWidget argument to updateRenderObject because there
aren't any clients for it.

@Hixie

As discussed, I'm going to land this patch TBR as it's just mechanical.

lgtm


Fix discriminator filter in circe protocol trait generation

Not sure why PR validation didn't catch this.  (And I bet this showed up as a warning, but I missed it :( ).
Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

Thanks for this fix @kelnos.
@blast-hardcheese any idea when this is going to be released?

@rtfpessoa Feel free to open a new issue -- #447 is now somewhat long standing and the potential cause of some unfortunate bugs. I haven't been able to get to it yet


lint by default

I discovered pretty recently that the --lint option is needed to enable some of the lint rules from standard.
I would favor that this option is enabled by default, considering that this utility seems to be intended to apply a combination of both Prettier formatting and standard code lint functionality.
I would also love to see an option to both fix the formatting and fix as many eslint issues as possible at the same time.
Thanks again for making and maintaining this utility!

I think it makes sense, still some people seem surprised that it can lint things

On the other hand prettier-standard is used for auto-formatting (e.g. when saving files) without linting. I think it would break many setups if I enabled linting by default because it would cause formatting to fail even if single linting error is present. Maybe just a message at the end that you can use --lint would be enough?

just a message at the end that you can use --lint would be enough?

+1, yes

Hey @sheerun, thanks for the formatter! On the topic of linting, I noticed that we are not able to fix fixable rules picked up by the --lint flag by using prettier-standard --fix, and attempting to use eslint . --fix results in missing plugin errors. Is there a different syntax for fixing lint errors? Otherwise, we'd need to install all of the plugins that were already installed by this package.

prettier-standard doesn't fix linting errors by default (only formatting ones). I guess I could introduce prettier-standard eslint command so you can do it manually if really needed

Supporting the combo prettierx + eslint --fix would be amazing (like https://github.com/prettier/prettier-eslint but with SublimeText support)

prettier-standard doesn't fix linting errors by default (only formatting ones). I guess I could introduce prettier-standard eslint command so you can do it manually if really needed

+1

Hi, Sorry for asking this unrelated question but I'm stuck on this for a while and can't find a way for this.
Can you please guide me how can I enable prettier-standard for auto-formatting when saving files in VS Code. Any help would be highly appreciated


Ambiguous docs around fork deletion can lead to confusion

Code of Conduct

[x] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility#deleting-a-public-repository
What part(s) of the article would you like to see updated?
The text of the linked section on deleting a fork says only that "a fork" will be promoted to be the head of a fork network when the current upstream is deleted.  This can lead to confusion about the expected behavior in this scenario. In fact, the current oldest fork will be promoted to the new upstream, and a simple change to the docs could eliminate that ambiguity and subsequent confusion.
Additional information
A security researcher was confused about this behavior and posted that when the head of a fork network is deleted, and arbitrary fork is promoted to be the head of the network, which could introduce a takeover attack if the fork thus promoted was owned by a bad actor. Clearly documenting that it's the oldest active fork rather than an arbitrary one would reduce the frightening possibility of a takeover.
https://x.com/trufflesec/status/1823069323348611345

@ahpook Thank you for opening an issue and linking it to your PR! ✨

LICENSE-CODE


Extension of num::Zero ?

Setting
I am designing a crate which performs numerical calculations but abstracts over the underlying types in question such that it can be used with static, dynamic, Vectors, Matrices, etc. A typical function in this context may look like this:
fn calculate<X>(increments: impl IntoIterator<Item=X>) -> X
where
    X: num::Zero + core::ops::AddAssign<X>,
{
    increments
        .into_iter()
        .fold(X::zero(), |acc, x| acc+x)
}

It is obvious for me to test very frequently with types from the popular nalgebra crate.However the situation becomes problematic when dealing with dynamically sized objects which do no implement the num::Zero trait. These objects do implement the general From trait but this trait carries no information about whether the object is zero or not. They also implement Default but this initializes a 0x0-dimensional matrix with no entries.
Question
So my question is: Is it reasonable and possible to generalize the existing num::Zero trait to also include constructor methods based on external input?
Nalgebra already provides the ::zeros(nrows, ncols) methods to construct empty matrices but they do not fall under any trait. In the future, we will probably see many more crates for abstractions of vectors, tensors (such as ndarray) etc. (possibly on the GPU as well).
Example
An initial attempt from me looked like this:
trait ZeroFrom<S> {
    fn zero_from(s: &S) -> Self;
}

impl ZeroFrom<[usize; 2]> for nalgebra::DMatrix<f64> {
    fn zero_from(shape: &[usize; 2]) -> Self {
        nalgebra::DMatrix::zeros(shape[0], shape[1])
    }
}

See this playground example.

I think it's reasonable, but it should be clear that this can't help any code that only uses T: Zero right now. I do worry that the S will make it difficult to actually write generic code for this though, because that becomes another parameter that you'll have to plumb through -- both the type parameter and the argument to fill it, unless you only handle a particular type.
Outside vector-like things, another example I thought of was a dynamic modular-arithmetic type, where the modulus is another field that should be provided on construction. Although depending on how that works with mixed moduli, such a type might be happy enough with 0 mod 1 to implement the normal Zero.

I think it's reasonable, but it should be clear that this can't help any code that only uses T: Zero right now.

Yes that is the case the ZeroFrom<S> trait is technically more general than the num::Zero trait. One could even go as for as to say that num::Zero is just ZeroFrom<()>
impl<T> num::Zero for T
where
    T: ZeroFrom<()>,
{
    fn zero() -> Self {
        <Self as ZeroFrom<()>>::zero_from(&())
    }
}

I do worry that the S will make it difficult to actually write generic code for this though, because that becomes another parameter that you'll have to plumb through -- both the type parameter and the argument to fill it, unless you only handle a particular type.

But for libraries such as nalgebra it should be no problem. It already uses these types anyways. And other libraries will face the same problem. Users outside of these libraries are not required to use these generics at all. In this sense, this addition would be fully backwards-compatible since it only adds a new feature.

For the sake of compatibility, I would write that blanket impl the other way:
impl<T: Zero> ZeroFrom<()> for T {
    fn zero_from(_: &()) -> Self {
        T::zero()
    }
}

I think it would make sense for crates like nalgebra to define their own local trait for this first, and if the design proves useful and there's a desire for interoperability, then we can think about "promoting" it to num-traits.

For the sake of compatibility, I would write that blanket impl the other way:

Yes when we actually implement it, we would do it like this. I just wanted to emphasize that in principle Zero is a special case of ZeroFrom. And this might make a difference for the future (see below).

I think it would make sense for crates like nalgebra to define their own local trait for this first, and if the design proves useful and there's a desire for interoperability, then we can think about "promoting" it to num-traits.

I did this for my own crate and implemented the new ZeroFrom trait for other external types. When implementing ZeroFrom<()> for types which also implement num::Zero we assume that the 0 value is generated by the specific type (). But we could also take the stance that the input type does not matter at all so every type could be inserted.
impl<T, S> ZeroFrom<S> for T
where
    T: num::Zero
{
    fn zero_from(_: &S) -> Self {
        Self::zero()
    }
}

Now we can not manually implement ZeroFrom<usize> for Vec<f32> for example. See this playground.
But it could be useful to want this type of blanket implementation instead of ZeroFrom<()>. Think about a simple function:
fn some_fun<F, X, Y, S>(a: Option<F>, x: X, y: Y, s: &S) -> X
where
    X: core::ops::Mul<F, Output=X>,
    X: ZeroFrom<S>,
    X: core::ops::Add<Y, Output=X>,
    Y: ZeroFrom<S>,
{
    if let Some(a) = a {
        x * a + y
    } else {
        X::zero_from(s) + y
    }
}

Now let's say that the type X is statically allocated and thus implements num::Zero and Y is dynamically allocated and thus implements only ZeroFrom<S> for some specific S!=(). Now we will not be able to use those types together even if they fulfill every other trait bound. But if we had implemented ZeroFrom<S> for T we could actually use them together. But as I explained before this is only possible if the ZeroFrom<S> trait is part of num. Otherwise we run into the mentioned error.

Now let's say that the type X is statically allocated and thus implements num::Zero and Y is dynamically allocated and thus implements only ZeroFrom<S> for some specific S!=().

I think it would make more sense for X to also implement ZeroFrom<S> for a particular S as if it were dynamic, and probably even assert that the runtime lengths in that argument do correspond to its static lengths.

Now let's say that the type X is statically allocated and thus implements num::Zero and Y is dynamically allocated and thus implements only ZeroFrom<S> for some specific S!=().

I think it would make more sense for X to also implement ZeroFrom<S> for a particular S as if it were dynamic, and probably even assert that the runtime lengths in that argument do correspond to its static lengths.

So if nalgebra::DMatrix implements ZeroFrom<[usize; 2]> you want nalgebra::Matrix2x2 to also implement ZeroFrom<[usize; 2]> and then check inside the zero_from(s: &[usize; 2]) function that the array is actually assert_eq!(s, &[2, 2]) ?
This seems to convoluted to me and I do not see the benefit of this approach. This would also require for nalgebra::Matrix2x2 to possibly implement ZeroFrom<_> for multiple types such as [usize; 2], (usize, usize), nalgebra::Vector2<usize> and this burden would be up to the library author.
Maybe my concern is also unfounded regarding the blanket impl and it could be enough to do impl<T> ZeroFrom<()> for T where T: num::Zero ...

If you're going to add extra S implementations at all, I think checking the length is more idiomatic of Rust, whereas accepting anything for S would be out of character.

If you're going to add extra S implementations at all, I think checking the length is more idiomatic of Rust, whereas accepting anything for S would be out of character.

I actually think that the most idiomatic way to do it would be
impl<T: num::Zero> ZeroFrom<()> for T {
    fn zero_from(_: &()) -> Self { Self::zero() }
}

and thus treat Zero as a special case of ZeroFrom.
This will not require any runtime overhead and it is clear that the resulting instance of T is created "from nothing".
But the question about compatibility is another one.


Mac Install Failed seeking graphviz/cgraph.h

First, thankyou for taking this on.  This is an important utility.
I have a pretty standard Mac.  I used brew to install graphviz.  When trying to install eralchemy2, it failed looking for graphviz/cgraph.h, as shown below.
Does this require c#?  I do not have that installed (and would prefer not to)...
(venv) val@Vals-MPB-14 ApiLogicServer % echo 'digraph { a -> b }' | dot -Tsvg > output.svg
(venv) val@Vals-MPB-14 ApiLogicServer % pip install eralchemy2
Collecting eralchemy2
  Downloading eralchemy2-1.4.1-py3-none-any.whl.metadata (5.6 kB)
Requirement already satisfied: sqlalchemy>=1.4 in ./venv/lib/python3.12/site-packages (from eralchemy2) (2.0.15)
Collecting pygraphviz>=1.9 (from eralchemy2)
  Using cached pygraphviz-1.13.tar.gz (104 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=4.2.0 in ./venv/lib/python3.12/site-packages (from sqlalchemy>=1.4->eralchemy2) (4.12.2)
Downloading eralchemy2-1.4.1-py3-none-any.whl (18 kB)
Building wheels for collected packages: pygraphviz
  Building wheel for pygraphviz (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pygraphviz (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-universal2-cpython-312
      creating build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/scraper.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/graphviz.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/__init__.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/agraph.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/testing.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      creating build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_unicode.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_scraper.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_readwrite.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_string.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/__init__.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_html.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_node_attributes.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_drawing.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_repr_mimebundle.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_subgraph.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_close.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_edge_attributes.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_clear.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_layout.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_attribute_defaults.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      copying pygraphviz/tests/test_graph.py -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz/tests
      running egg_info
      writing pygraphviz.egg-info/PKG-INFO
      writing dependency_links to pygraphviz.egg-info/dependency_links.txt
      writing top-level names to pygraphviz.egg-info/top_level.txt
      reading manifest file 'pygraphviz.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '*.swg'
      warning: no files found matching '*.png' under directory 'doc'
      warning: no files found matching '*.html' under directory 'doc'
      warning: no files found matching '*.txt' under directory 'doc'
      warning: no files found matching '*.css' under directory 'doc'
      warning: no previously-included files matching '*~' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '.svn' found anywhere in distribution
      no previously-included directories found matching 'doc/build'
      adding license file 'LICENSE'
      writing manifest file 'pygraphviz.egg-info/SOURCES.txt'
      copying pygraphviz/graphviz.i -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      copying pygraphviz/graphviz_wrap.c -> build/lib.macosx-10.9-universal2-cpython-312/pygraphviz
      running build_ext
      building 'pygraphviz._graphviz' extension
      creating build/temp.macosx-10.9-universal2-cpython-312
      creating build/temp.macosx-10.9-universal2-cpython-312/pygraphviz
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -DSWIG_PYTHON_STRICT_BYTE_CHAR -I/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/venv/include -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c pygraphviz/graphviz_wrap.c -o build/temp.macosx-10.9-universal2-cpython-312/pygraphviz/graphviz_wrap.o
      pygraphviz/graphviz_wrap.c:9:9: warning: 'SWIG_PYTHON_STRICT_BYTE_CHAR' macro redefined [-Wmacro-redefined]
      #define SWIG_PYTHON_STRICT_BYTE_CHAR
              ^
      <command line>:2:9: note: previous definition is here
      #define SWIG_PYTHON_STRICT_BYTE_CHAR 1
              ^
      pygraphviz/graphviz_wrap.c:3023:10: fatal error: 'graphviz/cgraph.h' file not found
      #include "graphviz/cgraph.h"
               ^~~~~~~~~~~~~~~~~~~
      1 warning and 1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pygraphviz
Failed to build pygraphviz
ERROR: Could not build wheels for pygraphviz, which is required to install pyproject.toml-based projects

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
(venv) val@Vals-MPB-14 ApiLogicServer %

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I did not realize operators were standing by !!

Hi, this looks like you do not have graphviz-devel installed?
https://www.graphviz.org/download/#mac


TypeScript emits helpers above import statements in ES6 output mode.

TypeScript Version:  v3.8.0-dev.20191102

Search Terms:
TypeScript ES6 Output Helpers Before Imports
TypeScript outputs helpers before ES6 imports
Code
import { LitElement, css, html, property } from "https://unpkg.com/lit-element@2.2.1/lit-element.js?module";

class LayoutPage extends LitElement {
  @property({ type: String })
  path = location.pathname;

  @property({ type: String })
  search = location.search;

  constructor() {
    super();
  }

  createRenderRoot() {
    return document.body;
  }

  render() {
    return html`

Some output for the test.

    `;
  }
}

customElements.define("layout-page", LayoutPage);

Expected behavior:
TypeScript leaves import statements at the top of the script and emits the __decorate helper below them.
Actual behavior:
TypeScript emits the __decorate helper at the top of the script, which results in JavaScript not running the imports.
Playground Link:
Playground Link
Related Issues:

Helpers are emitted after imports - This one looks similar, but is marked as "resolved" when the latest Nightly build does not resolve this issue.

Edited to remove a bunch of unneeded stuff and to bring the playground link in line with the given code.

TypeScript emits the __decorate helper at the top of the script, which results in JavaScript not running the imports.

If that's really true, your runtime is not compliant.  Imports can be anywhere in the top-level code of the module and are resolved statically, before anything runs.  This is why you can't put them in functions.

If that's really true, your runtime is not compliant.

I'm using Google Chrome, and the issue I was having went away when I removed the @decorate calls from my code. But coming back to this 7 hours later, I can't seem to replicate the original problem even using the code I had at the time.
...This behaviour leads me to believe that I am mistaken, and that this is not an issue - the only reason I believed it was, was because of an error message I was receiving from Firefox some time ago, that further research shows I was misinterpreting. As such, I will be closing this issue, as this behaviour is not problematic.


Add Unit Tests for TestMissingResultWhenStepErrorIsIgnored and Update e2e test: TestFailingStepOnContinue

Changes

This PR adds test coverage for a pipelinerun that has 2 tasks where the first task produces 2 results that are consumed in the 2nd task. However, the first task contains a failing step so only 1 of the 2 results are produced which results in a failing pipeline run.
Prior to this PR, this was an E2E integration test, but missing unit test coverage. This increases the test coverage and also modifies the e2e test to only test the behavior of the TaskRun, since the PipelineRun behavior is now being tested in unit tests to reduce redundancies, improve speed, and reduce flakes.
/kind  bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/retest Opened issue here for flakey test: https://github.com/tektoncd/pipeline/issues/6772

/retest

/test pull-tekton-pipeline-go-coverage-df

/test pull-tekton-pipeline-go-coverage

/retest
Chaingaurd registry was down https://status.cgr.dev/

/lgtm


Register priority for MX records

As is, this fails to split out the priority value from the raw record value, resulting in a key error for missing priority when trying to export in BIND format.  This is the quick hack I did to get the function to return a more useful Record.

Thanks for the contribution.

Test case for list_records method which returns a MX record would also be nice :)

Pushed some fixes and improvements (1d0b2eeeb710ecbf3f65a34df3c38170a78a5216,<PHONE_NUMBER>6b4cecea200ee5aa3fb9e51f20ce77), added a test case (bd3c1f044cb59333e3c6bd20cc6bff4db1428316) and merged changes into trunk.
Thanks!


Added makefile targets for building enigne, runtime, and java separately

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

wrong user, closing and reopening


Table::get_mut?

Thanks for the useful crate!
It looks like Table implements Index and IndexMut, and has an inherent method Table::get for getting an optional immutable reference, but there's no easy way to get an optional mutable reference to a key's value. I found myself writing code like this:
        if table.get(&key).is_some() {
            Some(&mut table[&key])
        } else {
            None
        }

It would be useful to expose a get_mut method too.

Hey, thanks!
We can expose get_mut, PRs are welcome! :-)
Note, with IndexMut API you can get an Item::None if the key is not found. So if you're looking for a Value (as in key/value pair), you can do table[&key].as_value_mut().


QLC+ 4.13.0 - OSC Header error

Describe the bug
After opening of a saved file and start of the "Operate" mode of the "Virtual Console", this happens:

Acting on a fader or button directly from QLC+, the OSC message presents the following error:
(ERROR, UDP) The header of an OSC packet didn't contain an OSC address or a #bundle string. Header was:
Acting on the corresponding fader or button in the OSC software (Open Stage Control), the OSC message is correctly interpreted by QLC+.
Acting again on the same fader or button in QLC+, now the OSC message is generated correctly by QLC+.

To Reproduce

Create a fader in QLC+.
Create a fader in Open Stage Control with "test-1" ID.
Create in QLC+ an input profile and map the "test-1" OSC address.
Associate the "test-1" OSC address as an external input of the QLC+ fader.
Save the QLC+ project.
Close and reopen QLC+.
Load the saved project and start the operating mode of Virtual Console.
Move the fader in QLC+ and check the presence of the error message in the Open Stage Control console log.
Move the fader in Open Stage Control and check in the console log that the message is generated correctly and check in QLC+ that the fader moves correctly.
Now move the fader in QLC+, check in the Open Stage Control console log the correct generation of the OSC message and check the correct movement of the fader in Open Stage Control.

Expected behavior
The OSC message should be immediately generated correctly.
Screenshots
None
Desktop (please complete the following information):

OS: Windows 11
QLC+ Version 4.13.0

Additional context
The 4.12.7 release works perfectly.

(ERROR, UDP) The header of an OSC packet didn't contain an OSC address or a #bundle string. Header was:
Who prints this? What is the header?
Do you have a wireshark trace of 4.12.7 and 4.13.0 to see the difference?
Do you have a workspace to test?

Good evening,
the log is generated directly from the Open Stage Control console, which monitors the status of the OSC communication.
The error is only present when, for example, a fader is moved from QLC+ without first having moved it from Open Stage Control.
If the same fader is moved in Open Stage Control and then in QLC+ it starts to work.
This applies to every element of the QLC+ project.
By restoring version 4.12.7 everything works correctly again.

Thanks for the immediate feedback.
Who prints this? What is the header?
The log is generated directly from the Open Stage Control console, which monitors the status of the OSC communication.
Do you have a wireshark trace of 4.12.7 and 4.13.0 to see the difference?
I just performed a test in QLC+4.13.0 with a fader with OSC ID "fader-test-1" the following cases:

First communication from QLC+ to Open Stage Control
Wireshark (all lines during the fader movement are identical):
<IP_ADDRESS>	<IP_ADDRESS>	UDP	32	57573 → 9001 Len=0
Open Stage Control log (all lines during the fader movement are identical):
(ERROR, UDP) The header of an OSC packet didn't contain an OSC address or a #bundle string. Header was:

First communication from Open Stage Control to QLC+
Wireshark (the first line is always the same, in the second line vary only the value "Seq=..." while in the third line vary the "Act=..." and "Win=..." values):
<IP_ADDRESS>	<IP_ADDRESS>	UDP	56	9001 → 7701 Len=24
<IP_ADDRESS>	<IP_ADDRESS>	TCP	89	58362 → 8080 [PSH, ACK] Seq=17597 Ack=41 Win=10222 Len=45
<IP_ADDRESS>	<IP_ADDRESS>	TCP	44	8080 → 58362 [ACK] Seq=41 Ack=17642 Win=10161 Len=0
Open Stage Control log (vary only "value:..."):
(DEBUG, OSC) Out:  { address: '/fader-test-1', args: [ { type: 'f', value: 0.15 } ] } To: <IP_ADDRESS>:7701

Subsequent communication between from QLC+ to Open Stage Control
Wireshark (the first line is always the same, in the second line vary only the value "Seq=..." while in the third line vary the "Act=..." and "Win=..." values):
<IP_ADDRESS>	<IP_ADDRESS>	UDP	56	57573 → 9001 Len=24
<IP_ADDRESS>	<IP_ADDRESS>	TCP	146	8080 → 58362 [PSH, ACK] Seq=53264 Ack=57 Win=10152 Len=102
<IP_ADDRESS>	<IP_ADDRESS>	TCP	44	58362 → 8080 [ACK] Seq=57 Ack=53366 Win=10008 Len=0
Open Stage Control log (vary only "value:..."):
(DEBUG, OSC) In:  { address: '/fader-test-1', args: 0.1725490242242813 } From: <IP_ADDRESS>:57573

Do you have a workspace to test?
Test.zip


does it have a theme for github

can I use dracula theme for github itself
if so does that make dracula theme self-hosting?

I have the same question I cannot seem to  find any dracula theme for github

By Github itself, you mean like just in general github.com/pages? (and not github pages or something else?)
If so, no. Github does not officially support custom color schemes, so there is no way for Dracula to offer an official scheme for Github. You'd have to use one of the four official Github themes to change the look of the site itself officially.
.... unofficially, you would have to try one of the plugins/tools that recolors all of your internet browsing (Darkreader, Nighteye, Midnight lizard, etc... I don't use these so apologies if I missed the 'popular' ones)

There is some Dracula discussion around Darkreader content here.
There is a new theme request/implementation for Midnight Lizard here.

Going to close this as a dupe of https://github.com/dracula/dracula-theme/issues/392 for now; also, as Ben suggests there, if you find a different plugin that is doing recoloring and they support pygments, you could also just use the Dracula values for that as well.

thanks

You can use the Chrome/Firefox extension called Stylish and just use the css from the pygments theme, https://github.com/dracula/pygments/blob/master/dracula.css
You'll have to change the background color selector though

https://draculatheme.com/github 💥

Cool


[Grafana] Dashboard not working

Hi, I've ran my container with 9114 port open and imported the grafana dashboard on the examples. I've defined my Prometheus datasource in Grafana using my url and port but the dashboard it's not showing any metrics.

Ok, now I have the metrics running but the cluster state it's still in N/A

I am enountering the same issue.
  elastic_exporter:
    container_name: elastic_exporter
    image: quay.io/prometheuscommunity/elasticsearch-exporter:master
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
    command:
      - '--es.uri=http://elastic.redacted.tld'
      - '--es.all'
      - '--es.cluster_settings'
    depends_on:
      - prometheus
    ports:
      - "9114:9114"
    restart: unless-stopped

When browsing the metrics endpoint I am missing  alot of information. The dashboard for example looks for elasticsearch_cluster_health_status which does not exist. I am still running Elastic 7.9.0 though.

I've changed the field that were included in the panel and it works. Thanks, sorry for the dumb question.


Change outdir subdirectory names to module names

Description of the bug
Subdirectories should be named after the corresponding module name, with possible parallel outputs from different tools under different names or sub-sub-directories therein. E.g. instead of ashlar/ we should have registration/.
Command used and terminal output
No response
Relevant files
No response
System information
No response

I've pushed a fix that moves ashlar output to $outdir/registration/ashlar
I'm thinking for the other modules we would have superdirectories named:

input_validation for input_check.nf
illumination_correction for basicpy
segmentation for deepcell_mesmer
quantification for mcquant

Please let me know if I should change any of the above.

just pushed updated code to fix this as described above


help me

https://www.youtube.com/html5
i can not see video on youtube

What do you mean, can you elaborate and state the version of your browser, YTC and settings?


Move media library from static/ to assets/

Workaround Hugo's image processing limitation in static/.
To support #1988 in case where an image is used in multiple pages and requires processing.
Otherwise, for single use images, they can be placed in a page's own folder for processing.

[x] Update lib. path in CMS
[x] Update all code referring to media_dir (which represents the static/ location)

[x] widget page BGs
[x] ...

[ ] Update staticref shortcode to enable loading PDF from assets/media/

DESCOPED - consider if there's need to intro similar shortcode relative to assets/ in future

Breaking changes:
Gallery is now intended only for local images in the page bundle (so that they can be optimized by Hugo).

Gallery is now intended only for local images in the page bundle (so that they can be optimized by Hugo).

Is it possible to share images between pages? I have the same image for different languages (these pages have different folders).


Mark the replica ERR if its volume.meta is in invalid state

If there is any available replica, mark the replicas ERR if their volume.meta are in invalid state.
https://github.com/longhorn/longhorn/issues/4212
Signed-off-by: Derek Su<EMAIL_ADDRESS>

Putting this state check in the revision counter check function looks a little bit weird... Will the replica process check the state during the starting stage?

Agreed. But I don't know why the original state check is in the revision counter check funciton...

Will the replica process check the state during the starting stage?

Actually, the check is in c.backend.GetRevisionCounter(r.Address)...

I may prefer to make this check a separate function, or a part of the replica Open function. But due to the complexity of the replica state, more investigation is needed. What do you think?

Yes, I prefer a new function checkReplicasState for checking the state before the checkReplicasRevisionCounter.

due to the complexity of the replica state, more investigation is needed.

Sure.


Use hubot's name in shell adapter

It feels weird to name the bot during setup and then have it called Hubot regardless in local testing. So lets not do that anymore :smile_cat:

Good point. I suspect this came over from original generator, that only used the name for a directory to create, and didn't actually have templates.

The name does get used in the Procfile. I guess both wouldn't hurt, but if Procfile is just calling bin, I think we can just remove it from bin.

I think we can just remove it from bin.

Actually, I mean I think we can remove it from Procfile, as it just calls bin/hubot itself, which would have the name.

I was curious what would happen if you called bin/hubot --name someothername, since that would under the hood call node_modules\.bin\hubot.cmd --name originalbotname --name someothername, and it seems to correctly use only the last specified name.

Yup, tried that myself, useful for when you're generating examples and you want the bot to represent itself as the generic hubot.

Released in v0.2.5, thanks!


no whitespace for "${myvar}"

I'm getting following error
ERROR: there should be a single space before an opening brace on line
on code like this
 $ my_define { "foo-${myvar}": }

I can't seem to reproduce this ... Is this still an issue?

I tried this again with puppet-lint 2.5.2  and the error is gone.


the settings tab still refers to ack's stuff

Since you're here having opened the first issue in this repo, would you close the issues I've resolved in the original thprac repo and transfer the ones I haven't resolved to this one?

Since you're here having opened the first issue in this repo, would you close the issues I've resolved in the original thprac repo and transfer the ones I haven't resolved to this one?

alright hold on


Signer and IDTokenCredentials implementation using default service account on GCE

This branch includes:

a Signer implementation that relies on the IAM API (signBlob) using the default Credentials
a Credentials implementation that provides ID tokens, using the Signer above.

Hi @kryzthov - just a heads up that I'm currently OOO until next week but I'll take a quick lookl

All good! No rush, it's been there for a while, and it's not blocking! Enjoy your time off!

Anymore feedback on this?


bump varint

older versions of varint returns undefined when decoding invalid output causing https://github.com/dominictarr/signed-varint/blob/master/index.js#L11 to return NaN.
latest version just throws an exception instead

thanks, merged into 2.0.1
gonna add you to this repo


[Feature] Please support publishing installer dotnet-runtime packages for Debian arm64

Dotnet runtime is not included in the prod debian packages.  It is possible to install them manually, but then updates are hard to mange.
Please publish production debian arm64 packages for dotnet-runtime-7.0
https://packages.microsoft.com/debian/11/prod/dists/bullseye/main/binary-arm64/
Thank you

+1. It looks like there is support for .NET in Ubuntu (even arm64) so I wonder what's keeping this back.


Seed line

Seed line does not persist.

Oh actually it does when it's supposed to, which is only when the fraction is < 1.


Less readable failure msg for key with empty value in 0.2.0

We updated from 0.0.8 to 0.2.0 and experienced a change in a parsing failure:
For yaml:
workflows:
         - name:

Gave in 0.0.8:
Workflow name cannot be empty
and with 0.2.0:
Could't construct java.lang.String from null (tag:yaml.org,2002:null)
Where as the following still gives the user friendly cannot be empty message:
 workflows:
          - name: ""

Was this change intended?
Maybe related to  changes for https://github.com/VirtusLab/scala-yaml/issues/86?

What's the target case class to which you deserialized to? Yeah, this error
message is the updated one, but the circumstances when it occurs did not
change afair.
On Fri 26. Jul 2024 at 16:28, mims-github @.***> wrote:

We updated from 0.0.8 to 0.2.0 and experienced a change in a parsing
failure:
For yaml:
workflows:
- name:
Gave in 0.0.8:
Workflow name cannot be empty
and with 0.2.0:
Could't construct java.lang.String from null (tag:yaml.org,2002:null)
Where as the following still gives the user friendly cannot be empty
message:
workflows:
- name: ""
Was this change intended?
Maybe related to changes for #86
https://github.com/VirtusLab/scala-yaml/issues/86?
—
Reply to this email directly, view it on GitHub
https://github.com/VirtusLab/scala-yaml/issues/329, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBVNUU42UJUN53KTTEUQU3ZOJMH7AVCNFSM6AAAAABLQUFIQOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTEMZWGM2DGOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your quick reply.
It seems I mixed the failure msg, as the  Workflow name cannot be empty came from our validation code.
We use the YamlDecoder.forString
But I think the change was that before the first example parsed successfully to an empty string for the workflow name, and then our own validation kicked in.
Where as with 0.2.0, it does not parse anymore, so we get the scala-yaml failure msg.
I guess that change is intended?

Yes, null nodes should not be parsed as empty strings. If this field is
optional for you, wrap it in an Option[String] and you will receive None
for when this field is missing or is !!null.
On Mon 29. Jul 2024 at 15:12, mims-github @.***> wrote:

Thanks for your quick reply.
It seems I mixed the failure msg, as the Workflow name cannot be empty
came from our validation code.
We use the YamlDecoder.forString
But I think the change was that before the first example parsed
successfully to an empty string for the workflow name, and then our own
validation kicked in.
Where as with 0.2.0, it does not parse anymore, so we get the scala-yaml
failure msg.
I guess that change is intended?
—
Reply to this email directly, view it on GitHub
https://github.com/VirtusLab/scala-yaml/issues/329#issuecomment-2255904067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBVNUV5PJEA7LE5ZIFH5B3ZOY5TNAVCNFSM6AAAAABLQUFIQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJVHEYDIMBWG4
.
You are receiving this because you commented.Message ID:
@.***>

Awesome, thanks for your patience and clarifications.


fix(sqllab): resultset disappeared on switching tabs

SUMMARY
Since the rendering refactoring by #20877, the number of redundant rendering reduced.
The FilterableTable re-rendering reduced related to the unnecessary property update but it wasn't reloaded when height is updated. It's mainly caused by functional component refactoring at #21136 which uses useRef to capture the height so it won't refreshed with the updated height prop properly.
https://github.com/EugeneTorap/superset/blob/66b704c13ae5b3840109c584989b1248cafb86e1/superset-frontend/src/components/FilterableTable/index.tsx#L335-L336
This occurs the empty result-set problem due to react-virtualized rendering issue with NaN height value.
This commit fixes the rendering issue with the updated height value.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

https://user-images.githubusercontent.com/1392866/194672139-106af5f1-718f-44a4-a3a4-f70433f53642.mov

After

https://user-images.githubusercontent.com/1392866/194672137-58aa31ed-6b9d-4aac-b123-a26eb81df189.mov
TESTING INSTRUCTIONS

Go to SqlLab
Open 2 tabs in UI
Run query in 1 and wait for results to show
Switch to other tab, then back to original tab

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API
cc: @EugeneTorap

Can we merge it?


Revisit devicelab configurations in try pool with regard to perf and low end devices

Type of Request
infra task
Infrastructure Environment
LUCI, bot pools
What is happening?
Tracking issue for follow up to this: https://github.com/flutter/flutter/issues/145242 after the device lab move is completed.
Steps to reproduce
na
Expected results
na

cc/ @yusuf-goog @zanderso


redis connection failed  ECONNREFUSED

Version 0.10.5
Node version v6.9.1

My code to handle connection is:
var jobs;

function start() {
        jobs = kue.createQueue({
                redis: {
                        host: REDIS_HOST,
                        port: REDIS_PORT
                }
        });
        jobs.client.on('error', function(err) {
                console.log('err', err);
        });
        jobs.shutdown(function() {
                        process.nextTick(function() {
                                start();
                        });
        });
}
start();

events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: Redis connection to <IP_ADDRESS>:6379 failed - connect ECONNREFUSED
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)

The strange thing is that error i not catched.
But as you can see, there is a callback to manage the error.

It might be related to this

I will try the following way of overwriting the client, and I will try to better specify the options for redis client, according to https://github.com/NodeRedis/node_redis/issues/81

use job.on('error', ...) please


[App Config] Update README.md

Fixes #26034
Fixes the cli command

API change check
API changes are not detected in this pull request.


Create mr.sor

mr.sor for MARATHI मराठी Indian Language (mr-IN) | About 110 million speakers of MARATHI
-- User may require to install Devnagari Unicode font like mangal.ttf
As of now the "mr" handles :-
Standard Number conversion from English numbers to Marathi words
Number Separator ( , )
Negative Number
Decimals
Many Currency in Marathi ( INR with Indian Rupee Symbol; Added new currencies - AED, KWD, SAR )
Ordinal
Ordinal-masculine (Male)
Ordinal-feminine (Female)
Ordinal-neutral (Non Male - Non Female)
Ordinal-sq (Sequence)
Ordinal handling of Decimals
year

Dear Ankur Heramb Joshi,
I'm sorry for the late feedback. Many thanks for your great work. I plan to integrate the upcoming libnumbertext release with LibreOffice 7.1, so I hope, you can check Marathi support also in it, soon.
Best regards,
Laszlo

Updated YEAR implementation in MARATHI .


6images

about this app, the core concepts are great
the utility is something like "stimulate your mind with smart comics from xkcd"
is this utility great enough for you?

Do you need help and instruction to solve the merge conflict ? Can we discuss at #learncodetogethere, on IRC ?


[Use link here to get v3 model until the official repository rolls back their change] motion module v3_sd15_mm.ckpt >> WeightsUnpickler error: Unsupported class omegaconf.dictconfig.DictConfig

I have been getting this error over and over when trying to load the v3 model. I have updated the repo.. It's the latest.
[AnimateDiffEvo] - INFO - Loading motion module v3_sd15_mm.ckpt
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "C:/Users/azok/ComfyUI/ComfyUI/execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:/Users/azok/ComfyUI/ComfyUI/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:/Users/azok/ComfyUI/ComfyUI/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:/Users/azok/ComfyUI/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes.py", line 115, in load_mm_and_inject_params
motion_model = load_motion_module(model_name, model, motion_lora=motion_lora, motion_model_settings=motion_model_settings)
File "C:/Users/azok/ComfyUI/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/model_injection.py", line 184, in load_motion_module
mm_state_dict = comfy.utils.load_torch_file(model_path, safe_load=True)
File "C:/Users/azok/ComfyUI/ComfyUI/comfy/utils.py", line 20, in load_torch_file
pl_sd = torch.load(ckpt, map_location=device, weights_only=True)
File "C:/Users/azok/ComfyUI/ComfyUI/myenv/Lib/site-packages/torch/serialization.py", line 1013, in load
raise pickle.UnpicklingError(UNSAFE_MESSAGE + str(e)) from None
_pickle.UnpicklingError: Weights only load failed. Re-running torch.load with weights_only set to False will likely succeed, but it can result in arbitrary code execution.Do it only if you get the file from a trusted source. WeightsUnpickler error: Unsupported class omegaconf.dictconfig.DictConfig

I can confirm

https://github.com/guoyww/AnimateDiff/issues/239
Looks like they tried to follow my suggestion at putting in a key that helps identify the model, but made it a dictionary with more details instead of just a tensor, which breaks safe loading. I'll let them know. Until that's fixed on their end, you can actually download the version of the file(s) from before their newest change that will work: https://huggingface.co/guoyww/animatediff/tree/cd71ae134a27ec6008b968d6419952b0c0494cf2

Gotcha... Thank u...

guoyww/AnimateDiff#239
Looks like they tried to follow my suggestion at putting in a key that helps identify the model, but made it a dictionary with more details instead of just a tensor, which breaks safe loading. I'll let them know. Until that's fixed on their end, you can actually download the version of the model(s) from before their newest change that will work: https://huggingface.co/guoyww/animatediff/tree/cd71ae134a27ec6008b968d6419952b0c0494cf2

So it's still currently unavailable for v3 meaning?
I've been trying all day with this same error.

@ToroLing No, just use the link I provided to get the V3 motion model. The link goes directly to their previous version of the models that don't have the issue with safe loading.

Update: the AnimateDiff huggingface repo rolled back the models to the working versions! You no longer need to download from that link, the models there are the proper ones now.


Revert "fix(deps): update dependency @date-io/moment to v2"

Reverts energywebfoundation/origin#427 because it causes issues with @material-ui/pickers v3. Can be revisited after @material-ui/pickers v4 reaches stable.

@JosephBagaric could you also add this to ignore list on Renovate? I recently changed the settings so this will get auto updated next weekend.


[#5054] improvement(api,server): Add the check of privileges

What changes were proposed in this pull request?
Add the check of privileges
Why are the changes needed?
Fix: #5054
Does this PR introduce any user-facing change?
No
How was this patch tested?
Add some UTs

I still have some comments, please wait for a while to merge.

I did some slight code polish, @jerqi @yuqi1129 please help to review.


Age Range Category Chips

Now that Age Range is no longer treated as a Resource Category on the back end, those values don't show up on the resource detail pages in the category chips anymore.

Fixed in #229


Built a modal for displaying the contributors

The word contributors may be better instead of developers. Got the contributor's list from GitHub API.
Please review and let me know if any changes are required.

The word contributors may be better instead of developers. Got the contributor's list from GitHub API. Please review and let me know if any changes are required.

hey @nirajacharyaa , everything looks good and I think Contributors will be better than Developers.But one thing that, can you make this modal background in some dark color?

Sure, will do that.

Is this ok?

Is this ok?

Yes, it's looking good now.

Good work @nirajacharyaa ⚡.
Thanks for contributing.

Welcome, my pleasure.


Visualization

Hi, thank you for open-sourcing such a wonderful work!
May I ask if there is any visualization code available to help us quickly observe the qualitative results?

Oh, I see there's a related update plan, so I'm looking forward to the release of the visualization code.


RKE2 provisioning: Fail whale directly after cluster provisioning is finished

If you navigate to the cluster explorer of a new cluster directly after it finished provisioning and marked active in the UI, the cluster explorer does not work and a fail whale error page is displayed instead.
The cluster explorer only starts working after about 30 to 60s.
Tested with Rancher v2.6-rc2

Backend is sending a condition that the cluster is connected, when it's actually not ready to talk to.

I haven't been able to reliably reproduce this one @bashofmann on v2.6-head.

@deniseschannon Just tested it on v2.6-head and I could reproduce this on the first try. Here is a screen recording https://www.dropbox.com/s/vjk0e11bxswdhh3/Bildschirmaufnahme 2021-08-13 um 12.25.30.mov?dl=0. The interesting bit starts at 1:40. At first it works for a few seconds and then Cluster Explorer stops working for about a minute or so. Even the Cluster Manager has errors in between.
I'm not 100% sure but it may correlate with the system-upgrade-controller doing something in the cluster.

I took a second, longer one that shows the whole cluster creation process with the browser dev tools open which shows then also the failing requests:
https://www.dropbox.com/s/8ssp04r5vbbifpt/Bildschirmaufnahme 2021-08-13 um 12.38.00.mov?dl=0

The actual error is when trying to fetch schemas associated with the cluster. As per Denise's comment, the backend is reporting the cluster is available when it's not quite yet.
We use the following in management.cattyle.io.cluster to determine if the cluster is ready
    // If the Connected condition exists, use that (2.6+)
    if ( this.hasCondition('Connected') ) {
      return this.isCondition('Connected');
    }

    // Otherwise use Ready (older)
    return this.isCondition('Ready');