Misnamed vessel key definition names in Coast Guard misssions cause Contract Configurator errors

An "=" instead of a "-" in a string defining vessel keys causes Contract Configurator NULL errors in the KSP log.

Corrected in  v1.0.4-RC1


saved figures are cropped; bounding box issue?

If I understand correctly, faceted should eliminate the need to save with bbox_inches='tight', as the contents of the figure should automatically be sized to fit within the specified dimensions (determined by any two of width, height, aspect).
When I save figures created with faceted, however, the result looks cropped and does not contain all of the content. Here is a minimal example:
import faceted
import numpy as np

# Data for plotting
t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)

fig, axis = faceted.faceted(1,1, width=3.0, height=3.0)

axis[0].plot(t, s)

axis[0].set(xlabel='time (s)', ylabel='voltage (mV)',
              title='About as simple as it gets, folks')
axis[0].grid()

fig.savefig("test.png", dpi=100)

yields the attached plot:

Is this a bug or am I misunderstanding the intended functionality of faceted? Thank you!
Version number: faceted (0.2.1) and matplotlib (3.5.1),

This is indeed expected.  faceted does not try to infer how large the padding around the axes should be.  It tries to use some reasonable defaults, but these are not always optimal.  Fortunately it is possible to modify the padding manually:
fig, (ax, ) = faceted.faceted(1, 1, width=3.0, height=3.0, left_pad=0.6, bottom_pad=0.5)

ax.plot(t, s)

ax.set(xlabel='time (s)', ylabel='voltage (mV)',
       title='About as simple as it gets, folks')
ax.grid()
fig.savefig("test-plot2.png", dpi=100)

In this case the overall figure is guaranteed to be 3x3 inches, and the aspect ratio of the axes is chosen such that the requested padding on the sides is respected.
So some manually tweaking is still needed to completely avoid using "bbox_inches="tight" when saving the figure.  Determining the optimal padding automatically is a tricky problem, since it depends on the size of the labels of the axes, and can change as one makes adjustments to those after the axes are created.  This is something that proplot -- a much more ambitious project than faceted -- tends to do pretty well, though its integration with other Python plotting tools (e.g. seaborn or nc-time-axis) is not always perfect, since it defines its own Axes class.

Got it, thank you for the explanation. I am now able to adjust the padding so that I get all the content and match the dimensional constraints.


Failure to load/timing out due to "memory" [2 separate computers]

Affected page
https://www.freecodecamp.org/learn/front-end-libraries/react/pass-props-to-a-stateless-functional-component

To reproduce
Steps to reproduce the behavior:

Go to above linked page
Click on attempt to change any code

Expected behavior
After changing any of the code, the website will freeze causing an alert to pop up stating there is a problem with the page. The alert will ask if you will like to wait or close the site.
This issue has been reproduced on 2 different computers [laptop and hardwired PC] on 2 different networks.
Cache was cleared on both machines. Nothing was logged in the developer console.
System
The first device was a HP PC; The second is a Toshiba Laptop. Both running Windows 10.
Both utilizing Chrome. Laptop Chrome was updated same day.

Just to confirm, you wouldn't have some browser extension, which might be causing this?

No browser extensions on either one.
Sent from my iPhone

On Aug 14, 2021, at 11:13 PM, gikf @.***> wrote:

Just to confirm, you wouldn't have some browser extension, which might be causing this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hello! Thank you for reporting this issue.
I am unable to reproduce this - can you share the specific changes you made to the code?

This issue seems to be related to my account and I am unsure as to why.
I have now worked on 3 different machines... All having the same issue.
I don't know why/how to reproduce the issue. It happens at different points
during the code changing and in different lessons.
[Honestly after the 8th time changing the code on the 3rd lesson it
froze/cancelled on me, I just gave up.]
I end up skipping the lessons but 2-3 lessons down the road, it happens
again.
It's only within the Front End Developer so far.
I have updated all browsers and have no extensions
I have even tried only running Chrome with a single tab after clearing
cookies/cache and in incognito but it will still freeze/lock on me.
Any direction would be greatly appreciated... Seriously. I have worked over
900 hours in this system plus whatever I have in Front End.
I don't want to lose that
Thanks,
Meagan
On Thu, Aug 19, 2021 at 11:30 AM nhcarrigan @.***>
wrote:

Hello! Thank you for reporting this issue.
I am unable to reproduce this - can you share the specific changes you
made to the code?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/43207#issuecomment-902058555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU3BBVKNCGY77QFFNA5GXILT5UWTDANCNFSM5CFWC5VA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

You said you tried it in incognito mode also, did you login to attempt the challenge or not?
Also if possible could try doing the challenges while logged in to your account in another PC.

@meaberna Hey there,
The reason we ask this:

can you share the specific changes you made to the code?

Is browsers are likely to crash, if their memory/cpu is used up. For the freeCodeCamp curriculum, the most common cause of this is a Camper's code containing an infinite loop.
Example:
const CurrentDate = (props) => {
  return (

      { /* Notice how the CurrentDate component returns itself */ }

The current date is: <CurrentDate />

      { /* This will cause a browser to freeze */ }

  );
};

If you are looking for more examples of this, it is a common mistake: https://github.com/freeCodeCamp/freeCodeCamp/issues/36118

I realise you mention it being caused by any change to code, but I have never heard of any other Camper encountering this issue. So, I cannot see a link.
As a last-ditch effort, would you mind sharing a link to your freeCodeCamp account?

Yeah I often use a code editor and checker before entering the code into
the FreeCodeCamp browser window. So it shouldn't be an infinite loop issue
Depending on the machine I am working on I use VS Editor, Sublime, or
Notepad ++ to edit and then follow that up but checking the information in
Regex101 if necessary and JSFiddle
I use Fiddle to tidy up the code as well.
https://www.freecodecamp.org/fcc0a5ab177-3eb5-4621-8dec-7a98f2dc4692
On Thu, Aug 19, 2021 at 12:14 PM Shaun Hamilton @.***>
wrote:

@meaberna https://github.com/meaberna Hey there,
The reason we ask this:
can you share the specific changes you made to the code?
Is browsers are likely to crash, if their memory/cpu is used up. For the
freeCodeCamp curriculum, the most common cause of this is a Camper's code
containing an infinite loop.
Example:
const CurrentDate = (props) => {
return (

{ /* Notice how the CurrentDate component returns itself / }
The current date is:
{ / This will cause a browser to freeze */ }

);};
If you are looking for more examples of this, it is a common mistake:
#36118 https://github.com/freeCodeCamp/freeCodeCamp/issues/36118
I realise you mention it being caused by any change to code, but I have
never heard of any other Camper encountering this issue. So, I cannot see a
link.
As a last-ditch effort, would you mind sharing a link to your freeCodeCamp
account?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/43207#issuecomment-902093297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU3BBVO3EAL7LBI3YUGZF3TT5U3XXANCNFSM5CFWC5VA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Hello, we are a group of researchers developing machine learning techniques to locate issues suitable for newcomers, and our model consider this issue as likely a "good first issue". May we recommend you to label it as "good first issue" so newcomers know where to choose?
Thank you!

Hey there @meaberna are you still experiencing this issue?

If you are still experiencing this issue, can you please reach out to<EMAIL_ADDRESS>as well to have someone from the team look at your account to help understand this better.


feat(next): vercel node runtime adapter

closes https://github.com/hi-ogawa/vite-plugins/issues/550

#555  👈
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite


Editing page does not reflect the current access restriction setting.

Environment
Host

item
version

OS
Ubuntu 16.04

GROWI
4.0.8

node.js
12.18.2

npm
6.14.5

Using Docker
yes

Using growi-docker-compose
yes

(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)
Client

item
version

OS
macOC 10.15.5, Windows 10, ...

browser
Google Chrome 83.0.4103.116

How to reproduce? (再現手順)

Open for editing a page with access restriction other than "Public".

What happens? (症状)

The selection of access restriction is set as "Public" regardless of the current setting of the page.

What is the expected result? (期待される動作)

Should it be same as the current setting of the page?

@gucchy55 Thank you for your report.
New version v4.0.9 fixed this issue. Please update.
Thanks.


Role-based access control

A proof of concept simple authentication with a single role (which is admin) is necessary. Roles can be added with later iterations. Where do you plan to store credentials for users?

I'm currently searching how to/where to store the credentials.
So far, the following constraints are set:

Keep Portainer easy to deploy: I don't want to complexify the deployment process, one of the big advantage of Portainer is the ability to deploy it easily and rapidly
Credentials still need to be persisted, users have to keep their credentials after a restart/upgrade of the Portainer container
Potentially, authentication should be optional, Portainer is good for managing local development environments and you usually don't need any extra authentication layer for that use case

We'll ponder if we want to go for authentication with a single admin role to start with and then enhance it with extra roles.

As asked in #330, users need to be able to define read-only roles/permissions.

We've decided to go for a simple authentication mechanism first with only 2 accounts:

an administrator account with all privileges
a guest account with no privileges (read-only)

This will be addressed first in #333
RBAC will be addressed and referenced in this issue, with the ability to create your own roles/permissions and associate it to users.

please could there be how can add specific features (volume,image,swarm,network etc) shown or made available to different SETs of users

would it be possible to let users have user-specific containers (as simple as possible with named conventions on containers like "username_containername" and show users only "username_*" and storing that in flat-file-db with we can mount via -v ?
Password storage doesn't need to be ultra-secure. md5 would be sufficient

first of all, awesome work on portainer @deviantony , keep up the good work!!
I wanted to know if there is any news on this. Will it be available soon?

Well, partly implemented in #550. I think that this will be finished when #750 will be implemented !

Thanks for the prompt reply!! I will try to keep track of #750. Seems like that's what I've been looking for.
Cheers!!

ping @deviantony, what about closing this? #750 / #550 are released now

@djalal good point !

@deviantony this is closed, but I can't see any reference to guest users in the associated pull requests. Are guests users currently supported?
I've played with teams, but those only seem to allow access to a docker socket (both read and write).

At the moment we dont have read only users, but will add it soon
Rgds,
Neil Cresswell
On 1/07/2017, at 5:22 AM, Wilfred Hughes <notifications<EMAIL_ADDRESS>wrote:
@deviantonyhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_deviantony&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=vpL5Cgl6Ldn6zvrjGkP2zwP-5qliUKVN9wj4C2tWQEI&s=PahjoENj9eG0lpJhuUKdkhWCXp8edLYjUnuRReWLtvc&e= this is closed, but I can't see any reference to guest users in the associated pull requests. Are guests users currently supported?
I've played with teams, but those only seem to allow access to a docker socket (both read and write).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_235-23issuecomment-2D312325325&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=vpL5Cgl6Ldn6zvrjGkP2zwP-5qliUKVN9wj4C2tWQEI&s=0etKoGacljaVGCioo88GfO_uRve5mi3RtnMraX9G9y4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlaYDUJJUyLP7-2DZA0gvWuAFfq4JZ8ks5sJS63gaJpZM4KGL-2D4&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=vpL5Cgl6Ldn6zvrjGkP2zwP-5qliUKVN9wj4C2tWQEI&s=ZAGPZTGHXPPgaHDalE0KIFH1mz42WUraExMkbKZ5enQ&e=.

We would like fine grain control on action too
For example, we want restrict a user from creating new services, but allow him to mange existent services

Indeed, this is something I also had in mind. Fine-grained access control will probably come later as an evolution.

@deviantony is there an issue for read-only users that I can follow?

@Wilfred please follow https://github.com/portainer/portainer/issues/69


Trivial fix

This pull request fixes the issue #30 as well as a minor update in .gitignore for Mac OS

That's no where to a minor change, a print statement is no where near to minor

That's not a minor change, a print statement is no where near to minor

Yeah, I agree with you and I edited the title. However, this change is still necessary because print statement is a huge side effect in some contexts (like when you use a logger)


Windows 10 Codename 20H1 & SSH failing

Docker machine hangs on creation with Waiting for SSH to be available...
Fresh installation of Windows 10 PRO 10.0.19041
Latest docker-machine v0.16.2
Hyper-V Manager feature enabled
Nothing else installed
docker-machine -debug create -d hyperv --hyperv-memory 1024 --hyperv-disk-size 5000 --hyperv-cpu-count 1 --hyperv-virtual-switch "Default Switch" manager1
Debug Output:
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\shann.docker\machine\machines\manager1\id_rsa -p 22] C:\Windows\System32\OpenSSH\ssh.exe }
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : ssh command error:
command : exit 0
err     : exit status 255
Workaround 1:
Adding -native-ssh gets around this error.
docker-machine -debug -native-ssh create -d hyperv --hyperv-memory 1024 --hyperv-disk-size 5000 --hyperv-cpu-count 1 --hyperv-virtual-switch "Default Switch" manager1
Workaround 2:
Uninstall OpenSSH from windows features.
Apps & Features -> Optional Feature -> OpenSSH -> Uninstall

@Pugwasher Please try to use --native-ssh instead of -native-ssh. I hope docker-machine can add a static IP function for hyper-v driver.

@curtis18 I uninstalled the openssh version installed by windows which is incompatible with docker-machine. This automatically reverts to using the 'internal' ssh - which is the same as specifying native-ssh switch in the command line.

I have the other issue. Is there a solution?
Windows 10 WSL2
Hyper-V > hyperv-virtual-switch
docker-machine --native-ssh create -d hyperv --hyperv-virtual-switch "MySwitch" master1
[issue] Permission denied
PS C:\Users> docker-machine ssh master1
Warning: Identity file C:\Users\dev.docker\machine\machines\master1\id_rsa not accessible: No such file or directory.
PS C:\Users> docker-machine ssh master1 -v
......
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
<EMAIL_ADDRESS>**Permission denied **(publickey,password,keyboard-interactive).
PS C:\Users> docker-machine ls --filter state=Running
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
master1 - hyperv Running tcp://<IP_ADDRESS>:2376 v19.03.12
slave1 - hyperv Running tcp://<IP_ADDRESS>:2376 v19.03.12
slave2 - hyperv Running tcp://<IP_ADDRESS>:2376 v19.03.12


Working with CoreMIDI in Playgrounds

Is it possible to work with CoreMIDI within a Swift 3 playground? I have adapted your code for a playground and seem to be able create a client and detect when new devices are added and disconnected, but once I have created an input port with MIDIInputPortCreateWithBlock and connected it to the available sources using MIDIPortConnectSource, I don't receive any MIDI packets to myMIDIReadBlock. The same code works fine in an iOS app, but running in a playground nothing happens.

I just added a quickly hacked playground.
It creates and  plays a MusicSequence.
It looks like you cannot create input ports in a playground. I get an error simply creating the port.
Didn't you?
It says:
Error: execution interrupted.

Thanks for such a quick response. I am seeing the same error as you when I run your playground and my own playground in the simulator on Xcode. The problem is I was testing on Playgrounds for Swift Beta on iOS 10. On that app the playground runs, gives no errors, but does not seem to create the input port either. It may just be a limitation of Playgrounds.


on_project_selected not working

The handler not working. I have this configuration:
...
telescope.setup({
  extensions = {
    project = {
      display_type = "minimal",
      order_by = "asc",
      hidden_files = true,
      on_project_selected = function(prompt_bufnr)
        vim.notify("Test!")
      end,
    }
  }
})
...

Nothing happend. I debug the telescope-project M.project = function() and on_project_selected is nil

It's wierd... it looks like my whole project extension config is table with nil values only...

I'm called load_extension before setup! :facepalm: :-1:  ... :smiling_face_with_tear:


Implement ElasticSearch

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-20210401
Changes in this PR:

Implement ElasticSearch

This was an April Fool's joke in case anyone was confused.


decrypt

Is it possible to add rclone decryption? And if yes, could it be applied to life mode?

No

Ok thanks

It is actually.
https://github.com/FWeinb/rclone-js
@maple3142

I am not using rclone encryption, so I am not implementing it


Windows container support

Investigate what would be needed for thundernetes to work with Windows game servers (containers).

until aks 1.23 containerd windows is really not maintanable.

so basic need to avoid ms windows bugs with cni and docker and huge resource consumption is to run aks 1.23 plus with host process isolation.
prom and fluentd may be will work, not sure. so ai does not work for sure in my case.

hey @dzmitry-lahoda, thanks for reaching out. We eventually plan to work on Windows support. Can you clarify on the issues on AKS pre-1.23 for Windows Node Groups?

ms pre containerd has 2 severe bugs and lack of support of monutoring/loga. starting aks 1.23 it kinda works. so if you going to support windows is may be point to support 1.23 and up only.

ms support aware of bugs and response was upgrade to 1.23


refactor requireresolveheader dependency to es6

What kind of change does this PR introduce?
refactor
Did you add tests for your changes?
current tests should pass
If relevant, link to documentation update:
N/A
Summary
upgrade RequireResolveHeaderDependency and RequireResolveHeaderDependencyTemplate to es6
Does this PR introduce a breaking change?
No

Thank you!


[Issue 2993] Support Avail

Related issues:
#2993

🚀 Deployed on https://pr-2994--sw-web-runner.netlify.app


image-builder: update checksum for Bottlerocket's new root.json

Issue #, if available:
N/A
Description of changes:
This updates the checksum for the newly deployed root.json that's used for accessing Bottlerocket's TUF repositories.
Previous update:
https://github.com/aws/eks-anywhere-build-tooling/pull/1279
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.17

/lgtm
/approve
/ok-to-test

/retest


some bug fixes

1.0.2 fix crash when missed some arguments
1.0.3 fix behavior of same-name macros in different scopes. before this change same-name macros are re-declared. now macros in different scopes - are different macros.
if this changes ok, please merge, and publish package
PS for my error 1.0.2 actually pushed to master
PPS I in process for new stuff and ideas)
Also inline arrow-function in macro arguments is comming soon

nice! will publish this to npm later today


Clicking on nodes that aren't present in the feature table causes errors

This occurs when --p-no-filter-unobserved-features-from-phylogeny is passed (i.e. the tree is not shorn to the features present in the table).
Clicking on such a tip causes the following error:
Uncaught Error: Feature ID "tipIDgoeshere" not in BIOM table.
    at BIOMTable._getFeatureIndexFromID (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/biom-table.js:120)
    at BIOMTable.getObsCountsBy (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/biom-table.js:307)
    at Empress.computeTipSamplePresence (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/empress.js:2574)
    at SelectedNodeMenu.showLeafNode (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/select-node-menu.js:246)
    at SelectedNodeMenu.showNodeMenu (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/select-node-menu.js:194)
    at HTMLButtonElement.click (/_/03wu22ds7qnm/b3f410c8-e22d-41d6-b8d7-0f56fc401a3e/data/support_files/js/select-node-menu.js:46)

The selected node menu code assumes in multiple places that the tip is in the table (this.empress.computeTipSamplePresence() and SelectedNodeMenu.makeSampleMetadataTable(), among probably other places), which is a problem. A lot of this is likely my bad.
From what I can tell, computeIntSamplePresence() when clicking on an internal node where no descendant tips are in the table doesn't throw any errors, but a Sample Presence Info table with all 0s is still shown in the resulting node selection menu; this should be hidden.
For reference, I think the expected behavior when clicking on a node not in the table is that the user should still be able to see the node's name and any feature metadata available for it, with the "Sample Presence Information" stuff hidden.

@gibsramen / @gwarmstrong this is the issue with un-sheared trees I mentioned just now -- I think the problematic code is around here:
https://github.com/biocore/empress/blob/a76ebf27a8c3730c60a8c5721aa899f2d3ff2e13/empress/support_files/js/select-node-menu.js#L256-L264


syscall: Getsid is missing on the linux OS

I think the function should be added to https://github.com/golang/go/blob/master/src/syscall/syscall_linux.go like it's done for the darwin platform https://github.com/golang/go/blob/master/src/syscall/syscall_darwin.go#L236
I'm not sure whether it can be done in the stdlib since the syscall package is frozen since go1.4.
If it's not I can submit a fix to the golang.org/x/sys/unix package.
What version of Go are you using (go version)?
go version go1.7.3 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/amenzhinsky/Development/go"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build858666576=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

yeah, if it's not available in x/sys/unix, then it's fine to add
to x/sys/unix (not syscall, as it has been frozen for such
additions.)


New screenshot generated when expected image already exists

We have a number of screenshot comparison tests using PhantomCSS and they work for us really well, but I've observed that every so often our test run starts generating new expected images with the filename incremented, even though a reference image already exists.
For example, for a long time we had a test that captured the screenshot screenshots/global_nav_0.expected.png, but now every time the test suite is run this is ignored and a new image is created at screenshots/global_nav_2.expected.png even though there are no other images with this filename.

I've encountered this problem myself. It turns out that by default, the snapshot images use the name you provide in the screenshot() call, and then append the index into the overall sequence set of tests.  What I suspect is happening to your tests is that initially, "global_nav" was your first test (index 0), and now it's your third (index 2).
Assuming that's your situation, you can change that behavior by supplying a fileNameGetter function when you call phantomcss.init().  The sample function in the readme eliminates the number, but puts the burden on you to guarantee that snapshot names are unique.

Seems like you're right; if I run all of my tests it generates a global_nav_3.expected.png but if I run just that test in isolation it generates a global_nav_0.expected.png.
Disappointing but for now I'll take your advice and name the screenshots manually.

FWIW, there's also a fileNameGetter() callback which you can override in the init() call. The example in the README just removes the sequence number, but if need be, you could use that to do something more sophisticated..

Yeah, I see this can be a bit annoying - it's there to ensure uniqueness.  I would recommend using the fileNameGetter callback for custom naming in non-trivial test suites


🐛 Wrong theme color (dark mode) on ReorderableListView

Describe the bug
Wrong theme color (dark mode) on ReorderableListView. See gifs below
Expected behavior
Render with Material:

Screenshots
Render with Fluent:

Could you post a reproducible code sample?

Yup, https://gist.github.com/WinXaito/1e767b25e34a67561603a6b63db4b45b
(Just switch the comment in main function for use MaterialApp or FluentApp)


docs: improve LSP6 Natspec comments + add auto-generated docs

What does this PR introduce?
📄 Documentation
Improve Natspec comments for LSP6KeyManager and its own modules + interfaces and add auto-generated docs.

Very cool
I left comments but it s mainly suggestions, you can decide to take them into account or not Thanks Jean 🎉

@b00ste I have added @notice tags to all custom errors 🫡


Organization

Does this feature exist in Emacs orgmode core?
N/A
Orgmode link
Hi Kristijan,
Sorry for the issue, but I couldn't find you on our Matrix (and I'm off reddit now). I wanted to let you know I camped on https://github.com/neovim-org for a future orgmode plugin I had planned. The organization is yours if you want it (in case you want to move plugins for orgmode.nvim under an umbrella organization.
Feel free to reach out on matrix :)
Feature value
No response
Additional context
No response

I'm not using Matrix, that's why you wasn't able to find me :). I did create it now :)

Wonderful! I hope you'll hang out with us more so we can better support your work in core :)

Have you planned to make orgmode yourself or just to create plugins for orgmode.nvim?
What plugins did you have in mind?

I made this organization many months ago, before you announced orgmode.nvim, I had originally wanted to work on an orgmode implementation myself, but then I became more involved in neovim core development which started eating up my time.
I know org is huge, and so I had originally thought for the org plugins, that it would be useful to have an umbrella organization as that is easier to assign reviewer permissions, share secrets for CI, etc.

None of the plugins are under my ownership, so moving them to an organization would involve more people. I don't plan to create any of the plugins, but only to work on the core and to expose an API for plugin developers.

That's true, but having a central place for them to be hosted might improve discovery. I think to some extent GNU does this with Savannah/contrib in the org repository.
Anyways, just a thought and wanted to give you the option of taking the organization in case you were interested :) I don't have any suggestions, as my org mode needs are fairly minimal and anything that isn't met is more on the lack of a neovim GUI with nice latex embedding/babel which I used to use frequently when I was an emacser.

Hey @mjlbach , since I merged TS support to master, I'm now considering this option.
As I asked in previous comment, would you agree to renaming the organization to something like neovim-orgmode or nvim-orgmode? As I see both options are still available, so I could make them myself, but if you don't want to keep yours, I can take it over and rename it. What do you think?

I invited you as owner. I renamed it to nvim-orgmode (this matches nvim-treesitter, nvim-lspconfig, etc. although feel free to rename). You can feel free to kick everyone (including me), wipe the repos, and make it public.

Thanks @mjlbach! That's the name I wanted to use, so it's perfect. I hope to set everything up this weekend.


Release v1.4.18

Pull Request Test Coverage Report for Build d1b41db2c41dca21e777044b6dd3e897d2b8306e-PR-72

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 92.328%

Totals

Change from base Build 837ca04e9c5f28cb743d478f619d0a42803a381e:
0.09%

Covered Lines:
710

Relevant Lines:
769

💛  - Coveralls

Pull Request Test Coverage Report for Build d1b41db2c41dca21e777044b6dd3e897d2b8306e-PR-72

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 92.328%

Totals

Change from base Build 837ca04e9c5f28cb743d478f619d0a42803a381e:
0.09%

Covered Lines:
710

Relevant Lines:
769

💛  - Coveralls

@jonatanklosko @josevalim RELEASED

@RobertDober absolutely fantastic, thank you! :smile_cat:

Thank you! Have a great weekend! ❤ 🎉

All merit is José's glad help.


Possibility to underline current option in select_multiple

Hi,
would it be much work to underline the current option in select_multiple which is chosen with the up/down keys?
I have pre-colored some options red and some blue.
And the third color green is for the current selected option.
But this hides the pre-color. So, instead of specifying a selection-color, it may make sense to underline the current option.
This way, the user would always see the pre-colors(which my represent different semantics).

Hi @juxeii
If I understand your requirement correctly, setting cursor_style='underline' should cover your use-case?

That is exactly what I need, thx!
Is there a comprehensive list of all the options available? I thought that only colors would be allowed.

Glad it worked!

Is there a comprehensive list of all the options available?

Yes, you can refer to Styles section of rich documentation. Note that currently only "string represented styles" are supported. I plan to support Style objects in the future.

Thank you!


[WIP] Remove Pipfiles and add pyproject.toml

This PR removes the files required by pipenv and adds poetry's requirements instead.
Using poetry will decrease our build time significantly, and make it much easier to publish projects to PyPi.

Per https://github.com/python-discord/organisation/issues/132, at this time we're not interested in proceeding with this.


❌ Software Removal | LibreDNS

Description
LibreDNS doesn't support DNSSEC.
Why I am making the suggestion

I was going to fix #2396 and I checked CONTRIBUTING.md#dns, it looks like it requires DNSSEC to be listed and since LibreDNS doesn't have DNSSEC it should be removed.
My connection with the software
Just a normal user

[x] I will keep the issue up-to-date if something I have said changes or I remember a cxnnection with the software.

How did you check that, last time i tried it it supported DNSSEC

How did you check that, last time i tried it it supported DNSSEC

I don't know how to check directly, but https://gitlab.com/libreops/libredns/libredns-cfg/-/issues/3 would be an indicator that it doesn't support it, and https://dnscrypt.info/public-servers (page 3) also says that it doesn't support it.

Yeah should be removed then, also thanks for the list.

CONTRIBUTING.md#dns

This page really needs to be updated. Or, even better, removed all together.


[AutoPR compute/resource-manager] added missing Swagger

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2428

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1366


Can I use only 74HC595(s) instead of 74HC245 with 74HC595(s)?

Thank you for your excellent library!
Can I use only 74HC595(s) instead of 74HC245 with 74HC595(s)?
Like https://github.com/Simsso/ShiftRegister74HC595
Is there an example?

Hello,
Here the hc245 so not here to help drive the shift registers, but induces also a slight delay in the clock and latch signal that gives more stability to the output data signal from the shift registers.
Have you already built the circuit and tried it ?
Rgds
Yves

Thank you for your reply.
I have made a PCB with 3 cascaded 74HC595.
I will try it.
I will provide feedback once there are results.

Hello
If you try to use this driver with 3 cascades hc595 it will not work.
Can you give me more context about what you are trying to achieve ?

I2SClocklessLedDriver is more suitable for me, but there are not enough GPIOs on the PCB.
There are  8 * 3 parallel output pins on the PCB.
Each pin can be connected  to 1 pcs WS2812b  led strips.
Just like using the original FastLed lib.
FastLED. addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);


Fix bug where using same role in account with second user fails

We currently have code that is supposed to handle if a Policy or Role already exists by using the AWS Error code EntityAlreadyExists. However, the functions that were supposed to return this error were returning another non-AWS error.
In order to fix these, each FAA with get a unique UUID appended as a label at creation time. Then every role and policy created will get that uuid appended to the end of the name during creation and deletion actions.

/hold

/lgtm

/lgtm

/hold cancel

/lgtm

Reporting the occasional crash that we found during pair debugging:
E0305 16:12:08.956319   67831 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/panic.go:679
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/panic.go:199
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/signal_unix.go:394
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/pkg/controller/awsfederatedaccountaccess/awsfederatedaccountaccess_controller.go:249
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134
/Users/kbater/Projects/go/src/github.com/openshift/aws-account-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/asm_amd64.s:1357
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x21c2a8c]```

This will be resolved in the next PR.


7.9.1 release

This PR prepare 7.9 branch for 7.9.1 release:

bump chart and Docker images version from 7.9.1-SNAPSHOT to 7.9.1
remove notices on README that this is a development branch and development branch specific install instructions

Note

remove notices on README that this is a development branch and development branch specific install instructions

This is required because released Helm charts will be packaged from this PR commit including the README files that will be available inside the chart packages and in Helm Hub pages (example: Elasticsearch chart page).
This change will be reverted in the next PR after release when we will bump 7.9 branch to 7.9.2-SNAPSHOT version.

jenkins test this please


RC Spot Check: Resistance In A Wire 1.5.0-rc.8

@jessegreenberg, @ariel-phet, @emily-phet, @terracoda, @phet-steele, @lmulhall-phet, Resistance in a Wire 1.5.0-rc.8 is ready for RC testing.
I think this is a spot check on the issues below. This is the 6th round of QA for RC.
Link to sim
Link to iFrame
Before beginning, please familiarize yourself with how a screen reader works. Here is a page with information about PhET's supported screen readers and documentation about how to use them:
Screen reader intro
The simulation to test has labels and/or descriptions. They can be "seen" here:
Link to a11y view
This view shows what is available to a screen reader user. The sim is on the left side in an iframe, while the right side has all of the accessible descriptions. Beneath the sim are real-time alerts that will be announced by the screen reader. Please make sure that the descriptions on the right accurately describe the simulation at all times.
PhET supports the following platforms for accessibility so please test these:

[ ] JAWS with latest Windows, latest Firefox
[ ] NVDA with latest Windows, latest Firefox
[ ] VoiceOver with latest macOS, latest Safari

For QA to keep track of what's been checked. In order of priority:

[ ] Win10, all browsers
[ ] latest macOS, all browsers
[ ] Chrome OS
[ ] iOS, all supported versions
[ ] latest Android
[ ] older Win
[ ] older macOS

Please also verify

[ ] stringTest=double (all strings doubled)
[ ] stringTest=long (exceptionally long strings)
[ ] stringTest=X (short strings)
[ ] stringTest=rtl (right-to-left)
[ ] stringTest=xss (test passes if sim does not redirect, OK if sim crashes or fails to fully start)
[ ] showPointerAreas (touchArea=red, mouseArea=blue)
[ ] Full screen test
[ ] Screenshot test
[ ] Does AR need to be notified for any LOL updates?

Accessibility strings that are not visible should not be translatable yet, do not worry if these do not change with string tests.
If any new issues are found, please note them in https://github.com/phetsims/resistance-in-a-wire/issues and reference this issue.
Critical screen reader information

JAWS might complain about Firefox Quantum. If that is the case, please test with https://www.mozilla.org/en-US/firefox/organizations/
The screen reader must be turned on and reading before the browser is open for it to work. See https://github.com/phetsims/a11y-research/issues/90
JAWS might not automatically switch to forms mode for some controls (like sliders and radio buttons). In this case, pressing "enter" should switch to forms mode. For example, see https://github.com/phetsims/resistance-in-a-wire/issues/138
The screen reader might focus the last UI component that had focus on sim load, typically on refresh. This is a "feature". For example, see For example, see phetsims/resistance-in-a-wire#139.

(Other potentially useful items)
Please make sure that the following issues are fixed:

[ ] https://github.com/phetsims/resistance-in-a-wire/issues/164
[ ] https://github.com/phetsims/resistance-in-a-wire/issues/165

@ariel-phet please assign and prioritize

@KatieWoe and others, the largest difference between this version and the previous one is how the dots in the wire are drawn so please be on the lookout for bugs in the wire dots on a few different platforms.

@zepumph @jessegreenberg I ended up testing Jaws on Win 10 chrome before I noticed that it was meant to be on firefox.  I found issues in chrome that I did not find in firefox, but it looks like we don't support chrome.  What should be done with those issues?
Also, @jessegreenberg I didn't see any bugs in the wire dots, but I wasn't sure what exactly to look out for or how those bugs were produced.

If they weren't in Firefox, I would recommend scrapping the issues. We are very browser/at combo dependent these days. That said I defer to @jessegreenberg's recommendation.

In https://github.com/phetsims/resistance-in-a-wire/issues/165#issuecomment-415195356 @jessegreenberg writes:

I determined that the dotsNode was causing the greatest performance impact and removing it entirely from the ScreenView is what made the alerts come through much more consistently and JAWS to feel more responsive when moving the sliders.

I went ahead and re-implemented the dots with CanvasNode and this issue is much improved. There are no longer individual Nodes for each circle so this phet-io code no longer applies:

      var dotsNodeTandem = tandem.createTandem( 'dotsNode' );
      var dotsGroupTandem = dotsNodeTandem.createGroupTandem( 'dots' );

Here is a comment from https://github.com/phetsims/resistance-in-a-wire/blob/master/js/resistance-in-a-wire/view/DotsCanvasNode.js that might be helpful:
/**
 * Draw the dots in the wire with a CanvasNode as a performance enhancement. This is much faster than drawing drawing
 * each dot as a Circle node and updating their visibility. Dots are redrawn whenever model Properties change that
 * might change the shape of the wire or add or remove dots (length, area, resistivity).
 *
 * @author Jesse Greenberg
 */

Current top priority

I found issues in chrome that I did not find in firefox, but it looks like we don't support chrome. What should be done with those issues?

That is correct, we do not support JAWS + Chrome because usage with that combination is extremely low. Could you please list some of the things you found on Chrome? We may support Chrome + Chromevox in the near future. I am just curious, no need to retest or anything formal.

I didn't see any bugs in the wire dots, but I wasn't sure what exactly to look out for or how those bugs were produced.

Good to hear. My only point was that this received a lot of changes since the last version so if there are any bugs, this is likely where they will be.

The big thing was that when it was reading the description of the scene it read off the default settings as if they were still there before entering the list with the actual settings.  It also seemed to be highlighting text that wasn't there.
https://drive.google.com/file/d/1uOahyc2RO2oa8HBOphWTX26-f7ySoe0Z/view?usp=sharing

This bug https://github.com/phetsims/scenery/issues/837 is present in the sim.  On Windows 10 Firefox using multitouch in the sim will freeze an aspect of the sim.  If you attempt to move more than one slider at a time using the touch screen on Win 10 Firefox the slider will freeze and you will need to refresh the page.

Thanks @KatieWoe. @jonathanolson can we cherry-pick https://github.com/phetsims/scenery/commit/5347f0efb4c1b1601402ffb4892e394582693f36 into a scenery maintenance branch for this release?

QA is finished testing.

I'll create a new RC now, in it will be:

commit addressing https://github.com/phetsims/QA/issues/179#issuecomment-415844828
fix for https://github.com/phetsims/resistance-in-a-wire/issues/171
fix for https://github.com/phetsims/resistance-in-a-wire/issues/170

@KatieWoe, could you confirm that https://github.com/phetsims/resistance-in-a-wire/issues/160 has been fixed in this RC, sorry for the delay, it got lost!

@zepumph Just tested it, but I did see there is a more recent rc for this sim, do you want the issue tested there as well?

Oh sorry about that. Yes please do. Thanks.

@zepumph can this be closed again, since the newer rc is also in the repo?


Write SEIR model

The SEIR model is the base model for the full CoMo model.

[ ] Change format of code to S4 Class
[ ] Add unit testing
[ ] Include vignettes to show the use of the function

Should we remove the figure and put that in another function?


Instructions how to create the media & various renditions in dash etc

Would be great if you could please document how I can create my own bucket with my own transcoded videos, assuming say I'm starting from the FCPX output of some huge4k.mov file.
https://github.com/GoogleChrome/sample-media-pwa/blob/master/src/client/videos.json

Devil's Advocate here.. Would that not be a question to ask the people who made Dash ??

@WORMSS That would be like asking WHATWG how to build a sample-media-pwa... no? :rofl:

No.. It would be like asking the people who made Dash, "How to make media and various renditions in Dash"

Well, I would still prefer to hear how Paul did it.  I did catch a glimpse of how he did it with various ffmpeg invocations.

I'd be happy to provide it. Though I believe @jpmedley is working on documenting all of that good stuff, so it might be better to wait so you get a proper and thorough explanation rather than my hacked-up version!

Any update on this?

Please check out the recently-released Shaka Streamer:
https://github.com/google/shaka-streamer
You provide one config file for the input, one for the encoding pipeline, and optionally a cloud storage bucket (Google or Amazon) to push the output to.  It runs FFmpeg to transcode and Shaka Packager to package, optionally encrypt, and write the output manifests (DASH, HLS, or both).  No messy command lines, no need to be an FFmpeg expert.
There are many sample configs in the repo, and full docs are available here:
https://google.github.io/shaka-streamer/
Does this help?

Ah perfect, thank you!


dht.lookup() return ip:port instead of node id

Great job on an amazing project! I've been really impressed with how easy it was to use peer-relay in my application.  Before I was using peer-relay by itself to disseminate gossip messages about membership between peers.  Recently I tried plugging it into web-dht and was able to quickly get the socket interface working.
For my use-case, I only need to associate keys with peer ids (in the traditional sense of Kademlia).  So using BitTorrent DHT I am having Peer A call dht.announce(key) followed by Peer B calling dht.lookup(key) after hearing the announce event, with the expected return value being the peer-relay ID of Peer A.
Instead, dht.lookup() returns the address of Peer A as host:port.  For example, I normally get something like <IP_ADDRESS>:6380.  Looking at the BitTorrent DHT codebase I see that DHT.lookup() will only return the address, not the node ID.  After tracing the route between the core project, k-rpc, and k-rpc socket I was a little intimidated by the complexity of trying to rewire this workflow to return the Node ID.
Granted this is not a bug with your project, but I was wondering if you had encountered this issue before or had any thoughts on the best way to tackle it?  I see that in web-dht you are only using dht.put() and dht.get().  Unfortunately, I don't think that will work for my use case since any peer needs to be able to announce that they also hold a record associated with a key, which will change over time.  Meaning it would need to be a mutable put and the ECDSA key associated with the record would then have to be somehow shared amongst any member who wants to edit the DHT.  Maybe this could work by making the associated private key public, but it seems like a lot of complexity and defeats the whole purpose of signed entries in the first place.
--Jeremiah

Found the solution, simpler than I expected.
In bittorrent-dht, after peers are announced they are put into a record cache, but first encoded into the form ip:port.  Simply removing the encoding on set_record and the decoding on get_record then adjusting the on('peer') event to just return peer fixed the problem.  Now the full node id is put into the record cache and returned, this node Id then be used to create a direct connection with peer relay.
Remove encoding here
DHT.prototype._addPeer = function (peer, infoHash, from) {
  this._peers.add(infoHash.toString('hex'), encodePeer(peer.host, peer.port))
  this.emit('announce', peer, infoHash, from)
}

Remove decoding here
function emit (values, from) {
    if (!values) values = self._peers.get(infoHash.toString('hex'), 100)
    var peers = decodePeers(values)
    for (var i = 0; i < peers.length; i++) {
      self.emit('peer', peers[i], infoHash, from || null)
    }
  }

Hi Jeremiah! Sorry for the pretty late response, but I'm glad you found a solution to the problem! 😃
Your solution seems like the best way to go about it due to a lot of (rightly made) assumptions about the data contained in the ip field of some packages. Using the peer's id as an ip certainly caused some problems for this project, but at the same time was necessary since the ip:port tuple is used to identify a peer. I guess really the core of the problem is that in kademlia the id needs to be much larger than the space provided by ipv4 addresses. Maybe the peer's id could be shoehorned into a ipv6 address but there is still a pretty significant loss in the id space from 20 bytes to 7. Anyways, I'm glad you found a solution!


Add message module

Coverage remained the same at 30.933% when pulling 71439bfc2011e51351a67e7a3d1bc9971549b52a on dev into 7c1f241df34f455ce36635f94eb82a9c10494ab9 on master.


Some observations on using cuPDLP-C with HiGHS

I've managed to get cuPDLP-C (for CPU) running on my Linux PC, and here are some observations

Make it clear in the README that the precompiled Github download of HiGHS should be used
The following command in the README is incorrect: it should have "..". Using just

cmake --build . --target plc
I get
Error: could not load cache

The HiGHS binaries are built without zlib support, so the  hard-coded char *fname = "./example/afiro.mps.gz"; can't be read. Hence bin/plc can only be run successfully using the -fname command line parameter. Hence I've replaced afiro.mps.gz locally by afiro.mps, and suggest that you do the same

My modified README.md and mps_highs.c are in the following file - which unzips into the same folder as the one in which it is stored
highs-mods.zip

Dear Dr. Hall,
thanks for your comments on this version built on HiGHS. We have included a download link to https://github.com/JuliaBinaryWrappers/HiGHS_jll.jl/releases; otherwises someone may use the static version instead.
It is weird to see cmake --build . --target plc does not work; we are fine on both Linux and Mac. Thanks for the suggestion on zlib support.  😀

With "cmake --build . --target plc", it works for me if run from the directory below 'build', of course

Perfect!


Import error | from pip | At ubuntu 18.04

System information

OS Platform and Distribution: Linux Ubuntu 18.04
TensorFlow installed from (source or binary):pypi
TensorFlow version:2.0.0a0
Python version:3.6.9
Installed using virtualenv? pip? conda?:pip
CUDA/cuDNN version:I don't have a cuda
GPU model and memory: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [1.9G]

Describe the problem
I tried the code below
and I got the output something like this:

Illegal instruction

in my bash terminal
###Provide the exact sequence of commands / steps that you executed before running into the problem
I created a new python3 virtual environment and ran the command:

$ pip install tensorflow==2.0.0a0

$ pip install protobuf==3.10 #installed protobuf

Then I tested the code using:

$ python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

@Midhlaj2006,
Is there any specific reason you are installing an order release of TensorFlow? Please try installing TensorFlow v2.3 using the below commands and let us know if it works.
pip install --upgrade pip

pip install tensorflow

Thanks!

Also, please go through similar issue #40978 and let us know if it helps. Thanks!

You CPU Processor x5-E8000 doesn't support AVX (but you can still build from source). See https://github.com/tensorflow/tensorflow/issues/19584

@Midhlaj2006,
Is there any specific reason you are installing an order release of TensorFlow? Please try installing TensorFlow v2.3 using the below commands and let us know if it works.
pip install --upgrade pip

pip install tensorflow

Thanks!

It was brilliant but this don't help me

@Midhlaj2006,
As per Intel's product specification, your CPU doesn't support AVX. For more information, please take a look at the hardware requirements to install TensorFlow with pip.
Alternatively, you can build TensorFlow from source or use Google Colab. Thanks!

@Midhlaj2006,
As per Intel's product specification, your CPU doesn't support AVX. For more information, please take a look at the hardware requirements to install TensorFlow with pip.
Alternatively, you can build TensorFlow from source or use Google Colab. Thanks!

Thanks brother, it works!👏
But I has some connection issues by now days 📡
Can I use colab offline?

@Midhlaj2006,
As per Intel's product specification, your CPU doesn't support AVX. For more information, please take a look at the hardware requirements to install TensorFlow with pip.
Alternatively, you can build TensorFlow from source or use Google Colab. Thanks!

I failed building from source too
but it worked with colab
Are there any offline version for colab, the network is too slow over here

@Midhlaj2006,
Colab is not available offline. You need to be connected to the internet to access Google Colab. For more information please take a look at the FAQs. Thanks!

Thanks for your responses


Event toggle function pause

closes: #297
Added an event ToggleFunctionPaused to the function toggleFunctionPause()
Shortened some error messages to downsize the contract LoanTokenLogicStandard

This is on hold due to Contract Size issue and needs to be re-visited.

The new PR is: https://github.com/DistributedCollective/Sovryn-smart-contracts/pull/357
This is built on updated Loan Token logic and hence resolves the Contract Size issue.


Support config the path of modules

I hope snowpack can support the config like resolve.modules in webpack.
So, when i config path './src', I can write
import A from './src/component/A';

instand of
import A from 'component/A';

And @FredKSchott , I'm glad to create a PR myself  if make sure this feature should be support.

Look like resolvealias: https://webpack.js.org/configuration/resolve/#resolvealias.
But in snowpack, we have different way to do it.
Just define an mount scripts: "mount:@/": "mount @/ --to /_dist_", then all import from '@/' will be mapped.

It doesn't seem to acknowledge mount paths when running $ snowpack build though, using src/App.js or src/App.css will throw and error with the Webpack plugin. I can confirm using relative paths works.
  [error] ./_dist_/App.js
  Module not found: Error: Can't resolve '/_dist_/App.css' in '/Users/user/Sites/build-test/.build/_dist_'
  resolve '/_dist_/App.css' in '/Users/user/Sites/build-test/.build/_dist_'

I can make this into a new issue if it's not relevant to this ticket.

@Jonesy , can U give me a reproduction repo ？

 I get the error with snowpack build and snowpack build --bundle. Without webpack it builds fine. I also tried adding the alias to webpack manually using extendConfig but nothing seems to take.

Hey all, we're planning some big config improvements for Snowpack v2.7, including an explicit alias config for exactly what you're describing. See PR #603 for implementation.


CIP-0024 | Adjust preamble and structure w.r.t CIP-0001

Fixes https://github.com/cardano-foundation/CIPs/issues/534.
Completes CIP title update begun in https://github.com/cardano-foundation/CIPs/pull/536.

https://github.com/cardano-foundation/CIPs/pull/538#discussion_r1251800219 and https://github.com/cardano-foundation/CIPs/pull/538#discussion_r1251801460 suggest we are decoupling this CIP from Daedalus.
Note @KtorZ @Ryun1 that https://github.com/cardano-foundation/CIPs/pull/536 puts Daedalus in the CIP Table title, and this PR puts Daedalus into the CIP document title... which reflects the way the CIP is written.  If we agree that this CIP is in fact intended to apply to other wallets besides Daedalus then I'll reverse those changes here.

I think the CIP is broader than just Daedalus. While it starts from an observation in the Daedalus' ranking, it was also written at a time were there were not as many wallets as today on Cardano.
Having the CIP framed more as an alternative ranking solution would increase its chance of being adopted as I see very little chance for it being implemented by the Daedalus  / cardano-wallet team after all these years.

I see that this proposal could be generalized to other wallets, but also the author focuses solely on Daedalus.
I think we can either reframe this to fit in the more general wallets category OR we set to inactive as Deadalus is not an enlisted CIP category.

but it focuses on the official Shelley specification

ahh youre right, I had not read it carefully enough, disregard my last comment.

good @KtorZ @Ryun1, we're in agreement then ... I'll commit a further change that removes the Daedalus term again from both titles.

OK @Ryun1 that's been done a couple days ago... can we have another look? 🤠


GH Bug: Accounts node should not internalize and display other user info

When opening a GH file saved by someone else the accounts node shows internalized info on other users.

The component should only store user UI.


Time Issue on fastpages blog

I  have uploaded notebooks in the same syntax asked. But somehow, time showing on blog for all post is 7/Oct/2020. Even tho i posted first blog on 4 Oct 2020 as shown in image below:
2020-10-4-changing-folders-name.ipynb
2020-10-5-dog-breed-fastai.ipynb
2020-10-8-opensource-dataset.ipynb

But the blog display is something like this. How to deal with it?

You aren't following the naming conventions.  Read closely


response.body().jsonPath().get("operation") must not be null

For all asynchronous operations, the test suite seems to require the operation field in the response alongside 202 Accepted. However, according to the spec, this field is not required in the responses:
   ├─ BindingJUnit5 ✔
   │  ├─ runInvalidBindingAttempts() ✔
   │  │  ├─ Provision and in case of a async service broker polling, for later binding ✔
   │  │  │  ├─ Running valid PUT provision with instanceId f2aa026a-3d99-48ec-93bb-f56916aa55b8 for service 33ceba5779bfa320a1ef0694d98069df and plan small id: e8a882786ba9e223187be22c64a8720e ✘ response.body().jsonPath().get("operation") must not be null

This is causing our pipeline to fail. Would it be possible to fix this? Thank you!

Hi,
thanks for raising Matt. We will adjust that.

Hi,
I fixed it in this pull request
https://github.com/evoila/osb-checker-kotlin/pull/20

Thank you!
On Fri, 16 Aug 2019 at 10:48, joStrauss<EMAIL_ADDRESS>wrote:

Closed #19 https://github.com/evoila/osb-checker-kotlin/issues/19.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/evoila/osb-checker-kotlin/issues/19?email_source=notifications&email_token=ABXNJTC22PJADRQ6CHA2NA3QEZZXVA5CNFSM4IKKIRA2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTCZKJ3A#event-2561844460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXNJTHRUZ7YWKNWTZGTATTQEZZXVANCNFSM4IKKIRAQ
.


Refactor/Deprecate intervals-related API and affected tests

The intervalCollection.ts file looks redundant and disorganized after the implementation of a couple of IntervalIndexes. As a follow-up implementation of https://github.com/microsoft/FluidFramework/pull/16118, this PR is propsed to separate Intervals-related contents from IntervalColletion, eliminate dependency cycles among multiple files, and make the intervalCollection.ts focus solely on the IntervalColletion.

Establish a new folder /Interval dedicated to storing Interval-related components, plus the existing folder /IntervalIndex, the expected file hierarchy is:

├── IntervalCollection
├── Interval
│   ├── intervalUtils
│   ├── Interval
│   └── SequenceInterval
├── IntervalIndex
│   ├── intervalIndexUtils
│   ├── startpointInRangeIndex
│   ├── endpointInRangeIndex
│   ├── overlappingIntervalsIndex
│   └── overlappingSequenceIntervalsIndex
├── IntervalCollectionFactory
├── SequenceIntervalCollectionFactory
└── ... (other exisiting files)

(Note: some updates will be completed in another PR)

Make the unnecessary APIs to be deprecated.

IntervalConflictResolver in IntervalTree and addConflictResolver in intervalCollection are never invoked and no longer needed, since interval collections support multiple intervals at the same location and gives each interval a unique id.
union, addProperties, modify, propertyManager of Interval and SequenceInterval are never intended to be public. Mark them as internal.

A separate pull request will be created to relocate IntervalIndex-related content from the IntervalCollection and refactor the usage of IntervalIndexes.

I like the organization. Most of this change can actually be made in main, and I think you should port it over there. Specifically, all of the test updates/file reorganization can happen there. The only bit that needs to go into next is converting some APIs to internal / removing export of others.
Putting the bulk of the change into main will help avoid a lot of annoying-to-handle merge conflicts.

It appears that it will be better to break down this PR into smaller ones. Do you think the update of IntervalCollection API (intervalindex-related) mentioned in https://github.com/microsoft/FluidFramework/pull/16118#discussion_r1238805151 should be in main or next? My understanding is that it should be included in main branch

You should deprecate the methods that will go away in IIntervalCollection in main, but actually removing them will need to happen in next, since you're making a breaking change.
The change here is largely moving code around into new files, which doesn't affect users of our packages.


Poseidon v2.6

This PR should eventually include all changes for the switch to Poseidon v2.6.0 (https://github.com/poseidon-framework/poseidon2-schema/pull/51)

Codecov Report
Base: 65.80% // Head: 65.69% // Decreases project coverage by -0.10% :warning:

Coverage data is based on head (baa1b41) compared to base (6be96d0).
Patch coverage: 57.14% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
- Coverage   65.80%   65.69%   -0.11%
==========================================
  Files          18       18
  Lines        2126     2172      +46
  Branches      220      226       +6
==========================================
+ Hits         1399     1427      +28
- Misses        507      519      +12
- Partials      220      226       +6

Impacted Files
Coverage Δ

src/Poseidon/Janno.hs
71.59% <11.53%> (-1.67%)
:arrow_down:

src/Poseidon/SecondaryTypes.hs
43.82% <77.41%> (+13.66%)
:arrow_up:

src/Poseidon/Package.hs
75.78% <100.00%> (+0.52%)
:arrow_up:

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.

I think that covers everything. Please check, @stschiff.
I'm not super happy about the solution to make the contributor field optional. I used Maybe [ContributorSpec] in PoseidonYamlStruct, because aeson makes it easy to handle Maybe. But an empty list represents this case just as well, so I left it at [ContributorSpec] in PoseidonPackage. Then we also don't have to change any code touching this field. Still this solution is ugly, because it requires two conversions:
let con = case maybeCon of
        Nothing -> []
        Just xs -> xs

let maybeCon = case con of
        [] -> Nothing
        xs -> Just xs

Do you see an option to read a missing value directly as a list?

I think that covers everything. Please check, @stschiff.
I'm not super happy about the solution to make the contributor field optional. I used Maybe [ContributorSpec] in PoseidonYamlStruct, because aeson makes it easy to handle Maybe. But an empty list represents this case just as well, so I left it at [ContributorSpec] in PoseidonPackage. Then we also don't have to change any code touching this field. Still this solution is ugly, because it requires two conversions:
let con = case maybeCon of
        Nothing -> []
        Just xs -> xs

let maybeCon = case con of
        [] -> Nothing
        xs -> Just xs

Do you see an option to read a missing value directly as an empty list?

Oh sorry, I just saw this above, so addressing directly my point. Yes, I think aeson can read an empty list just like that. I can make some tests, but I'm confident that should just work out of the box. I think Lists implement the MonadZero Typeclass, like Maybes, and I guess Aeson is generic for this type class. Not sure though.

I looked at this again and found a way to make things slightly more elegant in 4e295ec.
This means though, that we get contributor: [] for the minimal template of the .yml file, which is less elegant than having it completely gone. But I can live with it.

I think I've fixed the contributor output. If it's empty, it's not output.

Excellent!


chore(dist): Added Carvel Kubernetes tools: kapp, ytt, klbd & imgpkg

Hi!
I'm a user of the Kubernetes tools made by Carvel (https://carvel.dev/) and I would love if you accept this PR to support this awesome tools.
P.S.: This project just made my day!
Signed-off-by: Sergio Morales<EMAIL_ADDRESS>

Awesome thanks !
Could you add links to the 3 projects in the README ?

Awesome thanks !
Could you add links to the 3 projects in the README please ?

:ok_hand:  Done!

Great thanks !


building algorithm - an algorithm version was not created after a successful build

HKube micro-service
API server
Describe the bug
building algorithm - an algorithm version was not created after a successful build
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
build a new algorithm from code
an algorithm version that includes the "Image path"  should be created
the algorithm does not have  "Image path"
Additional context
Add any other context about the problem here.

It looks like the watch for build changed events on the api server is not fired

tested on
systemVersion: "v2.3.18",
fullSystemVersion: "v2.3.18-1648462268639",


Inconsistent javadoc/missing method in SOAPEnvelope

SOAPEnvelope says:

The SOAPEnvelope interface provides three methods for creating Name objects.

But only 2 are defined by the API.

another issue here is:

The jakarta.xml.soap.Node method deleteNode deletes the XML element (node) on which it is called

There is no deleteNode method, only detachNode() method


Issue/#77 Docker image improvements

This dockerfile modification includes Manifold dependencies, downloads and compiles Manifold repository and includes rndf_gazebo_plugin repository.

Looks good to me. Everything gets compiled


Hyperlinks broken

none of the command lets in following table are working
https://docs.microsoft.com/en-us/azure/virtual-machines/scripts/virtual-machines-windows-powershell-upload-generalized-script#script-explanation

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

ID: f9ce3be3-235a-67c6-c6d6-72907767abfd
Version Independent ID: 089639ab-43e4-bc64-a0ed-f77c8cf83884
Content: Upload a generalized VHD to Azure PowerShell Script Sample
Content Source: articles/virtual-machines/scripts/virtual-machines-windows-powershell-upload-generalized-script.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Have you made sure to install the latest version of PowerShell? Generally if a command is not found it is because you need to update your PowerShell module .
You can run the following:
Get-Module AzureRM
Install-Module AzureRM
This will update your module. Close it out and restart powershell to see if that helps.

@mganeshphani thanks for the feedback! I checked and most of the links are broken. I fixed them this morning, but the fixes might not go live until tomorrow (we are having some publishing problems). The issue is that someone used the same module name - azure.resources - for all of the links. Many of them should have been azure.network or azure.core. Thanks for catching that!

Thanks @cynthn! I obviously misunderstood the issue :)
@mganeshphani We will close this out as the fix has been addressed and will go live shortly :)

Thankyou Guys. Appreciate the quick fix. You guys are super fast :)
On Mon, Jul 16, 2018 at 5:44 PM Micah<EMAIL_ADDRESS>wrote:

Closed #11793 https://github.com/MicrosoftDocs/azure-docs/issues/11793.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/11793#event-1736419241,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV7GIE8tB7McHCV-7dDli335vdeGvfICks5uHRc6gaJpZM4VRrag
.

--
Ganesh Phani Majeti.


Change set config log level from debug to info

What problem does this PR solve?
Issue Number: ref #6233
Problem Summary:
RT
What is changed and how it works?

Check List
Tests

[ ] Unit test
[x] Integration test
Endless regression test checks.
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/hold

The info contained in these logs can be infered from other info logs, so not change the log level to info. Keep it debug


python311Packages.azure-mgmt-maps: 2.0.0 -> 2.1.0

Changelog: https://github.com/Azure/azure-sdk-for-python/blob/v2.1.0/sdk/maps/azure-mgmt-maps/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 255318 run on x86_64-linux 1

2 packages failed to build:

azure-cli
azure-cli.dist

4 packages built:

python310Packages.azure-mgmt-maps
python310Packages.azure-mgmt-maps.dist
python311Packages.azure-mgmt-maps
python311Packages.azure-mgmt-maps.dist


partialUpdateObject in custom batch does overwrite current object

https://www.algolia.com/doc/api-reference/api-methods/batch/#method-param-operations
The batch operation partialUpdateObject does overwrite the current object in algolia.

Nevermind i was overlooking some code.


2D Editor does not open when a Scene Control item selected

Godot version
3.5.1rc1
System information
MacOS and Windows
Issue description
Until at least 3.5rc2, selecting a Control item in the Editor Scene tree would automatically switch from the script editor to the 2D editor. This no longer happens on either MacOS or Windows - have not checked x11.
Steps to reproduce
Open the script editor; select a Control node from the Scene tree.
Minimal reproduction project
No response

I believe this is an intentional change following a popular request. Check the value of this editor setting:

I thought I had looked around enough to find that change, and the option in the Editor. Thanks for the info.
Has whether or not the default for the setting should be on or off been debated?

Has whether or not the default for the setting should be on or off been debated?

There was a bit of discussion in the linked pull request, but the Is this really needed? section makes it clear that the new behavior was desired by a majority of users.


Add changelog link when new version is available

Personally, I find myself always looking for a changelog link when an update is available for multiple reasons:

To see new features
To see if there are breaking-changes
I tend not to update the same day a release is available so I check the release date.

I believe this is quite common and a quick win in user experience

Thank you so much!


If envoy stops, pilot-agent doesn't restart it

Bug description
If the envoy process exits outside of pilot-agents lifecycle management, it currently doesn't restart it.  It feels like it should?
Expected behavior
pilot-agent should revive envoy
Steps to reproduce the bug
start an app, shell into istio-proxy and kill envoy
Version (include the output of istioctl version --remote and kubectl version)
1.3.3
How was Istio installed?
helm
Environment where bug was observed (cloud vendor, OS, etc)
GKE 1.14

Closing this as the pod now exits which in turn triggers a restart


UnicodeEncodeError: 'latin-1' codec can't encode character '\U0001f913' in position 24: ordinal not in range(256)

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.04.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

root@test1:~/youtube_srt_test/srts# youtube-dl --write-auto-sub --sub-lang 'zh-Hans,en'  -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' 'https://www.youtube.com/watch?v=QRQRq9h03GA&list=PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA' --skip-download
[youtube:tab] Downloading playlist PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA - add --no-playlist to just download video QRQRq9h03GA
[youtube:tab] PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA: Downloading webpage
[youtube:tab] PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA: Downloading webpage
[download] Downloading playlist: Fashion
[youtube:tab] playlist Fashion : Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] QRQRq9h03GA: Downloading webpage
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 475, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2060, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 879, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 924, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1058, in __process_playlist
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1068, in __process_iterable_entry
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 879, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 872, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1683, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1814, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1805, in ensure_dir_exists
  File "/usr/lib/python3.6/genericpath.py", line 19, in exists
    os.stat(path)
UnicodeEncodeError: 'latin-1' codec can't encode character '\U0001f380' in position 21: ordinal not in range(256)

Description

can't download anyfiles from this url
https://www.youtube.com/watch?v=QRQRq9h03GA&list=PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA

Could you add the --verbose flag so that we can better understand your setup?

 youtube-dl --verbose  --write-auto-sub --sub-lang 'zh-Hans,en'  -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' 'https://www.youtube.com/watch?v=QRQRq9h03GA&list=PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA' --skip-download
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--write-auto-sub', '--sub-lang', 'zh-Hans,en', '-o', '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', 'https://www.youtube.com/watch?v=QRQRq9h03GA&list=PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA', '--skip-download']
[debug] Encodings: locale ISO-8859-1, fs iso8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2021.04.17
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-126-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] Downloading playlist PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA - add --no-playlist to just download video QRQRq9h03GA
[youtube:tab] PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA: Downloading webpage
[youtube:tab] PL43LpQQbTd7Q6dZjZQ1Wm1VPpBWLj6-fA: Downloading webpage
[download] Downloading playlist: Fashion
[youtube:tab] playlist Fashion : Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] QRQRq9h03GA: Downloading webpage
[debug] Default format spec: best/bestvideo+bestaudio
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 475, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2060, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 879, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 924, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1058, in __process_playlist
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1068, in __process_iterable_entry
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 879, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 838, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 872, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1683, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1814, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1805, in ensure_dir_exists
  File "/usr/lib/python3.6/genericpath.py", line 19, in exists
    os.stat(path)
UnicodeEncodeError: 'latin-1' codec can't encode character '\U0001f380' in position 21: ordinal not in range(256)
root@test1:~/test#

It seems that indeed it is an encoding issue. You could try to force uff-8 encoding with the following flag:
--encoding "UTF-8"

after add
--restrict-filenames
it's fixed.


Monitoring training and validation metrics together in the same Tensorboard graphs

As the training set is too large for being considered once as a whole during training process, it is batched and the corresponding metrics are computed in an accumulative way with TensorFlow value/update ops. However this way of doing seems incompatible with shared tf.Summary.FileWriters, and consequently, training and validation metrics are not plotted together on TensorBoard.
See related Stackeroverflow question for details.
Is there a TensorFlow-compatible workaround for that?

Workaround since commit e0a980 : one-shot validation instead of batched validation data set. The same TensorFlow summary may be used for monitoring training and validation metrics.


Any way to hint the static methods and constants in PHP?

I'm wondering is it possible to include hinting of the constants or static methods in PHP?
For instance I aliased a certain class, and I'm using a public static method from that class

Hovering on the class, gives me a nice popup about it (yay!)
However hovering on the method itself doesn't provide any info about it, event though there is a nice docblock + typehinting on that method

Hovering on the passed argument works (since it's inside the method where this other method is being called)

The same thing happens when I try to check any constant in a class, either defined in the class (self::CONSTANT) or one that is inherited (static::CONSTANT).
Any workarounds for this?

Which language server?
I think the issue is likely not with this package - the "no description available" text is typically shown when the server gives an empty response.
I recommend opening an issue with your language server.

Iirc, LSP only asks the server to index a file when the file is being opened?

Which language server?

Is there a way I can check this?

Which instructions did you follow to get it working?  At the very least you must have installed a server (via NPM if js-based or composer if felixfbecker's PHP-based server)?
As @jfcherng mentioned, the server re-indexing is a likely cause for missing hover/completion info. I'm not sure there is rock-solid support from any of the PHP language servers yet.

I remebered to check the LSP settings and in them I have
{
  "clients": {
    "phpls": {
      "command": ["php", "/Users/infinum-denis/.composer/vendor/felixfbecker/language-server/bin/php-language-server.php"],
      "scopes": ["source.php"],
      "syntaxes": ["Packages/PHP/PHP.sublime-syntax"],
      "languageId": "php"
    }
  },
  "auto_show_diagnostics_panel": false
}

So I guess I should ask this in the PHP Language Server repo? Thanks for the help :)


Fresh build fails with: TLS failure: signature verification failed: bad signature

Steps to reproduce:

dune build
scrumdog -j
edit the sample.jql file
scrumdog sample.jql

Output:
*****************************************************
Scrumdog 0.51  build 680
Release-date: 2023-04-16
****************************************************

 Log folder: Create folder 'log'
Configuration file:
Jira server:   ******
Jira token: *********************************************************************************************************************************************************************************************
Email:         ***
Database file: jira.db
Table prefix:  KEY
JQL:           project = KEY

 Parsed jql file
2023-04-20 15:22:24 - SQLite: Create table 'KEY_fields'
2023-04-20 15:22:24 - SQLite: Create table 'KEY_issues'
2023-04-20 15:22:24 - Jira: Get Issue FieldsFatal error: exception TLS failure: signature verification failed: bad signature

Do I need to install a specific version of tls-jwt?

@swist   -- Many Thanks for trying it out.
I am using it with different OCaml versions and package versions with no issues, but anything is possible.
Not quite sure yet what is the issue - but will try to replicate it on my side.

When listing the Jira Cloud serve, it need to be in this format:  https://example.atlassian.net/
Which OS are you using  (Windows, Linux or OSX)?
What is you OCaml package version for those listed below - get them by typing opam list

ca-certs              0.2.3
mirage-crypto         0.11.1
tls-lwt               0.17.0
x509                  0.16.4

Which version of OCaml are you using?   ocaml --version
You may also want to try opam reinstall tls-lwt

THANKS

Hey!
Thanks for quick reply. I picked this up for similar reasons to you (wanted to learn something new) so I'm still learning the tooling!
I'm on OSX (ARM), Jira Cloud Server matches the expected format.
The package versions you care about are:
ca-certs              0.2.3       Detect root CA certificates from the operating system
x509                  0.16.4      Public Key Infrastructure (RFC 5280, PKCS) purely in OCaml
mirage-crypto         0.11.1
tls-lwt               0.17.0      Transport Layer Security purely in OCaml, Lwt layer

Ocaml version
❯ ocaml --version                                                                                9:27
The OCaml toplevel, version 5.0.0

Reinstalling tls-lwt and rebuilding yielded the same error

@swist
Could you test this simple demo to check if tls-lwt is working OK on your machine
https://github.com/whoek/ocaml-https-demo

Hey, thanks for the reduced example. Looks like there is something wrong with my local setup -
Done: 57% (4/7, 3 left) (jobs: 0)Fatal error: exception Unix.Unix_error(Unix.ECONNRESET, "read", "")


Topic 3 Completed

I merged the PR, but you can do what we do with the previous PR, correct the changes separating them bycommit in a new PR, with the new excercise


Stop using dlsym

We use dlsym to load the bytecode object files, and to dynamically link native functions from those bytecodes.  The reason we want to remove this to make the code base more portable.
We are using dlsym to find the locations of the bytecode entry points inside of an elf (or platform format) file. To remove its usage from the compiled files, we have to come up with out own binary format of these files, and write functions for reading and writing to them.  We can then call these functions directly from b9.js to create bytecode object files, instead of relying on gcc and ld to create the elf files for us.
We use dlsym to load native functions arbitrarily as bytecode object files demand.  We can remove this capability from base9, and change our implementation of base9 internal native functions.

I think that the second task of removing primitives from base9 is much easier.
I think creating a new binary format for the object files might be a lot of work.  Possibly we can keep both methods of loading object files around for a bit (i.e. have an elf loader and b9object loader).

Completed with the new module format.


/blog should 301-redirect to blog.

Again, following the change to MVP /blog and /journal should 301-redirect to blog.elementary.io.
And maybe there should be a listener service that checks if certain URLs receive a high amount of 404s and then a redirect could be established.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12532802-blog-should-301-redirect-to-blog?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github).

Second paragraph should be its own bug. ;)


Updated grid_royale/base.py

Made some changes in grid_royale/base.py for better understanding.

Good, but please fix the indentation. Delete 4 spaces so it's on the same indentation level as the class.

Done. Intendation fixed.

Haha, now you removed too many spaces. It should have exactly 4 spaces.

Yeah, my bad. Completed now.

Please Check.

Good job! Thank you.

Heyy, if there are any other pull requests but related to code then let me
know.
On Mon, Oct 12, 2020 at 10:17 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Good job! Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-707230897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3PS37VONKKFJL437EDSKMXJXANCNFSM4SNAOHNQ
.

Okay, here's a more difficult task. I started writing tests in test_gamey/test_gamey.py. Make a test on the Blackjack example (grid_royale/gamey/sample_games/blackjack.py) that creates a BlackjackState object with certain cards, gets the next state from it and does a few sanity check on that new state, like checking that it has all the cards that the last state had and more.

Cool. I'll work on that.
On Wed 14 Oct, 2020, 9:39 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Okay, here's a more difficult task. I started writing tests in
test_gamey/test_gamey.py. Make a test on the Blackjack example (
grid_royale/gamey/sample_games/blackjack.py) that creates a BlackjackState
object with certain cards, gets the next state from it and does a few
sanity check on that new state, like checking that it has all the cards
that the last state had and more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708504419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3NVEYLZAO2MDJYOAOLSKXEKRANCNFSM4SNAOHNQ
.

But no new files are generated !!! I mean no objects are created.. What to
do ??
On Wed, Oct 14, 2020 at 9:39 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Okay, here's a more difficult task. I started writing tests in
test_gamey/test_gamey.py. Make a test on the Blackjack example (
grid_royale/gamey/sample_games/blackjack.py) that creates a BlackjackState
object with certain cards, gets the next state from it and does a few
sanity check on that new state, like checking that it has all the cards
that the last state had and more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708504419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3NVEYLZAO2MDJYOAOLSKXEKRANCNFSM4SNAOHNQ
.

I don't understand what you're saying.

I ran test_gamey.py as well as blackjack.py but no new cards/objects are
generated and it says there's nothing to commit when I try to commit after
running these files.
On Wed 14 Oct, 2020, 10:04 PM Ram Rachum<EMAIL_ADDRESS>wrote:

I don't understand what you're saying.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708519060,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3I6Z5XWJPLRZIAXOATSKXHJDANCNFSM4SNAOHNQ
.

Why would you expect that any changes to files will be made as a result of running these files?

Then after running those files what to commit !!???
On Wed 14 Oct, 2020, 10:12 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Why would you expect that any changes to files will be made as a result of
running these files?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708523244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3JRE3IMOJ7FCPUIFQLSKXIF5ANCNFSM4SNAOHNQ
.

First, run the tests to make sure they work. Do it by running pytest in the repo root. Then add another test function to that file that makes an error, like 1/0. Run the tests again, and confirm that they now fail. Now, replace the 1/0 code with code that creates a new BlackjackState object, then continue from there.

Okay I'll see what I can do..
On Wed, Oct 14, 2020 at 10:20 PM Ram Rachum<EMAIL_ADDRESS>wrote:

First, run the tests to make sure they work. Do it by running pytest in
the repo root. Then add another test function to that file that makes an
error, like 1/0. Run the tests again, and confirm that they now fail.
Now, replace the 1/0 code with code that creates a new BlackjackState
object, then continue from there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708527672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3KUXKHPK6YGCDVHFZ3SKXJE5ANCNFSM4SNAOHNQ
.

I can't get what you're trying to say. Can you please elaborate it a bit ??
On Wed, Oct 14, 2020 at 10:20 PM Ram Rachum<EMAIL_ADDRESS>wrote:

First, run the tests to make sure they work. Do it by running pytest in
the repo root. Then add another test function to that file that makes an
error, like 1/0. Run the tests again, and confirm that they now fail.
Now, replace the 1/0 code with code that creates a new BlackjackState
object, then continue from there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708527672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3KUXKHPK6YGCDVHFZ3SKXJE5ANCNFSM4SNAOHNQ
.

Did you ever write a test before? Can you show me?

Actually I didn't. I mean I haven't tried..😅😅
On Wed 14 Oct, 2020, 10:35 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Did you ever write a test before? Can you show me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708535978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3O7QO3BIV2QBNBMDXLSKXK6ZANCNFSM4SNAOHNQ
.

Ah, sorry, it's really beginner stuff and I can't give you a programming course. Maybe you can learn some by reading the pytest website: https://docs.pytest.org/en/stable/ But really there's a lot of learning and I can't help you.

It's okay, I'll see what I can do and thanks though for helping me out.
On Wed 14 Oct, 2020, 10:39 PM Ram Rachum<EMAIL_ADDRESS>wrote:

Ah, sorry, it's really beginner stuff and I can't give you a programming
course. Maybe you can learn some by reading the pytest website:
https://docs.pytest.org/en/stable/ But really there's a lot of learning
and I can't help you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cool-RR/grid_royale/pull/26#issuecomment-708538240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKQE3PJUVJKXW7C5AAYW73SKXLOHANCNFSM4SNAOHNQ
.