Update documentation for time

Codecov Report

Merging #11 (677f85e) into main (cebefff) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   98.27%   98.27%
=======================================
  Files           4        4
  Lines          58       58
  Branches        6        6
=======================================
  Hits           57       57
  Misses          1        1

Continue to review full report at Codecov.

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


generic transcription phenotype

like FYPO:0000290 ! transcription phenotype during vegetative growth but not restricted to veg
include link FYPO:0002882 is_a fypo:new
rename FYPO:0004064 to make veg explicit

also: add links
3770 is_a 984
4581 is_a 984

transcription phenotype FYPO:0004847

edit file: 60400ab363d2deef2a6a0f3c814fc2c7142c5d6b
release: ad1a93ec3a6e446c7aa0632a50e74379931a8778


Support for WP_Meta_Query in Timber's get_terms method

Expected behavior
I was trying to create a query that makes use of WP_Meta_Query and noticed that the output from Timber's get_terms ignores the meta query, while using the native method works as expected.
Is this something planned for a future release?
Actual behavior
Timber's method ignores the use of WP_Meta_Query
What version of WordPress, PHP and Timber are you using?
WordPress 4.5.3
Timber 1.0.5
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
From WP.org

Closing it has I had an error in my code giving the impression that the native method was outputting different results, which isn't the case.


Bug: Crash on start (Windows ARM64)

Description
When I try to start Files on my Surface Pro X SQ2 (Windows on ARM) it immediately crashes with a .NET error and without any further error message. I am running a Windows Insider Beta Channel build. This behavior occurs since at least the last 2 Files releases. Files was installed via MS Store, I tried to reset the app as well as uninstalling and reinstalling it. When crashing, two event log entries are created in the Windows Application event log.
There is no debug log under
"%localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState"
I attached the 2 corresponding event log entries from the Windows Application event log.
Application-Log.txt
Steps To Reproduce
Start Application
Requirements
Should start as expected and show main window.
Files Version
<IP_ADDRESS>
Windows Version
22635.2700
Log File
Application-Log.txt

Thanks for the report, I've added this to the project board.

Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: The service provider has not been configured yet.
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.ThrowInvalidOperationExceptionForMissingInitialization()
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.GetRequiredServiceT
at Files.App.App.SaveSessionTabs()
at Files.App.App.AppUnhandledException(Exception ex, Boolean shouldShowNotification)
at System.Threading.Tasks.TaskExceptionHolder.Finalize()

@snickler 👋
Would you be willing to check if you get the same error?

@snickler 👋 Would you be willing to check if you get the same error?

I don't receive any error.
I'm running <IP_ADDRESS> with my Surface Pro X SQ1 on Insider Canary (25987.1000).

Thanks for checking 👍

@MenkW can you send a screenshot of the .net error?

Hi,
unfortunately there is no error message popping up to take a screenshot of. I can see the Files main window for a split second - that's it. All I have is the eventlog entry in the Windows application log. I have attached the respective log entries to the initial ticket.
Due to the successful test by @https://github.com/snicklersnickler, I asked a colleague of mine to try the very same on his SPX SQ1. We updated his Windows build to the exact same version as mine - and it works for him also (Beta channel 22635.2700).
Hence I suspect something to be wrong on my device specifically and nothing on your side. Thank you all for having a look at it and I would greatly appreciate any hint you could give me on possibly troubleshooting this issue.
Thank you

From: Yair @.>
Sent: 10 November 2023 02:17
To: files-community/Files @.>
Cc: MenkW @.>; Mention @.>
Subject: Re: [files-community/Files] Bug: Crash on start (Windows ARM64) (Issue #13702)
@MenkWhttps://github.com/MenkW can you send a screenshot of the .net error?
—
Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/13702#issuecomment-1804925001, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANJJ3PWZ36Z44TKFS7NXAWDYDV6ELAVCNFSM6AAAAAA7AYWIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUHEZDKMBQGE.
You are receiving this because you were mentioned.Message ID: @.***>

I see a crash in the log file but it's possible there is something else going on as well. I'll let you know when the next update is available so you can check if the issue is still occuring.

Hi, unfortunately there is no error message popping up to take a screenshot of. I can see the Files main window for a split second - that's it. All I have is the eventlog entry in the Windows application log. I have attached the respective log entries to the initial ticket. Due to the successful test by @https://github.com/snicklersnickler, I asked a colleague of mine to try the very same on his SPX SQ1. We updated his Windows build to the exact same version as mine - and it works for him also (Beta channel 22635.2700). Hence I suspect something to be wrong on my device specifically and nothing on your side. Thank you all for having a look at it and I would greatly appreciate any hint you could give me on possibly troubleshooting this issue. Thank you
…
________________________________ From: Yair @.> Sent: 10 November 2023 02:17 To: files-community/Files @.> Cc: MenkW @.>; Mention @.> Subject: Re: [files-community/Files] Bug: Crash on start (Windows ARM64) (Issue #13702) @MenkWhttps://github.com/MenkW can you send a screenshot of the .net error? — Reply to this email directly, view it on GitHub<#13702 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANJJ3PWZ36Z44TKFS7NXAWDYDV6ELAVCNFSM6AAAAAA7AYWIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUHEZDKMBQGE. You are receiving this because you were mentioned.Message ID: @.***>

Can you try doing a Repair or Reset on the app and see if that fixes it?

@MenkW v3.0.5 is rolling out with a fix for ThrowInvalidOperationExceptionForMissingInitialization. Can you see if it's still an issue after updating?

I installed v3.0.5 as well as the latest (yesterday) .NET Framework updates, the issue unfortunately still remains. I also tried reset/repair/uninstall-reinstall, to no avail. Upon starting Files, I get a brief glimpse of the main windows frame, no visible error message, but two entries in the Windows Application Log.
[cid:00ef3ccb-a3d3-4318-9f56-2800726d99f0]
[cid:ec762074-f939-465b-8c0f-f2feba00411c]

From: Yair @.>
Sent: 13 November 2023 21:56
To: files-community/Files @.>
Cc: MenkW @.>; Mention @.>
Subject: Re: [files-community/Files] Bug: Crash on startup (Issue #13702)
@MenkWhttps://github.com/MenkW v3.0.5 is rolling out with a fix for ThrowInvalidOperationExceptionForMissingInitialization. Can you see if it's still an issue after updating?
—
Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/13702#issuecomment-1809099401, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANJJ3PUEF4EHQ46ZPFLJMGLYEKCPTAVCNFSM6AAAAAA7AYWIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZGA4TSNBQGE.
You are receiving this because you were mentioned.Message ID: @.***>

@MenkW I think you need to upload those directly to GitHub, attaching via email doesn't seem to be supported.

Error	16/11/2023 22:13:30	.NET Runtime	1026	None
Log Name:      Application
Source:        .NET Runtime
Date:          16/11/2023 22:13:30
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      MenkW-M1876H
Description:
Application: Files.exe
CoreCLR Version: 7.0.1323.51816
.NET Version: 7.0.13
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: The service provider has not been configured yet.
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.ThrowInvalidOperationExceptionForMissingInitialization()
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.GetRequiredServiceT
at Files.App.App.SaveSessionTabs()
at Files.App.App.AppUnhandledException(Exception ex, Boolean shouldShowNotification)
at System.Threading.Tasks.TaskExceptionHolder.Finalize()
Event Xml:

1026
0
2
0
0
0x80000000000000

130329

Application
MenkW-M1876H

Application: Files.exe
CoreCLR Version: 7.0.1323.51816
.NET Version: 7.0.13
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: The service provider has not been configured yet.
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.ThrowInvalidOperationExceptionForMissingInitialization()
at CommunityToolkit.Mvvm.DependencyInjection.Ioc.GetRequiredServiceT
at Files.App.App.SaveSessionTabs()
at Files.App.App.AppUnhandledException(Exception ex, Boolean shouldShowNotification)
at System.Threading.Tasks.TaskExceptionHolder.Finalize()

Error	16/11/2023 22:13:32	Application Error	1000	Application Crashing Events
Log Name:      Application
Source:        Application Error
Date:          16/11/2023 22:13:32
Event ID:      1000
Task Category: Application Crashing Events
Level:         Error
Keywords:
User:          WIDDER-AT\menkw
Computer:      MenkW-M1876H
Description:
Faulting application name: Files.exe, version: <IP_ADDRESS>, time stamp: 0x65306e5e
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2771, time stamp: 0x0b502f1b
Exception code: 0xe0434352
Fault offset: 0x00000000000762b4
Faulting process ID: 0x0x50A8
Faulting application start time: 0x0x1DA18D1BE9301A2
Faulting application path: C:\Program Files\WindowsApps\49306atecsolution.FilesUWP_<IP_ADDRESS>_arm64__et10x9a9vyk8t\Files.App\Files.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: be668f0f-6655-475e-ae5b-c012cda0fa56
Faulting package full name: 49306atecsolution.FilesUWP_<IP_ADDRESS>_arm64__et10x9a9vyk8t
Faulting package-relative application ID: App
Event Xml:

1000
0
2
100
0
0x8000000000000000

130330

Application
MenkW-M1876H

Files.exe
<IP_ADDRESS>
65306e5e
KERNELBASE.dll
10.0.22621.2771
0b502f1b
e0434352
00000000000762b4
0x50a8
0x1da18d1be9301a2
C:\Program Files\WindowsApps\49306atecsolution.FilesUWP_<IP_ADDRESS>_arm64__et10x9a9vyk8t\Files.App\Files.exe
C:\WINDOWS\System32\KERNELBASE.dll
be668f0f-6655-475e-ae5b-c012cda0fa56
49306atecsolution.FilesUWP_<IP_ADDRESS>_arm64__et10x9a9vyk8t
App

I'm not sure what's going on, is this also happening with the sideload version? https://files.community/download

This is what it looks like.
I will try the sideload version as soon as I can.

I installed Files Preview (showing the same version number as the store version) and this version starts just fine. I'm stunned...

It's the same exact version, the only difference is the package name because it's sideloaded.

Which makes it even more mysterious. Nevertheless, the sideloaded version seems to work flawlessly for me.

It might have something to do with how the store installs dependencies but it's hard to know for sure. Anyways, we're glad to hear the sideload version works fine 👍

Thank you all for your efforts!


Add SearchScreen and SearchInput

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Toggle of aspect-ratio is broken

When changing the crop.aspect prop, the component does not immediately represent the new cropping state. Only after manually changing the crop with the mouse, it changes.
This was working in Version: 2.0.8
This is broken in Version: 3.0.2

Hi,
I can't replicate you're issue. Can you post some code you're trying? See the https://github.com/DominicTobias/react-image-crop/blob/master/demo/demo.js for some example usage. I suspect you haven't adjusted your code for v3, which unfortunately makes using an aspect with a width + height a bit less convenient out of necessity. Check the release notes and the demo code.
Working:

We observed two effects:
1: Changing the cropping to overlap the image, does not clamp the cropping area. Only after moving the cropping area, it is clamped to image boundaries.
2: Toggling the aspect ratio will not trigger onUpdate
Please see the demo code below and the gif we provided.

import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import ReactCrop, { makeAspectCrop } from 'react-image-crop'
import 'react-image-crop/dist/ReactCrop.css'

class App extends Component {
  state = {
    crop: {
      aspect: 16 / 9
    },
    height: 0,
    width: 0
  }

  onChange = (crop, pixelCrop) => {
    console.log(crop, pixelCrop)
    this.setState({ crop })
  }

  buttonClick = () => {
    this.setState({
      crop: makeAspectCrop({ ...this.state.crop, aspect: this.state.crop.aspect > 1 ? 9 / 16 : 16 / 9 }, this.state.width / this.state.height)
    })
  }

  onImageLoaded = (image) => {
    this.setState({
      crop: makeAspectCrop(this.state.crop, image.width / image.height),
      height: image.height,
      width: image.width
    });
  }

  render() {
    const { crop } = this.state

    return (

Welcome to React

        <ReactCrop
          src='URL'
          crop={crop}
          onChange={this.onChange}
          onImageLoaded={this.onImageLoaded}
        />
        <button onClick={this.buttonClick}>
          toggle
        </button>

    );
  }
}

export default App;

Thanks I'll have to check it out, though I'm on vacation for a week tomorrow so may have to wait until after

Hi,
Did you find a solution for this problem?
I am facing with the same issue you described.
Thanks!

I was about to say I couldn't replicate but I've only just realised what the issue is - it's when you change only the aspect, otherwise it works. I will fix this in the next few days.

Fixed in 6.0.6

Thanks,
But I think is still with problems.
You can check on your sandbox (https://codesandbox.io/s/72py4jlll6) and changing aspectRatio to 2/3 for example.
Look at this example:

At the example above you can see after changing the image, the aspect ratio is not 2/3, is like a square.
Can I reset the crop dimensions in some way to fix it?
Thanks again for your time!

@bakerGS did you upgrade the sandbox version of react-image-crop to 6.0.7? My sandbox is currently on the unfixed version so just making sure

You're right, thanks for your help!!!

@bakerGS unfortunately due to this introducing a bug I had to revert this, so just like when you initially set a crop you must omit (or set to falsy) either width or height when changing the aspect in order for the component to generate a new complete crop:
this.setState(state => ({
  crop: {
    ...state.crop,
    aspect: 16/9,
    width: null,
  },
}))

@DominicTobias Can you tell me the new bug? I can't find it.

I’ve fixed the bug now, the change I made for this was causing an infinite
loop. If you want to change the aspect and let the component figure out the
adjustment in width or height then set width or height to null at the same
time
On Thu, 15 Nov 2018 at 12:48, bakerGS<EMAIL_ADDRESS>wrote:

@DominicTobias https://github.com/DominicTobias Can you tell me the new
bug? I can't find it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DominicTobias/react-image-crop/issues/133#issuecomment-439029001,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuZ-pQ01b-g0KZjodPzjXuZZtqSm2c2ks5uvWKjgaJpZM4QI00B
.


feat: use gen client for schema generation

About this change - What it does

Removes aiven/aiven-go-client and replaces it with aiven/go-client-codegen
Adds .env file example and support to Taskfile

Outdated.


Error: Could not find or load main class com.google.refine.Refine

I'm running Ubuntu 13.04 Raring Ringtail and OpenRefine will not start. I have tried the version that's on the website and I have cloned the github repository. Both have the same error: Error: Could not find or load main class com.google.refine.Refine
The documentation says that this is because JAVA_HOME is probably not set. It is set. JDK_HOME points to the same place. I was using openjdk and I just installed Oracle java 7 jdk to see if that made a difference, but the problem is the same. Everything appears to be set up fine and all other java applications work (processing, arduino, javac, etc).
RUN_CMD looks like this:
/usr/lib/jvm/jdk1.7.0_40/bin/java -cp server/classes:server/lib/*   -Xms256M -Xmx1400M -Drefine.memory=1400M -Drefine.verbosity=info -Dpython.path=main/webapp/WEB-INF/lib/jython -Dpython.cachedir=/home/rduarte/.local/share/google/refine/cachedir -Drefine.autoreload=true -Dbutterfly.autoreload=true -Drefine.webapp=main/webapp -Drefine.port=3333 -Drefine.host=<IP_ADDRESS> com.google.refine.Refine
and echoing JAVA_HOME from the refine script shows that it is being seen just fine.
Thanks for any info

I am getting the same issue while running on windows10.

How can I proceed to solve it for windows?
I found a solution here but in my case its already on the hard drive.
Thanks for any help.

@rachitmanas please create a new issue which describes the problem that you are having rather than using an unrelated, closed issue.


[Improve][Zeta] Add log config for job mdc

Purpose of this pull request
[Zeta] Add log config for job mdc
Does this PR introduce any user-facing change?
No
How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

link
https://github.com/apache/seatunnel/pull/7491


time support

Adding support for time crate. Note that sea-query dependency goes to my branch and i currently defaulted to time crate for CI

Why this was closed?

Its not that easy as i thaught and needs more work, ltree has my prio now at the moment

Okay! We could revisit this later :P


defaultProps and getDefaultProps

Hi!
Currently defaultProps and getDefaultProps is not supported. It is a big problem with making some react components to work with preact. Any plans to implement it?

Yup, coming to Preact itself. Will update here as it does.

Awesome, thanks!

Fixed on master and passing your lovely tests. Will release as 4.0 under a beta npm dist-tag for a short time and then we'll be live.

Sorry to comment on closed issue, but the non-es6 class construction still doesn't ever invoke getDefaultProps (I'm on 4.2.0).
apparently in the non es6 way all of the life cycle methods are under nodeName.prototype.
though I did no see any reference to getDefaultProps at all.
as seen here preact/src/vdom/index.js:32
let defaultProps = vnode.nodeName.defaultProps;

perhaps something like this would solve it.
let nodeName = vnode.nodeName;
let defaultProps = nodeName.defaultProps;
if (!defaultProps && nodeName.prototype.getDefaultProps) {
    defaultProps = nodeName.prototype.getDefaultProps();
}

@mrbar42 no problem!
getDefaultProps() is not part of the ES class API, so it is actually handled in preact-compat rather than Preact itself.  The implementation in preact-compat basically what you described.
I think we should at least document this somewhere (in the Wiki?), since I can see it causing some confusion.  Also, perhaps we have a use-case here for something lighter than preact-compat that adds support for the createClass() API?  A separate module would make it nice and optional, but easy to integrate without relying on all of preact-compat (not that it's particularly large).
Interested to hear your thoughts. Also any info about your use case would be helpful too!

@developit
My use case is as follows, I hate fat bundles.. that's for one.
Secondly, I dislike es6 classes (as classes in JS are virtual)
as well as dislike jsx.
but that's really a personal preferences (I seem to be in minority ).
Coming from react I'm looking for the minimum to continue more or less the same.
For example I like the DOM shorthand
this for example will add ~800 bytes to the bundle with this minimal hack.
I don't need the whole compat package - just these couple of things.
If the case for preact is to only support es6 than so be it.
maybe some minor things could be added to the es5 help page.
Here are 4 example hacks
let wrapTag = tag => {
  return function () {
    let args = Array.prototype.slice.call(arguments);
    args.unshift(tag);
    return h.apply(null, args);
  };
};

const list = `a abbr address area article aside audio b base bdi bdo big blockquote body br
button canvas caption cite code col colgroup data datalist dd del details dfn
dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5
h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li
link main map mark menu menuitem meta meter nav noscript object ol optgroup
option output p param picture pre progress q rp rt ruby s samp script section
select small source span strong style sub summary sup table tbody td textarea
tfoot th thead time title tr track u ul var video wbr`.split(' ');

export const DOM = list.reduce((base, t) => {[t] = wrapTag(c);return base}, {});

export function unmountComponentAtNode(container) {
  render(h(() => null), container);
}

export function findDOMNode(component) {
  return component.base || null;
}

export function render(component, node, merge) {
  return PreactRender(component, node, merge || node.lastChild);
}

I can certainly appreciate the small bundles (+ small modules) philosophy.  I could definitely see these going into an ES5 wiki page, and potentially being their own modules too.  For the DOM element factories, someone has already created a module that does what you are doing, so that's a start. He's using it for coffeescript, but the result is the same (usage without JSX).
Preact is definitely more geared towards the ES6 syntax, but there are lots of examples of using it via ES5 (or even ES3).
Another option is a wrapper library, similar to how I did preact-cycle.  Basically just using Preact under the hood as a VDOM + Components renderer, but defining a new API on top of it.
If you venture down that road, I'm interested to see what you come up with!

@developit generally speaking, removing unused code and optimizing bundle is already done by webpack and tools as such.
more specifically for webpack, its done by uglify compressor, aggressive merge and dedup plugins.
are you talking strictly about redundant imports?

Uglify's dead code elimination doesn't generally work across module boundaries when applied to Webpack's output, because modules export objects as their interfaces, and those objects count as references to ("uses of") otherwise unused internal functions.  This is actually one of the reasons Preact has no internal namespace objects in its codebase - ES6-style imports via Rollup is currently the only way to flatten modules down to a single IIFE as part of a build.
My comment was mainly making use of the fact that Rollup looks for a jsnext:main property in the package.json of any modules you import, which allows it to traverse imports throughout the ES6 source of that dependency instead of bundling a mostly untouched ball of ES5. I don't have any great examples of this working because I tend to use LESS in my apps, which is not supported by Rollup (so I just use Webpack). This solution is also a bit brittle, since it relies on a single definition of what "jsnext" means (ES2015? JSX? who knows what's inside a given module).
I'm really hoping Webpack 2's tree shaking is at least as good as Rollup's. That would make it easy to import a library like preact, but entirely exclude parts of its functionality (eg: ES6 classes).
For my own use-cases, Preact is small enough that it's less than 50% of the total weight of my applications - once you build out a few modules and import some CSS, 3-4kb is unlikely to be much of a burden. Compared to the various front-end project setups I've had over the past decade, this is definitely the lightest.  Previously I had been using dominictarr's hyperscript as a tiny h() implementation (no VDOM), but when I actually looked at the dependency sizes, it's roughly the same size as Preact, so I was giving up Virtual DOM and Components for no reason - crazy!
Last thing I wanted to mention was that you might benefit from setting up an intermediary module between your code and Preact + those addons you mentioned - something like import {..} from 'mrbar42-component';.  I've been looking into this for some of my projects, and it seems like a nice way to insulate your implementation code (components, etc) from any library choices or API changes.  Certainly it would provide a nice mechanism for you to import the couple bits you need from Preact (export { Component, render } from 'preact';), and then mix your own addons in as first-class named exports.


Support switching to Iframes that are places in a Shadow Root.

What is your Test Scenario?
Use t.switchToIframe with an iframe element that is located inside a shadow root. There was an issue opened for this but got closed over the time. https://github.com/DevExpress/testcafe/issues/3673

What is the Current behavior?
Currently, if you try to perform this, you will get the The iframe in which the test is currently operating does not exist anymore error.

What is the Expected behavior?
Support this case.

Additional context
test.html
<!DOCTYPE html>

        <title>Test Shadow IFrame</title>

iframe.html
<!DOCTYPE html>

        <title>Shadow Iframe</title>

        <button onclick="logElement.textContent = 'It works'">Click me</button>

test.js
fixture `Test Shadow`
    .page`./test.html`;

test(`iframe`, async t => {
    await t
        .switchToIframe(() => shadowRootElement.shadowRoot.querySelector('iframe'))
        .click('button')
        .wait(3000);
})

Hi @thakurrugved,
Thank your for the example. I reopened the original #3673 issue. Please track it to be informed about its progress.

Hi @thakurrugved,
Thank your for the example. I reopened the original #3673 issue. Please track it to be informed about its progress.


Query on viewer/render/read_pixels API migration to Mujoco 3.x

Dear Team,
    I was unable to understand how to map mujoco2.x APIs **mujoco_py.MjViewerBasic**, corresponding **render and read_pixels** APIs in mujoco 3.0. Request your kind help on this.

I used the API mujoco.viewer.launch_passive(self.conveyor.model, self.conveyor.data, show_left_ui= False, show_right_ui= False), but I get the error:
ERROR: mjv_makeSceneState: mjvSceneState buffer is not fully used
Press Enter to exit ..
Please advise.

@yuvaltassa Can you kindly help here.

We cannot help you without a minimal reproducible example.

Hi @yuvaltassa, Please find the model attached. The main xml file is warehouse_v2.xml
The segments of the code I have used are
self.model = mujoco.MjModel.from_xml_path(fullpath) # fullpath is the path for the file warehouse_v2.xml
self.data = mujoco.MjData(self.model)
mujoco.mj_forward(self.model, self.data)
mujoco.viewer.launch_passive(self.model, self.data, show_left_ui= False, show_right_ui= False)
assets.zip

Dear @yuvaltassa, Can you kindly check this xml file and help us know of this error.

Hi @yuvaltassa , I figured out that if I remove the  from the xml file, the error doesn't occur. Kindly provide your insights.

I don't know what it means to "remove the from". No insights from me.

I am so sorry, the comment isn't rightly uploaded.
I figured out that if I remove the line below in the warehouse_v2.xml file, the error doesn't occur. kindly provide your insights

We have documentation, please read it. Specifically take note of the word legacy
https://mujoco.readthedocs.io/en/latest/modeling.html#csize
https://mujoco.readthedocs.io/en/latest/XMLreference.html#size-memory

Hi @yuvaltassa , I am so sorry, the comment isn't rightly uploaded. I figured out that if I remove the line below in the warehouse_v2.xml file, the error doesn't occur. kindly provide your insights njmax="10000" nconmax="10000"

Hi, I would like to ask if a cause has been found for this issue, I have the same problem. My XML file runs fine in the simulator, but I encounter this error when using the Python API: ERROR: mjv_makeSceneState: mjvSceneState buffer is not fully used.


refactor:commonjs package manager support

Fixes: #62

@benoror it looks like you thought you'd updated this PR (according to your comments in #62) to change angular-md5 to cg-busy or angular-busy. Any chance this could be updated and then eligible to merge?


API to get licenses to show

 Issue by Hixie
Monday Jul 20, 2015 at 20:33 GMT
Originally opened as https://github.com/flutter/engine/issues/153

From @Hixie on March 2, 2015 21:23
We should have an API that returns all the licenses we're supposed to show in an app's about screen, since the runtime uses some libraries that require notice.
Copied from original issue: domokit/mojo#56

[ ] engine should export a String that contains all the licenses that are relevant to the engine.
[ ] each library in the framework should do something similar, maybe concatenating its list with the previous layer's list.
[ ] stocks app should demonstrate how to use this resulting String to show the licenses.

Maybe the engine should expose a list of licenses it needs to show, and some low level of the framework should have an API that you can add licenses to, and that layer automatically adds the engine's, and other layers can add whatever they need, and then at the widgets layer we can have a widget that shows the licenses along with a "Made with Flutter" stamp.

Maybe use gn desk to figure out what files to examine in the first place.

gn desc

@Hixie is this something we can easily get out of the way (or at least plumb basic support for?)  customer:fast would like to check off this checkbox for their launch.

It's on my list after data tables.

Curious if we have any news on this? I know some work has gone in.

It's ongoing.

The bulk of this is now done. Remaining issues are https://github.com/flutter/flutter/issues/5052 and https://github.com/flutter/flutter/issues/5031 but neither is a blocker to launch.


Add product properties database field

Adding the properties field to the Product database schema/model (replaces metatdata field)

Closing PR. Will include database field updates in the next PR for updating grid state delta export


Improving your app - 1

https://github.com/UBC-MDS/citytemp/pull/67
https://github.com/UBC-MDS/citytemp/pull/69


Orbitdb access control and encryption

@ruffiano89
Hi jamshid can you look into how we can encrypt orbitdb data?
@mehdibalouchi
How we can use orbitdb internal access control.

You can find more info :
https://github.com/orbitdb/field-manual/blob/main/01_Tutorial/06_Identity_Permission.md


Extend Python docs with dark mode

Body
Our Python docs are built using mkdocs-material.
This allows to easily configure a dark mode as described here: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=dark+mode#color-palette-toggle
This issue is about configuring the dark mode for our Python docs via the mkdocs.yml. Please pay some attention on the selected primary and accent color for the dark theme.
Monitoring
As this issue is marked as good first issue: one of @SvenO3 , or @bossenti are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
This issue is ideal for people that are interested in getting started with StreamPipes, and want to get a little hands-on to our Python library.
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

Hey, I want to work on this issue.

Thank you @tenthe for assigning this issue to me.

What about the logo?

its getting a bit unreadable due to dark colors

Yes, you are right it is quite unreadable. @bossenti is it possible to use the white logo for dark mode?

For images within markdown files there is a functionality to distinguish between dark and light mode:https://squidfunk.github.io/mkdocs-material/reference/images/#light-and-dark-mode
However, I think this does not apply for the general logo (appearing in the top left corner)

So I edited the logo to improve the readability with dark mode.

Is it ok to use this logo?

Light Mode -

Dark Mode -

@bossenti is it legal to use this edited logo? like no license issue etc...

Ok sure

@tenthe What about the python logo its not there in the all white logo.

Should I add it?

ok got it @tenthe

@tenthe I have committed with the white logo, please accept the PR.

It looks like this now

completed with #1454


Sensitive Information Stored in Local Storage

Describe the bug:
Local Storage is known as Web Storage or Offline Storage is a mechanism to store data as key/value pairs tied to a domain and enforced by the same origin policy (SOP). Local storage is persistent and is intended to survive browser/system reboots.
Exploitability

HTML5 Local Storage suffers from the following limitations:
By default, local storage persists between session
Session information stored in local storage cannot be protected from Cross Site Scripting attacks like cookies (i.e. HTTPOnly)
Sensitive data cached by a web browser can expose data in shared environments.

This attack requires access to the browser’s local storage by compromising the victim user’s computer through malicious software or using a common, shared workstation on which victim has previously logged in to the application in question. The local storage does not get deleted after an explicit logout nor when the browser gets closed.
Currently HUE save's below information in the localStorage :

Database name
User’s last action
Application user names
though None of these da

though these information are not  sensitive , we should either provide an way to mask or disable it
proposal 1 :  i am proposing the use of secure-ls : https://www.npmjs.com/package/secure-ls
to mask and compress the data stored in localStorage .
Proposal 2: I am proposing ann new config under : [desktop][[custom]] disable_localStorage =false in hue.ini which allows to disable the usage of localStorage , the value will be false by default, customer can make it true if they dont want to use localStorage feature.
Steps to reproduce it?
Login to Hue -> Open network console -> type window.localStorage -> you will find some user data in the localStorage
Hue version or source?
-- reproducible in master branch and released versions of Hue

https://issues.cloudera.org/browse/HUE-9608

@JohanAhlen  @romainr  @sreenaths  ,
Please let me know which of my proposals are good for users who thinks Having data saved in localStorage is dangerous.

2 lgtm, simple and easy.


Fix displayed time format from 24H to 12H

Closes #389.
Currently, time format shown for PM timings are in the format HH:mm AM/PM e.g. 13:00 PM, which doesn't make sense. This PR changes the displayed time format to be h:mm AM/PM e.g. 1:00 PM.

Codecov Report
Base: 55.23% // Head: 55.22% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (5e4005f) compared to base (30ed0e5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #391      +/-   ##
============================================
- Coverage     55.23%   55.22%   -0.02%
  Complexity      895      895
============================================
  Files           182      182
  Lines          4039     4038       -1
  Branches        527      527
============================================
- Hits           2231     2230       -1
  Misses         1698     1698
  Partials        110      110

Impacted Files
Coverage Δ

.../main/java/seedu/uninurse/model/task/DateTime.java
63.79% <ø> (ø)

...a/seedu/uninurse/logic/commands/CommandResult.java
61.76% <0.00%> (-1.10%)
:arrow_down:

.../main/java/seedu/uninurse/commons/core/Config.java
68.18% <0.00%> (ø)

...main/java/seedu/uninurse/commons/core/Version.java
82.50% <0.00%> (ø)

...main/java/seedu/uninurse/commons/util/AppUtil.java
88.88% <0.00%> (ø)

...ain/java/seedu/uninurse/commons/util/FileUtil.java
77.27% <0.00%> (ø)

...ain/java/seedu/uninurse/commons/util/JsonUtil.java
94.11% <0.00%> (ø)

...n/java/seedu/uninurse/commons/core/LogsCenter.java
78.37% <0.00%> (ø)

...n/java/seedu/uninurse/commons/util/ConfigUtil.java
75.00% <0.00%> (ø)

...n/java/seedu/uninurse/commons/util/StringUtil.java
95.83% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Issue 10: EOF error when sending messages to Confluent Cloud

https://github.com/mostafa/xk6-kafka/issues/10

LGTM! Although I suspect that we should pass something to tls.Config, unless you've tested it and it works.

I tested it - I can publish messages to Confluent Cloud with the empty TLS configuration.
I came across that setting while reading up on how other folks use kafka-go with Confluent Cloud: https://github.com/segmentio/kafka-go/issues/499


Update xeus-cpp dependency from clangdev 16 to 17

This PR fixes the make && make install build failures while using clang 17.0.4 and llvm 17.0.4. The main changes here are inspired by (https://github.com/llvm/llvm-project/commit/b8e5f918166c46f8b3c0674f2a2e81bfcb95f969 and https://github.com/llvm/llvm-project/commit/8b1771bd9f304be39d4dcbdcccedb6d3bcd18200) as
ExecutorAddr was introduced in  as an eventual replacement for JITTargetAddress and ExecutorSymbolDef was introduced as a
replacement for JITEvaluatedSymbol in the following patches.

Do you have any clue why things fail on osx?

Looks like clang_osx64 17 is not available yet ( latest is 16.0.6). So we'll maybe have to wait until the switch happens to clang 17 on osx. @vgvassilev

I think clang_osx 17 is now available (https://github.com/conda-forge/clang-compiler-activation-feedstock/pull/113) but we might have to wait for it to be enabled as the default compiler (https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/cbccb41e313c017c1ad15db6c287e87aa57d54dd/recipe/conda_build_config.yaml#L18)

LLVM 17 seems broken. It has valgrind issues discovered by CppInterOp. We should probably not update before fixing them: https://github.com/compiler-research/CppInterOp/actions/runs/7561682890/job/20590508932#step:26:11915

That's not needed anymore. It will be handled on the CppInterOp side. Do you mind closing this one?

Yeah sure it makes sense. let's close this for now !


cannot transform into es5?

Hi, thanks for your effort !
Is there a way to transform minified code into es5 code?

It's better to convert the code to ES5 and then minify it.

That's to say,  tree shaking is still not working.

@boopathi How would we use tree-shaking and transpilation to ES5?


How to get test set predictions?

Hi!
First of all great work and thanks for the easily readable code
I was trying to recreate the results and was able to train the model but I can't seem to find any instructions to use the save files to perform inference. Can you share some instructions for the same?

I tried running python prediction_generator.py --task a --model bert --batch-size 32 --learning-rate 0.0001 --epochs 10 but I get this error
Traceback (most recent call last):
  File "prediction_generator.py", line 147, in <module>
    line.append('OFF' if y_pred_A[i] == 0 else 'NOT')
TypeError: 'int' object is not subscriptable

Eventually wrote a custom script to load from checkpoint and evaluate couldn't get the file to work but the checkpoints are good


Update text descriptions in package.json

Updated to be consistent with text used in README.

/lgtm


'Waiting for img.shields.io"

After changing our project website to use shields.io, it frequently has long wait to render the badges. When we have problem in the badge rendering on our website, the http://shields.io/ also has the similar problem. So, I guess the problem is not on our side.
Is there any way to improve this? I am considering to switch back to use the original badges from their respective service providers. It is better to get a reliable low resolution version than an unreliable high resolution badge.

I see you are using Coverity and Travis badges. I'll try to monitor their response times. Could you give me information about when they are not on par with what we should expect?

Thanks for the prompt reply, much appreciated. I am sorry that I did not note down the exact time when it happened. What I can confirm that when it did happen, the sample badges on the http://shields.io/ were also not rendered. I may also add that the outage did not take long to recover. It is the outage frequency that worries me. I happened to catch it with the pant down three or four times already since we migrate.

It is happening now.

It seems it has recovered itself again.

Thanks a lot for reporting. There seems to have been a surge in requests past 400 per seconds from servers at Amazon AWS. It has caused a lot of request time-outs, and has made Redis fail, which caused a marginal number of caught crashes (about 50).
There was also a Heroku slow-down at the same time caused by our using slighly over 512MB of memory, which made things worse.
I think I plan on switching away from Heroku. We can hopefully use a lot more memory and take surges like these with a better infrastructure.

Thanks for looking into this.

I frequently experience this with the Gratipay shields.

This issue still happens

It is happening currently with rendering badges

This may sound stupid (or arrogant depend on how you read it), but I was wondering whether this issue exists before I raised it. More precisely, did it exist before our project website switch to use shields.io badges? Or it it just because I am the first who bother to report it?
I would not reveal the link to our project website here to avoid the impression that I am promoting it but I believe it should contribute to quite an amount of workload on your server because:

Our website has picked up a significant traffic recently.
The badges are located in our default footer page template, i.e. the badges appear in the footer of all the generated pages, including our documentation pages.
Before the switch, we have employed a small js to force browser to always download Travis-CI build status badges remotely instead of from local cache. This javascript is still in place after the switch.

With all these combined together, it means it does not matter where our website visitors navigate to, each page being rendered would generate a small workload on your server. The accumulated workloads could become significant depends on how well your server scale up on demand. Hence I am wondering could it be our own doing that cause this in the first place! I hope I am worrying too much tough.

@weitjong Based on my server logs, there is no single website generating a majority of the traffic, although GitHub is the most significant. Issues related to the responsiveness of the server have existed as long as we have used the current configuration (see eg. https://github.com/badges/shields/issues/226), and have been solved by caches and algorithms so far. The main issue is that, as far as I know, the Heroku system doesn't give a way to the server software to detect when it enters slowdown mode. I will change server setup, however.

Thanks for your prompt reply. Again much appreciated.
That is quite a relief to hear. I just want to come clean. :smile:
Our website is hosted on github.io too. But I guess this statement does not change anything as you said the issue exists long before.

Just to add: the badges are still slow.

I'm seeing timeouts on my Travis and npm badges today at https://github.com/rackt/history.

This issue seems to have reemerged.

The problem seems to be getting worse. I have temporarily switch our website to use back the lower res badge from its original source instead of from shields.io. It probably does not make any differences to shields.io performance, but who knows.

Indeed, it won't make a difference. Unfortunately, the server became unreachable at the worst possible time — just as I started going to sleep. I'm investigating the issue with my hosting provider.

I have just rebooted the server, and things are running again.

@espadrine have you considered hosting the images on S3 behind CloudFront? Couldn't you cache them there, if not actually render them to their as a static site as the primary representation?

@ms-ati There is a difference between having slow badges, having downtime, and having incorrect badges.
I strive to produce badges that are as correct as possible, as fast as possible, and with as little downtime as possible.
I switched hosting providers a week ago to fix the speed issue; badges should now be exactly as slow as the service that produces the information they provide (plus network lag, which is generally negligible). More importantly, while before the server entered a severe slowdown for one hour every week at peak times, that should no longer happen. So far, that seems accurate.
Today, the VPS went down and did not restart, for which I am talking to the provider. Having a CloudFront cache would not help a server that is not running on a machine that is not up to serve images.
Cache really is not the issue right now. I have a cache that I use when vendors (Travis CI, etc) do not respond, when data changes rarely, or when the server receives duplicate requests in rapid fire.

Is it down again? :)

@espadrine Shouldn't a CloudFront or Fastly cache, simply in front of the badges system as a whole, smooth over any temporary outages? In other words, isn't HTTP caching itself a very well suited mechanism for increasing the availability of the badge urls?

Yes, the server went dark again. I'm getting annoyed at OVH. I'd rather not spend another week of holidays setting things up yet again on a new server (say Digital Ocean), but two downtimes a week is obviously inacceptable. I sent them a mail, I will see what they say.
@ms-ati I use HTTP caching. Obviously, most people want badges to have accurate information, though. It is irrelevant anyway when you can't even access the IP that the DNS points your browser to.

@espadrine Would it make more sense to use AWS and automatic scaling load balanced instances? Thus handling large sums of traffic quickly and easily according to your auto scaling policy. So that when say 80% of CPU is being used AWS will automatically spin up an exact copy of that instance and start sending traffic to it and the other instance?

Would it also make sense to put a CDN in front, which is configured to
successfully return the last value when the origin is unreachable? This
would seem a good case for that?
On Mon, Oct 5, 2015 at 10:29 AM, tankerkiller125<EMAIL_ADDRESS>wrote:

@espadrine https://github.com/espadrine Would it make more sense to use
AWS and automatic scaling load balanced instances? Thus handling large sums
of traffic quickly and easily according to your auto scaling policy. So
that when say 80% of CPU is being used AWS will automatically spin up an
exact copy of that instance and start sending traffic to it and the other
instance?
—
Reply to this email directly or view it on GitHub
https://github.com/badges/shields/issues/445#issuecomment-145546410.

--
Marc Siegel
Technology Specialist
American Technology Innovations
Email<EMAIL_ADDRESS>Phone: 1<PHONE_NUMBER>
Cell: 1<PHONE_NUMBER>
Fax: 1<PHONE_NUMBER>

@tankerkiller125 Shields.io is not CPU-bound.
@ms-ati What is the difference between a CDN that returns the last value when the origin is unreachable, and a cache that does the same thing? We currently have the latter.

What is the difference between a CDN that returns the last value when the origin
is unreachable, and a cache that does the same thing? We currently have the latter.

@espadrine Good question! I believe the difference is in the area of robustness. Or downtime, like this ticket discusses.
Using a cache as we have today impacts performance, and it may provide robustness against downtime of the data sources. However, as this ticket attests, it doesn't provide robustness for the shields.io service endpoints itself.
I think that using a CDN "in front" of shields.io, which is configured to return successfully with the last value for any url it has cached when the origin is down, will provide robustness to the service itself being down.
That way, badges that have previously been requested will continue to appear, and just won't be updated until the service is back up.

@ms-ati So for example how Cloudflare has its "Always Online" feature where any page cached is displayed to the user?
@espadrine The CPU was just an example there are many different parameters that you can use to define the scaling groups.

That is a fair distinction. I wonder if CloudFlare allows that kind of behaviour. I'll look into it.
I also wonder what HTTP status code I should send for invalid badges. 504 Gateway Timeout seems right?

@espadrine Depending on the reason its invalid. If its invalid because say the project doesn't exist on the sources servers then it should be a 404. But if it is because shields.io is just unsuccessful reaching say for example github then it should return a 504.

@tankerkiller125 Yes, both CloudFlare and Cloud Front have support for this (IIRC).
@tankerkiller125 Agreed, 404 for a non-existent resource, 504 for temporarily unavailable

I might also note that putting a CDN in front of shields.io will help decrease the load as well (because cached request are served from them instead of the server)

If the badge is for the build status then serving a cache version might not be desirable, especially for active project.

@weitjong: Do prefer to have badges unavailable, rather than serving the last known version, when the service is down? That is what we are discussing.
Caching is used regardless, and the badges should play well with HTTP caching semantics. The only change I'm advocating is to use a CDN configuration to ensure that, when the endpoint is down, the cached badges still show.
The only change, in other words, is from (no badge) => (last badge) when service is down. Everything else, including timeliness of updates, would stay the same.

I see. Thanks for your explanation. I did misunderstand it earlier. Having said that,  I think I prefer "status unknown" or something like that instead of "last known".

CloudFlare doesn't seem able to do what we want here. Always Online works through a weekly crawler, which would never see any of our users' badges. It only caches HTML, and up to 3 pages.

Maybe some of us with spare computing power laying around (like I have several older XP machines) could donate that power by running the application and then giving you the IP so that you can add it to some sort of load-balancing proxy? This would also help with Githubs Rate Limiting because we would all have different Keys.

I've had my badges repeatedly not loading over the past few days, and right now, img.shields.io seems to even have gone down. Is anybody else experiencing similar problems?

It doesn't seem down, and the load average is pretty low (0.75, 0.79, 0.83). We might improve performance with node cluster, it's hard to tell before we do it.

@espadrine If you ran a NGINX loadbalancer (not DNS roundrobin) it could verify and make sure that the server is online and you could also set weights (so that people with less network IO speed get less traffic than someone who has good network IO)

I don't know, I get this very often, like more than 50% of the time:

Interestingly the travis badge loaded (which is also a shields.io badge - but it took half a second, while for example the appveyor badge loads instantly), the other ones did not.
It can't be my own ISP, can it?

@patrikhuber Hmm, the camo thing is weird. On principle, camo simply remembers the link between each id and the corresponding URL, and calls that URL. Can you give me the link to the readme, or the URLs?

@espadrine Sure! All my repos are affected in fact. See for example the readme of https://github.com/patrikhuber/4dface.
Ah, and I don't think it has anything to do with my ISP, since I have the same problem at Uni and via 4G. Maybe I'm just too dumb to set the links correctly or made another mistake somewhere? (but that seems a bit odd since there's not actually much one can do wrong ;-) )

@patrikhuber Ah never mind, the camo URLs didn't work because there is a … in the middle. GitHub badges respond slowly currently, probably because I reached their rate limit. I'll try to reach out to them.

@espadrine Right, the Chrome developer console inserted the ... because the link is too long. However if you copy the correct URL by yourself, for example this, GitHub returns a "Not Found". Maybe that helps in your debugging.

@espadrine I've done some more research on the DNS Round Robin. Because of the way clients work they will continue trying new IP's returned by the DNS untill they get a valid response from a server. In other words if there are 50 servers and 25 of them down users are going to get a response 100% of the time because of the way the client software works.

if one of the servers becomes unreachable, the client's web-browser will try the next IP address records returned by the DNS server and repeat the process to get the web-site.

I'm not sure how Githubs Camo service will handle it but I do know that a browser will be just fine (checked it out myself)

This is happen now. CloudFlare - HTTP error 522 - Connection timed out

I think my issue is a different one. I'm still having this issue with camo.githubusercontent.com. It doesn't load my badges at all, see my repo https://github.com/patrikhuber/4dface. Any update on this, or anything I can do to help debug it?

seems it just works when wants

@hotrush I think the load that the servers are under is causing the request to API's to occur to slowly for the software. Causing the vendor unresponsive errors.

Note: I changed to having two servers with DNS round-robin. We'll see if there is some improvements.

My badges still don't load (see my post & repo link above), do you have any idea what I could try?

@patrikhuber @espadrine
I have the same problem, seems that github link for license badge inside readme doesn't work for some time now
replacing it with direct link works
[![License](http://img.shields.io/:license-mit-blue.svg)](http...)

I just checked and was very surprised to see the license and version badges load a few minutes ago. I refreshed a few times and it was working each time.
Now, 3 minutes or so later, the release badge is back to not loading.

@patrikhuber That's probably GitHub's rate limit on one server kicking in. I suggest using https://img.shields.io/badge/license-mit-blue.svg?style=flat-square instead. That will essentially instantaneously load.

Hello,
I've the same issue with my badges.
Travis badge working well, other (Github Badge : License and Releases) sometimes appears, sometimes not.
https://github.com/algorys/agshmne/
@espadrine I'll try your solution.

@espadrine Is there a workaround/solution for the release version badges?

@patrikhuber you can make the same with your release but you have to change manually for each versions / tags :
[![GitHub release](https://img.shields.io/badge/release-v0.0.3-blue.svg)](https://github.com/algorys/agshmne/releases/latest)
But as I said before, if you release often it'll be hard to maintain.

@patrikhuber I'm exchanging with GitHub to figure out a solution. The main issue is here: https://github.com/badges/shields/issues/529. It does affect everyone, although we do have two servers, so two IPs, presumably treated separately.

@algorys I know, but that's not really a great option unfortunately.
@espadrine Cool, that's great to hear! Awesome. And thanks to the link to #529. It just seems a bit disappointing that the conversation hasn't advanced since Sept 2015. Anyway, glad to see I'm not the only one having this issue, and I hope there will be a solution soon.

I've just gone through the comments in this issue and those in its sibling #529. As a result I also contributed tokens using https://img.shields.io/github-auth.
What I don't understand is why GitHub would switch img src URLs from https://img.shields.io/ with those from https://camo.githubusercontent.com/ at all. After all, it'd be the browser making those requests and thus hit shields.io. Why would GitHub want to redirect (and cache) those? To me that makes particularly little sense for "static" badges (i.e. those that don't need to access GitHub resources to render) such as license or Twitter.

@marcelstoer Originally, the point was to avoid mixed-content warnings which browsers raise when a HTTPS page has resources (eg. images) fetching data over insecure HTTP. You can read more on the subject on their README.

Ahh, right... "mixed-content warnings" - except that shields.io can be accessed over HTTPS as well.

@marcelstoer Camo is now also used to set CSP information, which they rely on to avoid a class of vulnerabilities, things that are part of XSS or CSRF.

Would self-hosting be a sensible alternative to all of us loading from https://img.shields.io?

@marcelstoer I've put my static badges to separate branch and linked that over rawgit service after too much trouble with img.shields.io, it's just not available most of the time
I can confirm it works without issues, example: https://github.com/qaap/recurse

@pkoretic I had already planned to do that for static badges as well. The majority of badges are dynamic, though (i.e. the make some API calls).

@marcelstoer yeah, I ignored them for now, probably the best is to add reverse caching proxy in front of them for your usage

I believe there's a misunderstanding, either on your side or on mine 😉 What I meant was to host this project myself at let's say https://shields.mydomain.io. Then in my READMEs I'd use that domain. GitHub would still route them through camo but those requests wouldn't count against the https://img.shields.io rate limit.

@marcelstoer I understand, but it seems to much work for just badges
it would be better if we could give more servers into the pool, since I too have spare dedicated servers which could take on that load
Thats why I recommended reverse caching proxy (using nginx for example)
That way you can still use your domain https://shields.mydomain.io which is proxy to https://img.shields.io so when https://img.shields.io is not available you will still get cached results instead of hanging

The load has increased quite a bit lately: it averages 170 req/s at peak time. I'll add a server to the pool (I currently rely on two servers).
GitHub rate limits are not the issue anymore.

@espadrine There is a module for Nginx that allows the load balancing feature to be controlled by a rest interface. And you could do an HTTP check on the servers like every 20s or so. This would allow people with additional servers to help out with handling the load with the minimal configuration for you to handle. Of course, this would need some authentication so that people can add and remove servers securely.

@espadrine Is there any action to take here?

@paulmelnikow I believe the performance of the servers is more suitable nowadays.

This is happening right now:(


typeof x undefined after let x: T | undefined = undefined;

TypeScript Version:  ^3.8.0-dev.20191210
Search Terms:
wrong type
incorrect type
incorrectly inferred type
inferred type overrides explicitly set type
Code

prepare 'project': yarn init -y && yarn add typescript@next && tsc --init
create test.ts with this content:

1:  interface Dummy {
2:      prop: string;
3:  }
4:
5:  let dummy: Dummy | undefined = undefined;
6:
7:  if (isNotUndefined(dummy)){
8:      const val = dummy.prop;
9:  }
10:
11: function isNotUndefined<T>(value: T | undefined): value is T {
12:     return value !== undefined;
13: }

Expected behavior:
dummy variable should be of type Dummy inside if block because of isNotUndefined typeguard. (in this code if block is never called, but thats not the issue)
Actual behavior:
test.ts:8:17 - error TS2532: Object is possibly 'undefined'.

8     const val = dummy.prop;
                  ~~~~~

Found 1 error.

i think it is because dummy type is inferred as undefined on line 5 even when explicit type is written and therefore isNotUndefined is called as isNotUndefined<undefined>(dummy)
Playground Link:
minimal code
'real' usage (enzyme + jest test)
Related Issues:
https://github.com/microsoft/TypeScript/issues/31187 looks simmilar
note
to fix this issue line 5 needs to be rewritten like this:
5: let dummy = undefined as IDummy | undefined;

This works as intended.
The tooltip on isNotUndefined is function isNotUndefined<undefined>(value: undefined): value is undefined because typescript knows that is assigned undefined. On the real example, typescript don't use any assignment from callbacks because can't be sure if it will be called or when (see #9998 for other examples of this).
Another workaround is:
let dummy: Dummy | undefined = undefined as any;

let dummy: Dummy | undefined = undefined as any;

will not "work" together with "@typescript-eslint/no-explicit-any" rule
also after some other variants i tried i found this construction, which feels wrong:
function isType<T>(value: T | undefined): value is T {
    return value !== undefined;
}

interface Dummy {
    prop: string;
}

let dummy = undefined;

if (isType<Dummy>(dummy)) {
    // why is dummy typed as never, when typeguard told tsc typeof dummy is Dummy?
    // isn`t main purpose of typeguards to help tsc determine variable type?
    const first = dummy.prop; // Property 'prop' dows not exist on type 'never'.

    // 3x no error? why is casting from never to anytihng else than never alllowed?
    const second = (dummy as Dummy).prop;
    const third: Dummy = dummy;
    const { prop }: Dummy = dummy;
}

anyway for now i will use this construct (despite it feels wrong because of casting):
let dummy = undefined as Dummy | undefined;

It's never because the TypeScript compiler knows for a fact that dummy can't possibly be a Dummy.  It's undefined.  Type guards narrow the type, they don't set it.


Index out of range error when running the model

The model fails to run with a "list index out of range" error. Thanks to @jdebacker for noticing it while testing a different issue.
Trace below:
Number of workers =  7
making dir:  /Users/mlafleur/Projects/OG-ZAF/examples/OG-ZAF-Example/OUTPUT_BASELINE/SS
making dir:  /Users/mlafleur/Projects/OG-ZAF/examples/OG-ZAF-Example/OUTPUT_BASELINE/TPI
In runner, baseline is  True
SS using initial guess factors for r and TR of 1.0 and 1.0 , respectively.
Traceback (most recent call last):
  File "/Users/mlafleur/Projects/OG-ZAF/examples/run_og_zaf.py", line 127, in <module>
    main()
  File "/Users/mlafleur/Projects/OG-ZAF/examples/run_og_zaf.py", line 65, in main
    runner(p, time_path=True, client=client)
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/execute.py", line 45, in runner
    ss_outputs = SS.run_SS(p, client=client)
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 1215, in run_SS
    sol = opt.root(
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/scipy/optimize/_root.py", line 235, in root
    sol = _root_hybr(fun, x0, args=args, jac=jac, **options)
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/scipy/optimize/_minpack_py.py", line 229, in _root_hybr
    shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/scipy/optimize/_minpack_py.py", line 26, in _check_func
    res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 1069, in SS_fsolve
    ) = inner_loop(outer_loop_vars, p, client)
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 274, in inner_loop
    etr_params_3D = [
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 275, in <listcomp>
    [
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 276, in <listcomp>
    [p.etr_params[-1][s][i] for i in range(num_params)]
  File "/Users/mlafleur/opt/anaconda3/envs/ogzaf-dev-test/lib/python3.9/site-packages/ogcore/SS.py", line 276, in <listcomp>
    [p.etr_params[-1][s][i] for i in range(num_params)]
IndexError: list index out of range

cc: @gubenda

fix in https://github.com/PSLmodels/OG-Core/issues/877


login button type submit, format in dataprotection

added package-lock.json to .gitignore
changed login and signup button types to submit so users can submit the form with enter key
added formatting in data protection, spaces in front of email-addresses, changed ">" to resolve compilation error in dev environment

lockfiles are intended to be committed into source repositories see offical npm docs. Besides we use yarn anyway :D
Otherwise  lgtm


[bug] MacOS Codesign doesn't handle frameworks

Describe the bug
I'm developing an application on MacOS that uses a 3rd Party Framework that I package with my application. When code signing and then distributing the app, I get crash reports on boot regarding the Framework and it having discrepancies in the team id
Not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs

During my testing and research today, I found that Apple recommends signing included frameworks along with your app itself. So I tried this on the .app file, first signing the internal Framework and then signing the overall App itself and it cleared up the issue.
I'm guessing this is something that needs to be added to the bundler?
Reproduction
No response
Expected behavior
No response
Platform and versions
[✔] Environment
    - OS: Mac OS 13.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.70.0 (90c541806 2023-05-31)
    ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.15.0
    - yarn: 1.22.19
    - npm: 9.5.0

[-] Packages
    - tauri [RUST]: 1.4.1 (no manifest)
    - tauri-build [RUST]: 1.4.0 (no manifest)
    - wry [RUST]: 0.24.3 (no manifest)
    - tao [RUST]: 0.16.2 (no manifest)
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: style-src 'unsafe-inline' 'self'; default-src 'self'; img-src 'self' asset: https://asset.localhost; connect-src 'self' asset: https://asset.localhost
    - distDir: ../dist
    - devPath: http://localhost:3010/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
No response

https://github.com/tauri-apps/tauri/pull/7691

FROM APPLE
When embedding frameworks there are two important things to note:
You must copy the framework in a way that preserves symlinks. I often see problems where folks copy a framework using cp -r, which expands the symlinks, which effectively breaks the code. I generally recommend copying code with ditto.
The notary service requires that all code be signed with a valid Developer ID, so it’s possible to build an app from components signed by different developers. My general advice, however, is that you re-sign any nested code with your Developer ID. Sign each code item separately, from the inside out.

Also from Apple:
Consider Deep Harmful
When signing code, do not pass the --deep option to codesign. This option is helpful in some specific circumstances but it will cause problems when signing a complex product. Specifically:
It applies the same code signing options to every code item that it signs, something that’s not appropriate. For example, you might have an app with an embedded command-line tool, where the app and the tool need different entitlements. The --deep option will apply the same entitlements to both, which is a serious mistake.
It only signs code that it can find, and it only finds code in nested code sites. If you put code in a place where the system is expecting to find data, --deep won’t sign it.
The first issue is fundamental to how --deep works, and is the main reason you should avoid it. The second issue is only a problem if you don’t follow the rules for nesting code and data within a bundle, as documented in Placing Content in a Bundle.
@FabianLars

agreed... yeah maybe on the MacOS bundler, we need to have a configuration parameter where you can specify "binaries to sign"


Discord commands

Discord needs a new command parser.
All commands should be a subclass of a tour generic enough to be used in other interfaces (web, API, ...)

Duplicate of #25


Support custom status text

Hey,
I see https://github.com/bitinn/node-fetch/blob/master/lib/response.js#L27 overwrites the status text returned by the server with the default set of Node. It'd be nice to preserve what the server responds as those might be more descriptive readable than the generic ones. Browsers' fetch does preserve it as far as I can tell.
Cheers

That makes sense, maybe we can use the remote response by default and fallback to node's default (I just hope no one is depending on the status message being consistent).
In my experience, most API provide additional information through response body instead of status message though.

Response body formats aren't standardized, but the status message is at least bound to be a text string. I've been introducing them more and more and it works great as an error title: e.g., instead of "412 Precondition Failed", send "412 Invalid CSRF Token".
Probably no need to add a fall back. I'd let Node's IncomingMessage handle edge cases and just use its statusMessage.

Response body formats aren't standardized

Yeah, but there should already be some sort of contract between developer and provider, that's how API work most of the time. Status message is more of a troubleshooting message (not really user friendly unless you design it to be).

release v1.4.0 now prefers remote server status message instead of built-in messages


Question: Does transaction combine actions to multiple stores?

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[X] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Question
This issue is just a question / potential request for clarifications in the docs.
The documentation provides examples where the transaction is applied to the methods in the same store. I poked around the code for @transaction, but could not quite understand how it works. The question is whether it can be applied to actions in different stores. For example:
@transaction
actionAffectingTwoStores() {
  this.storeOne.add({ name: 'asd' });
  this.storeTwo.add({ name: 'qwe' });
}

Thanks for the awesome library.

@transaction only optimized updates on the same store. So for example, if you call the following code:
@transaction
method() {
  this.storeOne.setActive(1);
  this.storeOne.add({ name: 'qwe' });
}

Subscribers to the store will get one notification instead twice (one for each call update).
If it answers your question, please close the issue. Thanks.

Hi @NetanelBasal. Thanks for the great framework! Do you consider adding this in a future release?
The use case I'm thinking of is when you have 2 related entities, say Movie and Actor, where Movie has a field actorIds. There is a selector that returns the Actors of the "active" Movie. This goes well when you first add the Actors entities and then sets the active Movie. When you do it the other way around though things fall apart.
So there is a workaround, but it would be handy to do these changes in an atomic way.

Thanks, can you add a concrete example (stackblitz) so we can look into this?

Here's an example: https://stackblitz.com/edit/angular-rqbnpv.
Have a look at ActorQuery's selectActorNames() (see below) which combines the Actor and Movies store. Depending on whether we first add the Actors and call the MovieStore.setActive() method afterwards or vice versa, the selectActorNames() method succeeds or fails. This is because when we first call the setActive() method, the selector is immediately triggered, and at that time we don't find the corresponding Actors.
  selectActorNames(): Observable<Actor[]> {
    return combineLatest(this.movieQuery.selectActive(), this.selectAll({asObject: true})).pipe(
      filter(([movie, actors]) => !!movie && !!actors),
      map(([movie, actors]: [Movie, any]) => {
       return movie.actorIds.map(actorId => actors[actorId].name)
      })
    );
  }

As I mentioned in my article, you should use the auditTime operator:
  selectActorNames(): Observable<Actor[]> {
    return combineLatest(this.movieQuery.selectActive(), this.selectAll({asObject: true})).pipe(
      auditTime(0),
      filter(([movie, actors]) => !!movie && !!actors),
      map(([movie, actors]: [Movie, any]) => {
       return movie.actorIds.map(actorId => actors[actorId].name)
      })
    );
  }

@david-bulte I'm working a prototype that improves the transaction API. First, a new operator:
  getMovies() {
    return timer(1000).pipe(
      mapTo(movies),
      withTransaction(response => {
        this.actorsStore.set(response.entities.actors);
        this.genresStore.set(response.entities.genres);
        const movies = {
          entities: response.entities.movies,
          ids: response.result
        };
        this.moviesStore.set(movies);
      })
    );
  }

The second is a built-in solution for the case you mentioned, something like:
  selectActorNames(): Observable<Actor[]> {
    return combineLatest(this.movieQuery.selectActive(), this.selectAll({asObject: true})).pipe(
      batch(),<====
      filter(([movie, actors]) => !!movie && !!actors),
      map(([movie, actors]: [Movie, any]) => {
       return movie.actorIds.map(actorId => actors[actorId].name)
      })
    );
  }

@david-bulte check the new functionality here:
https://stackblitz.com/edit/angular-brebji?file=src%2Fapp%2Factor.query.ts
It's still experimental so let me know if there any issues.

Thanks. This is working fine.
Some more thoughts, some may be relevant, others probably out of scope:

What's not (yet?) working are transactions spanning multiple async operations:

  load(id: string) {
    this.mockHttp(id).pipe(
      withTransaction(({ movie, actors }) => {
        this.movieStore.add(movie);
        this.movieStore.setActive(movie.id);
        // this.actorStore.add(actors);
        this.addActors(actors);
      }),
    ).subscribe()
  }

  addActors(actors) {
    timer(500).pipe(
// ---> I also tried with nested transactions <---
//      withTransaction(() => {
//        this.actorStore.add(actors);
//      }),
    ).subscribe(() => {
        this.actorStore.add(actors);
    })
  }

I like the waitForTransaction() selector, it clearly communicates what is going on. On the other hand, one could argue that the selectors shouldn't be triggered as long as the transaction hasn't been "committed". Selectors shouldn't know whether something was added in a transaction or not (separation of concerns). Would filtering on a transaction state help? Something along these lines?

  const tx$ = new BehaviorSubject(false);

 _select<R>(project) {
    return combineLatest(this.store.asObservable(), tx$).pipe(
      filter(([state, tx]) => !!tx),
      map(([state]) => state)
      map(project),
      distinctUntilChanged()
    );
  }

What's not (yet?) working are transactions spanning multiple async operations:
Transactions are only for synchronous operations; we can't know that all the async operations are done. (unless we use zone js and we don't want to)

Selectors shouldn't know whether something was added in a transaction or not (separation of concerns).
The waitForTransaction is relevant only for a combineLatest/merge functionality. Adding it per selector won't help.

If you have a nice suggestion for a solution to your first issue, share with us.

I would say transactions are not necessary over async operations. This can be achieved by waiting for both operations to complete and then manipulate the store.
But manipulating multiple stores so observables only fire once is very important in order to avoid ripple-effects. Otherwise, every selector spanning multiple stores has to use the auditTime operator. Not sure, but I can imagine that this also might add problems (values from single store access are rendered and next tick the things from multiple stores force a re-rendering.
I don't have a stackblitz and just came over this question because we're currently choosing a state mgmt solution (competitors are NGXS and NgRx).


Perl 6 : new book

Added learn perl 6 in y minutes site. Released under

Thanks! This is not a book though. ;)


Fix blog URL referenced

In VSTSPowershell/REST/TCMReplacement.ps1 ...should be:
http://blogs.blackmarble.co.uk/blogs/rfennell/post/2016/09/27/Running-Test-Suites-within-a-network-Isolated-Lab-Management-environment-when-using-TFS-vNext-build-and-release-tooling
Thanks for this, btw!!!

Thanks I have a few of these, an upgrade to our blog server changed a few urls


RNAseq_PAS_finder proof of concept

Before we implement InPas execution workflow, we want to do the following:

Tool testing
Run RNAseq_PAS_finder to see if it works with our test data
Is it running in a reasonable amount of time? Any bugs/blockers?
List the steps to run from preprocessing to final output
What are the challenges (identification, quantification, differential) it qualifies for based on the output files?
Screenshots of output files, what are the columns to be extracted for the challenges?
What are the files to be post-processed for the challenges?
Any specific packages and versions to install?

Update the execution workflow summary table with relevant findings

Estimate: 4h
Parent issue: https://github.com/iRNA-COSI/APAeval/issues/266

Closing, see parent issue


WHO refactory

Coverage increased (+0.02%) to 18.876% when pulling f18438c1561cde49eb89307ab8219cc8dd81e166 on steliomo:patient-schedule into 2026006e40bc6192de78895e94f9121a782ead61 on esaude:patient-schedule.


[Development] Implement viewAll feature

[x] Change command from list --> viewAll
[ ] Ui should only show student's name and ID
[x] Update the success message

[ ] implement a new class to store FilteredPersonsList and whether the list is summarised
[ ] update UI to only show student's name and id


build: Update Sns Tokens

Modifications have been made to the icons and metadata of the Icrc tokens known to the Sns-Aggregator.

Catalyze Index is now up-to-date but, OpenFPL Index is out of cycles, so two changes but, only one correct.
Manually updated Catalyze in #1263 and made batch crash if one Index is out of cycles in #1262.


:sparkles: String.map method

[ADD] New mwthod .map from String - to map all letters

These errors did not occur, the methods (map, reverse) were created.


IE11 checkboxes aren't clickable

Issue Summary
When trying to check a checkbox in IE11 it doesn't check, and displays the hidden help text around it instead.
Steps to Reproduce

Start a new project, or open an existing project.
Run python manage.py runserver <IP_ADDRESS>:8000 so your site is accessible to your browser
Open a page with checkboxes in BrowserStack or LambdaTest. This is the page I've been using: http://localhost:8000/admin/groups/2/ (but any Group Edit view will work)

I think this is a bug somewhere because checking a checkbox in any browser should be supported as there isn't too much going on behind the scenes here.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: Yes, used a fresh install with Wagtail 2.8, Python 3.7.2, and Django 2.2.11 and got the same issue.

Technical details

Python version: 3.6.9
Django version: 2.2.9
Wagtail version: 2.8
Browser version: www.whatsmybrowser.org/b/58AG7

Visual of the issue

Just tried this out in Wagtail 2.10 and I got the same result. Interestingly the checkboxes in the User’s Role settings work, so this might not be an issue with all checkboxes, although I didn’t investigate further.
As a workaround it looks like navigating through the checkboxes with a keyboard and checking them works, although the focus indicator sometimes disappears.

@thibaudcolas  & @KalobTaulien - I have found what I think is the root cause of this
https://github.com/wagtail/wagtail/blob/master/client/scss/tools/_mixins.general.scss#L71-L78
The labels for the input checkboxes use .visuallyhidden
https://github.com/wagtail/wagtail/blob/master/wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html#L25
And when IE triggers the click on the input this appears to trigger the :active on this label which makes it appear 'under' the mouse, and hence the click handler does not correctly work on the checkbox.
I am not sure on the best way forward as I could not see why we want the focus/active state of .visuallyhidden to be visible? This seems odd.
A potential quick work around could be to move the labels under the input checkbox, so that when the label does appear in IE, it will not take the click handler away from the input. I have tested this solution in IE 11 and it works.
https://github.com/lb-/wagtail/commit/cc0c24c77a69393f0a732d05e710c6a801e2f38a
Let me know if you wan me to make a PR with this solution.

Thank you @lb-, I think that’s spot on.
I assume the :focus and :active modifiers are there to make the "visually hidden" content appear again when keyboard-focused. I believe this is there with the intention that if what’s visually hidden is interactive, then you would want it to appear when focused / "active". However I’m not sure how appropriate that is – except for skip links, that behavior doesn’t feel desirable.
Your quick solution sounds good to me, but a potentially even quicker one would be to remove those :focus / :active styles from the visuallyhidden mixin. Apart from the labels in IE11, the only part of Wagtail this would affect is:
https://github.com/wagtail/wagtail/blob/df164a7e6938f7faf9d75efae31ee39e9ccce9c3/wagtail/snippets/templates/wagtailsnippets/snippets/type_index.html#L40
Based on the logic at https://github.com/wagtail/wagtail/blob/df164a7e6938f7faf9d75efae31ee39e9ccce9c3/wagtail/snippets/static_src/wagtailsnippets/js/snippet-multiple-select.js#L20-L30,
it looks like this really should be using the HTML hidden attribute so this control is hidden for screen reader users as well. And there is no value in having this being focusable and appearing on focus.


electron screen isnt resizing at all like the rest of the game

also the electron screen always appears

i meant discord login screen always appears and isnt resizable


Filtering for SN type doesn't work

Hi,
I'm trying to retreive type Ia supernovae but neither filtering for attributes nor cvs formatting don't seem to work. For instance, when I try the url
https://api.sne.space/all/redshift/value?claimedtype=Ia&format=csv

I get the whole catalog in JSON.

Thanks @dobos, I verify that this isn't working correctly. I will look into it later today.

Thanks, absolutely no hurries.

Hi @dobos, this should be working now; one caveat though is that you shouldn't include value in your query, the query should look like this:
https://api.sne.space/all/redshift?claimedtype=Ia&format=csv

The query filters only apply to the last layer in the route, so for instance you can't filter on claimedtype because value is the last layer (and claimedtype lives in the QUANTITY layer only).
Let me know if this does what you were looking to do.


Add waffle-flag to transparently call addons-validator

Olympia part to https://github.com/mozilla/addons-validator/issues/62

Since we don't want to run addons-linter for regular addons yet but mostly use it for newer WebExtensions this is probably invalid now.


LOG: AddToStore minDateTimeIndex and maxDateTimeIndex (Maintenance: TIME)

This card supports #447 as discovered during QA Testing.
In both v1311 and v1411, for a time log, we will have minDateTimeIndex and maxDateTimeIndex under logCurveInfo. This has not been provided by AddToStore.
This blocks #447 until a valid test scenario can be provided to progress testing on that card.

EPIC:
#361 Log CRUD Implementation

Dev sync required. New ETA TBD. @TessForGithub2

UPDATE: Put in the fix and Shehzad reports it is working. However, he has 1 minor issue so wants the card to remain open.

@shehzadsidi  confirmed this is complete. Delivered with 0.16.0.


generic (smart contract) event listener

The PR implements an event listener as per the appendix of https://hackmd.io/o8RGsNwZSN6IE0lkBAZCPw?both (#920)
this is a prerequisite of #922 and #934 (#896).

closed in favor of https://github.com/ethersphere/bee/pull/1099

closed in favor of https://github.com/ethersphere/bee/pull/1099


Unkown USB Device (Set Address Failed)

I have just cloned this repository and have flashed the usb_echo example to my feather_m0 over hf2. The led is blinking just fine (the blinky_basic script worked fine too) but windows does not recognize the feather as a USB device while usb_echo is running. Clearly, USB is working at some point since I was able to flash it with the script, and in bootloader mode, I can see the file system just fine, so I am at a loss as to what is causing this.
I am probably missing something, as I am very new to Rust and embedded systems in general, so this may not be an actual issue with this repository. If that is the case then please let me know and I will close the issue, although I would appreciate a nudge in the right direction :)

What version of rust are you using?

but windows does not recognize the feather as a USB device while usb_echo is running

What does this look like?

My rust version is 1.50.0
A notification pops up saying "USB Device Malfunctioned" and in device manager it is called "Unknown USB Device (Set Address Failed".

Hmmm, might have to check things out on 1.50.0. Can you use rustup and try 1.46 or 1.44 and see if that works?
Did you change anything in the example, like pins or clocks or interrupts?

A notification pops up saying "USB Device Malfunctioned" and in device manager it is called "Unknown USB Device (Set Address Failed)".

For context, I would expect this if our device did not respond to a configuration packet to set the bus address. This could happen if the device halted due to a panic or was too slow in servicing USB messages.

I've got a couple brand new Feather M0 boards on hand (but my Windows machine is a virtual one), will try to investigate tomorrow.

@AdinAck - interesting find, thanks!  At one level, this is a "works for me" report, however in doing the test I found a strange behaviour that may indicate a problem in atsamd-rs.
My computer runs Ubuntu 20.04, however I have a Windows 10 VM (in QEMU/KVM) which does communicate fine with the usb_echo example.  That's not a great test though; I'm pretty sure the lower-level USB init stuff is handled by Linux in that case rather than Windows.  This evening I can probably borrow a real Windows machine to see how it behaves.
What exact command are you running to build the example firmware?  It might be worth trying with --release specified - both debug and release work the same for me, but I've noticed that debug builds are often substantially slower than release ones so perhaps your computer has more strict timing requirements?
I also noticed that cargo-hf2 version 0.2.0 which I had installed didn't work with a couple-months-old Feather M0 Basic, but cargo-hf2 0.3.1 works perfectly.  Since you're successfully flashing things, that's probably not your issue - just putting it here for posterity.
The strange behaviour I'm seeing relates to lsusb's output - I've been working on another USB-connected SAMD21 firmware (A) with Rust firmware, and had noticed that lsusb doesn't show the vendor/product strings in the non-verbose output.  A's VID/PID wouldn't match anything known to lsusb/Linux, so I had just assumed that the displayed strings are baked in to lsusb or some database available to it.  But, when I have a Feather running the usb_echo example (B), suddenly the lsusb entry for A shows the vendor/product strings from B (and B shows "16c0:27dd Van Ooijen Technische Informatica CDC-ACM class devices (modems)").  With lsusb -v, I do see the appropriate strings for the idVendor and idProduct fields in both cases.

Ah, adding --release seems to have fixed it, can't believe I didn't have that, thank you!
So Windows now recognizes that it is a USB device, but how do I get it to echo?
I connected to it with PuTTY and sent some characters but I don't think it responded, am I using it right?
Thanks!

No worries!  I believe that Windows should show a new COM port under Device Manager when the device is connected, then you can fire up PuTTY and select that COM port (baud rate etc doesn't matter, since there's no physical UART involved), typing in the window should show the same characters on the screen as you typed.
Maybe we could improve the example by toggling the LED when characters are entered, or perhaps capitalizing the echoed back characters, so that it is more obvious that the firmware is doing something.

Oh! Cool, then it is working, thank you for the help!


Unnecessary manual dependency management steps

According to the README, this is how the plugin should be enabled:
 rabbitmq-plugins enable accept
 rabbitmq-plugins enable prometheus
 rabbitmq-plugins enable prometheus_cowboy
 rabbitmq-plugins enable prometheus_httpd
 rabbitmq-plugins enable prometheus_rabbitmq_exporter

As of RabbitMQ 3.7.0 — which has been around for some 9 months now — dependencies such as prometheus_cowboy will not show up in the rabbitmq-plugins list unless they explicitly depend on the rabbit app.
Assuming correct dependency declaration in those projects, is it really necessary to ask the user to enable them explicitly, especially if only prometheus_rabbitmq_exporter would show up on the list?

yes, people seems to be confused with this. But is enabling just prometheus_rabbitmq_exporter enough for 3.6.x? shouldn't I note that for this branch the rest of the plugins has to be enabled?

As long as the plugin lists its dependencies (as in OTP apps) correctly, it should be.

I can confirm that simply enabling prometheus_rabbitmq_exporter plugin in 3.6.x is sufficient.

ok, thanks guys, cleaned up the readme!

Having learned from rabbitmq/rabbitmq-website#583, rabbitmq-plugins enable prometheus_rabbitmq_exporter will only work as expected if the RabbitMQ node will be restarted, or when the node is not running and the --offline flag is used.
prometheus_cowboy & prometheus_httpd need to be enabled explicitly if the prometheus_rabbitmq_exporter plugin is enabled while the RabbitMQ node is running. If the node is restarted, these dependent applications will be started implicitly.
For full context, see rabbitmq/rabbitmq-website#583


Prevent deli from sending summary throttling nacks mid batch

Deli should not nack about summary throttle issues while in the middle of processing a batch. It will now check the summary throttling state after processing the batch.

It will now check the summary throttling state after processing the batch.

I'd say "before" would be better, as it will ensure that clients can't avoid throttling policies.
That said, currently we rely on client doing right things (i.e. respecting throttling nack and changing it's behavior),  I assume without any strong enforcement on service, so maybe having it after is totally fine.

It would be hard to run it beforehand since that would require deli to 'preprocess' the batch to determine how much the sequence number would be incremented. The deli ticket logic is complex.
This change stays in line with how it was already working (checking for throttling after sequencing) so I would rather stick with this for now

It would be hard to run it beforehand since that would require deli to 'preprocess' the batch to determine how much the sequence number would be incremented. The deli ticket logic is complex.
This change stays in line with how it was already working (checking for throttling after sequencing) so I would rather stick with this for now

Sounds good!


[FEATURE] Modernize and Improve Dashboard Layout Design

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
The current dashboard layout feels outdated and lacks modern design elements, making the user experience less appealing. I find it difficult to engage with the platform due to its unrefined UI/UX.
Proposed Solution
Implement a modern UI design with cleaner typography, better use of white space, and updated color schemes to align with modern design trends.
Screenshots
This is what it looks like

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
Update Layout: Use CSS Grid or Flexbox to organize the content in a more structured way.
Improve Spacing and Alignment: Increase padding and margins to give elements room to breathe and improve readability.
Typography: Choose a modern, clean font with clear hierarchy using different font weights for titles and content.
Color Scheme: Apply a more vibrant, contrasting color palette for better visual separation of elements.
Responsive Design: Ensure the layout works seamlessly across all screen sizes.

Nice idea. Thanks for raising the issue

Will do my best!


Shortest Night Path

Description
Minimum number of moves required by knight to go from start cell to end cell on chess board-This a classic DP problem.
Important Checklist

[x] I have read the contribution guidelines before making this issue.
[x] I have verified this issue program is not already implemented

Languages and Assignees:

[x] Python: @
[ ] Java: @
[ ] C: @
[ ] C++: @

Notes
Anything you would like to discuss.

@kaustubhgupta  can you tell me what is the error in template?

@kaustubhgupta Ive updated please check


Adjust ~wheel naming for py2 drop?

I went to go take a peek at PyPI and saw 2.0.0 up there.  I'm a bit rusty on ~wheel names, but it looks like the wheel name may still be indicating Python 2.x compatibility:

it's just indicating a "pure python" wheel (universal = True) -- the python_requires limits it to python3.6:
(from source of pypi.org/simple/aspy.refactor_imports)
    aspy.refactor_imports-2.0.0-py2.py3-none-any.whl

    aspy.refactor_imports-2.0.0.tar.gz

Thanks for the background.  (And the quick release.)


New package: Max.Backup version 0.1.1

Pull request has been created with Komac v1.11.0 :melon:
Microsoft Reviewers: Open in CodeFlow

agreed

@microsoft-github-policy-service agree

Please try again, it looked like there was a timeout

There's no information to show what went wrong


Style windows scroll bars to look like mac

On windows the white scroll bars take away from the design. Need to style them to look darker and not distracting

Potential solution for this:
https://grsmto.github.io/simplebar/
See figma for styling:
https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=2454%3A1097

I wonder if this request is as easy as ...
  -ms-overflow-style: -ms-autohiding-scrollbar;
}```

Looks good - closing this


[BUG] Session storage buffers being initialized though configured not to use

Description/Screenshot
The session storage entries AI_sentBuffer and AI_buffer are being initialized even though isStorageUseDisabled is set to true and enableSessionStorageBuffer is set to false. It doesn't have any negative effects for us but the ePrivacy team are wishing that they would not be created.
Steps to Reproduce

OS/Browser: Tested in Chrome 85.0.4183.102 and Firefox 80.0.1 on Windows 10
SDK Version [e.g. 22]: @microsoft/applicationinsights-web 2.3.1
How you initialized the SDK:

import { ApplicationInsights } from '@microsoft/applicationinsights-web';

const appInsights = new ApplicationInsights({
       config: {
		instrumentationKey: instrumentationKey,
		isCookieUseDisabled: true,
		isStorageUseDisabled: true,
		enableSessionStorageBuffer: false
	}
});
appInsights.loadAppInsights();

Expected behavior
Session storage entries would not be created.

Great! Is there any coming release planned?

Yep, we are normally establishing a monthly cadence for issues. So the next version should be available early (1st or beginning of  2nd week) next month (Oct, 2020)

Closing as 2.5.9 is now completely deployed to NPM and all CDN ednpoints


Create function to parse XML into dataframes for analysis

We need to bring in the time table data which is in XML. This needs to be analysed and used to filter out stops that do not meet certain criteria.
Possibly use https://docs.python.org/3/library/xml.etree.elementtree.html
A method here: https://towardsdatascience.com/extracting-information-from-xml-files-into-a-pandas-dataframe-11f32883ce45

Closed by #257 which focused on parsing data in GTFS format instead.