Windows install script destroys user PATH

https://github.com/github/hub/releases/tag/v2.3.0-pre9 64-bit install.bat on Windows 7 to be clear. This likely is in all releases. Not entirely sure how this wasn't tested...
For info:
PATH
C:\Users\Ofek\.cargo\bin;C:\Users\Ofek\Desktop\q\Miniconda3;C:\Users\Ofek\Desktop\q\Miniconda3\Scripts;C:\Users\Ofek\Desktop\q\Miniconda3\Library\bin;C:\Program Files (x86)\GPAC;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Users\Ofek\Desktop\q\Miniconda3\MinGW\i686-w64-mingw32\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Ofek\Desktop\q\mpv;C:\Go\bin;C:\Users\Ofek\go\bin;C:\Program Files\nodejs

PATH after
ogram Files\nodejs;C:\Users\Ofek\AppData\Local\GitHubCLI\bin
install.bat
@echo off
CLS
goto checkPrivileges

:: Unfortunately, Windows doesn't have a decent built-in way to append a string to the $PATH.
:: setx is convenient, but it 1) truncates paths longer than 1024 characters, and
:: 2) mucks up the user path with the machine-wide path.
:: This function takes care of these problems by calling Environment.Get/SetEnvironmentVariable
:: via PowerShell, which lacks these issues.
:appendToUserPath
set "RUNPS=powershell -NoProfile -ExecutionPolicy Bypass -Command" :: Command to start PowerShell.
set "OLDPATHPS=[Environment]::GetEnvironmentVariable('PATH', 'User')" :: PowerShell command to run to get the old $PATH for the current user.

:: Capture the output of %RUNPS% "%OLDPATHPS%" and set it to OLDPATH
for /f "delims=" %%i in ('%RUNPS% "%OLDPATHPS%"') do (
    set "OLDPATH=%%i"
)

set "NEWPATH=%OLDPATH%;%1"
:: Set the new $PATH
%RUNPS% "[Environment]::SetEnvironmentVariable('PATH', '%NEWPATH%', 'User')"
goto :eof

:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )

:getPrivileges
if '%1'=='ELEV' (shift & goto gotPrivileges)
echo.
echo **************************************
echo Installing GitHub CLI as Administrator
echo **************************************

setlocal DisableDelayedExpansion
set "batchPath=%~0"
setlocal EnableDelayedExpansion
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
echo UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B

:gotPrivileges

setlocal & cd /d %~dp0

set HUB_BIN_PATH="%LOCALAPPDATA%\GitHubCLI\bin"
IF EXIST %HUB_BIN_PATH% GOTO DIRECTORY_EXISTS
mkdir %HUB_BIN_PATH%
set "path=%PATH%;%HUB_BIN_PATH:"=%"
call :appendToUserPath "%HUB_BIN_PATH:"=%"
:DIRECTORY_EXISTS

:: Delete any existing programs
2>NUL del /q %HUB_BIN_PATH%\hub*

1>NUL copy .\bin\hub.exe %HUB_BIN_PATH%\hub.exe

echo hub.exe installed successfully. Press any key to exit
pause > NUL

Thanks for reporting! This script was tested, and I'm not sure why it doesn't work for you. If you find a fix, please submit a PR!

@mislav @jamesqo Just tested on fresh Windows 7 with same PATH and the issue persists. Test on fresh Windows 10 works.

I have probably only tested this on either Windows 8 or Windows 10, but definitely not Windows 7. If anyone knows how to fix this, we're all ears!

I tested the script on Windows 10 and 7. It works fine on Windows 10, but on Windows 7 it truncates the PATH. I have no idea why this is happening, but I am going to submit a PR with a fix in a minute.


Missing GDK3 on Ubuntu 22.04

When using ubuntu-22.04 github action runners, I'm seeing the following error (I am using the recommended script in the repository README):
error: failed to run custom build command for `gdk-sys v0.15.1`
error: could not find system library 'gdk-3.0' required by the 'gdk-sys' crate

Full run available here.
I'm guessing the "install dependencies (ubuntu only)" part of the example needs to be updated with some additional packages. I'm planning to investigate what is the correct set of dependencies for Ubuntu 22.04 at some point, but if somebody already knows, feel free to share.
I'm guessing this is not critical until Ubuntu 20.04 becomes obsolete, but it might be useful to update the example to the latest version sooner than later :)

The dependencies shown in the readme are the same for ubuntu 20.04 and 22.04 (still recommended to use 20.04 if you want to support users with systems older than 22.04).
Your repo is private so i can't see the logs and the only thing i could think of without seeing the logs would be that the if:  line still checks for 20.04 or is incorrect in some other way.

Apologies, forgot about the repo visibility. Should be public now.
 I read the condition as checking "if runs on ubuntu, install dependencies", not "if runs on ubuntu 20.04, install dependencies". Of course it works now if I change the version number in the condition.
Anyways... my bad, thank you!


Request for convention over location of mupx settings files within a Meteor app project

Hi,
I would like to suggest having a convention over location of Meteor Up project files within a Meteor app directory.
For me, the best way is to have the following behavior for mupx command:

User goes to Meteor application directory and runs command "mupx init staging". This should create a path and a file ".mupx/staging/mup.js" within Meteor application directory.
Then user should be allowed to to run the command "mupx deploy staging" being staying in a root directory of the app. In that case mupx just runs .mupx/staging/mup.js

This approach has the following advantages:

User is allowed to run Meteor Up being just in a root directory of an app, like it is usually done to run "meteor" during development.
This approach supposes that user might have more than one deployment environment, and these environments are specified by names (e.g. "staging" above, or "production")
".mupx" is a great place to store deployment configs and not collide with application's files.

Thanks!

I also agree that environments should be supported, somehow.
I've made a deploy-dev and a deploy-prod folders, each with their own mup.js file --- this is a bit kludgy but works.


updating kubescape support

After testing the first integration we found some issues since the file seems to be shared by all users, this caused an override of the file while reading/writing.
We updated the file name so it will generate a new name each time, and we also delete the file after reading the content.
Also, we updated the output display so it will be more user-friendly.

Resolve #29

@nirsht

@dwertent

@nirsht Done


3rd party beta squash

This is Josh's 3rd_party_beta squashed. Created a separate branch incase I bungled it. We can close this and I can apply it to the 3rd_party_beta branch.

My apologies this PR went upstream by mistake.


Invalid  Props Warning

It seems the library sets i and w properties on a <td> it renders, but because those aren't valid HTML attributes React complains about them:
warning.js:36 Warning: Unknown props `i`, `w` on <td> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    in td (created by Day)
    in Day (created by Calendar)
    in tr (created by Calendar)
    in tbody (created by Calendar)
    in table (created by Calendar)
    in div (created by Calendar)
    in Calendar (created by InputMoment)
    in div (created by InputMoment)
    in div (created by InputMoment)
    in InputMoment (created by MyCode)
    ... (the rest of the stack is my code which renders an InputMoment)

Obviously a warning doesn't really hurt anything, but it would be nice if this could be fixed.

fixed in 0.3.1


MINIFI-159: Create AppendHostInfo processor

I believe the CI failure is due to broken appveyor build configuration

reviewing

Hey @randerzander. Changes look good.  Will get this merged in.  Thanks for the contrib, definitely seems like it would be helpful.


Update value/type operations BBEs

Purpose
This PR updates the following BBEs

type conversion
explicitly typed expressions
type assertion

This PR also adds tests for the type assertion and conversion BBEs.
Fixes #12703

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-0.990.0@72b1cab). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             release-0.990.0   #12814   +/-   ##
==================================================
  Coverage                   ?   59.87%
  Complexity                 ?      659
==================================================
  Files                      ?     2068
  Lines                      ?   101646
  Branches                   ?    12931
==================================================
  Hits                       ?    60856
  Misses                     ?    35599
  Partials                   ?     5191

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 72b1cab...6aa7160. Read the comment docs.


Seat Naming Issue

I have seats named as characters from A to Z, But also have some seats which are named like: AA, AB, AC and so on.
When I name a seat in two characters like AA or AB, The layout for these seats is broken and an empty seat (with no label or id) is shown after each seat, like  shown in this screenshot !
I tried to change the name to A_A or _A_A but it didn't work.
Any idea where is the problem ?

It's most likely a CSS issue but I'm not able to replicate it. The demo layout doesn't break even if I replace labels with much longer ones:

Labels are truncated but this is expected as there isn't enough room for them.
What was the browser/version?

@mateuszmarkowski  I think the problem isn't a CSS issue, the problem is with generating the seats with more than one character, for example:
`
seats: {
a: {
price   : 99.99,
classes : 'front-seat'
},
b: {
price   : 50.99,
classes : 'b-seat'
},
c: {
price   : 40.99,
classes : 'c-seat'
},
.
.
.
z: {
price   : 30.99,
classes : 'z-seat'
},
                   ab: {      // here is the problem
			price   : 20.99,
			classes : 'ab-seat'
		},

	},

`

Right, now I see. Seat identifier (AKA character) can only be a single character. If you need a longer name, you can include it in your custom data hash, i.e.:
a: {
    price: 20.50,
    class: 'ab-seat',
    name: 'AB'
}

so we have only 26 rows for seats?

Only if you want to use a different character for each row. Generally characters are intended for seat classes so 26 should be enough in most cases.


Webhooks using Python client

Hello,
I am trying to receive notifications from my app when an envelope's status is changed, however, I don't receive any request to my webhook endpoint. I am using a simple Flask app as a listener and I've tested it locally if it receives regular POST requests and it works. I am also sending my code snippet. I couldn't get what is wrong. Also, I am receiving e-mails with documents just fine, I just couldn't get webhook to get requests. FYI, I am using a developer account. Thank you in advance!
        webhook_url = 'http://e6e9e971.ngrok.io/docusign-webhook/'

        event_notification = EventNotification(
            url=webhook_url,
            logging_enabled="true",
            require_acknowledgment="true",
            use_soap_interface="false",
            include_certificate_with_soap="false",
            sign_message_with_x509_cert="false",
            include_documents="true",
            include_envelope_void_reason="true",
            include_time_zone="true",
            include_sender_account_as_custom_field="true",
            include_document_fields="true",
            include_certificate_of_completion="true",
            envelope_events=[
                EnvelopeEvent(
                    envelope_event_status_code="Sent",
                    include_documents="false"
                ),
                EnvelopeEvent(
                    envelope_event_status_code="Delivered",
                    include_documents="false"
                ),
                EnvelopeEvent(
                    envelope_event_status_code="Completed",
                    include_documents="false"
                ),
                EnvelopeEvent(
                    envelope_event_status_code="Declined",
                    include_documents="false"
                ),
                EnvelopeEvent(
                    envelope_event_status_code="Voided",
                    include_documents="false"
                ),
            ],
            recipient_events=[
                RecipientEvent(
                    recipient_event_status_code="Sent",
                    include_documents="false"
                ),
                RecipientEvent(
                    recipient_event_status_code="Delivered",
                    include_documents="false"
                ),
                RecipientEvent(
                    recipient_event_status_code="Completed",
                    include_documents="false"
                ),
                RecipientEvent(
                    recipient_event_status_code="Declined",
                    include_documents="false"
                ),
                RecipientEvent(
                    recipient_event_status_code="AuthenticationFailed",
                    include_documents="false"
                ),
                RecipientEvent(
                    recipient_event_status_code="AutoResponded",
                    include_documents="false"
                ),
            ]
        )

        # Next, create the top level envelope definition and populate it.
        envelope_definition = EnvelopeDefinition(
            email_subject="Please sign this document",
            documents=[document],
            recipients=Recipients(signers=[signer]),
            status="sent",
            event_notification=event_notification
        )

I was using http for my webhook endpoint, but I've fount out here that Docusign API only accepts https listener urls. It is working fine now.


Leading Nav Widget is distorted

Reproducible on the example project without any modification.
IconButton should be round, but it's stretched vertically.

Leading nav bar widget is fully customizeable. You should be able to adjust it according to your specs. For example, with very simple modification, it looks different.

Before
After


Contract work at Cerebras

I suggest you create a separate branch for these commits. After you do that, I will edit the PR to target that branch as the base.


Integrate Automated Data from VS

💡 Summary
To support the Scorecard metrics, automate VS data pulls from their Mongo DB. This will run with all of our other VS data collections in the PE ASM module.
Acceptance criteria
How do we know when this work is done?

[x] Create tables/fields
[x] Store all necessary metrics
[x] Test

Needs PR @aloftus23


Problem with ndbcluster engine

Laravel Version: 5.4.30
PHP Version: 7.1.x
Database Driver & Version: MySql 5.7

Description:
transactions fails on ndbcluster engine with this error: SQLSTATE[42000]: Syntax error or access violation: 1178 The storage engine for the table doesn't support SAVEPOINT. As I searched, found this link which points out mysql cluster limitations and unsupporting features which states:
Savepoints and rollbacks to savepoints are ignored as in MyISAM.
Now I want to know if there is any workaround solutions for this problem in Laravel?

This repo is for bug tracking. Use the forums or slack channel for solving your issue

Thanks @Dylan-DPC

@sobhanattar kindly close the issue :)


Added JavaDocs to 5 classes

Contains
Multiple classes that have new JavaDocs. For GCI.
Classes changed:
AudioConfig
ClientIdentity
PermissionConfig
WorldGenerationConfig
ServerInfo
How to test
Untestable, however, they can be reviewed by going GitHub and viewing the classes one by one.

Can one of the admins please verify this patch?

Uh, not quite sure what happened there, but you added new files rather than update the existing files with JavaDoc ... :-)
That's not quite going to work. Ideally you need to be working out of IntelliJ. At that point you can actually use CTRL-Q on a usage of a particular variable or method you updated and IntelliJ will pop up the JavaDoc :-)

Wow. Never realized that. Sorry I'm just slipping in and out of sleep here, let me fix that. :shipit:

There we are. :+1: Sorry 'bout that, I was not working in IntelliJ so I must've messed up when I was uploading...


[dv-processing] update to 1.7.9

Fixes https://github.com/microsoft/vcpkg/issues/33474. Update to 1.7.9, this version fixes the "_" undefined error.
F:\vcpkg\installed\x64-windows\include\fmt\core.h(2550): error C2079: '_' uses undefined struct 'fmt::v10::detail::type_is_unformattable_for<caer_frame_event_color_filter,char_type>'
F:\vcpkg\installed\x64-windows\include\fmt\core.h(2613): note: see reference to function template instantiation 'const Char

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

All features passed with following triplets:
x86-windows
x64-windows
x64-windows-static

Usage test pass with following triplets:
x86-windows
x64-windows
x64-windows-static

Thanks for the update!


📃: Add react-movies-app

:red_circle: Title : Movie-Land
:red_circle: Aim : I want to add a projects that fetches movies from omdapi
:red_circle: Tech Stack Used : REACTJS
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : MANKALA VAISHNAVI
What is your participant role? (Mention the Open Source Program name. Eg. GSSOC, SSOC, JWOC, etc.)gssoc24

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

@VaishnaviMankala19 go ahead.


Block of times for weekly group check-in meetings

More frequent meetings with project groups was really valuable last year (we only did 1 meeting in 2018!) What's the order of operations for this? We need to find times when groups are available, but work within our own schedules as well. Could also consider using some lecture time. Let's discuss.

Will be virtual!
Challenge is that for my schedule meeting need to be consecutive.

I've blocked off Tuesday and Thursdays from 4 to 4:45, and Fridays from 3:30-5 for UNCC related activities outside of lecture. We will need to fit group meetings in these time slots.


Explicit typing

Explicit typing has been a language feature since Python 3.5, and while not essential in any way, it could be nice to explicitly type variables. (Although that could just be a personal preference.) I'd be happy to implement if this idea sounds good. :)

That sound great, if you want, go right ahead.


Modify default Guacamole admin password

Currently, when the Guacamole instance is deployed, it has default credentials for the admin user.  Modify this so that a new password is applied (probably should be pulled from the SSM Parameter Store).

This is a much lower priority (possibly does not need to be done at all) now that we have "Kerberized" Guacamole:

https://github.com/cisagov/cool-system/issues/50
https://github.com/cisagov/cool-system/issues/13

@jsf9k or @felddy - Can you think of any way that a Guacamole instance can now be accessed without authenticating via Kerberos?  If the answer is "Nope", then I think we can close out this ticket as OBE.

That should not be possible, short of sshing in via the control plane.
Shane Frasier
Cyber Assessments
Cybersecurity and Infrastructure Security Agency
Cell:<PHONE_NUMBER> | Email<EMAIL_ADDRESS>

Sounds like this issue is now Overcome By Events (OBE).  Thanks!


Update using-the-visual-layer-with-xaml.md

It was InitializedFrostedGlass instead of InitializeFrostedGlass. So wouldn't work.

Hi @vitorgrs, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi, I am closing and re-opening this PR to bump the CLA bot. Sorry for the inconvenience!

Hi @vitorgrs, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;


[Question] Serialization of Objects?

Does URLConnection with Object input/output work?

Does HttpURLConnection work?

if not,

Can we serialize Objects and convert them to base64 then post them back to server in JSON and deserialize them in a servlet? Are they going to be corrupted in the process?

Does URLConnection with Object input/output work?

Yes. Object input/output uses the JVM's Serializable interface, which DoppioJVM supports.

Does HttpURLConnection work?

The existing HttpURLConnection will probably not work in the way you'd expect, as it opens a TCP socket. We emulate TCP sockets using Websockify, so those connections won't be able to communicate with a vanilla webserver without wrapping the webserver in Websockify, which will forward Websocket connections to vanilla TCP.

Can we serialize Objects and convert them to base64 then post them back to server in JSON and deserialize them in a servlet?

Yes, you can serialize them in the same manner using object/input streams, which uses the Serializable interface directly.
You could write a native that simply takes in a JVM object as an bytearray and send the ArrayBuffer directly to the server, avoiding base64 encoding altogether:
// Native sendBytesToServer([B)V
function sendBytesToServer(thread, byteArr)  {
  // In browsers w/ typed array support, byteArr.array will be a Uint8Array.
  var uint8arr = byteArr.array;
  // Now just send that Uint8Array to the server using XHR
}

Hope that helps!

Great, thanks for the quick response. Let me clear one thing though, if HttpURLConnection requires websockify, so does URLConnection. Right?
Sent from my iPhone

On 11 Oca 2016, at 17:32, John Vilk<EMAIL_ADDRESS>wrote:
Does URLConnection with Object input/output work?
Yes. Object input/output uses the JVM's Serializable interface, which DoppioJVM supports.
Does HttpURLConnection work?
The existing HttpURLConnection will probably not work in the way you'd expect, as it opens a TCP socket. We emulate TCP sockets using Websockify, so those connections won't be able to communicate with a vanilla webserver without wrapping the webserver in Websockify, which will forward Websocket connections to vanilla TCP.
Can we serialize Objects and convert them to base64 then post them back to server in JSON and deserialize them in a servlet?
Yes, you can serialize them in the same manner using object/input streams, which uses the Serializable interface directly.
You could write a native that simply takes in a JVM object as an bytearray and send the ArrayBuffer directly to the server, avoiding base64 encoding altogether:
// Native sendBytesToServer([B)V
function sendBytesToServer(thread, byteArr)  {
// In browsers w/ typed array support, byteArr.array will be a Uint8Array.
var uint8arr = byteArr.array;
// Now just send that Uint8Array to the server using XHR
}
Hope that helps!
—
Reply to this email directly or view it on GitHub.

No. URLConnection is an abstract class. You can have a URLConnection implementation that writes to / reads from a file on the file system (e.g. JarURLConnection).

Oopps, it is abstract indeed. thanks for the heads up.
Sent from my iPhone

On 11 Oca 2016, at 18:41, John Vilk<EMAIL_ADDRESS>wrote:
No. URLConnection is an abstract class. You can have a URLConnection implementation that writes to / reads from a file on the file system (e.g. JarURLConnection).
—
Reply to this email directly or view it on GitHub.

Marking as closed. Feel free to reopen if you have additional questions!


Access outside localhost

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Linux Ubuntu 16.04 LTS
Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.11-webpack.2 (actually latest master at the time of this issue)
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
None in particular
The log given by the failure. Normally this include a stack trace and some
more information.
Mention any other details that might be useful.
Is there a way to access the app from ng serve (either dev or prod variants) from another LAN device? Thanks.

Thanks! We'll be in touch soon.

When both devices are in the same, e.g. <IP_ADDRESS> you can access the server via the  local ip and the port, <IP_ADDRESS>:4200

It wasn't working for me. Doesn't look like a local port/firewall issue since npm's http-server runs ok.

Related to this PR: https://github.com/angular/angular-cli/pull/1475#issuecomment-235986121
That comment will show you how to access the server on other devices.

I do this on each new CLI project, to make ng serve listed on all interfaces every time:
echo '{ "host": "<IP_ADDRESS>"}' >.ember-cli

@intellix I was thinking it was something about defining the listening interfaces. Thanks, exactly what I need and the original issue can be considered closed.
@kylecordes Even when angular-cli is based on ember-cli, can this (API) configuration be considered stable in the mid/long term?

Closed as the original issue is resolved.
I would not rely on long term support for .ember-cli, no. Not even sure it'll work on the latest webpack version since we replaced the dev server.

For this that found this on Google, the best way to do this is to edit your package.json file and edit "start" and replace "ng serve" with @intellix amazing solution "ng serve --host <IP_ADDRESS>". Then just start with "npm start". npm start will always be here ;D

@dylanh724 worked like a charm. thank you.

I still can't access it even when running on <IP_ADDRESS> :|

@chrillewoodz remember the --host part. It does work. It if doesn't its not on angular-cli part, check other suspects (routing, firewall, blah blah).

@ShadowManu it doesn't work for me too. I set up the config correctly, but I can't reach the address  (host unreachable) from any of the devices in the same LAN!

@toioski I (and many more) can help out on the gitter channel, so we don't dirty up the thread.

First verify your machine IP Address.
On Windows, type ipconfig in Prompt (copy IPv4).
On Mac, type ifconfig |grep inet in Terminal (copy inet).
In my case this is <IP_ADDRESS>.
Next, type ng serve --host <IP_ADDRESS>.
Ok, your app on air for all devices on same network.
Now only http://<IP_ADDRESS>:4200/ will work, localhost not more.

@osvaldo-github only for complementing your answer is possible to change your hostname looks like a DNS
Windows

Open with you favorite editor C:\Windows\System32\Drivers\Etc\hosts
Edit your hosts name:
<IP_ADDRESS> dev (Your IP and hostname what you want)
To port 3000 access by your browser dev:3000

Linux

Open with you favorite editor /etc/hosts
Follow the step 2. and 3. off windows 👍

Hi there,
I am having the same issue. I found one workaround that worked for me: to switch the requests from one port to another using node. For some unknown reason, that works.
You can find the script to proxy one port requests to another in the url below:
http://stackoverflow.com/questions/6490898/node-js-forward-all-traffic-from-port-a-to-port-b
Thanks,
Rafael C. Melo

Since angular cli uses webpack-dev-server, using this ng serve --host <IP_ADDRESS> will pass the --host option to the webpack dev server. is this correct?

I have tried but none of them worked.
Anybody who has a proper solution other than above please comment and post an issue to the angular-cli community.
** I guess, we are running dev environment using ng serve which logically should not be accessible to anyone else while in dev.

@shinde-prasad The issue might be an antivirus or a firewall that blocks access to the intended port. Have you tried with any other http server? lite-server? or http-server?
you can use any http server you prefer by following this wiki story

Yes you're right.
but if there is problem with webpack then what js use of it.
next problem I am facing is
on my remote server machine I am not able to compile and run my code
(angular-cli) with web pack.

Please see https://github.com/angular/angular-cli/pull/6173 for for updates to this functionality as dictated by https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a.

anyone resolved this issue ? we are getting the same error  with new webpack  - https://github.com/AngularClass/angular-starter#deployment

FWIW, running ng serve --host MY_IP helped me accessing my Angular app from within a VirtualBox Windows machine for testing on IE, where all other solutions I had found on the internet had failed

As of at least Angular CLI 1.0 you can set these directly in .angular-cli.json underneath the defaults element:
{
  "defaults": {
    "serve": {
      "port": 4444,
      "host": "<IP_ADDRESS>"
    }
  }
}

Source

Actually for me it works with <IP_ADDRESS>. That just means any IP address.

without use ng-cli
npm run start -- --host=<IP_ADDRESS> --port=4500
after first -- start all parameters for ng-cli as you need it.

run the command
ng serve --host=<IP_ADDRESS> --disable-host-check
to disable host check and access with IPAddress

I wanted to ask about the new angular.json file which replaced the .angular-cli.json. I used to override the host value there, but now i can not find how to override it. Does anyone has run into the same problem? Can you suggest me a solution other than writing host as parameter?

@sotiris-rafail  I think what you are looking for is "dev-server" which has the "host" option.  It looks like "host" is not available in the "server" section of the angular.json.
References

https://github.com/angular/angular-cli/wiki/angular-workspace
https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L907-L1028

For anyone looking on how to solve that with the new angular.json file, adding the  "host": "<IP_ADDRESS>" line at the right place works for me
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "project:build",
            "host": "<IP_ADDRESS>"
          },

I have the same issue and using npm run ng serve --host <IP_ADDRESS> does not allow it to be accessed on network. Though app is still accessible locally.

For me either. Even running --host 192.168.x.x doesn't work. It's just a white screen, even though it works on my machine.

ng serve --host <IP_ADDRESS> is a security risk isn't it? Angular cli giving warning. I don't think we can use this for production deployment
> ng serve --host <IP_ADDRESS>

WARNING: This is a simple server for use in testing or debugging Angular applications
locally. It hasn't been reviewed for security issues.

Binding this server to an open connection can result in compromising your application or
computer. Using a different host than the one passed to the "--host" flag might result in
WebSocket connection issues. You might need to use "--disableHostCheck" if that's the
case.
** Angular Live Development Server is listening on <IP_ADDRESS>:4200, open your browser on http://localhost:4200/ **

and with --disableHostCheck
WARNING: Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.

I have the same issue and using npm run ng serve --host <IP_ADDRESS> does not allow it to be accessed on network. Though app is still accessible locally.

@naveedkamran
if you are runing from npm you'll need to add two more hipens after ng serve.
Like this npm run ng serve -- --host=<IP_ADDRESS>

@pratapgowda007 You shouldn't be using ng's dev server for production, not sure what you mean

update to @jyte answer - solution for angular 7 changed to
{ "projects": {
    "foo-project": {
      "architect": {
        "serve": {
          "configurations": {
            "host": {
              "host": "<IP_ADDRESS>"
            }
          }}}}}}

update to @jyte answer - solution for angular 7 changed to
{ "projects": {
    "foo-project": {
      "architect": {
        "serve": {
          "configurations": {
            "host": {
              "host": "<IP_ADDRESS>"
            }
          }}}}}}

Doesn't work for me in Angular 8. But @jyte 's answer works for me in Angular 8.

I follow all the  possible solution from this page, and I can say I successfully accessed my application outside my localhost, but the problem is when I try to sign in, I cannot log in and I can't see what is the error. Is their any possible solution for this, might I missed something. by the way I am newbie here, hope you guys can support my query, thank you so much


Something wrong about subtitle

Something wrong about subtitle
When I play a video in my personal computer with PotPlayer , I can see my subtitle .But if I play it with Dplayer in html , the subtitle  disappeares ! But there is no external subtitle in my computer even the subtitle can be seen in Premiere Pro
So, is the Dplayer get it rid of the video?? That is ridicolous！
The video I referred
https://murasamelib-v.oss-accelerate.aliyuncs.com/架向星空之桥/1080p/01.mp4
All devices and softwares had tried are as follows
default player in Pixel 2XL : exist
Dplayer : disappeared
Premiere Pro : exist
Windows Media Player : exist
default player in Windows10 : exist
Potplayer : exist
Chrome(by chick the link) : exist
Only can playing it with Dplayer make subtitle disappeared

It's CACHE'S faule !


Cherry-pick PR 579 and PR 584

chore: fix helm-testing versioning in publish-chart-yaml

Replace hard coded patch and minor values of 0,
with values derived from the chart version

That way we get versions derived from chart/Chart.yaml,
like 2.7.2-... instead of hard coded values like 2.7.0-... or 2.0.0-....

Signed-off-by: Blaise Dias<EMAIL_ADDRESS>

ci: various release chart update fixes

Don't update the chart on a pre-release
Set missing base branch for pull-request
Add stricter release validation
Add more tests

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

@tiagolobocastro could you pull in the krew bot change into this PR as well?

bors merge

Network error it seems...
bors merge

bors merge


Move IntegerType to converter and drop cache of converted values

This is mostly done, the only missing piece is a way to set the IntegerType's array storage within Converter.

This needs to be redone, I believe we decided to keep the cache, and the converter will need to be implemented using the new select_tag feature.

I'd say we ditch the cache: https://github.com/asdf-format/asdf/issues/1347


revert some changes of ec33081 (v4l2_find_nearest_size)

It could resolve some errors like this:
make -C /lib/modules/4.15.0-147-generic/build M=/home/myworld/Github/vcam modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-147-generic'
  CC [M]  /home/myworld/Github/vcam/device.o
/home/myworld/Github/vcam/device.c: In function ‘vcam_try_fmt_vid_cap’:
/home/myworld/Github/vcam/device.c:156:50: error: implicit declaration of function ‘v4l2_find_nearest_size’; did you mean ‘v4l2_find_nearest_format’? [-Werror=implicit-function-declaration]
         const struct v4l2_frmsize_discrete *sz = v4l2_find_nearest_size(
                                                  ^~~~~~~~~~~~~~~~~~~~~~
                                                  v4l2_find_nearest_format
/home/myworld/Github/vcam/device.c:157:34: error: ‘width’ undeclared (first use in this function)
             vcam_sizes, n_avail, width, height, vcam_sizes[n_avail - 1].width,
                                  ^~~~~
/home/myworld/Github/vcam/device.c:157:34: note: each undeclared identifier is reported only once for each function it appears in
/home/myworld/Github/vcam/device.c:157:41: error: ‘height’ undeclared (first use in this function); did you mean ‘hweight8’?
             vcam_sizes, n_avail, width, height, vcam_sizes[n_avail - 1].width,
                                         ^~~~~~
                                         hweight8
cc1: some warnings being treated as errors
scripts/Makefile.build:333: recipe for target '/home/myworld/Github/vcam/device.o' failed
make[2]: *** [/home/myworld/Github/vcam/device.o] Error 1
Makefile:1591: recipe for target '_module_/home/myworld/Github/vcam' failed
make[1]: *** [_module_/home/myworld/Github/vcam] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-147-generic'
Makefile:14: recipe for target 'kmod' failed
make: *** [kmod] Error 2

Rather than commenting out, can you implement effective conversion?

Close in favor of #8


make a segue is not possible

I'm trying to make a transition to another controller by a button, but it doesn't work. What should I do?

Good afternoon, you can provide a piece of code in which you are trying to present the controller?

I am trying to make a segue but nothing happens
`let alertPopUp = ALPopup.card(template: .init(
title: "Завершить тест",
subtitle: "Вы уверены что хотите завершить тест? Ваши результаты не будут сохранены",
image: UIImage(systemName: "exclamationmark.triangle.fill"),
privaryButtonTitle: "Да",
secondaryButtonTitle: "Вернуться к тесту")
)
    alertPopUp.tempateView.primaryButtonAction = {
        alertPopUp.pop {
           self.navigationController?.popViewController(animated: true)
        }
    }

    alertPopUp.tempateView.secondaryButtonAction = {
        let storyBoard = UIStoryboard(name: "Main", bundle: nil)
        let nextViewController = storyBoard.instantiateViewController(withIdentifier: "AuthVC") as! AuthorizationViewController
        self.present(nextViewController, animated: true, completion: nil)
     //   alertPopUp.pop()
    }`

I tried to reproduce your code and everything seems to work fine
popupVC.tempateView.secondaryButtonAction = { [weak self] in
    popupVC.pop() { [weak self] in
        let vc = UIViewController()
        vc.view.backgroundColor = .red
        self?.present(vc, animated: true)
    }
}

https://user-images.githubusercontent.com/55058570/135424300-dbab7cdd-69c0-49c3-995b-0e5ba8cfe767.mp4


If we add a name to a snippet, it should be the suggestion filename when downloading

Expected Behavior
that the downloaded file name is the same as the snippet name
Info
Please complete the following information:
OS [e.g. macOS, Linux, Windows, iOS]: macOS
Browser [e.g. Chrome, Safari, Firefox]: Chrome

This is a great idea! I would be happy to accept a PR that implements this, otherwise I will try to get to this during my next dev cycle 👍


Axis IP camera stop responses without error

This issue happens to ipcam_test.py (single threaded version) once after a few day. Image query fails to grab an image. There's no error, urllib.urlopen() just waits forever. It happened again this morning in the middle of a panorama. More than half the number of image had been captured, then the program kept waiting to query an image. I had to stop the program by "Ctrl+C" and below is the output from just before the program stop taking more images:
....
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/com/ptz.cgi?pan=-63.3115&tilt=-2.572
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/bitmap/image.bmp?resolution=1280x720&compression=0
Save to /home/chuong/data/PanoFallback/ARB-GV-HILL-1/2015/2015_05/2015_05_18/2015_05_18_07/ARB-GV-HILL-1_2015_05_18_07_00/ARB-GV-HILL-1_2015_05_18_08_08_00_00_0420.jpg
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/com/ptz.cgi?pan=-63.3112&tilt=-4.4733
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/bitmap/image.bmp?resolution=1280x720&compression=0
Save to /home/chuong/data/PanoFallback/ARB-GV-HILL-1/2015/2015_05/2015_05_18/2015_05_18_07/ARB-GV-HILL-1_2015_05_18_07_00/ARB-GV-HILL-1_2015_05_18_08_08_00_00_0421.jpg
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/com/ptz.cgi?pan=-63.3107&tilt=-6.3689
http://root:admin@<IP_ADDRESS>:4442/axis-cgi/bitmap/image.bmp?resolution=1280x720&compression=0
^CTraceback (most recent call last):
  File "ipcam_test.py", line 252, in <module>
    ImageFileName = getFileName(PanoFolder, CameraName, i, 'jpg')
  File "ipcam_test.py", line 57, in captureImage2File2
    try:
  File "ipcam_test.py", line 41, in captureImage
    stream = urllib.urlopen(URL_Str)
  File "/home/chuong/anaconda/lib/python2.7/urllib.py", line 87, in urlopen
    return opener.open(url)
  File "/home/chuong/anaconda/lib/python2.7/urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "/home/chuong/anaconda/lib/python2.7/urllib.py", line 351, in open_http
    errcode, errmsg, headers = h.getreply()
  File "/home/chuong/anaconda/lib/python2.7/httplib.py", line 1145, in getreply
    response = self._conn.getresponse()
  File "/home/chuong/anaconda/lib/python2.7/httplib.py", line 1073, in getresponse
    response.begin()
  File "/home/chuong/anaconda/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/home/chuong/anaconda/lib/python2.7/httplib.py", line 371, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/home/chuong/anaconda/lib/python2.7/socket.py", line 476, in readline
chuong@marlo-cecs:~/workspace/Gigavision$
'''

Just implemented a timeout using urllib2. See if this helps.

This seems to be fixed with urllib2 and timeout feature. It can detects when the camera turns on/off in the middle of a panorma.


vhdl:autoconstant / vhdl:constant

Hi, is there a reason why vhdl:autoconstant or vhdl:constant is not implemented?
Is there already a way available to document a constant?

Hi, thank you for your hint.
This feature will be implemented in the next version.


JSON as format for Slippy Map Tiles Request

Hi,
thanks for this great plugin @stefan0722.
I have a short question: Is it possible to add the ".json" format to the Slippy Map Tiles feature?
That extension would help me a lot to use our geoserver in the same way like http://tile.openstreetmap.us/vectiles-buildings/{z}/{x}/{y}.json'.
Best regards
Benedikt

Hi,
First a question, with .json you would expect GeoJSON Output?
I think it would be possible but it is a bit more then just registering a new output mapping in the applicationContext.xml. The Slippy Map Tiles controller creates an WMS Request out of the Slippy Map URL and forwards the request to Geoservers WMS endpoint. As much as i know the WMS Endpoint dosn´t support GeoJSON out of the Box. So i quess a solution could be to create a Wrapper around the WFS GeoJSON Output Format which fits the WMS Output Format Interfaces.

Hi,
thanks for the fast reply. Yes my first idea was to use geojson (e.g. http://tile.openstreetmap.us/vectiles-buildings/13/4390/2854.json).
Anyway, I figured out that your plugin supports binary pbf vector data.
Do you have an example or a demo that shows how I can use the binary vector data of your project with frameworks like tangram or mapbox gl?
Mapbox typically add layers with:
map.addSource('RPD_Parks', {         type: 'vector',         url: 'mapbox://mapbox.3o7ubwm8'     });
Do you have experience how I can replace that with a geoserver url?


Code using postponed evaluation of annotations (PEP 563) is rejected with a SyntaxError

Nuitka chokes on files that make use of annotations that are only valid with PEP 563, which was added in Python 3.7. Among other changes, it allows type annotations for methods in a class to use the name of the class in which they were defined. For example, the following is not valid without PEP 563 due to Foo not being defined at the point it is used in the type definition:
class Foo:
    def make_foo() -> Foo:
        return Foo()

This is valid in Python 3.7+ when from __future__ import annotations is used, and will become the default in Python 4.

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

(ins)awang@sid:/tmp/nuitka$ apt show python3.7
Package: python3.7
Version: 3.7.1-1
<snip>

(ins)awang@sid:/tmp/nuitka$ python3.7 -m nuitka --version
0.6.1rc7
Python: 3.7.0+ (default, Aug 31 2018, 23:21:37)
Executable: /home/awang/.cache/pypoetry/virtualenvs/test-py3.7/bin/python3.7
OS: Linux
Arch: x86_64

How did you install Nuitka and Python (pip, anaconda, deb, rpm, from source,
what is a virtualenv ...), this is very important usually.

Python was installed using apt and Nuitka was installed through poetry with the following pyproject.toml:
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = [""]

[tool.poetry.dependencies]
python = "^3.7"

[tool.poetry.dev-dependencies]
nuitka = {git = "https://github.com/Nuitka/Nuitka", branch = "develop"}

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

If possible please supply a Short, Self Contained, Correct, Example
that demonstrates the issue i.e a small piece of code which reproduces
the issue and can be run with out any other (or as few as possible)
external dependencies.

The following file demonstrates the issue:
from __future__ import annotations

class Foo:
    def make_foo() -> Foo:
        return Foo()

(ins)awang@sid:/tmp/nuitka$ python3.7 test.py
(ins)awang@sid:/tmp/nuitka$ echo $?
0
(ins)awang@sid:/tmp/nuitka$ python3.7 -m nuitka test.py
  File "test.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Nuitka is very syntax compatible with standard Python. It is currently running
with Python version '3.7', you might want to specify more clearly with the use
of the precise Python interpreter binary and '-m nuitka', e.g. use this
'python2.7 -m nuitka' option, if that's not the one the program expects.

Wow, surprising, this also means that CPython tests don't cover it yet:
https://www.python.org/dev/peps/pep-0563/#enabling-the-future-behavior-in-python-3-7
So question is of course, how to check it. I think we should at least print the resulting "annotations" of the class, to check it is still a string even there, or resolved in a later step already.

Oh my goodness, this is what I get:
>>> s
'from __future__ import annotations\n\nclass Foo:\n    def make_foo() -> Foo:\n        return Foo()\n\nprint(Foo.make_foo.__annotations__)'

>>> a = ast.parse(s)
>>> ast.dump(a)
"Module(body=[ImportFrom(module='__future__', names=[alias(name='annotations', asname=None)], level=0), ClassDef(name='Foo', bases=[], keywords=[], body=[FunctionDef(name='make_foo', args=arguments(args=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Return(value=Call(func=Name(id='Foo', ctx=Load()), args=[], keywords=[]))], decorator_list=[], returns=Name(id='Foo', ctx=Load()))], decorator_list=[]), Expr(value=Call(func=Name(id='print', ctx=Load()), args=[Attribute(value=Attribute(value=Name(id='Foo', ctx=Load()), attr='make_foo', ctx=Load()), attr='__annotations__', ctx=Load())], keywords=[]))])"

So the effect seems not to be present where it would make sense. Seems CPython undoes the name lookup somehow back to a string, instead of providing a string in the ast tree, it is doing a kind of back translation. Seems that is happening in _PyAST_ExprAsUnicode which is a C API function only, not currently exposed to Python, but ctypes should help us anyway.

So _PyAST_ExprAsUnicode is not an option, the ast nodes are Python objects, but I found another way, namely, using compile with the future value enabled, will do it for us, so basically I am injecting the node into an existing node tree that does only x:1 and then exec that one, which only assigns to the __annotations__ value, which is safe as it can only create a string.
This is then looked up, and used as an __annotation__.
I am not sure who should be more ashamed. The designers of this or the hacker that I am, but this works. I am currently only doing it for function arguments and return value. Obviously there is also module and class level assignments, which I will add as well, then this should be good, and it's even good enough for a hotfix I would say, and one is coming shortly anyway.
Yours,
Kay

Will be pushed to factory branch in a couple of minutes.

Wow, that was fast. Thanks!

Seems CPython undoes the name lookup somehow back to a string, instead of providing a string in the ast tree, it is doing a kind of back translation

The reference implementation says that "AST unparsing" was used; I don't know if that has changed since then.

It seems they made a prototype of that AST unparsing as a tool, but I doubt they kept it in sync or are going to, and it's fairly complex code.
My trick works fairly well, and gets at their C code directly, and as used by standard Python. I will create a CPython bug to try and get ast.unparse exposed for maybe 3.8, as it could potentially be faster.

So the issue is https://bugs.python.org/issue35143
Lets hope I was stupid, and it has just escaped my attention, or they add it for 3.8 at least.

This is indeed going to change for 3.8, my workaround is in develop and will be in the next stable release, therefore closing.


Dose it support ControlNet inpaint in SDXL？

Yes, I'm working on it. It works fine. I will integrate it into the code soon.
Here is an example. I directly edit 2K image using controlnet inpainting + hidiffusion
input:

output:

Yes, I'm working on it. It works fine. I will integrate it into the code soon.是的，我正在努力。它工作正常。我将很快将其集成到代码中。 Here is an example. I directly edit 2K image using controlnet inpainting + hidiffusion下面是一个示例。我使用 controlnet inpainting + hidiffusion 直接编辑 2K 图像 input: 输入：
output: 输出：

That's great! I can't wait to try it!

Hello, which inpainting controlnet for SDXL did you use in the example above?

Hello, which inpainting controlnet for SDXL did you use in the example above?

diffusers/controlnet-canny-sdxl-1.0

Thank you for your quick reply! Did you mean that you use stabilityai/stable-diffusion-xl-base-1.0 conbined with diffusers/controlnet-canny-sdxl-1.0 to perform the image inpainting task? What is the benefit of using a canny controlnet rather than only sdxl?

Thank you for your quick reply! Did you mean that you use stabilityai/stable-diffusion-xl-base-1.0 conbined with diffusers/controlnet-canny-sdxl-1.0 to perform the image inpainting task? What is the benefit of using a canny controlnet rather than only sdxl?

Yes.
Only use stabilityai/stable-diffusion-xl-base-1.0 can also do inpainting task, but the pose consistency is not as good as sdxl+controlnet.
For example, here is the inpainting output only using sdxl+hidiffusion. You can see the difference.


Update readme files to call out use of the built-in connection to Azure Stack Quickstart

On readmes, it is not necessary to use cut and paste for azure stack instances that are connected to the internet. Instead, use the "Quickstart template" feature to browse this repo and automatically populate the custom template.

Please fix this! I have people failing to understand this concept and we invested energy in the portal. Also, some readmes do not call out dependencies, like VM images that must be available, or extensions.


[Iterator] Adding the methods is_begin() and is_end() to the iter_impl

Hi,
I don't know if this is the proper way to proceed with a PR. Maybe I should create an issue first. I already created one some time ago https://github.com/nlohmann/json/issues/1242
After that I tried several things, the point is we create a iterator adaptor and we need to skip the end iterators during that creation process to avoid the assert.
But after trying many things the only thing I could do to avoid the assert was creating this is_end() method.
Tell me if tis is not a proper solution to the problem or if you want me to implement a test for this methods that I added.

Why not check it == j.begin() instead of of it.is_begin()?

Where I execute the code I cannot access to the whole "json list"
Here for example:
https://github.com/KratosMultiphysics/Kratos/blob/8a1f314b960f9d6fd08172a03c3fa7ce6983f8db/kratos/includes/kratos_parameters.h#L162

I don't think this is a good addition as this is an extension to the usual iterator interface. If you need to know the container the iterator belongs to, then store a reference to it. As a PR may be the wrong place to discuss, please open an issue for this.

Coverage remained the same at 100.0% when pulling b702163c9a73c9bf88bd26fc0cd41c1bc327fa2b on loumalouomega:missing-isend-isbegin-methods into 9294e25c98f9c09a1874842dbcaae7a91336a57e on nlohmann:develop.

I will try what you say (that I already tried but didn't work), if it doesn't solve the problem I will open an issue
Thanks

Just to mention that I solved the problem, my error was that I was using a temporal container and the referenced value gave a memory error, now is properly solved. Sorry for the noise and thanks for the library


attempting ci check to make it blazingly faster

Description
Now installing should be blazingly fast since we are caching the node_modules!
Fixes #26
Thank you for contributing to our NX-Generatorz repo!
:rocket:(づ｡◕‿‿◕｡)づ:rocket:

Looks good to me, but have you tried caching everything?
The Solution


Do not include IP addresses as SNI values

According to RFC 6066, IP address literals are not permitted as valid
SNI values in the server name extension.
See https://datatracker.ietf.org/doc/html/rfc6066#section-3
Description
I used the same method that crypto/tls uses to check to see if the serverName is an IP address: https://cs.opensource.google/go/go/+/master:src/crypto/tls/handshake_client.go;l=1004
I kept the port parsing logic for the case that net.ParseIP would also fail if the remoteAddr was an IP:Port pair.
I didn't see existing testing logic to check SNI values but can add tests if necessary.
Reference issue
Fixes #406

Thanks for you contribution! Before we can merge this we need a test for this to ensure we don't regress.

Go crypto/tls handles this somewhat differently. Its hostnameInSNI function maps IP addresses to "", but it keeps an empty string as an empty string and never peeks at a RemoteAddr to set a default.
From my point of view, a good-enough solution would be to delete the whole serverName inference block and pass config.ServerName to &handshakeConfig{} directly. I think an empty ServerName should always mean to omit the SNI extension. Beyond that, it's additionally possible to filter out IP addresses, even if manually set by the caller, as in hostnameInSNI.

@daenney thanks, just pushed a test.
I'm happy to implement @uumaro 's suggestion as well.

Just removed the population of the serverName with the remote addr of the conn as suggested by @uumaro
I think this is ready for review again.

LGTM! Thank you so much @cohosh
I tagged v2.0.11 also

Thank you!!


add filetype to the float

Please attach a filetype to the float, perhaps something like orphans. It is good practice to do so; in my particular case this would be helpful because I use a trailing whitespace highlighter plugin that lights up in orphans float window because there's a lot of trailing whitespace displayed. Having a filetype will allow me to disable my whitespace plugin for this plugin's float window.

Thanks @kadimisetty for testing, I resolved the defect by adding an option, please have a look at the new version. If it doesn't work, please feel free to reopen this issue.


Add main method to Druid query runner

fixes #6361

Thanks for working on this. Can you please check the build failures ?

Thanks for working on this. Can you please check the build failures ?

fixed

Merged, thanks!


Hi are there cryptocurrencies that utilises this framwork?

Hi are there cryptocurrencies that utilises this framwork?

On https://www.cosmwasm.com/ you find a number of projects that use the CosmWasm smart contracting technology. This does not not mean their tokens are implemented using CosmWasm.
However, we'd like to stay aways from cryptocurrency and investment discussions in this repository. Feel free to join the community chat https://discord.com/invite/cPjEnPd to familiarize yourself with the ecosystem. If you have technical questions, please open a more specific GitHub issue.

I see thanks mate
On Wed, Apr 21, 2021 at 12:28 AM Simon Warta @.***>
wrote:

On https://www.cosmwasm.com/ you find a number of projects that use the
CosmWasm smart contracting technology. This does not not mean their tokens
are implemented using CosmWasm.
However, we'd like to stay aways from cryptocurrency and investment
discussions in this repository. Feel free to join the community chat
https://discord.com/invite/cPjEnPd to familiarize yourself with the
ecosystem. If you have technical questions, please open a more specific
GitHub issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CosmWasm/cosmwasm/issues/890#issuecomment-823320590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKO7IK5QESE6E47M2SSCBDTJWFSVANCNFSM43IHT2BQ
.


fix(cni): remove useless endpoint ip sync

endpoint status will be replaced will empty agentinfo, this sync op does not make sense.
agent will not watch endpoint

Codecov Report

Merging #309 (be347f0) into main (fa94d27) will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #309      +/-   ##
==========================================
+ Coverage   63.70%   63.86%   +0.16%
==========================================
  Files          41       41
  Lines        6912     6883      -29
==========================================
- Hits         4403     4396       -7
+ Misses       2147     2126      -21
+ Partials      362      361       -1

Impacted Files
Coverage Δ

pkg/agent/cniserver/server.go
0.00% <ø> (ø)

pkg/controller/group/group_controller.go
69.31% <0.00%> (-3.98%)
:arrow_down:

pkg/agent/datapath/multiBridgeDatapath.go
65.42% <0.00%> (ø)

pkg/agent/controller/policy/policy_controller.go
78.42% <0.00%> (ø)

plugin/tower/pkg/controller/global/controller.go
88.03% <0.00%> (+1.28%)
:arrow_up:

plugin/tower/pkg/controller/policy/controller.go
83.28% <0.00%> (+1.82%)
:arrow_up:


Decal Placer + add new decals for mapping

About the PR
Adds a decal placer menu and placement stuff for it.
Controls: F8 to open the menu (or admin menu or sandbox menu)
Left click to place decal
Right click to remove decal
Can snap to tiles, rotate, dynamically color, etc
Spawning entities/tiles/clicking/context menu won't work while the decal placer menu is open, so be wary of that
Disclaimer: the placement system is really shit and copies PlacementManager in a lot of ways. i was initially going to wait for placement refactor to do this but it was taking too long, so here we are.
Another disclaimer: the color picker stuff is just copied from eye color picker. i should probably put it somewhere more generic
Adds in warning lines decals and greyscale versions of them, ready to use. Also adds in full/half/quarter tile overlays like SS13 had (these need their own rotations because tiles arent perfectly centered). This isn't too useful for mappers yet since there aren't premade colors like sec/command/sci/etc but moony said she'd add palette support for those so I'll just trust that
Screenshots

Changelog

:cl:

add: Mappers can now add decals to maps using the Decal Placer menu.

added every decal i wanted to, ready for review again


correct syntax error in processBuffer function

This looks like it would cause the code to crash.

@alexleeds, there are two things happening in this line (should be clearer if split into two lines)
(i) local variable "key" is set equal to m[1]
(ii) local variable "value" is set to undefined, hence the comma.


RDK-31823: platco hisense READ EDID thunder API

Reason for change:
platco hisense READ EDID thunder API
IARM modifications
Test Procedure: None
Risks: Low
Change-Id: I4df7fe396e2336ca4b9e47ed9f7cb21260bee988
Signed-off-by:Anooj Cheriyan<EMAIL_ADDRESS>

Old one. New one created: https://github.com/rdkcentral/rdkservices/pull/958


Fix "sticky buttons"

This PR makes 2 changes:

Adds the on_deactivate event to the mouse and key state handlers, meaning that when the window loses focus it will treat it like all keys and mouse buttons had just been released. This prevents issues with "sticky buttons" such as when alt+tabbing when holding a key down.
Imports the pyglet.window.mouse module by default.

Resolves #681

Doesn't this just create an issue with the reverse? If I hold a key down, alt tab, then tab back, it's no longer treated as being held down?

but already if someone holds down a key in that window and tab to another one why would they want it to be holded down in that window too?

Doesn't this just create an issue with the reverse? If I hold a key down, have the window lose focus, then tab back, it's no longer treated as being held down even though the key is?

I'd personally rather have the key release itself than it appear stuck, in most games having a key stuck is going to lead to more annoyance than just having it no-longer pressed.
I'm just not sure how we would fix an issue like this, is there a way to detect keyboard events even when the window is not focused? The only way I can see a full solution to this is keeping track of key presses even when unfocused, then checking if the window is active in __getitem__ (probably with some flag set by on_activate and on_deactivate)

Thank you Lenny!


SuperAGI (v0.0.7) - cannot initialize app when organisation_id=None

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
Hello,
Description:
Trying to use SuperAGI v0.0.7 locally fails on organization_id = None
Note - I've used v0.0.5 successfully, the failure comes when upgrading to 0.0.7 ( Ofcourse this still recreates on a fresh clean git clone )
Issue
orgranization_id cannot be 'None' as toolkit requires it.
You can find organization_id in a couple of sections

Path: SuperAGI/main.py
    if default_user is not None:       organisation = session.query(Organisation).filter_by(id=default_user.organisation_id).first()       logger.info(organisation)       register_toolkits(session, organisation)

Path: SuperAGI/superagi/models/organisation.py
        if user.organisation_id is not None:           organisation = session.query(Organisation).filter(Organisation.id == user.organisation_id).first()           return organisation

The Problem
No organization_id can be input by the user in the config.yaml file - nor do we have a guidance in the installation guide on a static organization id ( without the first in the filter )
Issue is simple to recreate

git clone
set config.yaml with the relevant data including ENV: 'DEV'
set agent_executor.py to use pinecone 'free tier' replica set index
memory = VectorFactory.get_vector_storage(VectorStoreType.PINECONE, "my-current-indexname-cosine",
memory = VectorFactory.get_vector_storage("PineCone", "my-current-indexname-cosine",

My own env

SuperAGI (v0.0.7)
MACOS 13inch 2020
2GHC core i5
GPU intel iris plus 1536MB
Ventura 13.4.1
VSCODE to run the docker-build
Docker-for-Desktop

Any help is appreciated <3
How to replicate your Issue?

git clone
set config.yaml with the relevant data including ENV: 'DEV'
set agent_executor.py to use pinecone 'free tier' replica set index
memory = VectorFactory.get_vector_storage(VectorStoreType.PINECONE, "my-current-indexname-cosine",
memory = VectorFactory.get_vector_storage("PineCone", "my-current-indexname-cosine",

Upload Error Log Content
superagi-backend-1          | INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
superagi-backend-1          | INFO  [alembic.runtime.migration] Will assume transactional DDL.
superagi-backend-1          | INFO:     Will watch for changes in these directories: ['/app']
superagi-backend-1          | INFO:     Uvicorn running on http://<IP_ADDRESS>:8001 (Press CTRL+C to quit)
superagi-backend-1          | INFO:     Started reloader process [1] using WatchFiles
superagi-gui-1              | - event compiled client and server successfully in 15.6s (651 modules)
superagi-gui-1              | - wait compiling...
superagi-gui-1              | - event compiled client and server successfully in 5.1s (651 modules)
superagi-backend-1          | INFO:     Started server process [26]
superagi-backend-1          | INFO:     Waiting for application startup.
superagi-backend-1          | 2023-07-09 13:40:55 UTC - Super AGI - INFO - [/app/main.py:148] - Running Startup tasks
superagi-backend-1          | 2023-07-09 13:40:55 UTC - Super AGI - INFO - [/app/main.py:152] - User(id=1, name='SuperAGI User'<EMAIL_ADDRESS>password='xxx',organisation_id=None)
superagi-backend-1          | 2023-07-09 13:40:55 UTC - Super AGI - INFO - [/app/main.py:155] - None
superagi-backend-1          | ERROR:    Traceback (most recent call last):
superagi-backend-1          |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 677, in lifespan
superagi-backend-1          |     async with self.lifespan_context(app) as maybe_state:
superagi-backend-1          |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 566, in aenter
superagi-backend-1          |     await self._router.startup()
superagi-backend-1          |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 654, in startup
superagi-backend-1          |     await handler()
superagi-backend-1          |   File "/app/main.py", line 156, in startup_event
superagi-backend-1          |     register_toolkits(session, organisation)
superagi-backend-1          |   File "/app/superagi/helper/tool_helper.py", line 248, in register_toolkits
superagi-backend-1          |     logger.info(f"Toolkits Registered Successfully for Organisation ID : {organisation.id}!")
superagi-backend-1          | AttributeError: 'NoneType' object has no attribute 'id'
superagi-backend-1          |
superagi-backend-1          | ERROR:    Application startup failed. Exiting.

Hey @EpicApex looks like you have changed the code and changed the default user.
superagi-backend-1 | 2023-07-09 13:40:55 UTC - Super AGI - INFO - [/app/main.py:152] - User(id=1, name='SuperAGI User', email='[xxx@agi.com](mailto:xxx@agi.com)', password='xxx',organisation_id=None)
For local uses we create a hardcoded user any reason you changed the default user?
Can you revert back to original and try again.

Hi @luciferlinx101,
I actually didnt know that there is a default settings.
Although I I assumed you made it static but just to make sure i've changed the credentials to 'xxx' by intention in this ticket only without changing any hardcoded code by you guys.
Any intakes after that is being cleared?

Hey you can revert back to default and there shouldn't be any issue.

I think I wasnt clear before I'll try again.
The information I've put in this "Issue" section on your github repo is the only one I've manipulated ( by text )
The entire repo as you can see the recreation steps - git clone  - is a standard clone -> Here I didnt change anything and I've tried to run 0.0.7 without success.
Is there any more information you need?

Closing the issue for now. Please feel free to reopen it if you feel it's unresolved!


How to access \wsl$ from any app?

Is it possible to access \wsl$ from the command line (Windows side) and or any native app?

Is it possible to access \\wsl$ from the command line

From PowerShell, yes. From CMD, not that I know of, excepting mapping the UNC path to a drive letter.

and or any native app

Apps that understand UNC paths, yes. That that do not, no, excepting mapping the UNC path to a drive letter.

Thanks for the answer.
After some digging it seems it's actually possible to access WSL from cmd.exe. For example, this will work:

dir \wsl$\Ubuntu-20.04

dir \wsl$\Ubuntu-20.04

That's right, thank-you. There might be some limitations in CMD, notably a UNC path can't be your current working directory.

Accessing the \wsl$ root to get the list of WSL distributions won't work though

Enumerating the distros via \\wsl$ is a pretty reasonable ask (I think?) if you or someone who lands here wants to open that as a feature request under another cover.

@therealkenc good idea! I'll open a feature request for that: I'll need it for https://github.com/warpdesign/react-explorer/issues/149


Update resource-limits-quotas-capacity.md

I added more details around making a quota increase request to clearly state what we support at this time.

@ntrogh
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off

Learn Build status updates of commit ba28b9c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/101187/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Transition Plan - Determine Conversion for Board Names to Tag elements

Feature Request
Context
Programmatically vs Manually update people's board names to tagging
Story
As a People Mover Allocator
I want As little disruption in my use of the app as possible when converting to new features
So I can continue to use the app without data loss or confusion

Acceptance Criteria
Given
When
Then
Notes

from @Druage on Jan 24:
The things that we have to do will be documented below:
Look at all of the spaces and see how each team organizes their products within multiple boards, only document the spaces that are actually being used by real teams, some may be test spaces or just temporary.
Figure out how to turn these boards and products into a one product view with tags from said board, we would have to tag all of the products.
Delete the boards while moving products to be attached to a space. Maybe a table or a new column.
Next would be introducing the concept of time to the PRODUCT and ASSIGNMENTS tables, you would need both, date objects already appear to be on these entities, we would just have to make sure that they are being used and that we can query for all products / assignments on a specific date.
At this point to would then be able to do the filter / sort stories and the rest of the stories within the daily-time view.


Added logical defs for spiral ganglion subtypes

Fixes #1319

note: I left the morphology out of the logical def as that is not technically what defines the neuron (sufficiently defined by what it innervates), happy to add it in though, don't think it makes a difference in this case


added bower vs npm resource

I was not sure what the difference was between the two as a student, so I have created a resource to help other students. Please let me know if my understanding (or grammar) needs any editing.

It is worth noting that just because a dependency is on npm and bower does not mean that dependency is the same in both places.  So students should carefully read the docs of the dependency they are trying to use when they are doing installs.  A great example of this is when using angular-route.  If doing a bower install you do something like angular.module('myApp', ['ngRoute']);   If using npm you do something like angular.module('myApp', [require('angular-route')]);

👍


Support iTerm 3.0.0

iTerm 3.0.0 is out!
$ echo 'get version of application "iTerm"' | osascript
3.0.0

Unfortunately this version checking bit does not expect a normal semantic version yet so it bails out thinking the iTerm build is too old: https://github.com/TomAnthony/itermocil/blob/master/itermocil.py#L34

👍

I've pushed a fix for this that appears to be working. Can you verify please @ze-phyr-us. Thanks to @bitsapien. :)

@TomAnthony When do you plan on updating this on brew?

@mackeyja92 @bitsapien
I've updated that now. Give this a try and let me know:
# Install `itermocil` via Homebrew
$ brew update
$ brew install TomAnthony/brews/itermocil

I've just updated to itermocil 0.2.0 and it still seems to dislike iTerm 3.0.0:
$ itermocil symposium
This is an unsupported beta build of iTerm.
Try the latest nightly, or the 2.1.1 stable build.
See Readme notes for more info. Sorry!

$ itermocil --version
0.2.0
$ echo 'get version of application "iTerm"' | osascript
3.0.0

Same problem after brew update && brew upgrade TomAnthony/brews/itermocil

Same here when using 80fcb791712c866342a08d6d2520b29a2d69c4cb from master branch

@ze-phyr-us @mbollemeijer @afonsoduarte Try again now. Sorry - I was on a nightly when testing (need more sleep). :)

Fix confirmed. 👍

+1, all good!

+1 Works like charm, Thanks @TomAnthony

Even after running brew upgrade, my brew formula was stuck on version 0.1.8, I had to explicitly tell brew which formula to execute:
brew uninstall itermocil
brew cleanup  # Optional
brew install https://raw.githubusercontent.com/TomAnthony/homebrew-brews/master/Formula/itermocil.rb


chore: bdd-sbhg-1583888259 to 0.0.1

chore: Promote bdd-sbhg-1583888259 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


fix some copy-pasting error

see title / commit

@tycho01,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Not sure how changing a comment made the build fail.

Restarting Travis on the assumption someone else broke the build and has fixed it in the interim


Defined new revisions for golang dep: github.com/campoy/embedmd

Once the package was harvested, the scanners detected the license info, so closing this PR.  Thanks


Bug: Missing successor of AdoptOpenJDK OpenJ9, IBM Semeru

Bug report
Related to https://github.com/sdkman/sdkman-cli/issues/948:
AdoptOpenJDK's build of Eclipse OpenJ9 is now released as IBM Semeru, available from IBM and from the Adoptium Marketplace.
To reproduce
sdk list java only shows temurin, but not semeru.
System info
any
** Links **

https://twitter.com/mstoodle/status/1422569283306020874?s=20
https://developer.ibm.com/blogs/introducing-the-ibm-semeru-runtimes/

Please follow the contributing guidelines before opening a bug.


Character Level NLP: Add link to blog post about Character Level NLP

Post covers why you'd work at Char level, the problems it solves and alternative solutions
Contribution Guidelines
Please ensure your pull request adheres to the following guidelines:

Search previous suggestions before making a new one, as yours may be a duplicate.
Make an individual pull request for each suggestion.
Use the following format: Bookmark Title: Description.
The title usually consists of several words. For bookmarks of an article or tutorial, use the title of the article.
The description consists of one-two sentences about the bookmark. It is required.
If the resource has 2 or more links please provide the Github repo link.
Additions should be added to the bottom of the relevant category.
New categories or improvements to the existing categorization are welcome.
Check your spelling and grammar.
Make sure your text editor is set to remove trailing whitespace.
The pull request and commit should have a useful title.

Thank you for your suggestions!

I am not exactly sure if this should go in the Research Summaries and Trends section? Maybe we can this to the Reading Content -> Blogs?
What do you think?

Sorry for the delay. Yes that makes ssense. I'll move it

Closing since this has not been updated in a long time. Please open a new request when you are ready!


[ADDED]: Evil URL Tool

Description
ADDED a tool named EvilURL
Fixes #478
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I've edited the SCRIPTS.md and link to my code.
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@avinashkranjan can you review the PR.


Doesn't work well with Windows 10 Virtual desktops

I'm using Windows 10's virtual desktops and have multiple sublime text windows open on multiple virtual desktops.
When I activate the browser extension (which is on one of the virtual desktops), it flickers through all desktops trying to find a sublime text window. I think it activates several windows which causes windows to jump to that window's desktops causing the flickering. It also doesn't use the last active sublime text window which is on the same desktop, it flickers through and find some other window (I think the one that was opened first).

I don't have a Windows 10 system for testing at the moment, but I believe that the flickering behavior could be some ST internal behavior glitch on Windows 10 hence it not appears on Linux virtual desktops.
About the activating the right ST window on multiple desktops, this might not be possible the ST API does not provide virtual desktop handling and the browser APIs does not support it too.
There is not deterministic way identifying the right ST window, currently I don't know if finding the last active window is possible through the ST API.
Please give me some time about this.

It creates a new window on the same desktop but then it doesn't actually use that window, and instead it does the same thing (flickering through windows).
Doing it again, with the now newly opened window (by ghost-text), it still opens up yet another window and neither uses that one, nor the previously created one, but instead does the same thing again, i.e tries to switch over to other windows/desktops several times before settling on a seemingly random window, can't even say if it's the last used window this time, as it should've been one of the two newly created ones.
Be happy to help in any other debugging process.

If you paste the following code into your ST Console, does it flickers, too?
[(window, view) for window in sublime.windows() for view in window.views()]

Just paste and enter? No, it just outputs this result:
>>> [(window, view) for window in sublime.windows() for view in window.views()]
[(<sublime.Window object at 0x0448DAB0>, <sublime.View object at 0x04485190>), (<sublime.Window object at 0x0448DB30>, <sublime.View object at 0x04485250>), (<sublime.Window object at 0x0448DB30>, <sublime.View object at 0x04485270>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485330>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485150>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485050>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x044851B0>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x04485070>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x04485310>)]


chore(readme): change node requirements

node 5 is not required

Yes, good point. I was doing the same in ci-node4 branch.

Windows require node v5.10.1 ...


Packages for Debian systems

Would it be possible to add pre-built packages for Debian? You already have support for Ubuntu which is very similar.
While Ubuntu is more popular on the desktop, Debian is still used a lot  and is a base for hundreds of other distributions.
I tried using the Ubuntu Xenial packages on my Debian testing with kernel 4.18, but I got errors about how my kernel needs to be patched (I wasn't very hopeful of that working anyway).

Hello @mkollaro ,
the Debian packages we maintain for Ubuntu should be compatible with Debian distribution, though the testing is done with Ubuntu exclusively.
Can you describe what packages you were not able to install and provide the installation logs?
The Debian packages are intended to be used not only by Ubuntu, but by other Debian-based distributions as well, so in case there is something missing it ought to be corrected.
If the failure is isolated to DKMS  package (kernel patches), as indicated in your post,  then using a compatible kernel version is essential. Librealsense DKMS provides for Ubuntu LTS kernels, which currently include v4[4,8,10,13,15] versions.
Kernel 4.18 is not on Ubuntu list yet, and we don't know when and if it will be added.
On the other hand we provide patches for kernel 4.16. There was a major rework in kernel media tree between 4.15 and 4.16, but not from 4.16 to 4.18, so I believe adjusting these patches to Debian build should be quite straight-forward.

Sorry for the late reply, the notification got lost in some pile of email.
I was able to install all packages, no problem there. The issue is that when I run realsense-viewer and connect a camera (SR300), I get error messages about missing kernel patches. This time I was using the packages from Ubuntu Bionic and kernel 4.16.0-1-amd64. I'll try to figure out how to get the kernel 4.15. Regardless, it would be nice if the recent kernel version in Debian testing was supported.

 25/10 14:42:59,140 WARNING [139726943282944] (backend-v4l2.cpp:1248) Pixel format 435a4e49-b602-480f-978c-e4e88ae likely requires patch for fourcc code INZC!
 25/10 14:42:59,140 WARNING [139726943282944] (backend-v4l2.cpp:1248) Pixel format 52494150-8536-4841-b6bf-8fc6ffb likely requires patch for fourcc code PAIR!
 25/10 14:42:59,140 WARNING [139726943282944] (sensor.cpp:338) Unregistered Media formats : [ INZC PAIR Y10  YUYV ]; Supported: [ ]
 25/10 14:43:03,873 ERROR [139726908466944] (types.h:179) xioctl(VIDIOC_DQBUF) failed for metadata fd: 15 Last Error: No such device
 25/10 14:43:03,874 ERROR [139726908466944] (backend-v4l2.cpp:1335) xioctl(VIDIOC_DQBUF) failed for metadata fd: 15 Last Error: No such device
 25/10 14:43:03,874 ERROR [139726814177024] (types.h:179) xioctl(VIDIOC_DQBUF) failed for metadata fd: 19 Last Error: No such device
 25/10 14:43:03,874 ERROR [139726814177024] (backend-v4l2.cpp:1335) xioctl(VIDIOC_DQBUF) failed for metadata fd: 19 Last Error: No such device
 25/10 14:43:04,151 ERROR [139727202069184] (types.h:179) xioctl(VIDIOC_STREAMOFF) failed for buf_type=1 Last Error: No such device
 25/10 14:43:04,152 ERROR [139727202069184] (sensor.cpp:257) An error has occurred while stop_streaming()!
 25/10 14:43:04,152 ERROR [139727202069184] (types.h:179) xioctl(VIDIOC_STREAMOFF) failed for buf_type=1 Last Error: No such device
 25/10 14:43:04,152 ERROR [139727202069184] (sensor.cpp:257) An error has occurred while stop_streaming()!

[Realsense Customer Engineering Team Comment]
Hi mkollaro,
Glad to hear that it works with kernel 4.16.
We are going to close this one if there is nothing else.
Thanks!

Well, the package installs but the camera doesn't work. I get the above mentioned errors when I try to view the depth data (RGB works). I can't view the depth data in other applications either.

Hi @mkollaro
The failure is not related to missing pixel-formats. INZC and PAIR are not used by librealsense, and the actual depth formats are part of the kernel since 4.15.
The error seem something to do with recent changes in the way Linux handles UVC metadata. @ev-mp, are you aware of such issues?
I think Ubuntu Bionic comes with 4.15, so if you select "Advanced Options" in your grub menu, it is likely it is still in there.

[Realsense Customer Engineering Team Comment]
Ticket being closed due to inactivity for 30+ days


Update ansible-lint.yml

Description of the Solution
omnia_config.yml -- This file is var files and does not contain any play.
tools/olm.yml -- This yml file contains only two commands. "command" is not valid play for attribute.
We can remove these two files from lint check. This way all PR will not have any ansible lint issues.
Suggested Reviewers
@j0hnL , @lwilson

@all-contributors please add @sujit-jadhav for code


New reader for LMDB databases

Implement a reader op to access records stored in an LMDB database.
This facilitates Caffe users to switch to TensorFlow without rebuilding their (potentially very large) LMDB datasets.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@bowang Your tests are filing because the key is a bytearray, not a string. PErhaps you can re-use the _ExpectRead method here: https://github.com/bowang/tensorflow/blob/89297b6c00bd00181c1522cf84e84c5e7ec10baa/tensorflow/python/kernel_tests/reader_ops_test.py#L237

@rmlarsen Thanks for the help! Do you have any idea why cmake cannot find lmdb.h while others can?
https://ci.tensorflow.org/job/tensorflow-pull-requests-cpu-cmake/2960/console

@tensorflow-jenkins test this please

Thank you very much for the help and guiding me through this process! @rmlarsen @jart
In cmake build, it still complains failing to find lmdb.h. Any idea how I can fix that?

I think you might need to add external dependencies to third_party somewhere here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/cmake/CMakeLists.txt
and possibly a .cmake for lmdb in external/ to keep it clean.

@bowang FYI: We are waiting for confirmation that code covered by the OpenLDAP license is allowed in TensorFlow.

@bowang @maciekcc license is approved.

Jenkins test this please.

@tensorflow-jenkins test this please

@rmlarsen Thanks a lot for checking the license!
@maciekcc Thank you for the suggestion. It really helps! I added cmake files for lmdb and succeeded in a local cmake build.

Jenkins test this please.

@bowang can you take a look at the test failures, please?

@tensorflow-jenkins test this please

@bowang I also saw some bytearray vs. string literal errors  in the last set of tests (sorry, lost the link). Mind taking a look?
@tensorflow-jenkins test this please

@rmlarsen Definitely. Thanks for looking into the log. It's a pain that I can't reproduce the bug locally on Ubuntu while the Linux cpu test fails on CI.

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

Finally all checks have passed! Thanks for the help and guidance! @rmlarsen

Can we merge this PR?

Thanks for the contribution! Merging now.


Update devcontainer config with Bicep CLI

Update the .devcontainer configuration with a full authoring experience for Bicep.
Use this repo as a source.

Not sure how to extend the Dockerfile with:
ARG VARIANT="jammy"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}


Tokyo MX2 EPG info becomes blank after some time

Hey, Anise. I appreciate you have made a parser for MX2, now, the main thing I see is that the EPG becomes blank after the last program ends at 5:00 JST (15:00 UTC -5).
I've noticed the page continues with the EPG for the next day from 5 to 5, so I don't know if there is a possibility of offsetting or rather modifying the parser, so it syncs the EPG info properly and its not showing a blank space within the schedule, thanks.
(idk if it's possible to actually show info for more than a day instead of the 24 hours the json provides)

if there is a possibility of offsetting or rather modifying the parser

It would require requesting the EPG data for the previous day because s.mxtv.jp actually sends back the EPG from 5 to 5.

idk if it's possible to actually show info for more than a day instead of the 24 hours the json provides

Yes, by requesting for multiple days at once, which is not possible currently because iptv-org/epg uses freearhey/epg-grabber, which supports only providing one URL (so one JSON) when loading content.

So, what I'm thinking is that, for example, today's schedule of August 4th covers August 4th at 5:00 JST to August 5th at 5:00 JST. Why not adding the schedule of August 5th before 5:00 JST so the EPG info continues until the next day  so it doesn't remain blank.

It is possible by requesting the EPG for the next day (which is possible).
But that wouldn't solve the fact that when requesting the EPG for today, it won't have the EPG for 3:00

The EPG info of the day ends at 15:00 UTC -5, then the info of the next day starts at 15:00 UTC -5, by joining both schedules, it'll fill it until 15:00 UTC -5 of tomorrow.

Isn't there that possibility of including for example today's schedule and then also merging it with the schedule for the next day or days?

Isn't there that possibility of including for example today's schedule and then also merging it with the schedule for the next day or days?

I think that this is possible by specifying 2 days instead of 1 to be retrieved, but then it will not solve the fact that for today it won't have the EPG data for 1 AM. Instead it will fetch the data for today from 3 AM and tomorrow.


Turn off the animation when it first appears

Request function

@yueduz can you please elaborate on this request? I'm not quite sure what you want :-)

I do not speak English, i use google translation. I want to disable the playing animation.

I think I want what he's also asking about:
Is it possible to suppress the animation on initial load, and only have it animate thereafter? For initial load I just want my items to appear immediately in-place.

Well this is just a wrapper over the Masonry library. Try setting transitionDuration to zero.
https://masonry.desandro.com/options.html
Play around with the options. Hard to help further without seeing your code.
Hope this helps!


docker-machine restart fails one host created with amazonec2 driver

docker-machine version: docker-machine version 0.6.0, build e27fb87
If I select any one of my swarm nodes and issue a restart command, it fails. A subsequent rerun of the command passes.
Note: dm is an alias for docker-machine
MacBook-Pro-2:DockerCon home$ dm restart swarm-node03
Restarting "swarm-node03"...
Waiting for SSH to be available...
Detecting the provisioner...
Error getting SSH command: Something went wrong running an SSH command!
command : cat /etc/os-release
err     : exit status 255
output  :
MacBook-Pro-2:DockerCon home$ dm restart swarm-node03
Restarting "swarm-node03"...
Waiting for SSH to be available...
Detecting the provisioner...
Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
MacBook-Pro-2:DockerCon home$

Same issue, this makes it very hard to use docker-machine in any shell scripts since sometimes restart appears to fail even though it actually successfully restarted.
$ docker-machine restart some-server
Restarting "some-server"...
Waiting for SSH to be available...
Detecting the provisioner...
Error getting SSH command: ssh command error:
command : cat /etc/os-release
err     : exit status 255
output  :


Paste as text (leaving out any formatting)

It would be nice to have the option to paste as text, and text only.
So leaving out any formatting, effectively paste matching target style.
There is a workaround at this moment:

paste desired item (positions the paste item as the current/default item)
Cmd-Z (remove formatted entry again)
Shift-Option-Cmd-V (paste matching target style, or text only; using the current/default item)

But a more direct approach would be nice.

This feature would be great!
I thought that these "Shows / Pastes Rich Text" options indicated this feature, but I see no difference if I uncheck both of them (also tried restarting Yippy):

This feature would be great!
I thought that these "Shows / Pastes Rich Text" options indicated this feature, but I see no difference if I uncheck both of them (also tried restarting Yippy):

Sorry yes, I think it got broken. I will investigate!

Sorry yes, I think it got broken. I will investigate!

I have added more pasteboard type exclusions in 2.5.0 Let me know of any cases (copy sources) that this does not work for @karlhorky.

I have added more pasteboard type exclusions in 2.5.0 Let me know of any cases (copy sources) that this does not work for @karlhorky.

Oh, this restricts the pasteboard types, so that rich text copies do not even show up at all in Yippy? Ah, I think this is not what I'm looking for (maybe also not what @Bartman0 is looking for).
I was looking for something that strips formatting of text:

copy rich text
paste plain text

Oh, this restricts the pasteboard types, so that rich text copies do not even show up at all in Yippy? Ah, I think this is not what I'm looking for (maybe also not what @Bartman0 is looking for).
I was looking for something that strips formatting of text:

copy rich text
paste plain text

Nah, they should show up if you have "Shows rich text" enabled but not paste rich text if "Pastes rich text" is disabled.

Nah, they should show up if you have "Shows rich text" enabled but not paste rich text if "Pastes rich text" is disabled.

Oh, ok - I guess it should work then how I imagined? I'll give 2.5.0 a shot!

Oh, ok - I guess it should work then how I imagined? I'll give 2.5.0 a shot!

I hope so 😅

I hope so 😅

Ok, "Pastes rich text" works 🎉
Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Ok, "Pastes rich text" works 🎉
Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Sweet!

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Yeah, maybe this isn't very clear, but this option does not affect what items are stored, but rather how they are displayed. Having it unchecked should just achieve consistent formatting, unlike this with it checked:

In comparison to:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Hmm that's very strange. Are you sure they have rich text data?

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Sweet!

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Yeah, maybe this isn't very clear, but this option does not affect what items are stored, but rather how they are displayed. Having it unchecked should just achieve consistent formatting, unlike this with it checked:

In comparison to:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Hmm that's very strange. Are you sure they have rich text data?

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Ah, maybe spoke too soon? Just tried copying / pasting multiple lines with this document and it's copying the color and formatting info:
https://docs.google.com/document/d/e/2PACX-1vSW0GMz8SVLO5vogG3sIU3yALW9q9o-k2pCt1GdrgN4namECaLRQ-9H7rsV7HahToDV_rKfVzEB_jn1/pub

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Ah, maybe spoke too soon? Just tried copying / pasting multiple lines with this document and it's copying the color and formatting info:
https://docs.google.com/document/d/e/2PACX-1vSW0GMz8SVLO5vogG3sIU3yALW9q9o-k2pCt1GdrgN4namECaLRQ-9H7rsV7HahToDV_rKfVzEB_jn1/pub

Ok cheers, will check it out today 👌

Ok cheers, will check it out today 👌

Hmm @karlhorky would you be able to send a video of exactly how you're doing it? I can't seem to reproduce it...

Hmm @karlhorky would you be able to send a video of exactly how you're doing it? I can't seem to reproduce it...

Ok, here's a video: https://www.youtube.com/watch?v=4vQ5blDUIwA
I also gave you edit access to the Google Doc.

Ok, here's a video: https://www.youtube.com/watch?v=4vQ5blDUIwA
I also gave you edit access to the Google Doc.

Resolved in https://github.com/mattDavo/Yippy/releases/tag/2.8.0

Cool, looks like the formatting is gone! Thanks!