Fix token auth (instead of setting headers)

Fixes #19, #27 and #30. Also makes #15 obsolete.
I noticed that token auth wasn't working and having my password in plain text isn't an option.
Seems like Object.assign throws the error Cannot convert undefined or null to object because options.headers wasn't defined before. But i decided, instead of setting the headers to empty object above (like #15 does), using the options.auth to keep it consistent.
The code for token auth previously must have been missed that part when updating to options.auth.
The failure grabbed from VSCode Extension Host Logs was
[2021-04-26 17:54:48.096] [exthost] [error] TypeError: Cannot convert undefined or null to object
	at Function.assign (<anonymous>)
	at requestCrumb (c:\Users\<user>\.vscode\extensions\janjoerke.jenkins-pipeline-linter-connector-1.2.0\out\extension.js:65:38)
	at c:\Users\<user>\.vscode\extensions\janjoerke.jenkins-pipeline-linter-connector-1.2.0\out\extension.js:36:17
	at Generator.next (<anonymous>)
	at c:\Users\<user>\.vscode\extensions\janjoerke.jenkins-pipeline-linter-connector-1.2.0\out\extension.js:7:71
	at new Promise (<anonymous>)
	at __awaiter (c:\Users\<user>\.vscode\extensions\janjoerke.jenkins-pipeline-linter-connector-1.2.0\out\extension.js:3:12)
	at c:\Users\<user>\.vscode\extensions\janjoerke.jenkins-pipeline-linter-connector-1.2.0\out\extension.js:17:104
	... (truncated here)
	at Socket.emit (events.js:315:20)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:271:9)
	at Socket.Readable.push (_stream_readable.js:212:10)
	at Pipe.onStreamRead (internal/stream_base_commons.js:186:23) jenkins.pipeline.linter.connector.validate

@janjoerke Ping back, this is important to make the plugin work for Jenkins API Token auth again.

@ohartl @janjoerke Hi, I'm having this issue. Maybe you have news on resolving this? thanks, regards

I'd like to see this merged as well. It's not intuitive to paste the token code in the password field when there is a designated token setting field.

Is there a way to get the plugin with the fix? Anyway to compile locally and install it with the fix?

Would love to see this merged - I've manually made this change on my local install and it fixes this problem


Custom Color Map

Hi there,
First off - love this package/project! Thank you : )
I've reviewed the custom color map issues raised prior (i.e. below) and I'm struggling to correctly implement in javascript:
https://github.com/developmentseed/titiler/discussions/496
I have a simple array of colors (hex codes) attached (colors.txt) that I'm trying to get formatted appropriately in javascript to pass directly to the tiles endpoint as a url param.
All of the examples I've found perform this formatting in python, which makes sense considering it uses rio-tiler i.e. here:
https://cogeotiff.github.io/rio-tiler/colormap/
I've tried multiple times converting the attached colormap (colors.txt) into the appropriate format.  My latest try includes the intervals, as suggested in the past github issue included above - I've attached this as well (colors_intervals.txt).
When I append the string (included in colors_intervals.txt) to the tile url as a parameter, it's returning the image with a gray scale. It would thus seem that I'm passing in the appropriate format for the cmap, since it does return the image, but the colors aren't being applied correctly for some reason.  To be clear, I have my titiler url i.e. /cog/tiles/... and at the very end of the url I include '&{cmap}' where {cmap} is the string in the attached colors_intervals.txt.
I'm wondering what I'm doing wrong but also if there is a robust method of doing this formatting in existence in javascript?
Thanks so much..
S
colors.txt
colors_intervals.txt

Of course I figure it out after I write in... user error..thank you!

sounds like https://github.com/developmentseed/titiler/discussions/525
I think the issue is that you are using auto formatting which sadly is decided before applying the colormap, if titiler don't see any mask value it will choose JPEG and then the [0,0,0,0] value will be black. If you force the image format to png it should be transparent. (I totally understand that it's not perfect, and we might try to fix this in rio-tiler at one point)
FYI: I'm moving this issue to discussion because without proper reproductible example I cannot understand if it's a bug or a feature.


⚠ TTS Generation has degraded performance

In 303b606, TTS Generation ($SECRET_TTS_TEST_GEN_URL) experienced degraded performance:

HTTP code: 200
Response time: 509 ms

Resolved: TTS Generation performance has improved in 415a979 after 16 minutes.


Updating wifiBasedNativeMock for Android

These changes should update wifiBasedNativeMock so it will work again with the new Android native infrastructure.

[ ] Update our desktop tests so that they run both unit tests and coordinator tests TWICE, once as Android and once as iOS
[x] Finally implement the code that honors the platform passed into the constructor for wifiBasedNativeMock so that process.platform is overridden and returns the right value when we are on desktop
[x] The wifiPeerAvailabilityChanged event we will get from the underlying thaliWifiInfrastructure code is now going to return generation and peerID, we need to be ready for that when we process it.
[x] Update peerAvailabilityChanged to the new syntax (the previous work item will help)

@yaronyg

Update our desktop tests so that they run both unit tests and coordinator tests TWICE, once as Android and once as iOS

Can we just update test server configuration to include some(e.g 3) Android devices?

@artemjackson Ahh I see.... I like that. So long as you make sure that we are somehow smart enough to know when we are on desktop which device which node instances are supposed to be emulating. In other words the desktop coordination server has to know how to tell 3 of its node instances that they are pretending to be Android and the other 3 that they are pretending to be iOS.

Update our desktop tests so that they run both unit tests and coordinator tests TWICE, once as Android and once as iOS

@yarong As I understand we can use the #1072 implementation to put Android and iOS devices into their own disjoint networks. So it would be enough to run the test server once for all devices.

Finally implement the code that honors the platform passed into the constructor for wifiBasedNativeMock so that process.platform is overridden and returns the right value when we are on desktop

@yaronyg I think that it's not a really good approach to override build-in tools like process.platform even if JavaScript allows it. So I decided to implement some kind of platform wrapper in testUtils.

@artemjackson per our conversation the goal is that if we specify both android and iOS devices when running the coordinator on the desktop then we should start two different groups of node processes, one group simulating iOS and the other simulating Android and run the coordinator tests in parallel on each group. But I need to fix the design for thaliproject/Thali_CordovaPlugin#1072 so that it will work in that case.
In regards to platform, the problem is what do you do with our production code? We will soon have production code in places like thaliMobileNativeWrapper that will behave differently on iOS and Android. That code is checking (and should be checked) process.platform. So if we don't override process.platform what are we supposed to do?

@yaronyg Well, I got your point. Will fix it.

Please go for Thali.platform and clean up the existing process.platform code! Thanks!

This is blocked on https://zube.io/projects/3188/tickets/1363 (interference free testing)

Bear in mind that there is a branch vNext_artemjackson_902 for the issue that has unfinished implementation.

A generation can be retrieved from#1103

Update our desktop tests so that they run both unit tests and coordinator tests TWICE, once as Android and once as iOS

Already implemented by @andrew-aladev in #1072


Fix: Order of sections

This PR

[x] fixes the order of sections

💁♂ While the order in travis.yml doesn't matter to Travis, it does do the interested reader.

Thank you, @chartjes!


Goals for Q1 2012

Compilation:

get pdf.js into firefox
release production-level addon (?)
corpus covering international documents (90%+ FF users are non-US)
benchmark / profile
create and document simpler API (including text extraction, search, selection, annotation, etc)
more contributor engagement: schwag? profile coverage on blog? in return for bug fixes
factor out pdf.js web viewer into: Pdf.js + "Mozilla Reader"?
new UI
regression tests for international Windows (see #1016 #1014 #977)
new corpus report tool
faster and Unicode-normalized text selection algo
better bot (auto-test for PRs, new commands: "makeref-merge", and "merge" with built-in checks)
use modules (require.js, ...)
remove dependencies on make, java, and python by using node for everything
print support
one-liner, jQuery-esque API (part of API topic above)

/cc @wfwalker @brendandahl @notmasteryet @jviereck

In addition to above:

get pdf.js into a firefox release train
(these are more out there):
use modules (require.js, ...)
remove dependencies on make, java, and python by using node for everything

On my wish list for PDF.JS is:

Add proper printing support

(+1 on using node)

do pdf.js chrome://... urls go into history and also get sync'd ?

land pdf.js on mozilla-central by end of Q1, off by default, can be enabled via pref

Better wrap pdfjs into some sort of jquery plugin (or similar) so that other people (addon writers, web site writers) can easily include a pretty, inline pdf viewer without having to copy and adapt viewer.html.
$("#myDiv").pdf("http://path/to/my/file.pdf");
$("#myDiv").pdf(theRawArray);

this would take care of text selection, navigation (pretty back/forward/zoom buttons à la Apple quick look), being able to click links inside the PDF, etc.

The zoom is sufficient for enlarging, but sometimes I don't have the
font referenced or the substitution is a bit strange and out of
proportion to the rest of the document -- for example:
chrome://pdf.js/content/web/viewer.html?file=http%3A%2F%2Fwww.theenergydetective.com%2Fmedia%2FTED5000-API-R330.pdf
all the text in the tables is hard to read because it overlaps and looks
crazy...hence the request for font substitution or per-typeface resizing
On Wed, Jan 04, 2012 at 11:36:39AM -0800, Brendan Dahl wrote:

@rpaditya Not sure I follow.  Is the zoom not sufficient for enlarging text size?

Reply to this email directly or view it on GitHub:
https://github.com/mozilla/pdf.js/issues/970#issuecomment-3359755

here is another doc that looks crazy because of one typeface being way too big:
chrome://pdf.js/content/web/viewer.html?file=http%3A%2F%2Fwww.juniper.net%2Fus%2Fen%2Flocal%2Fpdf%2Fwhitepapers%2F2000253-en.pdf

@rpaditya Let's try to keep this issue related to the goals only.  Please file separate issues for problematic pdf files.

+1 for node everywhere
+1 for separation of core api from reader


SDLC: Add overview, GH issues as SSOT

Follow-up to RFC 686.

Removes mention to other trackers.
Promotes GitHub issues at the single source of truth.
Add a paragraph about teams detailing further the process.
Add a how to contribute section, making it explicit that this is a high friction page, that shouldn't be updated often and without great care, as it affects compliance.

@taylorsperry, @quinnhare and @kstretch9, I've updated this page, with the main changes listed in the PR's description. Could you take a look before we submit it for review on #wg-soc2 ?
The workflow itself, is still blurry and needs to be refined, but that's outside the goal of the present effort.


adding_a_cask: editions back to main repo and nomenclature additions

Refs https://github.com/caskroom/homebrew-cask/issues/24418.
Bring back editions to main repo and separate drivers into new one. We should move the casks first and then merge this.
Also fixes the omission of fonts and eIDs.

Re: moving Casks - I assume we'll keep /versions with just a tap_migrations.json?

@adidalal caskroom/versions will continue to be alive and well. It’ll just not have the things that confused some users by being there (pro versions, community editions). It’ll still have all the betas, nightlies, developer editions, old versions, and all that.

@adidalal and @vitorgalvao I have just gone through caskroom/versions and renamed a few Casks for consistency, which should make identifying which ones to migrate a little easier.

I also updated several Casks in caskroom/versions yesterday, replacing system with system_command so those should already be nice and consistent with the main repo.

@adidalal raises a good point, though - will we need a tap_migrations.json file?

will we need a tap_migrations.json file?

Sounds about right, yes.


Split common into cache, navigator and visitor packages

Codecov Report

Merging #44 into master will decrease coverage by 3.61%.
The diff coverage is 41.36%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   72.68%   69.07%   -3.62%
==========================================
  Files          38       47       +9
  Lines        1911     2160     +249
==========================================
+ Hits         1389     1492     +103
- Misses        432      578     +146
  Partials       90       90

Impacted Files
Coverage Δ

balloon/visitor/collect.go
0% <0%> (ø)

balloon/visitor/print.go
0% <0%> (ø)

balloon/cache/test_util.go
0% <0%> (ø)

balloon/visitor/caching.go
100% <100%> (ø)

balloon/cache/passthrough.go
12.96% <12.96%> (ø)

balloon/visitor/audit.go
47.05% <47.05%> (ø)

balloon/visitor/visitor.go
53.75% <53.75%> (ø)

balloon/cache/simple.go
70.58% <70.58%> (ø)

balloon/visitor/compute.go
87.5% <87.5%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Image-ExifTool-11.70.tar.gz not found when running ./build-s3-dist.sh

Following is the error:
--2021-06-23 20:13:38--  https://exiftool.org/Image-ExifTool-11.70.tar.gz
Resolving exiftool.org (exiftool.org)... <IP_ADDRESS>
Connecting to exiftool.org (exiftool.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-06-23 20:13:40 ERROR 404: Not Found.

Hi anggras,
Thanks for reporting the issue.
Just curious if you are working on the master branch or the v3preview branch?
If you have not seen the v3preview branch, I highly recommended you to use v3preview.
https://github.com/awslabs/media2cloud/tree/v3preview
The exiftool fix has been commited to v3preview branch.
Thanks.

Ah, nice. Will have a look at v3preview branch.
Cheers.


Create Model PR

Hello Good Reviewer, :wave:
Project Requirements

[x] Create a new app. Give it a meaningful name.
[x] Initialize your project with Git.
[x] Create and run the necessary migration files.
[x] Table and column names should match the ERD diagram
[x] Foreign keys should be included.
[x] All columns that are foreign keys should have a corresponding index.

Hi @Aseadd ,
Highlights ✨

Pull request 👌
Git flow ✅

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Proceed to the next level 👏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Don't overwrite mailer config for Signon

https://trello.com/c/ZB29y9Y0/2050-signon-use-notify-instead-of-amazon-ses-🍐

The commit message could do with saying something about why you're making this change, but apart from that it's fine.


CREATE OR REPLACE PIPE throws error

Hello Starrocks Team,
https://docs.starrocks.io/docs/3.2/sql-reference/sql-statements/data-manipulation/CREATE_PIPE/  shows CREATE OR REPLACE but I get No viable statement for input ‘CREATE OR REPLACE PIPE’. CREATE works fine. Wish it allowed OR REPLACE. So my automation scripts don’t have to check if it already exists

version 5.1.0

Great!!! thanks, Murphy. Which docker image release will it be in?
On Mon, Dec 25, 2023 at 12:23 AM Murphy @.***> wrote:

Closed #37509 https://github.com/StarRocks/starrocks/issues/37509 as
completed via #37658 https://github.com/StarRocks/starrocks/pull/37658.
—
Reply to this email directly, view it on GitHub
https://github.com/StarRocks/starrocks/issues/37509#event-11333964885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALQ7IASETRUY3F6EPL75AUTYLEEWLAVCNFSM6AAAAABA54E2XCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGMZTGOJWGQ4DQNI
.
You are receiving this because you authored the thread.Message ID:
@.***>


How to use this?

I'm a newb in the js ecosystem - how do actually use this module in my project? The quick start says to use: import {GoogleCharts} from 'google-charts';, but I think that only works when the js-file that I'm putting the example code in is in the same dir as the google-charts package, right? What am I missing?

You just need to install this package first using npm cmd and follow the documentation.

@aftab470 I did install it using npm cmd. But I still don't understand what's happening. Also the documentation on this project is not exactly extensive.

Yeah, proper documentation would be handy. I'm also struggling with how to use it in React.

Yeah, proper documentation would be handy. I'm also struggling with how to use it in React.


[Accessibility][OSX] Dropdown: Reader does not read out which item is focused

Bug Report
When navigating in open dropdown, reader does not read out currently focused item
Steps

Open dropdown
Navigate with arrows through the dropdown items

Expected Result

Screen reader correctly announces currently focused item

Actual Result

Screen reader does not announce currently focused item

Version
0.25.1

Which Dropdown?
How to open the Dropdown?
Can you give the exact steps? Or maybe a gif with the scenario and the Voiceover output?


Knee Osteoarthritis Prediction

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Knee Osteoarthritis Prediction
:red_circle: Classifying images of x-rays into chances of the patient getting osteoarthritis.
:red_circle: https://www.kaggle.com/datasets/shashwatwork/knee-osteoarthritis-dataset-with-severity/data
:red_circle: Will be considering external factors other than images of the knee x-rays, such as age and gender. Since it is more common in females above 40.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Devarsh Shah
GitHub Profile Link :  https://github.com/devarshh08
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): Devarsh Shah (thewittywizard)
Approach for this Project : Classification and Convolutional Neural Networks
What is your participant role? (Mention the Open Source program)
GirlScript Summer of Code 2024 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hi @devarshh08 can you please share your approach for this problem statement? What are the models you are planning to implement here. Mention 3-4 models for this project.

I are going to be using deep learning and cnn, to predict by image whether the person has knee osteoarthritis or not.

@abhisheks008 Here is a basic overview:
Here is a sample data with 5 severity grades, Grade 0 : Healthiest to Grade 4 : Most severe.
Then I will preprocess the dataset firstly and add to a list, it also includes assigning labels to the images.
Then I will make a CNN model, using the following models : ResNet 50, VGG 16, MobileNet, EfficientNet B7
After that I will split the model and train the data from the split training and testing data
Then will plot the data.
That's it, thank you!

Cool, go ahead with this issue. Assigned to you @devarshh08

Hi @abhisheks008, I want to request a few days extension for completing this project. Because it is my first time I am facing a lot of issues and am working to resolve them.
Thank you very much for understanding.

i would like to work on this project Knee Osteoarthritis prediction using cnn model using transfer learning frameworks like ResNet or VGGNet to optimize our model performance and reduce our training time.
I am GSSOC 2024 extended Contributor .
My github username :shivam060404.
kindly assign me to collaborate and open source learning to contribute in this project.

Hi @shivam060404 sorry for replying so late. Implement these models for this problem statement to get a better result/output,

ResNet
VGG
MobileNet
EfficientNet

You can start working on this issue.


DeepFace

I want to use DeepFace in Django.
In my virtual environment, I run the command "pip install deepface" and it installs successfully.
But when I do "from deepface import DeepFace" in my views.py my VS-Code highlights deepface and has an error "Import deepface could not be resolved"
Also, when I try running a the file in VS-Code, it raises error "no module named deepface"
Please advice

it seems that the environment you installed deepface and you run are different.


No copy/move progress screen is shown

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'any location'
Copy File/Files
Go to another folder/location
Paste and you wont see any copy progress dialog

Expected behavior
Please fix it so that copy/move files dialog must be shown
Screenshots
not necessary
Desktop (please complete the following information):

OS Version: [Windows 10 20H2 19042.630]
App version: [v0.20.0]

@askfriends Do you have a status center on the bottom right of status bar? It should flash when an item operation starts.

oh i just noticed that and after playing with it i just noticed copy progress is not shown in real time, it says 0% and then finally say its 100%. it doesn't show copy speed or items being copied.
btw it should show windows like copy window and not small icon in bottom

@askfriends Can you open/upvote on existing issues regarding the issue where the progress is stuck?


Crafting task indicator is too high

The requesting tab shows 3x the actual requested amount, however it does craft the correct amount.

already fixed in dev


We should offer the same [get/set]MultipleIntegers as we offer for [read/write]MultipleIntegers methods on ByteBuffer

Normally we provide all four variants of methods like get/set/read/write on the various ByteBuffer operations but we seem to missing the get/set variants for the multipleInterger based methods.

I think @weissi might make the case that this is a feature not a bug, I know he's been unhappy with the get/set methods for a while. I'm curious what he thinks.

I think @weissi might make the case that this is a feature not a bug, I know he's been unhappy with the get/set methods for a while. I'm curious what he thinks.

 Particularly
// correct: Something(buffer: buffer)
//
// incorrect and often seen in the wild
buffer.getSomething(at: 0, length: buffer.readableBytes)

// correct but verbose, seldomly seen
buffer.getSomething(at: buffer.readerIndex, length: buffer.readableBytes)

is both incorrect & verbose.

Now, there are some niche use cases for our get*/set*s but most people just use them because read*/write* are mutating. So I think instead of adding get*/set*s eagerly we should offer peek* which doesn't take an at: Int parameter. So peek* ~= read* except that it doesn't read it off.

My thinking is, let's invest time in

Better docs, every single get* should be discouraged in its docs
peek* methods for cases where people need to take a part out without reading it out
if we still have time left: add the missing get*/set*s with discouraging comments

My use-case is the classic peek case where I need to look into an incoming packet to decide the kind of it and the send into the right child channel.

My use-case is the classic peek case where I need to look into an incoming packet to decide the kind of it and the send into the right child channel.

Makes sense, I think we should add peek*s for everything. That's btw also a good starter task because it really just is
@inlinable
public func peekX(length: Int) -> X? {
    return self.getX(at: self.readerIndex, length: length)
}

or
@inlinable
public func peekX(length: Int) -> X? {
    var `self` = self
    return self.readX(length: length)
}

Yeah I am totally fine rebranding the current get methods to peek and avoid doing public get/set all together.

I really like the idea of peek, I think it covers most of the existing uses of get.
I worry slightly that get is still the obvious name to reach for and many users won't actually read the docs which should discouraging them from using it. Ideally I think get/set would still exist but on a view type so they're less prominent in the API.


ERROR WHEN ATTEMPTING TO FAST TRAIN

Hi. I'm trying to get leap up and running and I'm having some errors when I try the fast train. Something is up with the h5files I think but I'm banging my head against the wall trying to figure out what it is. Perhaps you guys could assist me? It would be very appreciated.

Hi there,
That seems to be quite a strange issue. Would you mind running this command in the MATLAB console and pasting the output here:
h5disp('/home/rockwell/leap/box.h5')
Thanks!

sure! @talmo

h5disp('/home/rockwell/leap/box.h5')
HDF5 box.h5
Group '/'
Attributes:
'boxPaths':  '/home/rockwell/leap/box.h5'
Dataset 'box'
Size:  192x192x1x435
MaxSize:  192x192x1x435
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  192x192x1x1
Filters:  deflate(1)
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'dataIdx'
Size:  435x1
MaxSize:  435x1
Datatype:   H5T_IEEE_F64LE (double)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'double'
Dataset 'exptID'
Size:  1x435
MaxSize:  1x435
Datatype:   H5T_IEEE_F64LE (double)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'double'
Group '/clusters'
Dataset 'G'
Size:  435x1
MaxSize:  435x1
Datatype:   H5T_IEEE_F64LE (double)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'double'
Dataset 'cluster_centroids'
Size:  192x192x1x5
MaxSize:  192x192x1x5
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'k'
Size:  1x1
MaxSize:  1x1
Datatype:   H5T_IEEE_F64LE (double)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'double'
Group '/pca'
Dataset 'coeff'
Size:  36864x50
MaxSize:  36864x50
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'coeff_box'
Size:  192x192x1x50
MaxSize:  192x192x1x50
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'explained'
Size:  1042x1
MaxSize:  1042x1
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'latent'
Size:  1042x1
MaxSize:  1042x1
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'mu'
Size:  1x36864
MaxSize:  1x36864
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'score'
Size:  435x50
MaxSize:  435x50
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'
Dataset 'tsquared'
Size:  1043x1
MaxSize:  1043x1
Datatype:   H5T_IEEE_F32LE (single)
ChunkSize:  []
Filters:  none
FillValue:  0.000000
Attributes:
'dtype':  'single'

Hmm, I'm not entirely clear on why this bug is happening, but try downloading the newest version of the repository (either via git pull or by downloading the master branch) and trying to fast train again.
It seems to be an issue with saving the skeleton, which is not really necessary, so if it's still not working for you, try just commenting out these lines in leap/generate_training_set.m:
h5savegroup(savePath,skeleton)
h5writeatt(savePath,'/skeleton','jointNames',strjoin(jointNames,'\n'))

Let me know if either of these work for you and I'll try to figure out how to fix it from there.

I commented out the code you suggested and it seems to be working (currently on epoch 6). I'll let you know if there are any other problems finishing the demo. Thanks a bunch!

Everything seemed to work correctly although when I run
imagesc(box(:,:,:,1)),axis image,hold on,plot_joints_single(preds.positions_pred(:,:,1),skeleton);
or
vplay(box, @(~,idx)plot_joints_single(preds.positions_pred(:,:,idx),skeleton))
The actual predictions are not showing up on the plot however when I run
figure,plot(squeeze(preds.positions_pred(3,1,:)),squeeze(preds.positions_pred(3,2,:)),'.-')

Hi @GitwellAnyohub,
That's right, I'm guessing you're missing the skeleton structure to pass in to the plotting function. You can try it by loading it from the MAT file for the skeleton you created or from the labels file since it's saved there too:
labels = load('/home/rockwell/leap/box.labels.mat');
vplay(box, @(~,idx)plot_joints_single(preds.positions_pred(:,:,idx), labels.skeleton))

I'm curious as to why the saving wasn't working though. Did you ever manage to update the code to see if it would fix it?
I'll leave this issue open for now until I get a chance to dig into it. Let me know if you run into any other problems!

So for the record (concerning the previous issue) the only thing that still works is commenting out that code!

Hi @GitwellAnyohub,
I'm still having a bit of a hard time reproducing this issue. Any chance you could send me a link to your box.h5 and box.labels.mat files?
I'm guessing they're just produced the example data we provide for the tutorial, correct?
Much appreciated!

Closing but feel free to re-open if you're still running into problems!

Quick update: a colleague managed to reproduce this bug and I pushed a fix. The issue was in saving the training dataset with a skeleton with no edges.
Try out the latest version if you're still running into this issue.


Migrate MIME native functions to interop

Purpose

$subject

Fixes #19898
Approach

Describe how you are implementing the solutions along with the design details.

Samples

N/A

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@arukshani Shall we move multiple JAVA classes into few utils classes accordingly? Now we don't need to have single JAVA class for each Ballerina function.

@arukshani Shall we move all these java classes into few util classes accordingly? Now we don't need to maintain single java class for each Ballerina function.

@arukshani Shall we move all these java classes into few util classes accordingly? Now we don't need to maintain single java class for each Ballerina function.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@65aaa12). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #20051   +/-   ##
=========================================
  Coverage          ?   15.21%
=========================================
  Files             ?       50
  Lines             ?     1341
  Branches          ?      208
=========================================
  Hits              ?      204
  Misses            ?     1121
  Partials          ?       16

Continue to review full report at Codecov.

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


code itself is listening on port 9000

VSCode Version: darwin Versione 1.26.1 (1.26.1)
OS Version: Mac Os 10.12.6

Steps to Reproduce:

Install intelephense PHP and PHP debugger plugins
Setup xdebug
Start debugger on a php docker project
In vscode start listening for incoming xdebug
vscode responds with error listen EADDRINUSE :::9000

{ Error: listen EADDRINUSE :::9000
    at Object._errnoException (util.js:1024:11)
    at _exceptionWithHostPort (util.js:1046:20)
    at Server.setupListenHandle [as _listen2] (net.js:1351:14)
    at listenInCluster (net.js:1392:12)
    at Server.listen (net.js:1476:7)
    at Promise (/Users/BlackSheep/.vscode/extensions/felixfbecker.php-debug-1.12.5/out/phpDebug.js:240:24)
    at new Promise (<anonymous>)
    at createServer (/Users/BlackSheep/.vscode/extensions/felixfbecker.php-debug-1.12.5/out/phpDebug.js:184:40)
    at PhpDebugSession.<anonymous> (/Users/BlackSheep/.vscode/extensions/felixfbecker.php-debug-1.12.5/out/phpDebug.js:244:27)
    at Generator.next (<anonymous>)
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  port: 9000 }

This isn't a plugin's issue. Simply vscode has a language server process listening on the port 9000, that has been the xdebug default port for a thousand years. Yes, this port could be changed but this is not always a chance. In my case I should impose a thousand of devs to change their configuration that is unacceptable.
Please reserve port 9000 to other processes.

This issue is not caused by extension! I've said clearly. You should almost read the whole text of an issue before close it. Actually vscode is avoiding to extension to work properly.

@korsmakolnikov I thought the same, but it's not the case, at least not for v1.27.1. I was having a different conflict on port 9000 which went away when closing VSCode. But running with code --disable-extensions made the the problem go away.

I had similar issue, i started disabling extensions that I suspect they caused the issue, and it happened to be the Swagger Viewer plugin. Check if u have this plugin enabled, or if there another plugin that could have caused this issue.


Initializer not initializing value.

The TOEIAdmin in this contract needs to be initialized.
Deployment code

async function main() {
  const TOEIAdmin = '0x63c056Dd2e576150f5e2BA0DA10927B8a62EF0Db'
  const TOEIMarketplaceFactory = await ethers.getContractFactory('TOEIMarketplace');
  const TOEIMarketplace = await upgrades.deployProxy(TOEIMarketplaceFactory, [TOEIAdmin], {initializer: 'initialize'});
  await TOEIMarketplace.deployed();
}

main()
  .then(() => process.exit(0))
  .catch(err => {
    console.log(err);
  });

Contract initializer

import<EMAIL_ADDRESS>contract TOEIMarketplace is Initializable {
    address public TOEIAdmin;

    function initialize(address _admin) public initializer {
        TOEIAdmin = _admin;
    }
}

Hi @parash-namespace,
The initializer option should include the function signature of the initializer, including its parameters.  In your example where the initializer's parameter has type address, you can do either:
const TOEIMarketplace = await upgrades.deployProxy(TOEIMarketplaceFactory, [TOEIAdmin], {initializer: 'initialize(address)'});

or even omit the initializer option since the initialize name being used is already the default
const TOEIMarketplace = await upgrades.deployProxy(TOEIMarketplaceFactory, [TOEIAdmin]);

Note that the deployed contract at the link you provided has the initializer as initialize(address _admin, uint256 _commissionPercent), so in that case you can call it like the following:
const TOEIMarketplace = await upgrades.deployProxy(TOEIMarketplaceFactory, [TOEIAdmin, commissionPercent]);

Thanks @ericglau ,
Here is the link to newly deployed contract with suggested changes. Actually I had simplified the example to one argument for easier understanding.
However, the problem still exists.

@parash-namespace Can you please elaborate on what the problem is and what you expect should happen?  Where are you seeing that the value is not initialized?  Thanks.

@ericglau I am trying to initialize TOEIAdmin and grossPay using the deployProxy method in script and initializer method in the contract itself. But the contract has 0x000 for TOEIAdmin and 0 for grossPay though I have passed the args properly.
I expect the values for the args in initializer to not be 0. I am able to later call the initializer (it seems anybody can).
Expectation: The initializer method to be called upon when the contract is deployed as the constructor originally worked.

@parash-namespace Are you looking at the proxy or at the implementation code?
When you deploy a proxy:

the logic (implementation is deployed)

this contract should not be used by itself, it should be locked without being initialized (sometime we use a constructor for that)

a proxy is deployed, and points to the implementation

this contract is initialized. It is where and the state/parameters are stored.

@Amxx Thanks. I understood your point. Now the problem is:

My implementation contract still has an initialize method that can be called by anyone through etherscan.

In most cases that is not an issue, but if you want to be safe, you can initialize it yourself (for example with admin set to 0xdead). That way you'll lock the implementation for good.

@Amxx Thank you very much.
I deployed and ran the full contract with UI. It seems it works the way I wrote the code. I happened to check it in the implementation contract. Connecting ABI for proxy works as expected.


How to sove the system of linear equations with modulo?

Hi,
I'm not familiar with Rust, so I didin't understand the whole project.
According to my reading, therer  isn't a class or a method for solving the final system of linear equations, is that right?
Thanks!

Hi!
You are correct, we never got around to implement the final step, we let it remain theoretical as it would not provide much useful data for the publication.
Best regards, Alexander


Add an example to Gallery of using new open url service

Added as part of https://github.com/flutter/flutter/issues/4156, it's now possible to ask the system (iOS/Android) to open a URL.
Seems there must be something we could use this in in the Gallery as an example?
@mpcomplete @HansMuller?
@chinmaygarde can explain how if it's not obvious.

We could display some stock quotes using URLs like:
http://finance.google.com/finance/info?client=b&q=NASDAQ:GOOGL
A demo that loaded a quotes for a few symbols and allowed you to enter more would be very easy to put together.

@HansMuller talked in person.  This bug is about simply clicking a link, we already have various demos which show pulling data from a URL.
This came up again this morning because a customer asked how to open a link from flutter.

https://gist.github.com/chinmaygarde/d778498418e30825d687147b79d070eb shows how to connect to the URI launcher and launching an example.

NICE. I will expose the UriLauncher service in the same we've exposed other Mojo services in Flutter.
I think we're going to want to use the term URL instead of URI. Ask @Hixie about that.


I have to scroll too far to get to the box to see all my projects.

Describe the bug
It doesn't take too long to have enough unfinished projects that your access to the button to get to "all projects" escapes.
Can we make this the second tile, or make the "View All" link more bold?

There is View All next to My projects

There is View All next to My projects


create contract requires a new account

Trying to deploy new contract from Solang to Solana with code like:
contract adult {
function test() public {
hatchling h = new hatchling("luna");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}  }
But got from deployer:
 'Program log: create contract requires a new account',   ...  'Program GFfuNq2g55YDtWFZeaQ7Pgrrk4nKNsbNuDVCjPVhVkbQ failed: Failed to serialize or deserialize account data: Unknown'
How can it be solved from Solang?
Or I have to deploy this contract separately from new account, anyway?

A new account is needed to make this work. There is an example here:
https://github.com/hyperledger/solang/blob/main/integration/solana/create_contract.spec.ts


Colliding objects (RigidBody2d) gain energy

Godot version: 3.1.1

OS/device including version: MacBookPro (Retinia 15", Mid 2015),  16gb, AMD Radeon R9 M370X 2048 MB, Intel Iris Pro 1536 MB, OS: MacOS High Sierra 10.13.6

Issue description:
See enclosed screenshot. With "elastic" collisions, the "energy" of the system appears to increase, and eventually, a ball disappears.

 They are given a random initial velocity and linear_damp, angular_damp, and friction are all set to 0.

Everything works fine for a while. The balls all collide with one another and the walls (like particles in an ideal gas). However, the "energy" (basically, the scalar speed) of the entire system slowly increases. After a while, a ball node completely disappears. The node is still in the list, however, and there are no noticeable error messages.
Steps to reproduce:
Just run, and you will see this happen. Once running, click to add balls with random initial velocities. - try it with, say, 10 balls. Then let things progress. You will see the energy increasing, and after about 15 minutes (on my machine), a ball will disappear. After a while, another will disappear, and eventually, you will be left with a single ball, which seems to be fine as it bounces off the walls.
Minimal reproduction project:
gas.zip

The minimal reproduction project doesn't look like it's the same one as your screenshot. Not sure if that's also affected by the issue.

Hmmm. I'm travelling right now - I'll take a look when I get back. Sorry.

I updated a few things - please let me know if I have given enough information. What I am doing is very simple - and perhaps the physics engine was never meant to run continuously like this. Nevertheless, it probably should be fixed to work properly.  I am thrilled it works as well as it does with a minimum of (newbie) code on my part!

Thanks, for getting back to this. Now your project is working great - it looks like this is indeed a striking issue with the physics engine if I may say so.
Reproduced the issue with just 25 balls and after 5 minutes you could already see a huge increase in energy.

Can anyone still reproduce this bug in Godot 3.2.3 rc1 or any later release?

Since the rigidbody simulation is a discrete algorithm, objects will overlap when they collide.

When this happens, the engine will separate them by pushing them apart. When it's only a one-on-one collision, the algorithm used seems to mostly conserve energy.  However, if a ball collides with multiple objects on the same frame, then it doesn't conserve energy. This can easily be seen by this example:
https://user-images.githubusercontent.com/79001820/111871740-78a53900-89d7-11eb-975c-65289ad63b08.mp4
To combat this you can use a smaller physics timestep, which will reduce the number of times multiple objects will collide on the same frame. Continuous collision detection would probably also help, but it's not working (https://github.com/godotengine/godot/issues/9071).
The algorithm could probably be adapted to conserve energy better, but it'd probably come at a performance penalty which might not be worth it.

gas.zip
I converted the MRP to Godot 4.2.2, and changed the physics material settings as described in the note in the bounce variables in the docs:

The body's bounciness. Values range from 0 (no bounce) to 1 (full bounciness).
Note: Even with bounce set to 1.0, some energy will be lost over time due to linear and angular damping. To have a PhysicsBody3D that preserves all its energy over time, set bounce to 1.0, the body's linear damp mode to Replace (if applicable), its linear damp to 0.0, its angular damp mode to Replace (if applicable), and its angular damp to 0.0.

I have setup a script that prints the change in kinetic energy (calculated in the original MRP as 1/2mv^2) every 30s and did a test with 20 balls, there does seem to be a trend up, in both Godot and Jolt physics:
Godot Default Physics:

Starting energy  = 1584148.52638391
Change in kinetic energy = 3839.60679270793
Change in kinetic energy = 1408.02858727984
Change in kinetic energy =<PHONE_NUMBER>00606
Change in kinetic energy = 3948.69090215629
Change in kinetic energy = -393.172947919462
Change in kinetic energy = 6406.53619679948
Change in kinetic energy = 3368.23608563654
Change in kinetic energy = 2250.09267986682
Change in kinetic energy = 1845.8897795279
Change in kinetic energy =<PHONE_NUMBER>79516
Change in kinetic energy = 19.4672882489394
Change in kinetic energy = 11120.9729568968
Change in kinetic energy = 3388.33447203017
Change in kinetic energy = 5630.83549214667
Change in kinetic energy = 1272.95750903897
Change in kinetic energy =<PHONE_NUMBER>3486
Change in kinetic energy = -3256.39556521643
Change in kinetic energy =<PHONE_NUMBER>15316
Change in kinetic energy = 3471.44570447761

Jolt:

Starting energy = 1625428.40727502
Change in kinetic energy = 1350.59771061409
Change in kinetic energy =<PHONE_NUMBER>28776
Change in kinetic energy =<PHONE_NUMBER>71851
Change in kinetic energy = 1026.2785957614
Change in kinetic energy = 2054.90110408538
Change in kinetic energy = 2488.02682291251
Change in kinetic energy = 2800.56676824391
Change in kinetic energy = 2383.66981428652
Change in kinetic energy = 1809.15994167561
Change in kinetic energy =<PHONE_NUMBER>93376
Change in kinetic energy = 5785.58086550469
Change in kinetic energy = 3023.34471320664


Clean up ArcGIS module API and docs

Change List

Change the resolved result of loadArcGISModules from array to object (see updated docs)
Allow empty modules argument to loadArcGISModules
Documentation pass

@damix911

Coverage increased (+0.07%) to 79.512% when pulling 1af5b4d6ec75854cf68e75499fd82d3adbfa9d02 on x/arcgis-doc-pass into a50a8a59bf79c7e239095c30b5a878b4b749ebff on master.


Implement Send/Sync for more types where it's correct

CC @GuillaumeGomez @EPashkin

For such implementations, I'd expect some tests to be sure nothing weird happens.

For such implementations, I'd expect some tests to be sure nothing weird happens.

There's nothing that can be tested here, that's why it's unsafe :)

Hum. :-/

@sdroege Thanks, 👍


Extract host and ports (ansible)

Is the consul address (<IP_ADDRESS>:8500) set as an environment variable?
Would be easier if we could use something like  "{{ lookup('env', 'consul_addr') }}"
Originally posted by @claesgill in https://github.com/fredrikhgrelland/vagrant-hashistack/pull/414#discussion_r507735035

ports need to be dynamically set in code so that autocorrect does not make everything fail when the port is changed


migrate: aws v2 - vpc lattice

Description
Partially fixing https://github.com/gruntwork-io/cloud-nuke/issues/770

TODOs
Read the Gruntwork contribution guidelines.

[ ] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[ ] Include release notes. If this PR is backward incompatible, include a migration guide.
[ ] Attention Grunts - if this PR adds support for a new resource, ensure the nuke_sandbox and nuke_phxdevops jobs in .circleci/config.yml have been updated with appropriate exclusions (either directly in the job or via the .circleci/nuke_config.yml file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

hey @james03160927
can you run
 go generate ./...

this should update the the v2_migration_report/output.md file.

Hi @denis256, addressed your comments. PTAL.


Remove Unused Strings Option

Problem Statement
If a key for a localization "some_unused_string" is no longer used in the codebase, I'd like it to be removed from all .strings files automatically
Suggested Solution
Add a custom command to remove unused string keys.
Example Usage
bartycrouch update -x -r
Will remove unused strings.
Possible Involvement

I could help with testing: I'll test the crap out of this for anyone who wants to take it on.

@thejeff77 Thank you for reporting this idea. I would like to ask you if you want to have a command line option for one-off cleanups or if you would prefer to have a continuous cleanup on each build (via build script). In the latter case I would prefer if the option became part of the configuration file, something like cleanupUnusedKeys.
Also note that for this we will probably also need something like a usageSearchPaths to provide the paths that should be searched for usage. But I think as an option this would make sense. 👍

I could see not wanting to commit it right away in case the usage search paths isn't configured correctly. My guess is that there are some people who'd try this out without proper use of source control. Would be nice to have the ability to get warned about it before committing changes that delete values.
A continual cleanup would be great though once its configured correctly by the user. I love the configuration option. Thoughts on an unusedKeysWarning type of config to add to the linter? Warning could be something like "key is unused, use cleanupUnusedKeys to enable auto-cleanup".
Dunno... honestly I'll take what I can get - just throwing out a couple thoughts on it. I'll definitely have source control all setup to be able to revert any undesired changes for the n=1 study of just me. You could always add the one cleanup key and if you get complaints then iterate on it with adding in a linter option or something.
Third idea... add something to the linter option, then if the user deletes the string from the configured base localization file then bartycrouch would automatically remove the key from the rest of the *.strings files and sync them all up (after verifying it is unused). I.E. autoSyncDeletesOfUnusedKeysFromBase or something...

Thank you for that write-up and the brainstorming. After thinking about this again, I think as a first step we should only work on a unusedKeys option for the linter. I think getting pointed to any keys that are not used anywhere and letting people clean those up manually is the safest option here, so we should probably start with that.
That will also allow us to improve the code that finds those unused keys over time and with feedback from people. Once we feel that there are basically no false positives, we can introduce an autocorrection within the update command using the same code.
Having that said, I think even the initial implementation should detect different kinds of references:

NSLocalizedString("key", comment: nil)
L10n.key (SwiftGen)
R.string.localizable.welcome() (R.swift)
"key".localized(), "key".localized", "key".localize, "key".l10n() (see Localize-Swift, Localize, L10n-swift)

Note that for SwiftGen and R.swift we also need to add support for variable based usage like this:
let typeL10n = L10n.self
// ...
label.text = typeL10n.key

Gotcha, I haven't looked at SwiftGen or R.swift, but it sounds like you know where to go next.
The one thing I'd give another thought on is the manual cleanup. I wouldn't mind cleaning up unused keys from the configured master strings files from warnings, but to me it would be necessary to be able to sync the deletes to the other *.strings files. The thought of doing manual cleanup of unused keys in 23 language files makes me want to throw my head through a plate glass window. Overly dramatic but it would be a long process to manually cleanup all strings files. I'm not sure how it currently works today. If I cleaned up an unused key in 22 of the 23 files and missed one, then built the project with the "update" command, would it sync the string back to the 22 I had deleted the string from?

If you use the normalize update subcommand and have harmonizeWithSource set to true (which is the case by default), then you‘d only need to delete the key from the source locae, the others will be deleted automatically on the next update execution. I hope that helps to save the poor head and also the poor glass. 😊

I think with this added context, all the heads and all the glass will be very safe with this new linting option :)

Revisiting this again after some time, I think this feature is out of scope of this tool. A combination of other tools (SwiftGen + Periphery) can do exactly what you're asking for. See also my comment here. Closing.


Class 'MongoClient' not found

Hello,
I am getting error while using this library

Below is my configurations
PHP - 7.1.20
Mongodb driver version - 1.5.2
Os : Ubuntu - 14.04
Strange thing is same configuration in WINDOWS working fine.
Can anyone please help me to sorted out this issue.

Hi @rushabhsamcom
You need to update your mongo library(https://github.com/mongodb/mongo-php-library). I think, this package was updated for php7

you probably have the file named in the wrong case. linux is case sensitive and windows is not


Not all special characters that are not allowed are listed.

[Enter feedback here]
There are several special characters missing from the Microsoft.Compute section for the virtualMachines Entity.  These are "! # $ % ^ ( ) {  and }".  Now, while the Ibiza portal will tell you there is an error when you are creating the VM, if you are trying to setup an API to deploy VMs, it doesn't warn you during the setup of the API; you only get an indication after the API fails.  Customers would like a comprehensive list of characters not allow for VM names.

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

ID: 374ec8eb-64d4-3766-5c5e-39137a262ffd
Version Independent ID: 3abeeae9-6854-651a-483c-a1673eea9f9f
Content: Resource naming restrictions - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/resource-name-rules.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@Wildshot - thanks for this feedback. I will update the article.

I have added those characters. The update should get published today.
#please-close


sync to minio failed with --dirs

What happened:
root@bench-01:~/juicefs1#  mkdir /jfs/a/
root@bench-01:~/juicefs1# ./juicefs sync --dirs  /jfs/a/  minio://minioadmin:minioadmin@localhost:9000/jfs/ --debug
2023/07/07 09:58:58.713472 juicefs[3854290] <DEBUG>: maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined [maxprocs.go:47]
2023/07/07 09:58:58.713862 juicefs[3854290] <DEBUG>: Creating file storage at endpoint /jfs/a/ [object_storage.go:171]
2023/07/07 09:58:58.713894 juicefs[3854290] <DEBUG>: Ensure directory /jfs/a/ [file.go:339]
2023/07/07 09:58:58.713985 juicefs[3854290] <DEBUG>: Creating minio storage at endpoint http://localhost:9000/jfs/ [object_storage.go:171]
2023/07/07 09:58:58.714199 juicefs[3854290] <INFO>: Syncing from file:///jfs/a/ to minio://localhost:9000/jfs/ [sync.go:1043]
2023/07/07 09:58:58.714220 juicefs[3854290] <DEBUG>: maxResults: 1000, defaultPartSize: 5242880, maxBlock: 10485760 [sync.go:642]
2023/07/07 09:58:58.714235 juicefs[3854290] <DEBUG>: Iterating objects from file:///jfs/a/ with prefix  start "" [sync.go:78]
2023/07/07 09:58:58.714306 juicefs[3854290] <DEBUG>: Listing objects from file:///jfs/a/ marker "" [sync.go:107]
2023/07/07 09:58:58.714407 juicefs[3854290] <DEBUG>: Iterating objects from minio://localhost:9000/jfs/ with prefix  start "" [sync.go:78]
2023/07/07 09:58:58.714431 juicefs[3854290] <DEBUG>: Listing objects from minio://localhost:9000/jfs/ marker "" [sync.go:107]
2023/07/07 09:58:58.716164 juicefs[3854290] <DEBUG>: Found 4 object from minio://localhost:9000/jfs/ in 1.754357ms [sync.go:116]
2023/07/07 09:58:58.716217 juicefs[3854290] <DEBUG>: Continue listing objects from minio://localhost:9000/jfs/ marker "test" [sync.go:145]
2023/07/07 09:58:58.717004 juicefs[3854290] <DEBUG>: Found 0 object from minio://localhost:9000/jfs/ in 798.428µs [sync.go:155]
2023/07/07 09:58:58.718366 juicefs[3854290] <DEBUG>: Try 1 failed: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key. [sync.go:185]
2023/07/07 09:58:58.718400 juicefs[3854290] <DEBUG>: Try 2 failed: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key. [sync.go:185]
2023/07/07 09:58:59.718463 juicefs[3854290] <DEBUG>: Try 3 failed: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key. [sync.go:185]
2023/07/07 09:59:03.719134 juicefs[3854290] <ERROR>: Failed to copy data of  in 5.002819724s: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key. [sync.go:498]
2023/07/07 09:59:03.719192 juicefs[3854290] <ERROR>: Failed to copy object : InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key. [sync.go:586]
2023/07/07 09:59:03.719905 juicefs[3854290] <INFO>: Found: 1, skipped: 0, copied: 0 (0 B), failed: 1 [sync.go:1082]
2023/07/07 09:59:03.719948 juicefs[3854290] <FATAL>: Failed to handle 1 objects [main.go:31]

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region, or self maintained):
Metadata engine info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others:

minio does not support directory, we should not use --dirs


Unable to send large quantity (500M) of SIP10 token

We had a user report that they were unable to send a large quantity (500M) of a SIP10 token called $BITTY.
They wanted to send 500,000,000 but our wallet only allowed him to enter up to 50,000,000.
Do we have an artificial limit in place on our end that prevents this?
Report: https://twitter.com/mindful_service/status/1755349154241392984

@fbwoolf @alter-eggo did we set a max length when working on the animated amount input?

@kyranjamie
const maxLengthDefault = STX_DECIMALS + 2; // + 1 for decimal char
const maxLength = decimals === 0 ? maxLengthDefault : decimals + 2;

Got another inquiry about this yesterday. Would this be a quick fix?


Messages are not treated as player messages

Discord mods search logs for player messages and relays them to discord. But formatted messages from SimpleChat are not treated as player messages, but as plugin output.
https://github.com/hypherionmc/sdlink/issues/29
https://github.com/axieum/minecord/issues/86

bump, doesnt work with https://github.com/1-nkl/Discord4FabricRU. (discord4fabric fork in russian thats updated for 1.20.1, doesnt work with discord4fabric aswell)

Integration with Discord is not planned yet.

Integration with Discord is not planned yet.

You don't need to do integration. discord plugins' devs are doing integrations. You just need to format output to be parsable by other plugins, not only by minecraft.

Integration with Discord is not planned yet.

You don't need to do integration. discord plugins' devs are doing integrations. You just need to format output to be parsable by other plugins, not only by minecraft.

На самом деле я силен в java так, как следовало бы для полноценной разработки мода, я всего лишь добавляю посильные мне функции и пытаюсь поддерживать мод на новых версиях. Возможно в будущем я сделаю чтобы всё работало нормально, но не сейчас :)


docs(1.3.0) grpc

Summary
Add gRPC docs.

We are integrating reference doc generation into the Kong/kong repository — please do not merge this yet

weird .. where's the netlify preview? 🤔 cc @Kong/team-docs

Good question, @hutchic . We had the same issue of a preview not appearing for the migrations guide PR, and I believe @dndx experienced it on a recent PR as well. We'll create a ticket to investigate (and would appreciate any insight if you happen to find out), apologies for the inconvenience.


Refactor parameters for bootstrapping

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CI will fail until the latticpp PR is merged.


blacklisting

i keep getting [war] blacklist: request from ip address '<IP_ADDRESS>' was blocked
blacklist in evilginx2 is set to off.
I have read the github for evilgophish reguarding apache2 and seem to be still having issues. Thanks in advance!

So the evilginx2 blacklist is a totally different blacklist than the Apache2 blacklist, that message appears to be coming from evilginx2?

[image: image.png]
i have not gotten go phish stood up as i am waiting on smtp server . Maybee
be issues is im accessing lure directly?
On Wed, Oct 19, 2022 at 11:59 AM Dylan Evans @.***>
wrote:

Closed #18 https://github.com/fin3ss3g0d/evilgophish/issues/18 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/fin3ss3g0d/evilgophish/issues/18#event-7623692755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFA6AMYZZPDRAYIIJZIF563WEASGLANCNFSM6AAAAAARJI5DWQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


⚠ Bofrost.at has degraded performance

In bbb5279, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Bofrost.at performance has improved in 6294fe8.


fix missing word "to" in kubeadm/kubelet-integration.md

Preview:
https://deploy-preview-15419--kubernetes-io-master-staging.netlify.com/docs/setup/production-environment/tools/kubeadm/kubelet-integration/

/lgtm
/approve


Enforce worker limits in Compression Streams API

This is modeled after the limiting approach recently added in dh.c++ and should avoid CPU utilization issues when compressing a large amount of data at once.
Some things I'm not sure about:

This assumes that querying the limiter is somewhat expensive. Hence, we try to avoid it if the output data fits into the output buffer, so that we don't need to query this every time when compressing small amounts of data/compressing data in small chunks which should already get limited properly. Is there actually such overhead, for example from having to acquire locks?
Is this the right spot for this to apply exception handling correctly?

Testing this in workerd is likely difficult since we do not actually implement the cpu limiting functionality (it's all a non-op in workerd). We'll likely need to add a test to the internal repo separately.

Labeling as "needs-internal-pr" so that we can get a test added internally to verify this

Downstream PR and test have been added.


TypeError: Cannot read property 'match' of undefined

I am getting this error when trying to render on server. Here is the complete traceback.
TypeError: Cannot read property 'match' of undefined
at Object.matchPattern (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/PatternUtils.js:107:23)
at matchRouteDeep (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/matchRoutes.js:60:37)
at /Users/carlitux/Projects/djarana/node_modules/react-router/lib/matchRoutes.js:127:5
at next (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/AsyncUtils.js:20:12)
at Object.loopAsync (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/AsyncUtils.js:26:3)
at Object.matchRoutes [as default] (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/matchRoutes.js:126:15)
at Object.match (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/useRoutes.js:82:33)
at match (/Users/carlitux/Projects/djarana/node_modules/react-router/lib/match.js:38:17)

I found the error!

If anyone else came across this error (as I did), the problem was that I was not using history.createLocation when assigning the req.url location to my server router.

@bradbumbalough yeah. That was my error, too.

Fixed my error, too.
We should update the docs

@oscar-g actually it seems the docs are correct. The API for the match() changed since 1.0.0-rc1 in master. So if you need to use the docs from the 1.0.0-rc1 tag.

You're right, I'm on an earlier react-router version looking at the docs on master!


Property panes will not try to reconnect after server failure

Bug Description
The backchannel socker of a python client (used to receive events from the UI) will not try to reconnect after a temporary server failure. This means that property panes will stop working (the python clients will not receive events from the server). This is in contrast to standard panes (e.g. plotly plots) that will continue after a temporary server failure.
The problem lies in the following line:
https://github.com/facebookresearch/visdom/blob/d7b30821ce87a02c7f98726ebe02e521574c0c5d/py/visdom/__init__.py#L425
Reproduction Steps

Start a visdom server.
Use the python API to open a property pane in the UI.
Shutdown and restart the visdom server.
Manipulating the properties in the property pane will have no effect in the client side (python API).

Expected behavior
The python client should try (at least periodically) to reconnect to the server, thus allow the property pane functionality to recover from server failures. For example, commenting the above line solves the issue.

Hi @amitibo - this is a good catch. That line existed to be able to disable the backchannel socket if the connection was refused on the initial setup/run, however I didn't realize it could be triggered during an intermittent server outage.
The fix would be to only set that flag to false if connection was refused and visdom had never successfully acquired a back channel socket. I'd be happy to accept a PR with this fix! (Otherwise I'll tackle it next chance I have to go through the backlog)

Some corporate or otherwise private/secure networks have socket related ports closed in a way that it can be difficult to configure them properly, but visdom can still work as a simple visualizer in those circumstances as the back channel is only required when users want scripts that can interact with the frontend directly (like properties panes)

Closing as you fixed this in #499. Thanks for the fix!


TIM-271 Fix Image Alignment on Dining

#43  👈
main

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

Join @tamrivera05 and the rest of your teammates on  Graphite


Fix Worker doc: Cryptography support

Fix the list of supported cryptography algorithms by RSTUF Worker

Codecov Report
Patch and project coverage have no change.

Comparison is base (5ac572a) 98.00% compared to head (3f3eee9) 98.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #249   +/-   ##
=======================================
  Coverage   98.00%   98.00%
=======================================
  Files          12       12
  Lines         551      551
=======================================
  Hits          540      540
  Misses         11       11

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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Missing field in doc of LanguageEdge (GraphQL API)

What article on docs.github.com is affected?

The GraphQL API documentation, specifically the page on objects:
https://docs.github.com/en/graphql/reference/objects
What part(s) of the article would you like to see updated?

Two errors:

LanguageEdge is missing the node field.
LanguageConnection indicates that the totalSize field is the total size of "that language" when
it is actually the total size of all languages in the connection.

Additional information

@cicirello Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Hi @cicirello, thanks for noticing this! Our GraphQL reference docs are generated from the schema and can't be addressed in this repo. Can you please report this to support at https://support.github.com instead? Thanks!


Clarification of NotActions and multiple roles

I'd like to see the not cleaned up in the NotActions section to be a little more clear about what happens when multiple roles are assigned.
The way that I read this is if one roles has NotActions but a second role has Actions that the Actions allowed on the second role would override the NotActions specified on the first role. This appears to be the case only if the Actions are specified in the second role, not wildcarded.
For an example, take Contributor and Owner. They both have <"actions": ["*"],> but the Contributor role has specific NotActions defined. Those specified NotActions appear to override the wildcard allowed actions on the Owner role.
I've simply changed language here to say that a second role that grants explicit access to the same operations (not wildcarded) will allow the user to perform that operation.

@pamcdo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @pamcdo
I plan to close this pull request. Let me know if you have any additional feedback.
thanks

Hi @pamcdo
Please re-open this pull request if you have additional feedback.
thanks

#please-close


Update INSTALLING.md to include copy of .env.example

Small change for problem I noticed while installed.

@JoshSmith @begedin Can we update USAGE.md to include the command to run the tests? Do you need to use docker exec?
When I try mix test test/models/user_test.exs, I get:
** (Postgrex.Error) FATAL (invalid_authorization_specification): role "postgres" does not exist
    (db_connection) lib/db_connection/connection.ex:148: DBConnection.Connection.connect/2
    (connection) lib/connection.ex:623: Connection.enter_connect/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

@monkseal we can do that! Test running is docker-compose run test mix test.


[amplify-codecommit]Unable to clone repo...

Before opening, please confirm:

[X] I have checked the custom domains troubleshooting guide.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1artn2t6nzgkz
Region
us-east-1
Step
Amplify Build: Cloning Repo
Status
Failed
Issue or question
So I used a CFN template to provision an empty Amplify app, then I try to add an env by using a codeCommit repo. The service role is provided with the right permissions. Why is my amplify app not being able to clone my codeCommit repo?
Error message
Fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/  The requested URL returned error: 403
Additional information
No response

@sebastian-bustillo looks like the app was deleted. Do you mind setting up a new repro app and share the id? If you can also share the CFN template you used it would be helpful. Feel free to share here or if you prefer you can email it to<EMAIL_ADDRESS>

I was getting this issue for a while last week.  I believe making a dummy "master" branch in gitlab fixed it for me.

@sebastian-bustillo The usual cause for this is that the role associated with your app doesn't have the necessary codecommit:GitPull permissions.  These permissions are not included in the AdministratorAccess-Amplify managed policy  and must be added.  If this is still happening, please reopen and provide a current appid and what permissions or managed-policies you have associated with the role.


Cleaned up temp_dir function in test/simulate

Cleaned up test code from https://github.com/spotify/luigi/pull/1245

Why haven't Travis run for this PR? Weird ... @Yoone, maybe you need to close and reopen a new PR or something.

The tests started when the PR was referenced. Weird indeed! I closed it anyway.


Clean up triage action labels

We currently have some weird duplication across labeling, for instance unreleased vs awaiting-insiders-release, and probably some other weirdness too. These should be cleaned up.

https://github.com/microsoft/vscode-github-triage-actions/commit/a6e5767b8f05bd628d0bb593afff87bbc972b3ca


Update mongo image in airgap_input.txt

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


Bug: Transactions list not updating

Steps:

Make a transaction
Go back to the home screen
Refresh list by pulling down

Expected:

List of transactions contains last transaction

Actual:

It doesn't contain the last transaction

Regression:
Even after 20 minutes, tx doesn't show. So it's not about time.
This screen after I sent 200 SEEEDS to Steph


SSH keyboard interactive auth

Hello.
I've installed TFS 2018 Update 3 + build agent version 2.141.
There i created a build defenition with build step that tries to execute remote SSH command. During step execution i get the following error: "All configured authentication methods failed."
Reason was that the server uses only keyboard interactive auth. But default build step settings don't have any switch for that case.
I found a solution by editing build step source files. In ssh2helpers.js i changed function setupSshClientConnection like this:
function setupSshClientConnection(sshConfig) { var defer = Q.defer(); var client = new Ssh2Client(); client.on('ready', () => { defer.resolve(client); }).on('keyboard-interactive', function (name, instructions, instructionsLang, prompts, finish) { console.log('Connection :: keyboard-interactive'); finish([sshConfig.password]); }).on('error', (err) => { defer.reject(err); }).connect(sshConfig); return defer.promise; }
and in file ssh.js on initializing sshConfig i added parameter:
tryKeyboard: true
After that all worked like a charm. I'm asking you to add this feature to default build step, and all other steps that using Ssh2Client.

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


Error when from_email is not provided

Hi,
I have following codes:
EmailMessage(self.request, {
    'title': 'test',
}, 'email/message.html').send(
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>)

But I am getting errors:
Traceback:

File "/home/test/env/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/home/test/env/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/home/test/env/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/test/env/lib/python3.5/site-packages/django/views/decorators/csrf.py" in wrapped_view
  58.         return view_func(*args, **kwargs)

File "/home/test/env/lib/python3.5/site-packages/rest_framework/viewsets.py" in view
  95.             return self.dispatch(request, *args, **kwargs)

File "/home/test/env/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  494.             response = self.handle_exception(exc)

File "/home/test/env/lib/python3.5/site-packages/rest_framework/views.py" in handle_exception
  454.             self.raise_uncaught_exception(exc)

File "/home/test/env/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  491.             response = handler(request, *args, **kwargs)

File "/home/test/env/lib/python3.5/site-packages/templated_mail/mail.py" in send
  76.         super(BaseEmailMessage, self).send(*args, **kwargs)

File "/home/test/env/lib/python3.5/site-packages/django/core/mail/message.py" in send
  348.         return self.get_connection(fail_silently).send_messages([self])

File "/home/test/env/lib/python3.5/site-packages/django/core/mail/backends/smtp.py" in send_messages
  111.                 sent = self._send(message)

File "/home/test/env/lib/python3.5/site-packages/django/core/mail/backends/smtp.py" in _send
  123.         from_email = sanitize_address(email_message.from_email, encoding)

File "/home/test/env/lib/python3.5/site-packages/django/core/mail/message.py" in sanitize_address
  161.         address = Address(nm, addr_spec=addr)

File "/usr/lib/python3.5/email/headerregistry.py" in __init__
  42.             a_s, rest = parser.get_addr_spec(addr_spec)

File "/usr/lib/python3.5/email/_header_value_parser.py" in get_addr_spec
  1988.     token, value = get_local_part(value)

File "/usr/lib/python3.5/email/_header_value_parser.py" in get_local_part
  1800.     if value[0] in CFWS_LEADER:

Exception Type: IndexError at /api/test/
Exception Value: string index out of range

It was from my production environment, my SMTP service provider is Mailgun.
I couldn't get the same error from my local environment which is console email backend.
Looks like source code Line 74 added empty string to from_email when it is not provided.
I will make more tests to see if I can catch something.
Thanks.

Hi, I;ve added this functionality. From source of django.core.mail:

If from_email is None, use the DEFAULT_FROM_EMAIL setting.

I will add a fix for this issue
https://docs.djangoproject.com/en/2.0/_modules/django/core/mail/

Hi @billzhong
Thank you for reporting the problem. It should be resolved with the 1.1.1 release.

Thank you!


Tutorial video shows invalid code (lightbulb no longer has brightness)

Describe the bug
Users following the tutorial video are instructed to create non-compiling code.
This will block users within the target audience.
To Reproduce

In browser, load https://github.com/microsoft/devicescript
Scroll down to embedded video.
Follow along in VSCode with video until ~1m56s, where video instructs to run the program under the debugger.

Expected behavior
Example / tutorial code is correct -- it must compile and execute.
The importance of having correct sample code cannot be overstated.
Additional context
As this is a video, it is not possible to provide a simple PR.
Problematic code:
import * as ds from "@devicescript/core"

const lightbulb = new ds.LightBulb();
setInterval(async() => {
    const brightness = await lightbulb.brightness.read();
    await lightbulb.brightness.write(brightness > 0 ? 0 : 1);
}, 1000)

Likely correct code:
import * as ds from "@devicescript/core"

const lightbulb = new ds.LightBulb();
setInterval(async() => {
    // intensity is defined as a number between 0 and 0xFFFF
    const intensity = await lightbulb.intensity.read();
    console.log("intensity: ", intensity);
    if (intensity > 0) {
        await lightbulb.off();
    } else {
        await lightbulb.on();
    }
}, 1000)

Thank, video removed until we have the cycles to record it again

Ok.   Will be leaving issue open, as video removal does not appear to have been pushed yet.

Video still appears to show incorrect, non-compiling code, and remains in the readme.


Fixed some issues regarding CSV.

Fixed the issue where CSV was still being called even when CSV translation was not enabled.
Fixed the issue where translateToEnByCSV and translateToEnByCSV function were not await getCSV, resulting in tag.value being assigned a Promise object, indirectly affecting renderTag and causing the error widget to disappear.

Fixed the issue where tagCompleteFile was not passed when calling translateByCSV in translate and translateMulti.


add ReAddToken() function and unify name, Update go mod

Please provide Issues links to:

Issues: #

Provide test code:

Description
...

Codecov Report

Merging #123 (f08adb2) into master (0a47a6f) will decrease coverage by 0.12%.
The diff coverage is 87.69%.

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   92.50%   92.37%   -0.13%
==========================================
  Files          10       10
  Lines        1000     1010      +10
==========================================
+ Hits          925      933       +8
- Misses         50       51       +1
- Partials       25       26       +1

Impacted Files
Coverage Δ

dag.go
92.03% <82.75%> (ø)

dict_util.go
91.34% <88.88%> (-0.58%)
:arrow_down:

dict_1.16.go
91.30% <100.00%> (ø)

dictionary.go
90.16% <100.00%> (ø)

segmenter.go
92.30% <100.00%> (ø)

token.go
93.10% <100.00%> (ø)

Continue to review full report at Codecov.

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


[FEATURE REQUEST] Add method *Server.Shutdown

Then we can shutdown it gracefully
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM, syscall.SIGQUIT)

select {
case <-sigs:
	timeoutCtx, cancel := context.WithTimeout(context.Background(), 16 * time.Second)
	defer cancel()
	// do some thing
	server.Shutdown(timeoutCtx)
}

Yes, I need this shutdown function too.

This actually would be very handy.
Love the approach and would like to see it beeing implemented.

You do not need a shutdown function to close the server. You can use the following code to achieve graceful shutdown.
// Create your own listener
l, err := net.Listen("tcp", ":7777")
if err != nil {
  // handle err
}

// Start a goroutine to listen to a context and close your listener when context is done
go func() {
  select {
  case <-ctx.Done():
    l.Close()
  }
}()

if err := server.Serve(l); err != nil {
  // handle err
}

The shutdown method's context is created & passed when calling it, not before serve it
Shutdown method should detect if there are active connection, if not, it should close immediately, else it will wait until the context is done


[Bug] Nested inclusions broken

Describe the Bug
Page A is a main page.
Page B is a secondary page.
Page B has inclusion tags to include Page C
Including Page B into Page A, with the nested inclusion of Page C results in the Page C inclusion not being rendered.
Steps to Reproduce

Create a Page (C) with content
Create a Page (B) with some content and the inclusion of Page C
Create a page including Page B

Expected Behaviour
The inclusion tags should be recessively rendered down to the last inclusion
Screenshots or Additional Context
This shows the broken inclusion on a page in our Bookstack

Browser Details
Chrome on MacOS Monterey
Exact BookStack Version
21.12.5
PHP Version
No response
Hosting Environment
Linux Server Docker Image

Nested page inclusions are not currently a supported feature. There's already a request for this open within #2845 so I'll therefore close this off.


Issue with k8s.io/zh/docs/concepts/cluster-administration/cluster-administration-overview/

This is a Bug Report

Problem:
Borken link in 如果你正在设计一个高可用集群，请了解在多个 zones 中配置集群。
It just lead me to a 404 page.
Proposed Solution:
Update the link.
Page to Update:
As shown in the title,
https://k8s.io/zh/docs/concepts/cluster-administration/cluster-administration-overview/

\language zh

This page is out of date, let me update it.
/assign

/meow
is ci robot still work?

/language zh

/close


Fix and simplify Status payloads

Commit Message: Fix and simplify Status payloads
Additional Description: Previous implementation stored a pointer-sized chunk of data, and read an object-sized chunk of data back from it, as well as using bare pointers and custom-destructor complexity. This change makes it just put the data straight into an absl::Cord.
Risk Level: Reduced.
Testing: Passes existing tests. I wasn't able to make a test that failed the old way because in both gcc and clang the sizes are "same enough" that it works, and status.ToString() didn't trigger asan in clang. In gcc, status.ToString() did trigger asan (because a pointer was larger than the struct size) but we don't have a gcc asan test.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

hm, that's a lot of asan failures.  mind taking a look?
/wait-any

/retest


New form API validation lead to not responding mode

Hi
I am using "@angular/forms": "0.2.0" , I have added email validation in my form and set max length as 50. If I type more than 20 characters it leads to application hang mode. You can check this issue in below plunkr [(http://plnkr.co/edit/3F8gHaDFo8bDLeDMKJZV?p=preview)]
Can anyone help me in this issue

This is the wrong site to ask. You should use stackoverflow with the angular2 tag.

I know to use stack overflow. but looks like this bug in angular 2.

If you think it is a bug, report it at angular/angular, this is the repo for docs.

Apologies. Let me report in that repo


RFE: Add support for custom metrics

We want to enable support for exposing prometheus metrics from the hub. We will want to explore what metrics are useful to report back, but at a minimum let's start with:

Number of Applications in Inventory
Number of Analysis Run (in aggregate, track the full lifetime of how many analysis Konveyor initiated)
Number of Assessments Run
Number of Issues generated.

Done.


The spike simulation gets stuck in an endless loop

I'm also experiencing the same issue. Could this be related to this issue: https://github.com/riscv-software-src/riscv-isa-sim/issues/555

I'm also experiencing the same issue. Could this be related to this issue: riscv-software-src/riscv-isa-sim#555?

How to solve this problem? https://github.com/chipsalliance/riscv-dv/commit/0c640e3a9eb37a9d28b7f21104d0024b7148d7cf


The TwitterKitResources.bundle's size is 1.4 MB

This is unacceptably large and should be reduced. For example, we don't use the vine icon at all.

Is twtr-heart-animation-sheet even used at anything for login? Their total size is 1.2 MB.

I "fixed" it with:
post_install do |installer|
    pods_directory_name = 'Pods'
    twitter_kit_pod_name = 'TwitterKit'
    twitter_kit_resources_bundle_file_name = 'TwitterKitResources.bundle'
    twitter_heart_animation_name = 'twtr-heart-animation-sheet'
    transparent_pixel_image_encoded_data = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII='
    transparent_pixel_image_decoded_data = Base64.decode64(transparent_pixel_image_encoded_data)

    pods_project = installer.pods_project
    pods_project_group = pods_project.groups.find { |group| group.name == pods_directory_name }
    twitter_kit_project_group = pods_project_group.groups.find { |group| group.name == twitter_kit_pod_name }
    twitter_kit_resources_project_group = twitter_kit_project_group.groups.find { |group| group.name == 'Resources' }
    twitter_kit_resources_bundle_file = twitter_kit_resources_project_group.files.find { |file| file.name == twitter_kit_resources_bundle_file_name }
    twitter_kit_resources_bundle_file_path = twitter_kit_resources_bundle_file.path
    twitter_kit_resources_bundle_file_full_path = "#{pods_directory_name}/#{twitter_kit_pod_name}/#{twitter_kit_resources_bundle_file_path}/"

    Dir.glob(twitter_kit_resources_bundle_file_full_path + twitter_heart_animation_name + '*').each do |file_path|
        File.open(file_path, 'wb') do |file|
            file.write(transparent_pixel_image_decoded_data)
        end
    end
end

It's used for like animation, and unfortunately, we don't plan to take out.
If you are only using log-in functionality, your solution works.

But my solution is a hacky workaround. I can't believe this is a Twitter library and this was closed without a proper solution.


⚠ HopeAlley Ecards has degraded performance

In 0a2c167, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 6020 ms

Resolved: HopeAlley Ecards performance has improved in 957217a after 6 minutes.


importing tensorflow

ImportError                               Traceback (most recent call last)
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py in
63   try:
---> 64     from tensorflow.python._pywrap_tensorflow_internal import *
65   # This try catch logic is because there is no bazel equivalent for py_extension.
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in
----> 1 import tensorflow as tf
~\AppData\Roaming\Python\Python37\site-packages\tensorflow_init_.py in
39 import sys as _sys
40
---> 41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
43
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python_init_.py in
38 # pylint: disable=wildcard-import,g-bad-import-order,g-import-not-at-top
39
---> 40 from tensorflow.python.eager import context
41
42 # pylint: enable=wildcard-import
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\context.py in
33 from tensorflow.core.protobuf import config_pb2
34 from tensorflow.core.protobuf import rewriter_config_pb2
---> 35 from tensorflow.python import pywrap_tfe
36 from tensorflow.python import tf2
37 from tensorflow.python.client import pywrap_tf_session
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tfe.py in
26
27 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
---> 28 from tensorflow.python import pywrap_tensorflow
29 from tensorflow.python._pywrap_tfe import *
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py in
81 for some common reasons and solutions.  Include the entire stack trace
82 above this error message when asking for help.""" % traceback.format_exc()
---> 83   raise ImportError(msg)
84
85 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\Customer\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.

@bimbolamide
You might be facing this issue because of the following reasons
You are running 32-bit Python or 32-bit OS
You have not installed the Microsoft Visual C++ Redistributable package
Your CPU does not support AVX instructions.
Please take a look at the system requirements and check if you have the correct dependencies installed.
Also, check these similar duplicate issues: #36167 #36138 #42367 and let us know if you are still facing the same error. Thanks!

Thanks Tensorflow/Tensorflow,
I have been able to rectify it using the tips sent.
The specific Microsoft Visual C++ Redistributable needed for installation
seems to absent.
Thank you for your time.
Best,
Bimbolamide
On Mon, Nov 23, 2020 at 9:57 AM Saduf2019<EMAIL_ADDRESS>wrote:

@bimbolamide https://github.com/bimbolamide
You might be facing this issue because of the following reasons
You are running 32-bit Python or 32-bit OS
You have not installed the Microsoft Visual C++ Redistributable
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
package
Your CPU does not support AVX instructions.
Please take a look at the system requirements
https://www.tensorflow.org/install/pip#system-requirements and check if
you have the correct dependencies installed.
Also, check these similar duplicate issues: #36167
https://github.com/tensorflow/tensorflow/issues/36167 #36138
https://github.com/tensorflow/tensorflow/issues/36138 #42367
https://github.com/tensorflow/tensorflow/issues/42367 and let us know
if you are still facing the same error. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/45064#issuecomment-732021695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE44U6ONMZGK3OFUPWMRDTSRIPX7ANCNFSM4T53OEIQ
.

Closing as resolved (via comments from duplicate)


unify settings and their documentation

We now have several settings attributes (some of them are named confusingly or have an unexpected default).
I'm currently working on a solution to unify the naming and a better documentation in the readme.
Please feel free to make your suggestions.

available settings:
REVERSE_HIJACK_LOGIN_REDIRECT_URL  # default LOGIN_REDIRECT_URL
HIJACK_LOGIN_REDIRECT_URL  # default LOGIN_REDIRECT_URL

SHOW_HIJACKUSER_IN_ADMIN  # default = True
HIJACK_NOTIFY_ADMIN   # default = True
HIJACK_NOTIFY_USER  # default = True
ALLOW_STAFF_TO_HIJACK_STAFF_USER
ALLOW_STAFF_TO_HIJACKUSER
ALLOWED_HIJACKING_USER_ATTRIBUTES

As discussed in #55 , a new setting that would be useful to me:
a dotted path to a callback that would determine if a user can hijack another : that would allow more complex schemes than just superuser/staff (for instance, check if hijacker has a permission, check if the user to hijack respects some conditions)
I have in mind something similar to SHOW_TOOLBAR_CALLBACK in https://django-debug-toolbar.readthedocs.org/en/1.3/configuration.html#toolbar-options : if you provide it, it is your responsibility to call the default implementation if need be.


Apply CB Design System changes

The Stacks foundation wants to make sure that grant's products follow the same design language. To accomplish this, a design system was born and is being developed. We should apply it to the project.
Figma reference: https://www.figma.com/file/U9gWHsY6f3pOBt5zyB6vip/Stacks---Grants?type=design&node-id=2787-1121&mode=design&t=kIMrin0uZ4xaVDeY-0

Solved by https://github.com/vicnicius/stacks-nakamoto-block-simulator/commit/331c442531798dae9ffea4715d3c911020b00b46 and https://github.com/vicnicius/stacks-nakamoto-block-simulator/commit/2e301ef5aba8fb56f0f6cf29cdf08a2645865e3d


update with snakemake

Coverage decreased (-19.6%) to 59.322% when pulling 223ae94f5e528bddee12498e83585e53c1f37fa0 on RNAer:snakemake into c1b688b4ba46d73285abb87cc07e365c90f98043 on biocore:master.

Coverage increased (+1.01%) to 79.915% when pulling cd7a3d64aa2e36758177ce89ed7be5391f5693da on RNAer:snakemake into c1b688b4ba46d73285abb87cc07e365c90f98043 on biocore:master.

Thanks, @tkosciol . The tests are fixed.