Multiple doom! calls aren't really possible

Observed behavior
After moving the doom! call in init.el to a private module and replacing it with (doom! :private jazzpi), Emacs complains with
Debugger entered--Lisp error: (error "Recursive load" "/home/jasper/.emacs.d/modules/private/jazzpi/config.el" "/home/jasper/.emacs.d/modules/private/jazzpi/config.el" "/home/jasper/.emacs.d/modules/private/jazzpi/config.el" "/home/jasper/.emacs.d/modules/private/jazzpi/config.el" "/home/jasper/.emacs.d/modules/private/jazzpi/config.el" "/home/jasper/.emacs.d/init.el")
  load("/home/jasper/.emacs.d/modules/private/jazzpi/config" t t)
  ...

Expected behavior
Emacs shouldn't recursively load my private module
Steps to reproduce

Follow the wiki, except putting the doom! call in init.el, not config.el
(Optionally) put (setq debug-on-error 't) in init.el so the debugger opens
Start Emacs

System information

Click to expand
DOOM Doctor
Running Emacs v25.3.1, commit fd56896e257888bc343fa692e3a377cdc4892881

Compiled with:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
  NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
  TOOLKIT_SCROLL_BARS GTK3 X11 MODULES
uname -a:
  Linux jasper-latitude 4.14.12-1-ARCH #1 SMP PREEMPT Fri Jan 5 18:19:34
  UTC 2018 x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.7
Revision fd56896e257888bc343fa692e3a377cdc4892881

----

test-emacs
test-windows
test-fonts
Found font material-design-icons.ttf
Found font weathericons.ttf
Found font octicons.ttf
Found font fontawesome.ttf
Found font file-icons.ttf
Found font all-the-icons.ttf
test-gnutls
test-tls
Verified elpa.gnu.org
Verified melpa.org
Rejected https://self-signed.badssl.com (a good thing!)
  (error "Certificate validation failed self-signed.badssl.com,
  verification code 142")

Rejected https://wrong.host.badssl.com/ (a good thing!)
  (error "The x509 certificate does not match
  \"wrong.host.badssl.com\"")

test-tar

====
Have some debug information:

  + enabled modules:
    +debugger              +jasper                +eval
    +evil                  +file-templates        +jump
    +services              +snippets              +spellcheck
    +syntax-checker        +version-control       +workspaces
    +company               +ivy                   +doom
    +doom-dashboard        +doom-modeline         +doom-quit
    +hl-todo               +nav-flash             +evil-goggles
    +unicode               +vi-tilde-fringe       +window-select
    +dired                 +electric-indent       +eshell
    +gist                  +imenu                 +impatient-mode
    +make                  +neotree               +rotate-text
    +term                  +tmux                  +upload
    +assembly              +cc                    +data
    +elm                   +emacs-lisp            +java
    +javascript            +latex                 +lua
    +markdown              +php                   +plantuml
    +python                +rest                  +rust
    +sh                    +web                   +org
    +org-babel             +org-attach            +org-capture
    +org-export            +org-present           +write
    +hlissner

  + enabled packages:
    evil-magit-20171018.722

  + byte-compiled files:
    n/a

  + exec-path:
    /home/jasper/.rvm/gems/ruby-2.3.1/bin
    /home/jasper/.rvm/gems/ruby-2.3.1@global/bin
    /home/jasper/.rvm/rubies/ruby-2.3.1/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /usr/local/bin
    /bin
    /usr/bin
    /usr/local/sbin
    /usr/sbin
    /sbin
    /usr/lib/jvm/default/bin
    /usr/bin/site_perl
    /usr/bin/vendor_perl
    /usr/bin/core_perl
    /home/jasper/.gem/ruby/2.3.0/bin
    /home/jasper/.rvm/bin
    /home/jasper/.gem/ruby/2.5.0/bin
    /home/jasper/.rvm/bin
    /usr/lib/jvm/default/bin
    /usr/bin/site_perl
    /usr/bin/vendor_perl
    /usr/bin/core_perl
    /home/jasper/.gem/ruby/2.5.0/bin
    /home/jasper/.rvm/bin
    /usr/lib/emacs/25.3/x86_64-pc-linux-gnu

  + PATH:
    /home/jasper/.rvm/gems/ruby-2.3.1/bin
    /home/jasper/.rvm/gems/ruby-2.3.1@global/bin
    /home/jasper/.rvm/rubies/ruby-2.3.1/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /home/jasper/bin
    /home/jasper/.linuxbrew/bin
    /usr/local/bin
    /bin
    /usr/bin
    /usr/local/sbin
    /usr/sbin
    /sbin
    /usr/lib/jvm/default/bin
    /usr/bin/site_perl
    /usr/bin/vendor_perl
    /usr/bin/core_perl
    /home/jasper/.gem/ruby/2.3.0/bin
    /home/jasper/.rvm/bin
    /home/jasper/.gem/ruby/2.5.0/bin
    /home/jasper/.rvm/bin
    /usr/lib/jvm/default/bin
    /usr/bin/site_perl
    /usr/bin/vendor_perl
    /usr/bin/core_perl
    /home/jasper/.gem/ruby/2.5.0/bin
    /home/jasper/.rvm/bin

Everything seems fine, happy Emacs’ing!

Workaround
I think this is caused because doom! always loops over all modules in doom-modules, but never clears it.
I was able to fix it by prepending the second doom! call with (remhash '(:private . jazzpi) doom-modules), but that feels like quite the ugly hack.

Sorry for the (very) late reply, but I finally got around to testing this again:

Click to expand
$ git clone https://github.com/hlissner/doom-emacs .emacs.d
---SNIP---
$ cd .emacs.d
$ git checkout develop
Branch 'develop' set up to track remote branch 'develop' from 'origin'.
Switched to a new branch 'develop'
$ mkdir -p modules/private/jazzpi
$ cp init.example.el modules/private/jazzpi/config.el
$ echo "(require 'core (concat user-emacs-directory \"core/core\"))
(doom! :private jazzpi)" > init.el
$ make install
Installing core packages
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Package refresh done
✓ Installed persistent-soft
✓ Installed use-package
✓ Installed quelpa
✓ Installed async
Installing core packages...done
Looking for packages to install...
25 packages will be installed:

+ ace-link (ELPA)
+ ace-window (ELPA)
+ all-the-icons (ELPA)
+ avy (ELPA)
+ command-log-mode (ELPA)
+ editorconfig (ELPA)
+ expand-region (ELPA)
+ fringe-helper (ELPA)
+ helpful (ELPA)
+ hide-mode-line (ELPA)
+ highlight-indentation (ELPA)
+ highlight-numbers (ELPA)
+ hydra (ELPA)
+ nlinum (ELPA)
+ nlinum-hl (ELPA)
+ nlinum-relative (ELPA)
+ pcre2el (ELPA)
+ projectile (ELPA)
+ rainbow-delimiters (ELPA)
+ shackle (ELPA)
+ smart-forward (ELPA)
+ smartparens (ELPA)
+ undo-tree (ELPA)
+ visual-fill-column (ELPA)
+ which-key (ELPA)

Proceed? (y or n) y
Refreshing package archives
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Package refresh done
Installing all-the-icons
✓ DONE
Installing fringe-helper
✓ DONE
Installing hide-mode-line
✓ DONE
Installing highlight-indentation
✓ DONE
Installing highlight-numbers
✓ DONE
Installing nlinum
  FILE ERROR: https://elpa.gnu.org/packages/nlinum-1.8.1.el: Bad Request
  Trying again...
✓ DONE
Installing nlinum-hl
✓ DONE
Installing nlinum-relative
✓ DONE
Installing rainbow-delimiters
✓ DONE
Installing visual-fill-column
✓ DONE
Installing shackle
✓ DONE
Installing ace-link
✓ DONE
Installing ace-window
✓ DONE
Installing avy
⚠ ALREADY INSTALLED
Installing command-log-mode
✓ DONE
Installing editorconfig
✓ DONE
Installing expand-region
✓ DONE
Installing helpful
✓ DONE
Installing pcre2el
✓ DONE
Installing smart-forward
✓ DONE
Installing smartparens
✓ DONE
Installing undo-tree
✓ DONE
Installing projectile
✓ DONE
Installing which-key
✓ DONE
Installing hydra
✓ DONE
Finished!
$ make doctor
Doom Doctor
Emacs v25.3.1
Doom v2.0.9 (bb8304c1)
shell: /usr/bin/zsh
Compiled with:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL
  GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
  MODULES
uname -a:
  Linux archv2 4.15.11-1-ARCH #1 SMP PREEMPT Mon Mar 19 18:21:03 UTC 2018 x86_64
  GNU/Linux

----

test-emacs
test-windows
test-fonts
test-gnutls
test-tls
Validated https://elpa.gnu.org
Validated https://melpa.org
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar

----
Saving file /home/jasper/.emacs.d/.local/packages.el...
Attempt to load DOOM: success! Loaded v2.0.9
test-modules
  > (:feature eval) quickrun is not installed
  > (:feature evil) evil-visualstar is not installed
---SNIP---
  > (:lang web) rainbow-mode is not installed
  > (:config default) emacs-snippets is not installed

----
There were 226 issues!

It seems as though make install doesn't recognize any of the modules I'm loading from my private config.el. Taking a quick look at another install (where I installed the packages before moving my configuration to my private init.el), (doom-get-packages) only returns 32 packages which I think are the packages I have in core/packages.el and private/modules/jazzpi/packages.el.

This issue can be fixed by moving the doom! call to an init.el file in the private module. Now everything seems to be working, thanks!


Updates for github repo rename to sunkit-spex.

Updates to CI, docs and other file for recent repo rename from sunxspex to sunkit-spex.

CI isn't running I think the pipeline config in the dev.azure project need to be updated ( https://dev.azure.com/sunpy/sunkit-spex/_build).

will this break all previous forks or do they get renamed?

@settwi forks and basically everything on GitHub.com is automatically updated it is everyone's local repos that need to updated manually.

Rebased and ready to be reviewed and merged.


WebhookEvent.Resource and the Resource struct is confusing and maybe problematic

There are many different types of webhook events with different resource types. I'm not even sure which kind of event the current struct that's just names Resource is supposed to represent.
I have just started digging into this put it would probably be best to exclude the resource field in the base type entirely or make it to a raw []byte json field or something.
This is how the WebhookEvent struct looks now which I think that the Resource field probably should be removed from.
	// WebhookEvent struct
	WebhookEvent struct {
		ID              string    `json:"id"`
		CreateTime      time.Time `json:"create_time"`
		ResourceType    string    `json:"resource_type"`
		EventType       string    `json:"event_type"`
		Summary         string    `json:"summary,omitempty"`
		Resource        Resource  `json:"resource"`
		Links           []Link    `json:"links"`
		EventVersion    string    `json:"event_version,omitempty"`
		ResourceVersion string    `json:"resource_version,omitempty"`
	}

The paypal API allows subscribing to different urls for different event types so ideally a consumer would probably set up one http handler per type so that parsing messages is as straight forward as possible.
Then an event per event type or per event type with a different resource can be formulated along the line of this:
	PaymentPayoutsItemEvent struct {
		WebhookEvent
		Resource PayoutItem // or whatever type fits
	}

I am going to need at lest all types of payouts event types which at least means that I need support for 2 different resource types for my current project so I will have to make it work some how.
I am considering creating this as separate go module to this one. It can probably work and maybe it's better to not add many more types to the paypal package and keep them as separate entries. I guess I will find out if tighter integration is wanted or not as I progress.

Something like this seems to be the way to go and I think that having a separate go module for it also makes sense so not to clutter the paypal package with it. I will move this to a public go module after I'm done with the implementation in my application. Maybe we can deprecate paypal.WebhookEvent struct after this and recommend people to use the new package for consuming webhooks instead.

type (
	Event struct {
		ID              string        `json:"id"`
		CreateTime      time.Time     `json:"create_time"`
		ResourceType    string        `json:"resource_type"`
		EventType       string        `json:"event_type"`
		Summary         string        `json:"summary,omitempty"`
		Links           []paypal.Link `json:"links"`
		EventVersion    string        `json:"event_version,omitempty"`
		ResourceVersion string        `json:"resource_version,omitempty"`
	}

	PaymentPayoutsItemEvent struct {
		Event
		Resource paypal.PayoutItemResponse `json:"resource"`
	}

	PaymentPayoutsBatchEvent struct {
		Event
		Resource paypal.PayoutResponse `json:"resource"`
	}
)

https://github.com/plutov/paypal/commit/52acc61786b55585df8f37b026d22bbb8dda820d

Maybe we could opt for not including concrete event types like PaymentPayoutsItemEvent and  PaymentPayoutsBatchEvent structs in the package.
Unless we add specific functionality tied to those they are mostly just noise..
It's probably better to write a little bit of documentation on the Event struct to instruct users to create their own sub classes using the other types in the package. Otherwise there are about 30 or so other event structs that could be added.


use mixlib-install to install from omnitruck

closes #327, closes #300, closes #38
chef/mixlib-install is extracted from test-kitchen. It supports installing nightlies and prereleases, supports windows properly and doesn't use bash.

cc @lamont-granquist @fnichol

Can there be a test for this?

Hey @thommay - we're doing bug triage right now.  Do you need any help with the comments we made for this?  I'm in full support of the idea (leveraging shared install logic between Knife and chef-provisioning)!

@randomcamel there don't seem to be tests for any of chef-provisioning, so I didn't want to go down that rabbit hole in this PR. Mixlib::Install itself has a fair number of tests and I'm happy to add more.

@tyler-ball sorry, this disappeared into email somewhere. I've just pushed chef/mixlib-install#2 which restores the ability to use a specific msi install url, which i'll merge and release momentarily.

@tyler-ball ah, that wasn't clear to me from the docs. Thanks, updated the dependency.

The code LGTM.  Have you done a manual test of both install methods?  If not I can help you do that using chef-provisioning-aws.  Once a smoke test is done I'll merge this.

Yeah, tested with windows with both metadata and an msi url; ubuntu and omnios - https://gist.github.com/thommay/153681df62bc012da685 is the code, for the record.

@thommay if you rebase off master there is now a .travis.yml which configures this to not use ruby 1.9 - should fix the travis error and then we can merge

@tyler-ball done and done, thanks.


Modify write_roadway_as_fixed_width to not use tokens

User Story
A Met Council staff person is writing out the Network Wrangler network as Cube fixed width files. The current method writes out a Cube script that uses tokens to identify the location of the links text file, the nodes text file, and the number of zones. This makes the resulting script confusing (where do these tokens come from?) and requires the script to use a batch file -- which is not provided in the repository.
Priority
Low
Level of Effort
Level
Resolution Ideas
Replace the tokens with the filenames passed into the argument. Replace the zones token with a parameter stored in the parameters file.
Project
No
Who should be involved?
Implementer: @DavidOry
Commenters: @RachelWikenMC
Users: @RachelWikenMC
Reviewers: @i-am-sijia
Risk
Need to review MTC's implementation and compatibility with on-going refactoring
Tests
No automated tests are needed. Tests of existing notebooks confirm correct implementation.

@i-am-sijia
Can you please have a look at my last commit and see if we need to update anything for MTC in the short run?

@DavidOry: made changes to MTC Lasso


Feature/Full-cache-api

What's this PR do?
This PR include the main methods of the client API.
Where should the reviewer start?
The PeachClient class.
What is missing?
None
How should this be manually tested?
Not applicable
Any background context you want to provide?
None
What are the relevant tickets?
Not applicable
Screenshots (if appropriate)
Not applicable
Questions:
None

Codecov Report

Merging #3 into develop will decrease coverage by 2.79%.
The diff coverage is 89.74%.

@@            Coverage Diff             @@
##           develop       #3     +/-   ##
==========================================
- Coverage    96.61%   93.81%   -2.8%
==========================================
  Files            7        7
  Lines           59       97     +38
  Branches         0        6      +6
==========================================
+ Hits            57       91     +34
- Misses           2        6      +4

Impacted Files
Coverage Δ

...us/peach/server/comm/AkkaPeachServerReceptor.scala
100% <100%> (ø)
:arrow_up:

...peach/server/cache/MockupExternalServerCache.scala
100% <100%> (ø)
:arrow_up:

...a/com/proteus/peach/client/MockupPeachClient.scala
100% <100%> (ø)
:arrow_up:

...ala/com/proteus/peach/client/AkkaPeachClient.scala
85.36% <82.6%> (-4.11%)
:arrow_down:

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 2963156...ab5ec64. Read the comment docs.


ProgressiveImage component has been removed, but style file persists

Hi, and thanks for a super great react native generator!
I noticed that the ProgressiveImage component has been removed. But in my generated project the style file still exists. App/Components/Styles/ProgressiveImageStyle.js
I think it could be removed to?

Get some hacktoberfest credit :)  PRs welcome

Done! ;)


Create a new release

Hello :wave:,
a lot of work has been done since the last release, which was 1,5 years ago, and it would be great if those bug fixes and features would reach us users.

Hey, thanks for creating the issue. It's been a while since the last release indeed.
However, there has been almost no bug fixes or features implemented since the last release. There has been a lot of internal changes though. My initial idea was to complete all issues in v0.8.0 milestone, however that may still take some time.
I guess we could release early just with Go, Alpine and Go dependencies updates at least.

Updated dependencies would certainly be good. Moreover, it would be great if b569ef3d2369d6a2a56995cb02663739223c2b3e could also make into a release, which fixes a crash when the agent is trying to update a node's schedulable value while that node is modified by something else. :boom: It caused a bit trouble while creating E2E tests for https://github.com/sapcc/maintenance-controller.

Oh, thanks for the insights @Nuckal777, it's really really valuable!
I'll try to make some release then.

I'm working on getting an RC release soon.

Soo, I've created an v0.8.0-rc1, if someone wants to test it. I'll wait for some feedback and then I will release v0.8.0.

I gave it a shot and the issue I mentioned is gone. Otherwise the agent seems to work fine. Thanks.

Slightly behind the schedule, but https://github.com/flatcar-linux/flatcar-linux-update-operator/releases/tag/v0.8.0 is now out :tada:


Running error on windows

Console program running error
  static void Main(string[] args)         {             var window = new WebWindow("My first WebWindow app");             window.NavigateToString("test");             window.WaitForExit();         }
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=<无法计算异常源>
StackTrace:
<无法计算异常堆栈跟踪>

I'm also receiving the same error and I haven't figured out who to fix it.

Do you have Edge Beta installed?

After Edge Beta installation, the problem is solved, thank you

Even though the fix is simple, I think this issue should be addressed. A specific exception should be thrown instead of AccessViolationException, e.g. InvalidOperationException with message "Could not find a supported browser on this system".

@thomaslevesque I agree. If you’re able to submit a PR for this I’d be happy to merge it.

@SteveSandersonMS I'd love to, but after looking into it, I'm afraid the problem is in the native C++ code, and my C++ skills are limited...

After Edge Beta installation this issue not fixed.
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=
StackTrace:


Update quick_setup.md to show how to install netcat

Closing as it doesn't this PR doesn't use conventional commit and a attempt to fix the ci failure hasn't been made for 4 months.


Provisioning Client timeout after failed Authentication Exception

Context

Ubuntu Core
Python 3.8
azure-iot-device==2.9.0

Description of the issue
I'm working on a device which does not have an RTC, thus, when it first starts up, we do not have correct time.
As a result, if we attempt to Provision with a certificate after we connect to the cloud, but before NTP has synced time, we get a exceptions.TlsExchangeAuthError, which is expected since the certificate's time range will not be acceptable yet.
however, we try to connect again after time syncs, and we get a different exception:
ClientError('Unexpected failure') caused by ServiceError('Operation timed out before provisioning service could respond for register operation')
we continue to receive this exception until we restart our application.
this began to occur when we implemented the fix recommended here: https://github.com/Azure/azure-iot-sdk-python/issues/899
Console log of the issue
provisioningTimeout.log

@jonathon793
I have some ideas about what might be causing this, but I need a bit of help to reproduce this issue - it seems that you're using X509 certificates now (wheras in #899 you were using symmetric key auth). Are there any other auth or config changes you've made? Also, what exactly is the reason the certs are failing due to lack of time sync? Is the certificate appearing to have already expired? Not become valid yet? Something else?

that's the only configuration change, according to the log the cert is not valid yet:

Callback completed with error TlsExchangeAuthError(None) caused by SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid

@cartertinney , were my answers sufficient? any other information that could be helpful?

@jonathon793
I have been able to repro the issue, working on figuring out what the issue is now. Will hopefully have an update for you soon.

@cartertinney , any update yet?

@jonathon793
I think I've found the issue - certificates can only be loaded once, and that happens at client creation, when your clock has not yet synced time with the NTP.
An assumption in the client design is that once you create the client, nothing should be changing. In this case, because the certificates aren't valid when you create the client, it makes the client unusable. This is why before when you were creating multiple clients you never had an issue.
I'm going to keep looking at potential ways we can mitigate or at least more clearly report the issue in errors, but for now (and potentially for the foreseeable future) I have two possible mitigation strategies:

Make sure that your device has done a NTP sync before you create the client in your application logic. This is probably the easiest option.

Alternatively, when the client fails due to this certificate issue, you can shutdown the client, and then create a new instance of it (assuming NTP sync has occurred in the meantime. This suggestion is somewhat tricky, because currently we only raise a generic ClientError. I'm going to see about trying to improve this in the future, but for now as a workaround you can check the error's .__cause__ attribute to find out the deeper cause, and in the case of your certificate verification problem you should see it be of type TlsExchangeAuthError from the azure.iot.device.iothub.pipeline.exceptions module. Note that this is an internal module not intended for customer access, and as such, may be subject to change in future releases.

@jonathon793
Were the above options sufficient to mitigate your issue?

@cartertinney , yes.  thank you very much


refactor: remove unused function and fix typo

update go.mod
fix typos
remove unused function
simplify error handling

@zyy17 PTAL

@hezhizhen Thank you for your contribution! To avoid a typo problem, I have created the issue https://github.com/GreptimeTeam/gtctl/issues/73 so that we can add a typo checker in CI. If you're interested, you can take the issue.

@hezhizhen Thank you for your contribution! To avoid a typo problem, I have created the issue https://github.com/GreptimeTeam/gtctl/issues/73 so that we can add a typo checker in CI. If you're interested, you can take the issue.

I thought you decided not to add this typo checker in CI.
I'll add it later.


io.rancher.host.external_dns_ip label drops from host when new host label added

Rancher Version:
1.0.1
Docker Version:
1.11.0, build 4dc5990
OS:
Ubuntu 14.04.4 LTS
Steps to Reproduce:
Set io.rancher.host.external_dns_ip=your_host_external_ip, setup Amazon route53 service, check that  records in route53 are pointing to external ip's and and any ordinary host label
Results:
route53 records point to internal ip again.
Expected:
Only external ip is used in route53 records after io.rancher.host.external_dns_ip label setup

Its also worth noting that the external_dns_ip label does not show up when editing the host. You have to check the api response for that host to see that its still set. This issue may stem from that (if API expects a PUT with all existing labels + new one).

This is actually fixed in v1.0.1-dev1. The issue was that the io.rancher.host labels were not showing up in the UI (but were still in the API), so when you added a new label, all the io.rancher.host labels were being overriden/lost.


fix: 4-projects - SA creation

Fixes #15
Tested full apply of 4-projects with no errors

Also removes deprecation warning in previous PR Lint tests
@bharathkkb please review and merge


Add :first for single value inspector-props and fix handling of is_array

Fixes the formatting of enum relations in query results.
Before:

After:

I also noticed that <template v-if="is_array"> was never getting used because <template v-if="is_object"> never gets executed for an array.
I swapped the templates to use <template v-else-if="is_object"> so it correctly switches between the 3 cases of array, object and single value.
There was also another minor mistake with v-for which fixed the formatting of array types.
Before:

After:

Tested using the following reproduction flecs app and then attempted to edit the singleton state of GameState via the explorer.
#include "flecs.h"

enum struct GameState {
    Init,
    MainMenu,
    Connect,
    InGame,
    Exit
};

struct TestType {
    int test[3];
};

int main(int argc, char** argv) {
    flecs::world ecs{ argc, argv };

    ecs.component<GameState>();

    ecs.set<GameState>(GameState::Init);

    ecs.component<TestType>()
        .array<int>(3);

    ecs.entity("Test")
        .set<TestType>({ { 1, 2, 3 } });

    return ecs.app()
        .enable_monitor()
        .enable_rest()
        .run();
}

Awesome, thanks for the PR!


Remove myself from contributors

Hello!  I made a small fix some time ago but do not consider myself a contributor to the project and would like my info removed from the readme.  thanks!

The contributors section lists all projects contributors, akin to AUTHORS \ CONTRIBUTORS files in other projects; it is meant to give credit and attribution to people who've taken their time to contribute to the project. Do note that contributors are not maintainers, and bear no responsibility for the project.
That said, if you feel that you still do not wish to be credited, we need to also remove you from the .all-contributorsrc file (otherwise, the all contributors bot will add you the next time it edits the readme). You can do that here in this PR, or let me close this PR and remove you myself. wdyt?

I am sure!  Is this PR the right method, or is there a bot command to edit both JSON and readme files?

I don't think that there's a command to remove, but I'll merge this and remove you from the readme :)


mod_wsgi backend broken on Django 1.8

On Django 1.7 and before, the Location header that is returned by the mod_wsgi backend is just the path to the file (eg: /media/documents/mydoc.pdf).
On Django 1.8, it has http:// appended to the beginning. So the above path has now changed to http:///media/documents/mydoc.pdf.

I'm guessing this is something that Django is doing?  If it's changed that is.
Looking at the code for the backend would seem to show we just set the header without the http:
https://github.com/johnsensible/django-sendfile/blob/master/sendfile/backends/mod_wsgi.py
Though it will also use whatever you put in your SENDFILE_URL setting.  Are you sure you don't have http:// in there?

I'm also running into issues with Django 1.8 and the mod_wsgi backend.  Under 1.8, everything that gets sent has a size of 0 bytes.  Reverting to 1.7.9 fixes the issue.
To test a bit I did something like this:
response = sendfile(request, download.path, attachment=True)
print response

The result in 1.7 and 1.8 was the same:
Content-length: 4040899
Content-Type: application/zip
Location: /static/downloads/download.zip
Content-Disposition: attachment; filename="download.zip"

I was curious and printed the request in each case and it looks like the request has changed significantly in Django 1.8.  Under 1.7 it appears to be a dictionary with a lot of stuff, under 1.8 all that gets printed is:
<WSGIRequest: GET '/a/path?download'>

My guess is that the internal redirect stuff is no longer working with Django 1.8 style requests.
Here are some details on the changes to requests, https://docs.djangoproject.com/en/1.8/releases/1.8/#requests-and-responses
I'm not sure where to go with this from here.  Thanks!

I did a little more digging, and think I figured it out.  This needs to be added to the mod_wsg backend sendfile:
request.build_absolute_uri = lambda location: location

Something must have changed in Django 1.8 that is causing build_absolute_uri to be used in a different place or work differently.  Adding that gets rid of the http:// from the location header.

Fixed here, https://github.com/johnsensible/django-sendfile/pull/40

Ok, have merged that in.  Looks like similar to what was being done before with get_host(), but Django was now involving the schema as well.
Hopefully will manage a new release in a bit.

Thanks, yeah very similar to what was done before.
I'm still not exactly sure what changed in Django to necessitate what I did.  I just was reading the docs and it looked promising so I tried it =)

I actually dug into the django code a bit.  Looks like they were trying to deal with locations that started with // which would be protocol relative.  They'd then try to put in the scheme + host as part of that.  As I was already monkey-patching the get_host method, it was just adding the http:// on it's own.

OK I've released 0.3.9 which fixes this now.  That's up on PyPi too:
https://pypi.python.org/pypi/django-sendfile/0.3.9

Thanks :+1:


Enable backtrace collection in Irmin store tests

Is this going to print anything useful?
I'm testing on something else and this is the kind of stacktrace I get:
[exception] "Assert_failure src/irmin-pack/inode.ml:756:41"
            Raised at Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 158, characters 6-13
            Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 269, characters 17-23
            Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 34, characters 31-35

After commenting the try/catch in common.ml il can finally have what i'm looking for:
[exception] "Assert_failure src/irmin-pack/inode.ml:756:41"
            Raised at Irmin_pack__Inode.Make_intermediate.Val.t.(fun) in file "src/irmin-pack/inode.ml", line 756, characters 41-53
            Called from Irmin__Hash.Typed.hash in file "src/irmin/hash.ml", line 65, characters 22-34
            Called from Irmin_test__Store.Make.test_nodes.test.check_node in file "src/irmin-test/store.ml", line 121, characters 17-30
            Called from Irmin_test__Store.Make.test_nodes.test in file "src/irmin-test/store.ml", line 126, characters 6-31
            Called from Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 155, characters 9-18
            Called from Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 153, characters 8-105
            Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 269, characters 17-23
            Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 34, characters 31-35

Is this going to print anything useful?
I'm testing on something else and this is the kind of stacktrace I get:
[exception] "Assert_failure src/irmin-pack/inode.ml:756:41"
            Raised at Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 158, characters 6-13
            Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 269, characters 17-23
            Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 34, characters 31-35

After commenting the try/catch in common.ml il can finally have what i'm looking for:
[exception] "Assert_failure src/irmin-pack/inode.ml:756:41"
            Raised at Irmin_pack__Inode.Make_intermediate.Val.t.(fun) in file "src/irmin-pack/inode.ml", line 756, characters 41-53
            Called from Irmin__Hash.Typed.hash in file "src/irmin/hash.ml", line 65, characters 22-34
            Called from Irmin_test__Store.Make.test_nodes.test.check_node in file "src/irmin-test/store.ml", line 121, characters 17-30
            Called from Irmin_test__Store.Make.test_nodes.test in file "src/irmin-test/store.ml", line 126, characters 6-31
            Called from Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 155, characters 9-18
            Called from Irmin_test__Common.Make_helpers.run in file "src/irmin-test/common.ml", line 153, characters 8-105
            Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 269, characters 17-23
            Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 34, characters 31-35


unpack_m() leaks stack values through uninitialized variables

https://hackerone.com/aerodudrizzt reported the following:
Brief
An attacker can cause the mruby-pack gem to leak stack values when unpacking a base64 value using the unpack_m() function.
Technical Details:
file: pack.c
branch: master
code flow:

Unpacking data - mrb_pack_unpack() function
Unpacking a base64 value from the packed string - unpack_m() function
The function uses a local array unsigned char ch[4] without properly initializing it before the first use
Later on, during the parsing loop, specially crafted packed data could cause the code to skip the initialization of the local array
This means we will use the original stack values as the "parsed" values

unsigned char c, ch[4];
...
padding = 0;
while (slen >= 4) {
    for (i = 0; i < 4; i++) {
      do {
        if (slen-- == 0)
          goto done;
        c = *sptr++;
        // EI-DBG: Here we could skip the assignment, leaving ch[i] untouched
      	if (c >= sizeof(base64_dec_tab))
      	  continue;
      	ch[i] = base64_dec_tab[c];
      	if (ch[i] == PACK_BASE64_PADDING) {
      	  ch[i] = 0;
      	  padding++;
      	}
      } while (ch[i] == PACK_BASE64_IGNORE);
    }

    l = (ch[0] << 18) + (ch[1] << 12) + (ch[2] << 6) + ch[3];

    if (padding == 0) {
      *dptr++ = (l >> 16) & 0xff;
      *dptr++ = (l >> 8) & 0xff;
      *dptr++ = l & 0xff;
    } else if (padding == 1) {
      *dptr++ = (l >> 16) & 0xff;
      *dptr++ = (l >> 8) & 0xff;
      break;
    } else {
      *dptr++ = (l >> 16) & 0xff;
      break;
    }
}

PoC Sample
orig1 = "0" * 4
orig2 = "\xC9" * 4

packed1 = (orig1).unpack("m").pack("m0")
packed2 = (orig2).unpack("m").pack("m0")

puts packed1 + " (" + packed1.unpack("CCCC").pack("C*").unpack("H*")[0] + ") == " + orig1 + " (" + orig1.unpack("CCCC").pack("C*").unpack("H*")[0] + ")"
puts packed2 + " (" + packed2.unpack("CCCC").pack("C*").unpack("H*")[0] + ") != " + orig2 + " (" + orig2.unpack("CCCC").pack("C*").unpack("H*")[0] + ")"

And the output will be:
0000 (30303030) == 0000 (30303030)
LzYJ (4c7a594a) != ֹֹֹֹ (c9c9c9c9)

In addition, since these are stack values the output will change each time we run the PoC script.
Proposed Fix:
Should update the while loop:
do {
     if (slen-- == 0)
       goto done;
     c = *sptr++;
     if (c >= sizeof(base64_dec_tab))
     	 continue;
     ch[i] = base64_dec_tab[c];
     if (ch[i] == PACK_BASE64_PADDING) {
       ch[i] = 0;
       padding++;
     }
} while (c >= sizeof(base64_dec_tab) || ch[i] == PACK_BASE64_IGNORE);

Impact
An attacker controlling the packed data could retrieve sensitive stack values using this unpacking technique, thus obtaining stack canaries / memory pointers that could be used to construct an exploit.

Thank you for the fix proposal.


update dockerfile to render jupyter notebook equations

Hello,
This pr should address the issue where the equations in jupter notebooks were not being rendered correctly in issue https://github.com/alshedivat/al-folio/issues/2757 .

Thanks for finding a fix for this. Can you test it with python3-pip package instead of pipx, and installing the packages with it? pipx relies on pip (and venv), so using only pip is better.

Hi @george-gca, I've tested it on my end with pip and it works. I did have to add the --break-system-packages option because otherwise it does not allow installation of packages without making a virtual environment https://peps.python.org/pep-0668/.


Getting NO DATA error for probe failure.

Hi,
We have our Prometheus and Blackbox exporter running in an AKS cluster.
We are monitoring machines via blackbox exporter through ICMP probe.
The targets are pinged from the blackbox exporter and based on the response, it marks as success or failure.

If the server is available and responding to ping it shows the result values are probe_success == 1 (UP)
If the server is down/unresponsive to ping request. it considered as DOWN and show the result value as probe_success == 0 (DOWN)

Probe_success value denoted the UP and DOWN of the server status (1 denotes the server is UP, 0 denotes the server is DOWN)
But in our case, what happened is. The actual server were down for more than 4 hours. During this time windows instead of showing the probe_success value as zero. NO DATA is occurred.
If we search for the probe_success query in Prometheus it's not showing the probe_success = 0 for the down time. For the entire down time there is no data captured.
After the servers are started, its directly showing the value to 1 (ONE) with probe_success value.
Due to this NO DATA occurrence we missed the Alerts. How can get this sorted out.
We are getting this NO DATA occurrence on multiple scenarios. But not this much long period. This would impact our monitoring system. Looking for an suggestion on this.
Blackbox Exporetr Details:
We have configured through helm chart
chart Version : prometheus-blackbox-exporter-8. 6.1
Blackbox version: v0.24.0
Blackbox Config File:
apiVersion: v1
data:
blackbox.yaml: |
modules:
icmp:
preferred_ip_protocol: ip4
prober: icmp
timeout: 90s
Prometheus Config file:
job_name: 'job1'
scrape_interval: 5m
scrape_timeout: 1m
static_configs:
targets: ['server1.com']
metric_path: /probe
params:
module: [icmp]
and we have done relabel_config and pointed to blackbox URL for collecting metrics
Please let me know if any additional details are required here.
Thanks,
Gopinath P

Hi, is there any update on this??
This happened in our production environment and due to this behaviour. The server were down for more than 4 hours and it also impacted.


[Site Request] Metacafe

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running yt-dlp version 2021.06.09
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://www.metacafe.com/watch/12215697/a-quiet-place-part-ii-emily-blunt-interview-2-director-producer-writer-john-krasinki-producer-michael-bay-cillian-murphy-noah-jupe-millicent-simmonds-djimon-hounsou-platinum-dunes-paramount-pictures/
Playlist: As far as I know there is no way to share playlists publicly so everyone would need to login to download their playlist, I assume.
Channel: https://www.metacafe.com/channels/TheDirectorsOfGaming
Age restricted video: https://www.metacafe.com/watch/11636649/dancer4/

Description

There are certain age restricted videos that would need credentials.

There is already a Metacafe extractor here and upstream? Apart from channels, single video and age restricted videos you link appear to work.
https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/metacafe.py

Then I don't understand why I got an unkown site error. Maybe I added the url wrong or something, will try again. Thanks.

Did you get it to work? @parasiteoflife

Closing due to inactivity

Sorry for the late reply, was off the pc. I'm not getting the unkown url error anymore but I still can't download from metacafe as well as other sites but I think I better open a new issue.


Use more-clever cookie for CookieGuard

POX CookieGuard currently just uses a single secret.  While PCG is not really meant as a generic authentication mechanism, we could pretty easily limit the secret to a given client IP address.  Especially if the web server is running without encryption, there may be some benefit to this...

class CookieGuard (object):
  COOKIE_NAME = 'pox-cookie-guard'

  def __init__ (self):
    self.secrets = {}

  def set_secret (self, ip_address, secret):
    self.secrets[ip_address] = secret

  def get_secret (self, ip_address):
    return self.secrets.get(ip_address)

  def send_secret (self, connection, secret):
    # Send the secret to the client in a cookie
    connection.send_header('Set-Cookie', '{}={}; Path=/'.format(self.COOKIE_NAME, secret))

  def receive_secret (self, headers):
    # Get the cookie from the headers
    cookie = headers.get('Cookie')
    if cookie:
        cookie_pairs = cookie.split(';')
        for pair in cookie_pairs:
            key, value = pair.strip().split('=')
            if key == self.COOKIE_NAME:
                return value
    return None

  def verify_secret (self, ip_address, secret):
    # Verify if the provided secret matches the stored secret for the client IP address
    stored_secret = self.get_secret(ip_address)
    if stored_secret and stored_secret == secret:
        return True
    return False

  def handle_request (self, connection, request):
    ip_address = connection.getpeername()[0]
    secret = self.receive_secret(request.headers)
    if secret:
        if self.verify_secret(ip_address, secret):
            connection.send_response(200)
            connection.end_headers()
            connection.wfile.write(b'Success: Authorized\n')
        else:
            connection.send_response(403)
            connection.end_headers()
            connection.wfile.write(b'Error: Forbidden\n')
    else:
        connection.send_response(401)
        connection.end_headers()
        connection.wfile.write(b'Error: Unauthorized\n')

  def handle_post (self, connection, request):
    ip_address = connection.getpeername()[0]
    content_length = int(request.headers.get('Content-Length', 0))
    post_data = request.rfile.read(content_length).decode('utf-8')
    secret = self.receive_secret(request.headers)
    if secret:
        if self.verify_secret(ip_address, secret):
            # Process the POST request
            connection.send_response(200)
            connection.end_headers()
            connection.wfile.write(b'Success: POST request processed\n')
        else:
            connection.send_response(403)
            connection.end_headers()
            connection.wfile.write(b'Error: Forbidden\n')
    else:
        connection.send_response(401)
        connection.end_headers()
        connection.wfile.write(b'Error: Unauthorized\n')


fix: remove northern island logo until approved

If it's a permanent removal then remove comments, otherwise I'm happy with them staying in

They're still awaiting confirmation so reasonable chance we'll have to re-add it


HLK Studio doc - Tests tab - Description contains HCK test levels instead of HLK test categories

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
Tell us where exactly a problem occurs.
https://docs.microsoft.com/ru-ru/windows-hardware/test/hlk/user/hlk-studio---tests-tab
Problem:
What's wrong with the article?

The article is about HLK Studio, but instead of the test categories, used in the HLK, the description contains the level classifications, used with the HCK.

@GrantMeStrength Can you please take a look at this issue?

Thanks for pointing this out, @mykola-h
I've made the change and checked the fix into our master branch. It will go live overnight.
Appreciate your help.
Eliot

@ryanmajidi, this Issue can be closed. Fix is in PR #376
Thanks!
Eliot


Added :elevated option for powershell_script resource

Description
Added :elevated option for powershell_script resource. This should be merged after https://github.com/chef/mixlib-shellout/pull/148
Issues Resolved
fixes https://github.com/chef/chef/issues/6086
Check List

[x] New functionality includes tests
[x] All tests pass
[ ] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Appveyor failure is timeout related.


Fix internal useForm error

"current" was forgotten for access to the form ref.
Form couldn't be initialized

Your PR has a lot of unrelated commits and this is being fixed by #25

Published fix in v1.0.1.


Button alignment on smaller screens

https://github.com/jsug9/Portfolio/blob/d19a58b9dca35ba20a6c3e2549c643d3adc67ac2/index.html#L53
Awesome site! We discussed the button formatting issue in regards to the button popping out of the container. Try the height: fit-content; property/value pair in the CSS of the card here. It may cause some unexpected formatting in some areas of the card, but it may help contain the elements and you can work out reformatting from there!
Great job! Awesome website. I hope this helps.

Kindly change the h1 font to a more figma-like weight.


[WTD] Azure Cognitive Services Inclusion Articles

In support of #31413, here is a list of articles with line numbers of where non gender neutral language is present.

[ ] QueryExpressionSyntax.md Line   #76
[ ] Expressions.md   Line   #76
[ ] SchemaFormat.md   Line   #65
[ ]   SemanticInterpretation.md Line   #116
[ ]   Analyzer-Names.md Line   #41
[ ]   Analyzer-Names.md Line   #44
[ ] POS-tagging.md   Line   #57
[ ] POS-tagging.md   Line   #58
[ ] POS-tagging.md   Line   #57
[ ]   luis-concept-collaborator.md Line   #49
[ ]   luis-concept-entity-types.md Line   #155
[ ]   luis-migration-api-v3.md Line   #244
[ ]   luis-migration-api-v3.md Line   #247
[ ]   luis-migration-api-v3.md Line   #249
[ ]   luis-quickstart-intent-and-sentiment-analysis.md Line   #82
[ ]   add-sharepoint-datasources.md Line   #51
[ ]   multiturn-conversation.md Line   #145
[ ]   multiturn-conversation.md Line   #145
[ ] concepts.md   Line   #30
[ ] concepts.md   Line   #30
[ ]   record-custom-voice-samples.md Line   #52
[ ]   record-custom-voice-samples.md Line   #116
[ ]   record-custom-voice-samples.md Line   #130
[ ]   record-custom-voice-samples.md Line   #157
[ ]   record-custom-voice-samples.md Line   #162
[ ]   record-custom-voice-samples.md Line   #195
[ ]   record-custom-voice-samples.md Line   #52
[ ]   record-custom-voice-samples.md Line   #130
[ ]   record-custom-voice-samples.md Line   #157

rachrobins working on this, write the docs writing day


fix(Documentation): Fix Incorrect README Instructions for CLI Repo Setup

Pull Request Template
Description
As pointed out in https://github.com/MaximIntegratedAI/refdes/issues/50, modifying msys.bat is not the right way to change MAXIM_PATH on windows.  setenv.bat should be used instead.
Checklist Before Requesting Review

[x] PR Title follows correct guidelines.
[x] Description of changes and all other relevant information.
[x] (Optional) Link any related GitHub issues using a keyword
[x] (Optional) Provide info on any relevant functional testing/validation.  For API changes or significant features, this is not optional.

Not sure how this change causes the AI85 RV_ARM_Loader example to fail to build...

Ghosts in the machine...  re-running the workflow passed


Add backup settings and final snapshot flag

Hope this helps if someone needs a backup of the DB :-)

Anything more I should change here?
BTW: There's bug in Terraform regarding this option: https://github.com/hashicorp/terraform/issues/5417

Sorry for the delay. Merging now.


Fix streaming in llama notebooks

REQUIRED: Fix streaming in llama notebooks
REQUIRED: Fill out the below checklists or remove if irrelevant
2. If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ y] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[y ] Passes all the required formatting and linting checks. You can locally test with these instructions.

data is only streamed once a batch response is sent to the client. The streaming is not happening on the server side


Remove unneeded constant

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.97%. Comparing base (c3ac1e7) to head (9e04e10).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #242   +/-   ##
=======================================
  Coverage   97.97%   97.97%
=======================================
  Files          21       21
  Lines         198      198
  Branches       57       57
=======================================
  Hits          194      194
  Misses          4        4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can we give height/width for generated SVG?

Hi,
Currently the generated SVG is width="2799pt" height="412pt". Is there a way to pass this dimensions?
Thanks

Hi,
One way to do this is by passing in another DPI than the default one used by graphviz. See http://web.mit.edu/spin_v4.2.5/share/graphviz/doc/html/info/attrs.html#d:dpi
You can specify this in madge by creating a .madgerc file like this:
{
	"graphVizOptions": {
		"G": {
			"dpi": 48.0
		}
	}
}


shadow for modal

Hello i want to add shadow for modal.
Is there any option to do that ? What is the best way to achieve that ?

Hey @Stettinum, try providing the shadow/elevation props to the style prop of the modal.


how I can add some logo of website as icon

Hi,
How I can add aparat.com site logo as icon to boxicon.com ?
thanks so much

Hi , i dont think it is a site universally used by everyone , so i dont think it would me wise to add to the icon set , any reason you want it to be added?

Hi,
Because I use boxicon.com icons a lot, I want to add local company icons as well :-)
Thanks a lot

Thanks for using the icons :) , i will consider if it needs to be added.


Allowing bytea columns to migrate by ignoring length

I found that I was unable to migrate into postgres when defining a binary property because the column was being defined with the default length.
Currently TEXT, CLOB and NVARCHAR were ignoring the length so I've added bytea to this list.

@miegs3 thanks!


word pattern when selecting and for the completion

In the language 4D the word pattern cannot be delimited with a regex.
For example:

Each line is a token. When I double click on VP ADD FORMULA NAME all the command should be selected not one word.
$ma variable for example is a single token.
It impacts a lot for the completion and when we want to select a token.
A regex for wordPattern is not enough.
{
    "wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\r\\n\\t\\f\\v ]+)|(?<=[a-zA-Z]) ?(?=[a-zA-Z])"
}

The regex does not even work with look ahead and look behind.

This issue already surfaces in VS Code itself (without LSP). Moving it there first.


[Game Request] Hitogata-tachi no Mori

Game: Hitogata-tachi no Mori
VNDB: https://vndb.org/v12745
Engine: Kirikiri Game Engine
Archive file format: .xp3

Use PoringSoftCrypt


ALDocument should be able to work with more file types

E.g., we should be able to use ALDocument to work with JSON and XML files that are generated in a text template, as a simple way to export the structured/semantic data captured in a form. Excel spreadsheets are also a pretty common file to generate in a Docassemble interview.
Right now some of the code assumes the file type is either PDF or DOCX which is unnecessarily restrictive. We could just skip generating PDF versions of filetypes that are not amenable to conversion to a PDF, and those files would be omitted when you call the .as_pdf() method of the bundle.

This is pretty well handled in the ALUnstransformedDocument class for a while now.


Add schema file gen to README

Add the syntax for generating the schema file to the README.md file.
Closes #22

This time I tested the command line.  @JPEWdev Feel free to replace this with a better description, just thought it would be helpful to document this special case since it took me some digging to figure it out.


That's true. I kind of guiltily added that in there, but after I implement pkill I'll remove the feature.


Set Timezone for Scheduler

Is there a way to set the timezone used by the scheduler?
For instance if I was to use 0 0 4 * * * to run a cron at 4am every day that would default to UTC (or system clock) I assume. However, I would like a way to default the timezone used by cron to another region. Is this possible?

It's possible.
You can use NewWIthLocation() to create a Cron object with a different time zone
...
l, _ := time.LoadLocation("US/Central")
c := cron.NewWithLocation(l)
c.Schedule(schedule, cron.FuncJob(...))
c.Start()

Actually, I'm running this FROM scratch in Docker and have a feeling the tz database is not present. I'm going to follow that theory, but please let me know if you think it's something else.

Missing tz data was the issue. I was able to fix it with the following Dockerfile (in case someone else has the same problem):
FROM alpine:latest as alpine
RUN apk --no-cache add tzdata zip ca-certificates
WORKDIR /usr/share/zoneinfo
# -0 means no compression.  Needed because go's
# tz loader doesn't handle compressed data.
RUN zip -r -0 /zoneinfo.zip .

FROM scratch

ENV ZONEINFO /zoneinfo.zip
COPY --from=alpine /zoneinfo.zip /

ARG bin
ENV bin ${bin}

COPY ${bin} /${bin}

Everything seems to be working now. Thanks for the help!

You should always handle errors so you don't get panics. In my basic example, I just skipped them.

The api has changed like below now.
c := cron.New(cron.WithLocation(time.UTC))

is ->
loc, err := time.LoadLocation("Europe/Stockholm")
c := cron.New(cron.WithLocation(loc))
Then you run the program for a year compensating for daylight saving events?


Add support for checksum?

Currently the produced zstd data does not include a checksum (as examined by zstd -l). Are there any plans for adding a way to configure the Encoder with additional options?

Hi! Thanks for the report.
Indeed we're not currently enabling checksum during compression, but it is planned!
In general I need to update this crate to the new "advanced" API, which should make it easier to toggle individual options.

On latest master, encoders should now have a include_checksum() method to enable that.

Ok, thanks!


Unable to bundle drv with name set instead of pname

my-package is a drv with name set instead of pname (e.g. a package created with writeShellApplication)
$ nix bundle .#my-package
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating the derivation attribute 'name'

         at /nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source/pkgs/stdenv/generic/make-derivation.nix:336:7:

          335|     // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          336|       name =
             |       ^
          337|         let

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'pname' missing

       at /nix/store/rg7wfg8l79ashynpxywci4jaz92315w4-source/default.nix:18:45:

           17|     stdenv.mkDerivation {
           18|       name = if drvToBundle != null then "${drvToBundle.pname}-arx" else "arx";
             |                                             ^
           19|       passthru = {
       Did you mean name?

Same problem here.


[FLINK-2887] [gelly] sendMessageToAllNeighbors respects the EdgeDirection

The method now checks whether the edge direction has been set and collects the correct msg.

Good to merge.

Thanks for reviewing @fhueske! I will add a comment to clarify what happens with the edge directions and merge this :)

As a bugfix, this can also go into the next 0.10 RC (i.e., cherry-pick to release branch).

Sure. Shall I do this after merging to master or shall we wait until we have more fixes for the RC?

Just merge to master and cherry pick the commit over to the release branch. No need to wait for more fixes. At some point, we build a new RC from the current release branch.

Alright, will do. Thanks Fabian!


Figure 4 and Figure 5 are identical

In the section for Option 3, both Figure 4 and Figure 5 are identical, but the descriptions of each indicate that Figure 5 should be different than figure 4:

If all API consumers reside within the cluster VNet, then the Internal mode (Fig. 5) could be used

Based on the description, it seems like the figures should be different (I do not understand the technology enough to know HOW they should be different).

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

ID: 64c50ed1-29bd-6ec8-7c57-60a6a76d36be
Version Independent ID: ed403a70-b955-347d-72e6-c875e88ccef7
Content: Use Azure API Management with Microservices Deployed in Azure Kubernetes Service
Content Source: articles/api-management/api-management-kubernetes.md
Service: api-management
GitHub Login: @miaojiang
Microsoft Alias: apimpm

@jbogard Thank you for your feedback! We will review and update as appropriate.

@jbogard For oprtion3 both the figure are different. If API consumers do not reside in the cluster VNet, the external mode fig4 talks and if it is within cluster VNET mode then the Internal mode  (fig5). If you see both the images you will see one call is outside VNet and the other within VNet.
Fig4 (External Mode outside VNet)

Fig5 (Internal Mode within VNet)

Hope this clears things up. Please let me know if you have any queries or concerns.

Siiiiiiiigh I totally missed that. Thanks!


java.lang.NegativeArraySizeException error for secondary indicators

Hi,
The UR throws a java.lang.NegativeArraySizeException when there isn't at least one occurrence of the primary indicator. But it also throws the same error when no users in the secondary that are also in the primary (no cross-occurrences), as explained by Pat Ferrel in actionml's googlegroup. It would be great if the error messages were different for both cases and/or more informative.
Thank you very much for all the great work!!!
noelia

This will only happen when there is no data or no cross-occurrences. Therefore you should not be using the events in question, it just wastes cycles. I suggest some kind of serious warning here.
To collect data for maybe 10000 users and have no cross-occurrences is a serious data problem. It may mean you are collecting in the wrong way or have encoded user-ids differently in the primary vs the secondary events or the event has no meaning WRT cross-occurrences. Every time we have seen this is was a too small sample or a data encoding error. This should not happen in real-world situations or the recommender will have NO data to use. It means that not one of the users has meaningful data for the event.
As I understand it this happens for you with some test sample, so the error is annoying when doing a proof of concept. My worry is that a non-fatal error will allow data problems or malformed data to not be noticed.

At very least the error should be more informative, giving the event name and better message.

Please decrease minEventsPerUser if you have make sure nothing wrong.


[Ollama AI] ...

Extension
https://www.raycast.com/massimiliano_pasquini/raycast-ollama
Description
Error:
SyntaxError: Unexpected end of JSON input

    at JSON.parse (<anonymous>)
PassThrough.<anonymous>:ollama.ts:206:63

---
203:         body?.on("data", (chunk) => {
204:           if (chunk !== undefined) {
205:             const buffer = Buffer.from(chunk)

### Steps To Reproduce

Not sure, but I have had this error twice today.

Today it came from `pytorch lightning 80 epochs`

Model `openhermes2-mistral:latest:`

If this doesn't have enough description feel free to remove

### Current Behaviour

Crashes after writing ~200 words

### Expected Behaviour

not to crash

Hi @this-josh,
it seems Ollama generate api is responding with a malformed json response causing this issue. For better understand what is causing this issue and try to reproduce it I need the following information;

This problem appear only using openhermes2-mistral:latest model?
Have you tried to use this model with ollama cli? If true, have you experience any issue?

I have only been using this model recently, have now switch to zephyr, I'll let you know if I see the error again.
I've only used it via the cli a few times, no issues. I have experienced it a few times in raycast.  It would be good if this extension could print more verbose error messages at the very least

When I have created this extention I have followed Ollama API documentation end viewing at generate API it use two differente json response. One used during text generation and one when text generation is ended. Viewing TS error probably Ollama API is responding using a different json format non documented.
I will view deep on Ollama Code trying to find if there is an undocumented json format used during generate api response.

They deleted sample_count and sample_duration without updating docs. I have created a separated branch on raycast_ollama where I have applied the fix. I will ask you @this-josh if you can clone this branch and test on you machine if the problem is fixed. Let me know if you can do this for me and if it solved the issue. Thank you for your help and for report this bug 🙏🏻.

Sorry @MassimilianoPasquini97 I managed to miss this. I cannot see the branch now, perhaps you've closed it? I haven't experienced this issue for a little while now.

Hi @this-josh, I suppose it was an Ollama or os related issue and seems to be resolved. At this time I'm receiving a similar problem (SyntaxError: Expected ',' or ']' after array element in JSON at position 9882) only on extensions installed on macOS 13.6.0. For those one is better to update the os at least on the latest 13.6 release, currently 13.6.2.
If you are no longer facing this problem I think that this issue can be closed.


[ISSUE]- Resource Group not found when trying to deploy subscription scoped deployment via GitHub Actions.

Output from azd version
azd version 1.10.3 (commit 0595f33fe948ee6df3da492567e3e7943cb9a733)
Describe the bug
When trying to deploy Azure infrastructure using 'subscription scoped' bicep code, it is reporting it cannot find the resource group on the first run.
The first pipeline runs then fails then the resource group is created sometime later.
Then we can rerun the pipeline and it finds the resource group on the second run and then deploys the resources properly.
The Bicep code is subscription scoped and does create the resource group when running azd up locally.
the pipeline code is attached
azure-dev.txt

Can you share the bicep you are using to reproduce?  If you can, please share the bicep files and any parameters you are using for the bicep.

can i share directly with you?
Regards,
Aaron Saikovski
Mob: +61 410 480 971
Email: @.***
Skype: aaron.saikovski
LinkedIn: http://www.linkedin.com/pub/aaron-saikovski/3b/b9/159

From: Victor Vazquez @.>
Sent: Friday, 25 October 2024 4:31 PM
To: Azure/azure-dev @.>
Cc: Aaron Saikovski @.>; Author @.>
Subject: Re: [Azure/azure-dev] [ISSUE]- Resource Group not found when trying to deploy subscription scoped deployment via GitHub Actions. (Issue #4478)
Can you share the bicep you are using to reproduce? If you can, please share the bicep files and any parameters you are using for the bicep.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-dev/issues/4478#issuecomment-2436868984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNLMECDRSFHUFXHZOUKIC3Z5HJTJAVCNFSM6AAAAABQOAFL4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWHA3DQOJYGQ.
You are receiving this because you authored the thread.Message ID: @.***>

can you share with you directly if possible?

can you share with you directly if possible?

Sure, feel free to add me to a private repo, if you want. I can take a look.
Or, if you can create simple public repo where you can reproduce the issue (removing any confidential staff), that would be ideal

files.zip
sure see attached here

please see atttached files in thread

@v-xuto can you triage the repro above and update findings? cc @vhvb1989

@AaronSaikovski This problem occurs because there is no dependency defined between the rsg module and other modules in the main.bicep file. Therefore, the Resource Group and other resources (such as key vault) are created at the same time. When the key vault is being created, the resource group has not yet been created. At this time, the Resource group could not be found message is reported. The suggestions are as follows:

Refer to todo-csharp-sql, change the module rsg to resource rsg, and then change the scope value of each other module to rsg, as shown below:

Thanks thats a weird issue but it seems to have been fixed. thanks
Regards,
Aaron Saikovski
Mob: +61 410 480 971
Email: @.***
Skype: aaron.saikovski
LinkedIn: http://www.linkedin.com/pub/aaron-saikovski/3b/b9/159

From: Menghua Chen (MSFT) @.>
Sent: Tuesday, 5 November 2024 6:52 PM
To: Azure/azure-dev @.>
Cc: Aaron Saikovski @.>; Mention @.>
Subject: Re: [Azure/azure-dev] [ISSUE]- Resource Group not found when trying to deploy subscription scoped deployment via GitHub Actions. (Issue #4478)
@AaronSaikovskihttps://github.com/AaronSaikovski This problem occurs because there is no dependency defined between the rsg module and other modules in the main.bicep file. Therefore, the Resource Group and other resources (such as key vault) are created at the same time. When the key vault is being created, the resource group has not yet been created. At this time, the Resource group could not be found message is reported. The suggestions are as follows:

Refer to todo-csharp-sqlhttps://github.com/Azure-Samples/todo-csharp-sql/blob/main/infra/main.bicep#L50-L67, change the module rsg to resource rsg, and then change the scope value of each other module to rsg, as shown below:
image.png (view on web)https://github.com/user-attachments/assets/2283aeec-b900-4aa3-820d-d915bfab4b34

—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-dev/issues/4478#issuecomment-2456464341, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNLMEGVYFMAFC4WHIKDLJ3Z7B2L3AVCNFSM6AAAAABQOAFL4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJWGQ3DIMZUGE.
You are receiving this because you were mentioned.Message ID: @.***>

@AaronSaikovski If you are sure that this issue has been resolved, I will close it.

yes please
Regards,
Aaron Saikovski
Mob: +61 410 480 971
Email: @.***
Skype: aaron.saikovski
LinkedIn: http://www.linkedin.com/pub/aaron-saikovski/3b/b9/159

From: Menghua Chen (MSFT) @.>
Sent: Wednesday, 6 November 2024 1:56 PM
To: Azure/azure-dev @.>
Cc: Aaron Saikovski @.>; Mention @.>
Subject: Re: [Azure/azure-dev] [ISSUE]- Resource Group not found when trying to deploy subscription scoped deployment via GitHub Actions. (Issue #4478)
@AaronSaikovskihttps://github.com/AaronSaikovski If you are sure that this issue has been resolved, I will close it.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-dev/issues/4478#issuecomment-2458628601, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNLMEAYM5R4U76B2RATB43Z7GAORAVCNFSM6AAAAABQOAFL4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJYGYZDQNRQGE.
You are receiving this because you were mentioned.Message ID: @.***>


URGENT (v4 shipblocker): TreeBOT processing response

This is a followup on the #364 work...
There are two current issues with TreeBot's processing behavior that are ship blockers in release 4.0.3 (v 70).
They are demo'd in this video: https://www.dropbox.com/s/qjx3u0g2jeoruru/IMG_8243.MOV?dl=0

In the video 00:13-00:17 The app is processing the PlantID response - but the user can only see a 'frozen screen' with a VERY SMALL almost un-noticeable spinner (see below).

Then around 00:44 the dialog with 'Identifying species/genus' appears (and continues for quite some time....).

This is very confusing behavior for the user - we must remedy (by 1/24 to ship by the 1/27 hackathon).
ToDO:

DELETE the un-noticeable spinner which shows up at 00:13-00:17. REPLACE it with the 'Identifying species/genus' dialog. THE 'Identifying species/genus' dialog should show up IMMEDIATELY once the 'Getting Coordinates' dialog closes IF THE USER HAS toggled on TreeBot.

IF TreeBot's response / PlantID API takes LONGER then 1 minute PLEASE cancel the call and tell the user the following in a dialog 'TreeBot is still learning, and isn't sure what tree this is! Please TURN OFF the TreeBot toggle and enter the tree as Species = 'Unknown'.' We will verify and get back to you!

This looks fixed in #417 thanks @bestw07


Specter is using its own certificate instead of the one generated by raspiblitz

I've tested the new specter with https://github.com/rootzoll/raspiblitz/pull/1502#issuecomment-684531724
Once ready the web server was using a custom selfsigned certificate for www.fakeurl.com instead of the one generated by raspiblitz with the local IP address.
/cc @openoms

@frennkie didnt we moved this to the RaspiBlitz cert?

adding to v1.6.1 for testing

I checked ... its correct the lastest specter install is using the self created cert.

But if Spector itself creates it's own certificate then we an also deal with this. Nginx can present the configured cert (either from LND, from LetsEncrypt or user provided) and connect upstream to Spector (Validating against the local spector cert).

@frennkie yes Specter is creating/using its own cert and its working as it is right now - do you want to change anything on the nginx for v1.6.1 or should we push this to v1.7 to decide later

As we do not have a nginx config for specter in 1.6.0 I would not add one now for 1.6.1 because of this issue. Let's keep it as a "known issue" and address it in 1.7.

For the reference: Removing the cert-generation on specter and preventing it to listen on the LAN is as simple as changing this line:
https://github.com/rootzoll/raspiblitz/blob/v1.7/home.admin/config.scripts/bonus.specter.sh#L338
A proposal for a nginx configuration (pretty trivial) can be found here:
https://docs.specter.solutions/desktop/reverse-proxy/#basic-configuration


CB-13443: Enabled Load balancing using Knox for Profiler Manager Service.

Profiler Manager Services has 3 main services i.e. profiler_manager_service, profiler_metrics_service and data_discovery_service. They all supports active-active HA now.
Added enableLoadBalancing explicitly for all the services which would help in scaling.
Tested these configs on my local cluster.

@subrat-mishra the sticky session flag is false i am assuming this is because the services are stateless. Other than confirming that the services are stateless everything looks good.

@subrat-mishra the sticky session flag is false i am assuming this is because the services are stateless. Other than confirming that the services are stateless everything looks good.

Yes @moresandeep all the services are stateless.

@subrat-mishra  is this change backward compatible? We are using this knox configuration for older runtimes as well like 7.2.8? Will it work ?

@subrat-mishra is this change backward compatible? We are using this knox configuration for older runtimes as well like 7.2.8? Will it work ?

@doktoric I haven't tested on the older runtimes. CB-9745 has similar changes for other services like RANGER, SOLR etc.
@moresandeep can you please let us know the knox configs are backward compatible?

@doktoric these changes are backwards compatible with 7.2.8.

Thanks @moresandeep for confirming.
@doktoric could you please merge this PR?

@moresandeep we still support older runtimes then 7.2.8

I see what you mean, i don't think they will cause any issue for older runtimes but it would be best if we can test it out.
@subrat-mishra this should be easy to test on an older cluster <7.1.7

@moresandeep, I have tested runtime version 7.1.0 on public cloud. I have manually added the knox configs to the
/var/lib/knox/gateway/conf/topologies/cdp-proxy.xml and verified its working fine. Although the enableLoadBalancing feature was not working which is expected.


Adding scroll to top button in the website

Go ahead @ShivamAgarwal-code!
Assigned to you!

Hi, i would like to try this one. how can i do it?


command to scaffold a new plugin

create basic architecture
create package.json
create manifest.json

fixed here: https://github.com/sketch-pm/skpm-cli/commit/871581d94ae3b60a969b02515c51eaf2af88751c


[Patch request] Removing the bottom bar

Hi!
Would it be possible to remove the bottom bar (with home, my books, etc...) and to place the wanted menu icons on top, near the others? The result would be something like this: clock --- (e.g.) my books, nickel menu --- brightness, wi-fi, battery, sync, search. Furthermore, if so is possible, could the settings icon in "more" be placed there as well? This would be useful if the "more" menu is hidden.
Thanks!

This is too complex for a patch. If anything, it would be done with NickelHook, but given my current backlog, I don't think I'd be working on this any time soon.


Nickname for repo

Feature Description
I think using the repo path as the repo name is not free enough and not easy to understand. We can create a nickname function, and enter the name with special symbols such as spaces as the name of the repo display, like gitlab.
我觉得使用仓库路径作为仓库名不够自由，不便于展示。可以推出一个昵称功能，输入可以带空格等特殊符号的名字作为仓库展示的名字，像GitLab一样
Screenshots
No response

@techknowlogick Has this been implemented? If so, is it in gitea 1.19, or does it need to be enabled? Thanks!

I believe this was closed in a bulk-change last year during a cleanup process, it is not currently implemented.
However, it appears #9032 is asking for the same thing, so we can keep this closed and follow that issue instead.


Portable Download Links Inverted

The download links for the Portable and the Lightweight variations on the Download Page are inverted.
The download targets listed under Zip - A portable approach links to the files that requires .NET, while the Zip without .NET links to the portable zip file.

Hi,
Indeed! Good catch! I just fixed it :)
Thanks!


docs(blog): add post "go and openapi"

Go 그리고 OpenAPI 생태계 블로그글을 게시합니다.

Copyright:
I don't care. Do whatever you want to do with this blog post. Just leave my name as it is. I will use it on my resume.

Good


Adperformance not updated since 02-21-2020!

Hi,
my adperformance is not updated since 02-21-2020!
Please fix it, so that I can see my actual data.
Thanks,
Martin

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 7361de4b-d8ca-fcac-b7e2-5b4d014e3daf
Version Independent ID: 06dd75a0-a983-7059-01e6-f7e27f2e7ef5
Content: Analysieren der App-Leistung - UWP applications
Content Source: windows-apps-src/publish/analytics.md
Product: uwp
Technology: publish
GitHub Login: @hickeys
Microsoft Alias: hickeys

Hi @Martin-Stein  and thanks for submitting your issue through our channel. It seems you have a support related question. Unfortunately, that's outside of the scope of things we can offer a solution for. Here's the link to Windows developer support and Microsoft Support.
If you receive assistance there, and you believe that information would help us improve the docs, we'd appreciate if you came back and let us know.


JAX / XLA adding the importing external dlpack-aware Python arrays.

Not a bug, but I thought I would make you aware of this pull request from the main JAX devs,
[JAX] Implement importing external dlpack-aware Python arrays, which allows for creating jax.Arrays from external GPU arrays
asynchronously.
https://github.com/google/jax/pull/17238

That's very interesting. The main improvement that could be done to torch2jax is being able to somehow combine torch and jax lazy cuda execution. Right now, the cuda tensor wrapping torch->jax is already zero-overhead, but we need to instruct pytorch to synchronize its cuda stream both before and after executing its wrapped-function. Perhaps this would be a step in getting rid of that.
I'll look into it, thanks.


add raids & trade widget IDs

@while-loop We usually don't add widget IDs unless they're being used. ...
We've had other plugin hub plugins hardcode them instead of keeping them "unused" in the main client


Add Nong Song:

Song Name
thermodynamix x malas decisiones
Artist Name
DJ-Nate
Source
Direct file download
Youtube Link
No response
Direct File Link
https://www.mediafire.com/file/24r0hesnm4p6q0v/770520.mp3/file
Song ID
770520
Extra
No response

accept

mediafile links are not supported. I suggest uploading to YouTube or using an existing video from YouTube.


Remove redundant EXECUTABLE_NAME overrides in PIF

This setting shouldn't normally be overridden (except one edge case I'm leaving in for now because I haven't investigated to know whether it's safe to remove the ".o" suffix from the PRODUCT_NAME of library targets, which can be a separate step.

@swift-ci please smoke test

@swift-ci test linux

@swift-ci test macos


Improve typings for typescript with generics

This way, the store's state type and action type are inferred. This helps with autocomplete in editors.
Here is a sample of how it will be.
import * as React from 'react';
import { initStore, Store } from './dist';

type State = {
  count: number
}

type Actions = {
  increment: () => void,
  incrementBy: (by: number) => void;
}

const store: Store<State, Actions> = {
  initialState: { count: 0 },
  actions: {
    increment: ({ count }) => ({ count: count + 1 }),
    incrementBy: ({ count }, by: number) => ({ count: count + by })
  },
}

const { Provider, connect } = initStore(store)

type CountProps = { count?: number, actions?: Actions };
let Count: React.ComponentType<CountProps> = ({ count, actions }) => (
  <div>
    {count}
    <button onClick={actions.increment}>+</button>
    <button onClick={() => actions.incrementBy(3)}>+3</button>
  </div>
)

Count = connect(state => ({ count: state.count }))(Count)

const App = () => (
  <Provider>
    <Count />
  </Provider>
)

Type of the connect function can be improved though to accept incoming props and merge with props from selector function.

Pull Request Test Coverage Report for Build 24

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 22:
0.0%

Covered Lines:
38

Relevant Lines:
38

💛  - Coveralls


ADD the github team in about us section

make a new card, add title the github team
where I can mention all the github contributers along with their github profile image

before OUR VISION

Yes, I would like to work on this.

done 👍

can i also be a part of this.

I already offered you!! It's always first come and if you can serve, then first serve... I don't think this issue needs 2 contributers, please raise a new and unique issue if you want to contribute

Ok.

@ShaikHafiza updates??

@ShaikHafiza I'm reassigning this issue to others today, if no updates are provided, also outdated features will be rejected.

@Luson045  Sorry for the delay.. I'll surely give updates on this upto evening

okay but make sure you have the latest changes in your pr, else i won't provide any more flexibility in time


Trying to stream video on macos docker container using the builtin camera but failed

A one liner description about the use case and what you are trying to achieve
I want to video streaming my builtin camera to kvs, and i pull the docker image and run in the docker container,
gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name="" storage-size=512 access-key="" secret-key="*"
this is my code to launch the stream and it shows error about the device, it seems that inside the container my builtin camera couldn't be reached? I am using MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports), macOS Catalina version10.15.6
I also run gst-device-monitor-1.0 try to check my device and the error is below:
gst-device-monitor-1.0
Probing devices...
Failed to start device monitor!
So how could I use the builtin camera inside the docker container and stream it to kvs?
The doc about docker is so limited.
** Any design considerations/constraints **
Explain in detail how you would like to integrate our SDK into your solution
** If you would not like to open an issue to discuss your solution in open-platform, please email your question to<EMAIL_ADDRESS>**

From what you are describing, the issue is unrelated to KVS at all.
Check out the following link which is the top results when searching in Google.
https://stackoverflow.com/questions/33985648/access-camera-inside-docker-container/33992984
Try to stabilize your media pipeline without KVS using autovideosink and only after that try to stream with KVS sink to eliminate KVS and easily debug the encoder/media source issues first.
Please reactivate if you have any questions related to KVS itself.


NME - Bug fix for color picker

Also updating 2 icons for @PatrickRyanMS
https://github.com/BabylonJS/Babylon.js/issues/8960

You rock!


Climate - 687 - A new loader to read GPM precipitation data with a filelist

ocw.data_source.local.load_GPM_IMERG_files is added

Merged build triggered. Test Failed.

Merged build started. Test Failed.

Merged build finished. Test Failed.


Fedora support

Can you guys make compatible with Fedora 26?

i tried install on fedora 27 but have some problems.
logs;
Press any key to continue...
Last metadata expiration check: 0:12:09 ago on Wed 29 Nov 2017 07:19:19 PM UTC.
No match for argument: epel-release
Error: Unable to find a match
Last metadata expiration check: 0:12:10 ago on Wed 29 Nov 2017 07:19:19 PM UTC.
Package iptables-1.6.1-4.fc27.x86_64 is already installed, skipping.
Package openssl-1:1.1.0g-1.fc27.x86_64 is already installed, skipping.
Package wget-1.19.2-1.fc27.x86_64 is already installed, skipping.
Package ca-certificates-2017.2.16-4.fc27.noarch is already installed, skipping.
Package curl-7.55.1-7.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
================================================================================
 Package              Arch          Version                Repository      Size
================================================================================
Installing:
 openvpn              x86_64        2.4.4-1.fc27           fedora         469 k
Installing dependencies:
 pkcs11-helper        x86_64        1.22-4.fc27            updates         63 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 532 k
Installed size: 1.1 M
Downloading Packages:
(1/2): pkcs11-helper-1.22-4.fc27.x86_64.rpm     389 kB/s |  63 kB     00:00
(2/2): openvpn-2.4.4-1.fc27.x86_64.rpm          2.1 MB/s | 469 kB     00:00
--------------------------------------------------------------------------------
Total                                           675 kB/s | 532 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : pkcs11-helper-1.22-4.fc27.x86_64                       1/2
  Running scriptlet: pkcs11-helper-1.22-4.fc27.x86_64                       1/2
  Running scriptlet: openvpn-2.4.4-1.fc27.x86_64                            2/2
  Installing       : openvpn-2.4.4-1.fc27.x86_64                            2/2
  Running scriptlet: openvpn-2.4.4-1.fc27.x86_64                            2/2
  Verifying        : openvpn-2.4.4-1.fc27.x86_64                            1/2
  Verifying        : pkcs11-helper-1.22-4.fc27.x86_64                       2/2

Installed:
  openvpn.x86_64 2.4.4-1.fc27          pkcs11-helper.x86_64 1.22-4.fc27

Complete!
Created symlink /etc/systemd/system/multi-user.target.wants/iptables.service → /etc/systemd/system/iptables.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
--2017-11-29 19:31:34--  https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.3/EasyRSA-3.0.3.tgz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/4519663/8b828c62-8710-11e7-96f3-667ce61d734e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171129%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171129T193135Z&X-Amz-Expires=300&X-Amz-Signature=30fcb1a8fbb84e1713a36e24cb485538ea48508e17d2874e7e25d9644f59a524&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DEasyRSA-3.0.3.tgz&response-content-type=application%2Foctet-stream [following]
--2017-11-29 19:31:35--  https://github-production-release-asset-2e65be.s3.amazonaws.com/4519663/8b828c62-8710-11e7-96f3-667ce61d734e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171129%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171129T193135Z&X-Amz-Expires=300&X-Amz-Signature=30fcb1a8fbb84e1713a36e24cb485538ea48508e17d2874e7e25d9644f59a524&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DEasyRSA-3.0.3.tgz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... <IP_ADDRESS>
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40960 (40K) [application/octet-stream]
Saving to: ‘/root/EasyRSA-3.0.3.tgz’

/root/EasyRSA-3.0.3 100%[===================>]  40.00K   134KB/s    in 0.3s

2017-11-29 19:31:35 (134 KB/s) - ‘/root/EasyRSA-3.0.3.tgz’ saved [40960/40960]

Note: using Easy-RSA configuration from: ./vars

init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: /etc/openvpn/easy-rsa/pki

Generating a 3072 bit RSA private key
...........++
.........................................++
writing new private key to '/etc/openvpn/easy-rsa/pki/private/ca.key.jckJ0Wiqzm'
-----
Generating DH parameters, 3072 bit long safe prime, generator 2
This is going to take a long time
.....+..........+...............................................................................................................................................++*++*

Note: using Easy-RSA configuration from: ./vars
Generating a 3072 bit RSA private key
........................................................................................................................................................++
...............................................................++
writing new private key to '/etc/openvpn/easy-rsa/pki/private/server.key.6y188tYUSb'
-----
rand: Use -help for summary.
Using configuration from ./openssl-1.0.cnf
Can't open /etc/openvpn/easy-rsa/pki/index.txt.attr for reading, No such file or directory
140249477179200:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:74:fopen('/etc/openvpn/easy-rsa/pki/index.txt.attr','r')
140249477179200:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:81:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'server'
Certificate is to be certified until Nov 27 19:41:35 2027 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

Note: using Easy-RSA configuration from: ./vars
Generating a 3072 bit RSA private key
......................................................................++
............................................++
writing new private key to '/etc/openvpn/easy-rsa/pki/private/client.key.hT3wFmwg0p'
-----
rand: Use -help for summary.
Using configuration from ./openssl-1.0.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'client'
Certificate is to be certified until Nov 27 19:41:35 2027 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

Note: using Easy-RSA configuration from: ./vars
Using configuration from ./openssl-1.0.cnf

An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem

563
success
success
success
success
401
Failed to restart<EMAIL_ADDRESS>Unit<EMAIL_ADDRESS>not found.
Failed to enable unit: Unit file<EMAIL_ADDRESS>does not exist.

Finished!

Your client config is available at /root/client.ovpn
If you want to add more clients, you simply need to run this script another time!```

Forgot to close it, thanks @ardadem


Find init in PATH when use Linux

Describe your changes
Find init from system PATH instead of hardcode the /sbin/init in GetInitType when use Linux.
Some Linux distros have no /sbin, such as NixOS , but the init can be found in PATH in most cases.
But If there is no init in PATH, user just need change PATH before start netclient.
Checklist before requesting a review

[x] My changes affect only 10 files or less.
[x] I have performed a self-review of my code and tested it.
[ ] If it is a new feature, I have added thorough tests, my code is <= 1450 lines.
[ ] If it is a bugfix, my code is <= 200 lines.
[x] My functions are <= 80 lines.
[ ] I have had my code reviewed by a peer.
[ ] My unit tests pass locally.
[x] Netclient & Netmaker are awesome.

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

@RMTT , Thank you for opening the PR.  It's good for checking init on system without /sbin folder.
/sbin is not the only place used in the code logic. netclient executable file is also installed under /sbin.  I am not sure if you are interested in making the change for installation directory.  Otherwise the install will be still failed even the init check passed.


Add Accept headers for cosmos endpoint requirements

Some Cosmos Tables endpoints return 415 Unsupported Media Type without an explicit Accept header
Examples:

CreateTable: returns 415 without Accept: application/json
DeleteTable: returns 415 without Accept: application/json
InsertEntity: returns 415 without Accept: application/json
QueryEntity: returns 415 without Accept: application/json
QueryEntitiesWithPartitionAndRowKey: returns 415 without Accept: application/json
QueryTable: returns 415 without Accept: application/json
SetAccessPolicy: returns 415 without Accept: application/xml

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

Turns out that this is a generator bug.


Potential overflow in ModuleKey::from_members

https://github.com/robtfm/naga_oil/blob/66f25d5cdd68d9e1c62eb449a1356f9effddb025/src/compose/mod.rs#L152
This will overflow if there are more than 64 items in universe, which seems quite possible seeing as this gets passed the list of all shader defs that can affect a module.

sorry for all the noise, i meant to give you some time to check the changes, but then committed to master by mistake. i reverted that now and made a new pr with the same changes in

Yeah, I can't think of a better way to do it than with a BitSet. It shouldn't impact performance much, and even if it did, this isn't code that's getting run many times every frame, so it doesn't really matter.

Oops didn't mean to close that :laughing:


DeliveryOptions were ignored when sending a message

DeliveryOptions were ignored when not null and passed to the eventbus if null (possibe NPE).

@jphhoeks Good catch! Thanks for the PR. We should probably also extend the test: https://github.com/weld/weld-vertx/blob/master/core/src/test/java/org/jboss/weld/vertx/WeldVerticleTest.java#L132


Parser documentation and XML readme

Updated the documentation to use gerund form of verbs.

This PR is ready for review.


Progress bar doesn't work

make it work pls

oki so had to make a text progress bar instead as QProgressBar didn't work with Thread problems etc. Should now work!


e2e-test-ghost-webhook-page-published - #15537

e2e-test for page.published webhook - Ref: #15537

[x] There's a clear use-case for this code change, explained below
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run yarn test:all and yarn lint)

We appreciate your contribution!
Also, if you'd be interested in writing code like this for us more regularly, we're hiring:
https://careers.ghost.org

Hey-hey @ade1705 👋  How are the updates going? Anything specific I could help with here?

Hey-hey @ade1705 👋 How are the updates going? Anything specific I could help with here?

@naz sorry for the delay, working on it. Almost done

The other PR for the same event has already been merged. Thank you for the effort @ade1705 🙌


Cesium Viewer crashes on MacOS (Safari) and iOS (all) with rapid mouse movement

The Viewer reference app uses replaceState pretty much every time the camera moves, this leads to a security error on all Safari versions and results in a crash.  Just move them camera a whole bunch and you'll crash. Basically, you aren't allowed to call replaceState or otherwise much with history more than 100 times over 30 seconds.
While Apple having a check like this is questionable, we probably shouldn't be calling it that often to begin with.
NOTE: This only applies to the CesiumViewer reference app, which updates the URL to match the camera position, not the Viewer widget.

Hello. I'm new to contributing on open source projects. Don't know if I got you exactly, but there's a pull request with how I see the fix of the problem. By the way I can't test the stuff locally because I get this type of errors in browser js console error for: Cesium/Shaders/.... A 404 one if to be exact. Can you please help me with that?

Thanks for looking into the problem @avalan4e57!  For running the code locally, see the information in our Build Guide.  When you're ready to open a pull request, take a look at our contributing documentation for guidelines.
I saw your commit and I think that's a good start (that code is clearly incorrect and you're change fixes that), but I think we can make it even better by listening to the Camera.changed event instead of moveStart/moveEnd, and using a setTimeout/clearTimeout instead of a setInterval to make sure replaceState is only called at most once a second.
And yes, the camera parameter passed to the setInterval function looks like it can be removed

Thanks for reply @hpinkos ! Everything works ok on my local now. Made some changes there. And there's a question in the comment to some code lines in the commit. So, if everything is ok, guess I need to make a pull request since I've read already contributing documentation?

@avalan4e57 Go ahead and open the pull request.  It'll be easier for us to review it that way instead of looking at your individual commits

#5699

Made pull request #5699 yesterday. Maybe I should mention about it here.


Preview url fix

Update aliases for latest in build.sh as netlify uses build.sh

"Fixes #issue-number" or "Add description of the problem this PR solves"
Proposed Changes

/lgtm
/approve