Icon request: Icedrive

URL of the site or app (required): https://icedrive.net
Logo resources for the icon (optional, but recommended):

Here you go!
For Aegis v2.0 and above (recommended):
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Icedrive.svg
For Aegis v1.4.2 and below:
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Icedrive.png
❓ How to add icon(s) to Aegis?

Thank you!


Remove automount and projected volume tests

We have determined that the existing pod-service-account test covers the scenario quite well where we only enforce that the user must have a non-default service account specified.
We will have to remove the QE tests and the references to the best practice document as well.

@edcdavid should we close this PR in favor of #1385?

After some discussion about the relevance of these tests and some reading of the documentation, it seems that we probably do not need to keep the projected volume test.  See the following raw YAML:

If you are are attempting to create a pod with a service account similar to the above, in k8s 1.22+ the service account tokens are automatically added as a projected volume mount in pods:

It ends up looking like:

Closing in favor of: https://github.com/test-network-function/cnf-certification-test/pull/1428


Add: reverse linked list solution

Required Changes not done

@Mridul-1-Sharma please remove the spam label i will change make new pull request

@OrionJoshi I am reopening the pull request. If you want me to remove the label then please do the changes.


Add transactions topic

Close https://github.com/iotaledger/iota-core/issues/587

After a discussion with @alexsporn, we decided to remove the transactions topics, since there is no usecase.
More important is the transactions-metadata topic you added. I did some small fixes there.


Emphasis and strong not working together

When using a markdown string containing both emphasis and strong effect, only the strong effect is used and the emphasis characters are left like normal characters.
Example:
"This text should be both ***bold and italic***"

When rendering it with the AstRenderer, I would expect something like:
[
    {
        "type": "paragraph",
        "children": [
            {
                "type": "text",
                "text": "This text should be both "
            },
            {
                "type": "emphasis",
                "children": [
                    {
                        "type": "strong",
                        "children": [
                            {
                                "type": "text",
                                "text": "bold and italic"
                            }
                        ]
                    }
                ]
            }
        ]
    }
]

But instead I get this:
[
    {
        "type": "paragraph",
        "children": [
            {
                "type": "text",
                "text": "This text should be both *"
            },
            {
                "type": "strong",
                "children": [
                    {
                        "type": "text",
                        "text": "bold and italic"
                    }
                ]
            },
            {
                "type": "text",
                "text": "*"
            }
        ]
    }
]

Using both bold and italic is a pretty common use case with markdown (and as we can see here, the github markdown parser accept it), I'm surprised nobody else raised this error before.
I didn't test if the version 3.0 have it fixed, I'm only using the latest released version 2.0.5

version 3.0's result:
>>> import mistune
>>> text = "This text should be both ***bold and italic***"
>>> mistune.html(text)
'
This text should be both bold and italic
\n'


Safe-navigation operator fails when operand is a property

Here is a mock-up that should illustrate what I mean:
Polynomial: class {
	m_derivative: Polynomial
	derivative ::= this m_derivative
	init: func
}

somePolynomial := Polynomial new()
thirdDerivative: Polynomial

// error: 'source_Main__Polynomial' has no member named 'derivative'
thirdDerivative = somePolynomial $ derivative $ derivative $ derivative

// This works as expected
thirdDerivative = somePolynomial $ m_derivative $ m_derivative $ m_derivative

What appears to be happening is that only the outermost property access is translated to a call.
Probably a VariableAccess bug, SafeNavigation seems to be completely fine to me (all it does is make a huge ternary with accesses and checks to NULL).
On it.


TextBox: Wrong initial cursor position in the demo, if entered with Tab

The test app is fine.
All three boxes with initial text have the cursor some 3-4 steps over the end... :-o
The empty one (crop %) is fine. Even if changing its value to non-empty via the slider before first tabbing into it.
Clicking into them is fine.
Any (non-ignored) action (like End, or navig. to the left) resets it to the correct pos.
Entering again with Tab, after having been reset, is also fine.
The ctor calls update_view(), which supposedly calculates the correct cur. pos.
So does set(txt).
So, WTF?! :-o

The MinGW build is wrong, too (so at least it's less likely to be some obscure random init/overwrite bug).
Explicitly calling Home in set does the right thing.
OTOH, calling End there doesn't fix the problem!
Changing the theme (or just the font size) from the GUI doesn't fix it either! :-o
Triggering set(...) from another widget (i.e. after the GUI is up) is fine!

So... given that an explicit End keypress by the user does fix it, maybe it's about before/after starting the GUI (event loop) -- but shouldn't a theme change fix it then?!... (Even #301 could be related?... Esp. that I've been massively refactoring the event stuff.)

Damn... Moved these two lines from onThemeChanged to update_view, and then now calling upadte_viewfrom the end ofonThemeChanged` fixed it -- but I have not analysed it properly, and don't understand why... I kinda just did it from a gut feeling... (I should really understand it though, because if this really was a regression, then we're not done yet, and it will come back to haunt me...)
m_text.setPosition({m_text.getPosition().x, framing_offset});
m_cursorRect.setPosition({m_cursorRect.getPosition().x, framing_offset});


How can I change dtype of TFLITE model Weights ?

System information

OS Platform and Distribution (Windows 10):
TensorFlow installed from binary
TensorFlow version 2.4.1

I have a TFLITE model which was made from KERAS Functional API. Unfortunately I have deleted the all files related to that model like weights.h5 and model structure file. Now All I have is my TFLITE model. Its weights are in float 32 but I have to run it on mobile. So I need to convert weights to int8 (Quantization mode) or float16. Is there anyway So I can cast my TFLITE model weights ?
Model.zip
I have Attached the Model below

I am afraid there is no way to do this without original model since all model optimization techniques (integer-only quantization, float16 quantization) are declared before converting SavedModel/Keras model into tflite format.


SweetAlert2 for MeteorJS

Hi:
Can you port this into a Meteor Package?
Like the original SweetAlert:
https://atmospherejs.com/kevohagan/sweetalert
https://github.com/kevohagan/meteor-sweetalert/
Thanks in advance!

I'm not familiar to Meteor. Contributions are welcome!

https://github.com/patrickml/swal/

Meteor 1.3 now have direct support for npm packages

I work fine for me
npm install --save sweetalert2

// Import
import swal from 'sweetalert2';
import 'sweetalert2/dist/sweetalert2.min.css';


pip distribution version still have  builder input_tensor error.

pip distribution version still have senet builder input_tensor error,need to be updated

Updated to v0.2.1


Increase efficiency

Some larger puzzles stall on each iteration. Consider improvements to efficiency, including compiling at -O3 and caching line possibilities (high memory?). Also consider checking if a line is solved and passing over it without trying new lines.

As of 21fae7c about half of these have been implemented. Passing over lines when nothing can be done and compilation at -O3 are done. Caching lines is not yet implemented and may not be. I'll look into it at some point and see if it is viable.


The pre-forking server requires KillMode=control-group

Summary
Fix one of the systemd configs in lib/Mojolicious/Guides/Cookbook.pod so that the preforking server can be stopped via systemd after it has been started.
Motivation
If KillMode=process then systemd believes that the app has been stopped, despite the fact that the processes happily continue on.
References
https://stackoverflow.com/questions/48242004/why-cant-i-stop-my-mojo-app-using-systemd
It might be worth checking if the systemd config for hypnotoad also suffers from the same issue.
Tested on Ubuntu 16.04.3 LTS
$ systemd --version
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN

Any news here, or did this issue go stale?

I was never able to get KillMode=process to work.  I can provide more information if I can get some guidance on how to go about that or we can close this if you don't find it useful.

@oalders I'd really like to know why you're seeing behaviour that should theoretically be impossible (as pointed out before). But i have no idea how to find out, so it might not make sense to keep this issue open.

Looks like everybody just uses the systemd default for prefork, no idea why we had a KillMode setting in the example at all.


Revert "[Android] Use ConstraintLayout for Image sizing (#4461)"

This reverts commit 805c51e0d28fc2ca8ff49ae311e0f9e85bea6f7d.
Up to this point the media element still doesn't work, going back I was able to revert the break by going to commit 120219157cc913cfde7a7cf35ff87e9405c30020 for ImageRenderer
Update: The media element and horizontal alignment now work, we're missing testing
Related Issue
Please use one of the well-known github fixes keywords to reference
the issues fixed with this PR (eg Fixes #). If an issue doesn't yet exist please create one if reasonable to aid
in issue tracking.
NOTE: For multiple issues resolved by this PR use the corresponding keywords every time in a comma-delimited list per the reference
page above.
Description
Create a descriptive title and provide all of the relevant details in the description.
This information lives with the code and will help future readers (including yourself) and will serve as documentation.
At the very least please describe the issue you are addressing, and what your fix entails.
How Verified
How you verified the fix, including one or all of the following:

New unit tests that were added if any. If none were added please add a quick line explaining why not.
Existing relevant unit/regression tests that you ran
Manual scenario verification if any; Do include .gif's or screenshots of the testing you performed here if you think that it
will aid in code reviews or corresponding fixes on other platforms for eg.

Microsoft Reviewers: Open in CodeFlow

Thanks for this.
Reverting #4461 seems to fix the media issue when I test it (the one about casting from constraint params). What further issue did you see / what was the fix?

the other issue was horizontal alignment that is now fixed, but we're missing some testing

@golddove this gets CP'd into release/20.07 && release/1.2 as well yeah?

Thanks for this.
Reverting #4461 seems to fix the media issue when I test it (the one about casting from constraint params). What further issue did you see / what was the fix?

the other issue was horizontal alignment that is now fixed, but we're missing some testing

What is the testing here and can we include the test cards in if they aren't already part of the initial fixes?

This needs to be CP'd over to release/1.2 and release/20.07 @almedina-ms thanks


Pass variable from Invoke-SSHStreamShellCommand to the Shell-Script

Context: Want pass a list of variables from the PowerShell script to the shell script.
function remoteConnectEngine($secUsername, $VmPassword, $remoteMachine) {
     $password = ConvertTo-SecureString $VmPassword -AsPlainText -Force;
     $pscredential = New-Object -TypeName System.Management.Automation.PSCredential("$secUsername", $password);
     $triggerJMeterTest = "bash ./startJMeterTest.sh";
     $currentSessionID = New-SSHSession -ComputerName $rm -Credential $pscredential;
          $SSHStream = New-SSHShellStream -Index $currentSessionID.SessionId;
          Invoke-SSHStreamShellCommand -ShellStream $SSHStream -Command $triggerJMeterTest; <parameter_list>
 }

 remoteConnectEngine

and the shell script is,
echo "Performance Test is going to trigger in the master machine !!!";
    cd /
    cd /datadisk01/PerformanceTool/apache-jmeter-5.3/bin/ || exit
    sleep 4
     dir_Check=$(pwd)
        if [[ $dir_Check/ = /datadisk01/PerformanceTool/apache-jmeter-5.3/bin/* ]]; then
            echo "Second validation is checked, you are inside the JMeter bin folder !!!, triggering performance test"
                source jmeter -n -t "/datadisk01/PerfAutomation/LoadTest/EventSubscription.jmx" <parameter_list>
        else
            echo "Something worng with changing the directory !!!"
        fi

Want pass few parameter from the powershell to schell script. Is there any way ?

$triggerJMeterTest = "bash ./startJMeterTest.sh $SomeParameters"; ?

Yeah, but it should be pass from the Powershell script which is calling it

so what prevents setting the parameter ($SomeParameters) with a script?
function remoteConnectEngine($secUsername, $VmPassword, $remoteMachine, $SomeParameters)

or some other way


Add a search filter to the state options dropdown

When a state has many options, it's hard to find the right one in the dropdown. We need to add a search filter.

@dwido please assign to me


Notepad++ changed?

I copied the userDefinedLang.xml to the Program Files (x86)/Notepad++ folder and I don't see any syntax highlighting for my .md file. Am I missing something?
Thank you.

Did you import the language into Notepad++?
Language Tab > Define your Language... >
Then click import and choose the file you have saved.

There doesn't seem to be a markdown language.

On Feb 10, 2016, at 6:54 AM, Beardy<EMAIL_ADDRESS>wrote:
Did you import the language into Notepad++?
Language Tab > Define your Language... >
Then click import and choose the file you have saved.
—
Reply to this email directly or view it on GitHub.

I updated the "How to Use" section. Please try again. I think the import feature in NPP works like a charm now!


Feature | Adding Light Functionality and Hue Client Class

Switched the hue class to use the HueClient class, so all api interactions can live in the HueClient
Added functionality for:

✅  turn off all lights
✅  turn on all lights
✅  ability to "blink" lights
Let me know what you think!

@bradgarropy bump

@bradgarropy bump

Working on this live on stream!

Working on this live on stream!

Thanks for the pull request @willparr! I'd like to break it down into two parts.
HueClient
Because the surface area of the API is very small, I don't see a need to split out the HueClient. I feel like the updateLight method is very important, and should be exposed right alongside the convenience methods like setColor.
Also, it would be a breaking change, as it modifies the Hue constructor. I'd like to avoid that so early on to help increase adoption.
New Methods
Love the new methods!

turnOnAllLights
turnOffAllLights
blinkLight

That being said, would you be willing to update this PR to only include the new methods? Then we can further discuss splitting off the HueClient in an issue.

Thanks for the pull request @willparr! I'd like to break it down into two parts.
HueClient
Because the surface area of the API is very small, I don't see a need to split out the HueClient. I feel like the updateLight method is very important, and should be exposed right alongside the convenience methods like setColor.
Also, it would be a breaking change, as it modifies the Hue constructor. I'd like to avoid that so early on to help increase adoption.
New Methods
Love the new methods!

turnOnAllLights
turnOffAllLights
blinkLight

That being said, would you be willing to update this PR to only include the new methods? Then we can further discuss splitting off the HueClient in an issue.

@willparr I moved the PR to draft. When you're ready for another review, take it out of draft and re-request a review. Thanks!

@willparr I moved the PR to draft. When you're ready for another review, take it out of draft and re-request a review. Thanks!

Ready to go 🚀

Almost ready, still need to add documentation for:

turnOnLights
turnOnAllLights
turnOffLights
turnOffAllLights
blinkLights
setBrightnesses

Then we should be good to go!


Improvements to archive handling and storages

Please have a look at the individual commit messages for the details.

After this PR, the ProvenanceFileStorage and FileStorage interface look awfully similar. They should probably be combined via a generic type, and aligning the semantics for getData / read if the key does not exist (return a nullable type vs, throwing an exception).


Trees

This is all mostly server side in the Chunk class.

[ ] Add tree sapling block type
[ ] Add tree growth algorithm similar to flood lighting
[ ] Run tree growth algorithm on the light propagation stage

Maybe rename the stage just to "propagation".
When growing a tree, it should replace the sapling block for the tree root. and start growing from there.
Trees will only be generated at the world generation stage for now.
Tree planting will be disabled since I don't have a way to render the saplings until I modify the mesher and this feature will prolly come when I implement the tall grass.
So.. Once Tall grass #6 is in, I will revisit tree planting.

Closing this after: de963bc9b0704ddc0bc45a00947501630e8d1417


Hot to rotate a matrix?

Please excuse the beginner question, but how to rotate a DenseMatrix in steps of 90 degrees?

It is my understanding that what you are asking is as follows:
you have a data point with coordinates in the x-y plane, and want to determine (calculate) the new coordinates after a rotation is applied to said data point.
If that is what you are asking, the fact is that such types of rotations are linear transforms of the kind that can be modeled with Matrix Algebra.
Since these kinds of rotations can be easily obtained with basic operations of matrices and vectors with MathNet Numerics, there is no value to include a specific method in this library to solve such a problem.
The calculation to do is represented in the image in the following link:
https://wikimedia.org/api/rest_v1/media/math/render/svg/50622f9a4a7ba2961f5df5f7e0882983cf2f1d2f
Kind regards, GEN

@gaston-e-nusimovich: As you seem to know how to turn a Matrix 90 or 180 degrees with Math.NET numerics, could you maybe give us a hint how to actually do it? Thanks!

I was hoping this package would have a built-in solution, but I guess not. Gaston was hinting at using standard rotation matrices. He links to an image of a matrix to rotate a 2D vector. These are the ones you need for a 3D vector/matrix:
https://wikimedia.org/api/rest_v1/media/math/render/svg/a6821937d5031de282a190f75312353c970aa2df
At 90 and 180 degrees, the angles all become zero or one.

Had to do it myself((((
	static Matrix<Complex> RotateMatrixAntiClockwise(Matrix<Complex> oldMatrix)
	{
	    Matrix<Complex> newMatrix = Matrix<Complex>.Build.Dense(oldMatrix.RowCount, oldMatrix.ColumnCount);
	    int newColumn;
	    int newRow = 0;

	    for(int oldColumn = 0; oldColumn < oldMatrix.ColumnCount - 1; oldColumn++)
	    {
		    newColumn = 0;
		    for(int oldRow = oldMatrix.RowCount; oldRow >= 0; oldRow--)
		    {
			    newMatrix[newRow, newColumn] = oldMatrix[oldRow, oldColumn];
			    newColumn++;
		    }
		    newRow++;
	    }
	    return newMatrix;
	}

I would go as far as to suggest that we introduced to the package the special orthogonal group.
Then we can easily rotate around any arbitrary axis so the rotations by +/-90 or +/-180 are trivial cases of the general formulation.
The main drawback is that this approach makes sense only in 3D, so I’m not sure this really belongs here.
Feedback anyone?


Fix typo: CustomFile --> CustomDataFile

I'm unfamiliar with TypeScript, but it looks like the interface CustomDataFile is defined in a code sample, but then referenced as <CustomFile> just below. Maybe I'm just misunderstanding this code, though!

Thanks for this @tinymachine ! Good eyes! I'm not sure why the deploy preview is failing, though, so I'm going to make a trivial edit to see if I can prompt it to try deploying again.

My pleasure, @sarah11918! Yeah I was wondering about the failed deploy preview too; as you probably saw, the Netlify deploy log showed this error:

10:59:24 PM: Failed during stage 'preparing repo': git ref pull/389/head does not exist

I made my edit and submitted my PR entirely on GitHub; maybe this is a weird GitHub bug? 🤷🏾♂
(BTW thanks for your work on Astro -- just getting into it after considering 11ty and SvelteKit, and really appreciating the general design and objectives of Astro. Kudos!)

Hey, it did look like a typo, thaks for the fix @tinymachine, @sarah11918 this looks good to squash merge in,

Great, thanks for your efforts (and patience!) @tinymachine , and thanks for the help @aFuzzyBear !
This is the last time you'll be a first-time contributor, so enjoy this moment... 🥳 and welcome to Team Docs!

Thanks, @sarah11918!


wmctrl: support cross-compilation

Motivation for this change
Support cross-compilation.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130231 at 65394f22 run on x86_64-linux 1

1 package marked as broken and skipped:

plover.stable

6 packages built successfully:

jumpapp
libinput-gestures
rxvt-unicode
surf-display
ulauncher
wmctrl

2 suggestions:

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/tools/X11/wmctrl/default.nix:25:15:
   |
25 |   patches = [ ./64-bit-data.patch ];
   |               ^

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/X11/wmctrl/default.nix:30:5:
   |
30 |     license = lib.licenses.gpl2;
   |     ^

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

1 package marked as broken and skipped:

plover.stable

6 packages built:

jumpapp
libinput-gestures
rxvt-unicode
surf-display
ulauncher
wmctrl

pkgsCross.aarch64-multiplatform.wmctrl builds


Need clearer instructions on creating a Secure Webhook

Hello,
Based on customer feedback I got, it sounds like we need clearer instructions on how to create a Secure Web Hook. I don't think the article mentions a need for the Application ID URI but it seems that you do need it.
Please give step by step instructions on what to do and why you need the certain steps.
Thank you.

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

ID: e27bedb5-7ff6-f4ae-eb7e-4ee25472d25b
Version Independent ID: 804b814e-49c9-7fc8-dc86-27b431a9b7df
Content: Create and manage action groups in the Azure portal - Azure Monitor
Content Source: articles/azure-monitor/platform/action-groups.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @dkamstra
Microsoft Alias: dukek

Thank you @EdwardP-VEN for your feedback. Assigning to content author @dkamstra for content review and to update if required.

#label:"CreateAzMonWIFeb2021"

Thank you for your contribution to the Azure Monitor documentation. We have created a workitem for this issue in our internal backlog database. We will prioritize it and make any necessary changes as we are able.
#please-close

#please-close


is nonblocking/forward.hpp really needed?

I modified it in issue #306 without modifying any related implementation of it, and nothing seems to go wrong. I therefore think that what now is declared in that forward.hpp is actually never called nor implemented.

Already removed in #308


Need help debugging why CI is broken

It's not related to the code, but the CI scripts. Anybody want to volunteer? I'll give you maintainer privileges to do so

@dbechrd

I tried to fix it here: https://github.com/mas-bandwidth/netcode/pull/129 but it didn't work. I have no idea how Mac or Premake work, so I'm not sure I can help much with this. I always just put dependencies in my project folder on Windows and link to the precompiled .lib file directly to avoid weird system library path nonsense.


Modals from anywhere

can you tell my is there any way i can add or fetch Modals from firebase or take Modals from specific storage location or is there any way to add at assets location.

i suggest you look at the ARCore plugin description: https://pub.dev/packages/arcore_flutter_plugin
it contains instructions to import models to your project, as well as an example app.


Add ArgillaCallbackHandler

Hi to whoever is reading this! 👋🏻 According to the PR Template I guess it may be @agola11, so hi in advance!
What's in this PR?
As of the recent v1.8.0 release of Argilla, the FeedbackDatasets were introduced, which are a new type of dataset is designed to cover the specific needs of working with LLMs.
So we thought it was a nice opportunity to create an ArgillaCallbackHandler to be integrated within LangChain (because Argilla ❤ LangChain). Besides the ArgillaCallbackHandler we've included a Jupyter Notebook to serve as a tutorial on how to use the callback to track the inputs and the responses that come into LangChain, to generate a dataset to be curated for LLM evaluation, monitoring, and potentially fine-tuning.
Besides the ArgillaCallbackHandler itself, we've also included a Jupyter Notebook to show how to use it.
What's missing in this PR?
We didn't include any integration tests, since argilla relies on an Argilla Server deployed, and following the suggestions, tests that require a network connection are not preferred, that's why. But we could add those if needed during the review of this PR!
Who to mention?
If this PR moves forward, we'd love to be tagged:

In Twitter as https://twitter.com/argilla_io?lang=en
In LinkedIn as https://www.linkedin.com/company/argilla-io

Thanks in advance!

Also I didn't include the import_argilla function as argilla is not intended to be imported anywhere besides in this callback, maybe in the future if we add more integrations we can move it to a separate function as other callbacks do e.g. import_clearml, but for the moment we decided to not use the function (also because the IDE hints disappear and is a little bit tedious while developing/debugging the code). Anyway, if this feels like an issue @agola11, please let me know and I'll create import_argilla instead of the current 😄

Figured I'd help out with the linting and formatting issues 👍


Terms and conditions

Aiming to merge terms and condition code to main branch

Fixed conflicts and now merged to main branch


zsh: killed for M1 Mac following instructions

I've followed the instructions installing py-itree via

pip install https://github.com/juncongmoo/itree/archive/refs/tags/v0.0.18.tar.gz

When running

python -m itree

I get

zsh: killed     python -m itree

And on

sudo dmesg|grep -i "itree"

I get

CODE SIGNING: process 12295[python3.9]: rejecting invalid page at address 0x103550000 from offset 0x0 in file "/Users/daniel/opt/miniconda3/lib/python3.9/site-packages/_itree.cpython-39-darwin.so" (cs_mtime:1681488850.74362958 == mtime:1681488850.74362958) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)

I'm using a MBP 2021 with M1 Max and Python 3.9.10


Go repository upgrade to 1.18

Golang-go repo version upgrade

 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.leiliang-wb seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


docker volume mounting fails from vagrant

hello I have the same issue here
http://stackoverflow.com/questions/20240788/shared-volume-in-docker-through-vagrant
I created vagrant box installed docker inside then I wanted to mount shared volume and all it sees are empty folders sometimes I mount one folder and it sees only one folder and when I go down directory tree terminal directories are empty inside of the container
killing local docker daemon did not work nor did
docker kill container
so I connect to daemon on another vagrant instance via htts to start containers.
so docker in vagrant with docker daemon on another vagrant box with https
ubuntu 14.04
tried latest docker and tried 1.3.3
uname -a
Linux vagrant-ubuntu-trusty-64 3.13.0-52-generic #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
docker info
Containers: 1
Images: 122
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 124
Dirperm1 Supported: false
Execution Driver: native-0.2
Kernel Version: 3.13.0-52-generic
Operating System: Ubuntu 14.04.2 LTS
WARNING: No swap limit support
environment details
virtualbox with vagrant on laptop
how reproducible : I am setting up CI pipeline so it fails each time
steps to reproduce:
create vagrantfile that will run  virtualbox vm with ubuntu/trusty64
do vagrant up
install latest docker on it
try to mount directory to container with -v that has some files inside
if it does not have files you expect to see then it fails
docker container is ubuntu 14.04
ps. when doing docker inspect it shows that it mounted everything
ps. I use docker daemon on remote host over https and that remote host is also vagrant virtualbox vm with ubuntu/trusty64

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

Mount points are local to the docker daemon, not the docker client.
So if those do not exist on the docker host docker will create the dirs and mount those in.
Closing since this is not a docker issue.
If you need additional help, feel free to hop on #docker on freenode.
Thanks!

it won't mount them when stuff is on the host also I tried running the command on the host to start the container


Allow developing/testing Draft with React 16

Updating devDependencies to allow React 16 and running the tests leads to some failures. We should debug and fix this, so that we are developing Draft to run with the latest version of React.
Edit: Here is more detail about how to fix this, and if you'd like to pick it up please comment on the issue. :)

Update devDependencies in package.json to add | ^16.0 to the current react and react-dom versions. NOTE that this is a different section from dependencies or peerDependencies.
Update any other dependencies (like Enzyme) which have released a recent version which accepts React 16 as a dependency.
Fix any failing tests, lints, flow errors resulting from the changes.

@flarnie I can take this up. Might be a good starter for me
Looks like Enzyme has a major upgrade from 2.x to 3.x and also uses an adapter enzyme-adapter-react-16  for supporting React 16.
And also the ReactTestUtils seems to have been moved out to the ReactDOM package in one of the 2.x revisions.

Thanks @issujan!

https://github.com/facebook/draft-js/pull/1464

This issue was apparently resolved with 5a965e6.


fix: checkout created new local branch

git checkout -b code-lab created a new branch from master for me locally, after deleting the folder and re-cloning I excluded -b and it switched fine. This might be specific to me.

I signed it!

@teachtyler
Before I merge I want to understand your issue. The instruction is to switch to a branch called code-lab, which hasn't been previously created. the -b switch is what creates the code-lab branch.
My question is, what made you think the result was incorrect?
(I think I know what the problem is already. Please humor me.)
Thanks

which hasn't been previously created

https://github.com/GoogleChrome/airhorn/tree/code-lab
Switching to this is better than creating a new one, right?

I think I know what the problem is already

https://xkcd.com/1597/

An alternate solution might be -B instead of outright removing it. This flag will use an existing branch (and reset it) if found, otherwise it will create the branch.


Support for publishing resource attirbutes in fluent logger.

This PR incorporate changes from #500, as @bnavarma is experiencing issues with CLA signing. The changes are relevant and are gated behind a feature flag."

This would taint the contrib repository if I understand correctly,
because content is getting in, without a CLA.

I don’t think that’s the case. The change is covered by my CLA, as I am raising the PR. Just for a background - This exporter is maintained by @ThomsonTan and me, and it’s used internally within Microsoft. @bnavarma is one of the users of this within MS :)

@bnavarma is one of the users of this within MS :)

Ok then.


[TFLITE] Modelmaker for (multi-class) custom text classification.

System information

TensorFlow version (you are using):
Nightly version of TensorFlow (2.2.0-dev20200415)
Are you willing to contribute it (Yes/No):
Yes

Describe the feature and the current behavior/state.
Ability to use custom train data for text classification.
Currently on providing custom data instead of aclImdb http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
text_classifier.create(train_data, model_spec=model_spec, epochs=5) functionality breaks with the following error :
`UnboundLocalError                         Traceback (most recent call last)
 in
----> 1 model = text_classifier.create(train_data, model_spec=model_spec, epochs=20)
~/anaconda3/envs/py3/lib/python3.7/site-packages/tensorflow_examples/lite/model_maker/core/task/text_classifier.py in create(train_data, model_export_format, model_spec, shuffle, batch_size, epochs, validation_data)
60
61   tf.compat.v1.logging.info('Retraining the models...')
---> 62   text_classifier.train(train_data, validation_data, epochs, batch_size)
63
64   return text_classifier
~/anaconda3/envs/py3/lib/python3.7/site-packages/tensorflow_examples/lite/model_maker/core/task/text_classifier.py in train(self, train_data, validation_data, epochs, batch_size)
126                                                 steps_per_epoch,
127                                                 validation_steps,
--> 128                                                 self.num_classes)
129
130     return self.model
~/anaconda3/envs/py3/lib/python3.7/site-packages/tensorflow_examples/lite/model_maker/core/task/model_spec.py in run_classifier(self, train_input_fn, validation_input_fn, epochs, steps_per_epoch, validation_steps, num_classes)
222         steps_per_epoch=steps_per_epoch,
223         validation_data=validation_ds,
--> 224         validation_steps=validation_steps)
225
226     return model
~/anaconda3/envs/py3/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in _method_wrapper(self, *args, **kwargs)
69   def _method_wrapper(self, *args, **kwargs):
70     if not self._in_multi_worker_mode():  # pylint: disable=protected-access
---> 71       return method(self, *args, **kwargs)
72
73     # Running inside run_distribute_coordinator already.
~/anaconda3/envs/py3/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing, **kwargs)
917               end_step = step + data_handler.step_increment
918               callbacks.on_train_batch_end(end_step, logs)
--> 919         epoch_logs = copy.copy(logs)
920
921         # Run validation.
UnboundLocalError: local variable 'logs' referenced before assignment
`
Will this change the current api? How?
Not sure.
Who will benefit with this feature?
End users
Any Other info.
Custom (multi-class) text classification support.

@dupree
can you please share a simple standalone code for us to replicate the error faced.

@Saduf2019  Thanks for the response. I am following the example shared here :
tf_example_url
The only change I am doing is in the block of data parsing, as following :
print (data_path)

model_spec = AverageWordVecModelSpec()
train_data = TextClassifierDataLoader.from_folder(os.path.join(data_path, 'train'),
                                                  model_spec=model_spec,
                                                  class_labels=['accept', 'reject', 'no'])
test_data = TextClassifierDataLoader.from_folder(os.path.join(data_path, 'test'),
                                                 model_spec=model_spec, is_training=False, shuffle=False)
train_data, validation_data = train_data.split(0.9)

I am following the precise folder structure as followed by aclIMDB dataset.
class_labels=['accept', 'reject', 'no']) point to folders named accept, reject and no respectively in train folder. The dat_path looks like this :
data/
while the path for accept and other labels looks like :
data/train/accept
I see the error when I create model via either this :
model = text_classifier.create(train_data, model_spec=model_spec, epochs=8)
or
model = text_classifier.create(train_data, model_spec=model_spec, validatation_data=validation_data,  epochs=8)
Note : In this setup each class data in data/train/accept (and reject, no)  contains around 4-5 id.txt files, where id ranges from 0..5
After some trials and testing, I noticed this :

once I rename the individual train files from id.txt to id_rating.txt, where id = range(0..30) and id_rating = range(0..10). I am able to create/train a model via this :
model = text_classifier.create(train_data, model_spec=model_spec, epochs=8)

But this fails again once I enable validation_data via this  :
model = text_classifier.create(train_data, model_spec=model_spec, validatation_data=validation_data,  epochs=8)

I am able to train/create a model this way but the model is highly susceptible to class imbalance. If one label has marginally higher data, model just learns to predict that for any sample. I tested with data samples for label yes 34 and no 40 and the model learns to predict no for every sample.

How and where can I see the internal working of model_spec = AverageWordVecModelSpec() and if I can customize it.
Thanks

@dupree
can you please share colab gist of the code for us to analyse the error

@dupree
PLease update as per above comment

@Saduf2019 Unfortunately I am not using colab but my local jupyter notebook, I can share that if thats of any help ? But as I mentioned in my previous comment, I haven't changed much except adding my own data files. If the example expects data/data files in any specific filename format, please share.
Thanks

@dupree Looking at the error trace, i suspect some compatibility issue due to combining TF1.x and TF2.x functionality.
61 tf.compat.v1.logging.info('Retraining the models...')
---> 62 text_classifier.train(train_data, validation_data, epochs, batch_size)
....
.....
UnboundLocalError: local variable 'logs' referenced before assignment

Can you please share a standalone code to reproduce the issue? Thanks!


Update Guide “site-setup”

Automatically generated by Netlify CMS

👷 Deploy Preview for hotplate-docs processing.

Name
Link

🔨 Latest commit
035be7cd39d5aedcd1285e12a6e0c5992a1dfe87

🔍 Latest deploy log
https://app.netlify.com/sites/hotplate-docs/deploys/62bf7d769eda610007dba847


HRIA data import by way of direct SQL insert

Direct SQL insert allows for more control of the import process. This allows multiple tiles to be imported to the same nodegroup which is not possible using traditional CSV import. This is also about 100x faster than doing the CSV.
Fossils has already moved to this for efficiency reasons, need to move BCRHP import to do the same.

Running into issues with HRIA data corruption in the Oracle tables. Breaking that off as it's proving complex to fix.

Completed for datasets previously imported by CSV.


Badges for Semaphore

Hello,
I'm working on Semaphore and would like to get it "shielded".
We uses badges for the following build statuses:

passing
pending
failing
unknown

Build badges from here:

suite our color taste but we need a badge for the "unknown" status instead of the "error" status.
Could you create those badges for us or what is the standard workflow?

Would be nice if these were updated to match the new badges:

@stevelacey Are the Semaphore badges not defaulting to the right style? Do they rely on ?style=flat?

@espadrine https://semaphoreapp.com/api/v1/projects/eb289e04-3982-4de1-9e66-8436a67cf607/262663/shields_badge.svg?style=flat doesn't seem to do anything – they self-hosted – so need an update? Dunno – there's a few services with outdated badges though, see https://github.com/crysalead/kahlan

Indeed. @vlasar do you have information on that? Do you need help?

I'm no longer working on Semaphore, but I am trying to get in touch with them. cc @markoa

Hi folks, it looks like it is now expected that shields.io is proxying the badge URLs to the CI service, while on Semaphore we're still hosting the images ourselves. What is the procedure to do it the proxy way?

@markoa To avoid having to deal with image updates manually, the simplest way to do is to request the badge from shields.io at https://img.shields.io/badge/build-passing-brightgreen.svg. If possible, supporting the ?style= modifier would be great (eg, https://img.shields.io/badge/build-passing-brightgreen.svg?style=flat-square.)
If you wish to continue to self-host those badges, you can of course download them from shields.io, and update them periodically.

@espadrine Thanks for the explanation. I think we'll start requesting the badge from shields.io. Would it be useful to post here when we implement it?

@markoa Yes! Definitely.

@markos any progress on this?

@stevelacey wrong person :)

@markos well that's just unfair! :)

We have updated our badges to match current design used by other services. Unfortunately because we're self-hosting them, optional params for themes are not supported yet, but in future we'll provide that option too.

@rastasheep How about redirecting to shields.io (including the query string)? Then we'll have whatever customization shields.io offers. As well as they'll always match other shields badges on the same page (right now Semaphore badges are a slightly different size and text spacing to Shields.io).


Where is reciever address located in omni transaction data?

Hi,
After I do omni_gettransaction txId or omni_decodetransaction txraw then I get the following response.
{
  "txid": "f4f50e4cd2a06f62db125a96d6c945dee531f8e5756c698bc4c8f2a8dd454edd",
  "fee": "0.00005000",
  "sendingaddress": "2MyuDmv4NL7RHSMDVYraSNwmGUgR2Sp3upT",
  "referenceaddress": "mgo8TBpoS5UmMFNgmaFi8NJtzDd6ZjcQ57",
  "ismine": false,
  "version": 0,
  "type_int": 0,
  "type": "Simple Send",
  "propertyid": 1,
  "divisible": true,
  "amount": "0.01000000",
  "confirmations": 0
}

I am not clear about the receiver address in it.
Any help would be appreciated.

Hi there,
the receiver of this transaction is the "referenceaddress" in this output.
Does this clear your question, or where you asking about the actual on-chain transaction structure?

Thanks, this answers my question.


Numpy Gather ND Large Tensor fix

This pr fixes gather_nd and updates the test case

Thanks. Merging, as the tests are enabled and addresses Sheng's comment.


Upgrade CUDA to v8.0.51

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit —download {{cask_file}} is error-free.
[x] brew cask style —fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked that the cask was not already refused in closed issues.

Fix URL in CUDA Cask

Reverting in https://github.com/caskroom/homebrew-cask/pull/26754, in light of https://github.com/caskroom/homebrew-cask/issues/26752.

Sorry about that. The bizarre thing is that the Cask-installed CUDA on my computer updated itself to 8.0.51.

It looks like the CUDA Toolkit contains the CUDA driver, but for some reason the CUDA driver was updated and the CUDA Toolkit (and presumably the CUDA driver it contains) was not. I have no idea we should go about handling this.
Actually, why is this in homebrew-cask instead of homebrew-core in the first place? It isn’t really a GUI application.

By the way, it appears the compiler portion of CUDA Toolkit 8 won’t work with Xcode 8. That will likely affect almost everyone downloading this.

Actually, why is this in homebrew-cask instead of homebrew-core in the first place? It isn’t really a GUI application.

Is it open-source?