text:
Radix Sort in c# csharp

Information about Algorithm

The idea of Radix Sort is to do digit by digit sort starting from least significant digit to most significant digit. Radix sort uses counting sort as a subroutine to sort.

Please assign this issue to me. I would like to contribute

repo: MakeContributions/DSA


text:
Added Bad or Good String in c++

Hey,
I have added Bad or Good String in c++
Closes: #201
Please review it
Thanks

@Arsenic-ATG  why cpplint is failing and well there is no codespell in my code it is in TawfikYasser #220 PR
Please review it thanks

@UG-SEP looks like these changes were merged with the java algo from PR #200 .
I don't know how that PR went under my watch ( maybe because it was already being reviewed by another C++ reviewer @aayushjain7 ) but that PR brought a lot of ill formatted and non standard codes along with it.
as changes has been done after merging it, I don't think there is a way to revert the changes made by that PR. But I will try to remove them while reformatting the repository for C++ codes.

@UG-SEP the all C++ programs are migrated to ./algorithm/CPlusPlus after successful merge of PR #226
It's recommended to update your fork and move your source code to the appropriate file and update the readme file accordingly.

source: gharchive/pull-request

authors: Arsenic-ATG UG-SEP

license: MIT

license_type: permissive

license_source: github-api


text:
Grupos reestruturados

Para desenvolvedores: ao invés de rodar só db:seed, por favor rode rails db:seed db:seeds:development (ainda irei melhorar isso no futuro, mas deixando assim por limitações de tempo).
Novidades

Nova tela de cadastro com grupos reorganizados
Separação de Prioridades e Comorbidades (a nível de UI)
Obrigatoriedade de preencher ao menos um grupo prioritário e uma comorbidade. Ainda há espaço para melhorias futuras (como remover "não me encaixo..." quando escolher outro, etc), mas por hora mantendo assim.
Nova mensagem de conclusão
DB Seeds agora podem ser rodados em produção
Liberando para 18+ criarem cadastro

Página inicial

Cadastro

Nó vamos dropar mesmo os subgrupos como de 'trabalhadores da educação'? Eu vi o pdf do Denis e ali os subgrupos não estão abertos, mas fiquei com essa dúvida

Dúvidas:

Nós vamos dropar mesmo os subgrupos como de 'trabalhadores da educação'? Eu vi o pdf do Denis e ali os subgrupos não estão abertos, mas fiquei com essa dúvida
O js que exige marcar um dos checkbox pode induzir o paciente a selecionar o primeiro, acho que podeoms só inverter a ordem e colocar o 'não me encaixo...' como primeiro item das listas

Nós vamos dropar mesmo os subgrupos como de 'trabalhadores da educação'? Eu vi o pdf do Denis e ali os subgrupos não estão abertos, mas fiquei com essa dúvida

Pelo que entendi, sim.

O Denis tinha falado algo sobre ter um aviso dizendo pro paciente corrigir seus dados. Vamos ter isso? Hoje oq temos é que se o paciente entrar na tela de edição ele só não vai conseguir atualizar seus dados caso não esteja com os dois selects com pelo menos uma opção marcada

Não consegui implementar esta função devido ao tempo.

Será que vamos ter problemas com a opção "Não possuo nenhuma das comorbidades ou a que tenho, não está na lista"? Tenho medo que daqui a pouco a gente precise saber diferenciar 'não ter nada' e 'ter algo não listado'. Pensei que poderiamos já abrir em duas opções

Pessoalmente eu sou contra o "não tenho nenhuma das opções na lista". É bad UX, não há suporte nativo em HTML para isso, etc.

O js que exige marcar um dos checkbox pode induzir o paciente a selecionar o primeiro, acho que podeoms só inverter a ordem e colocar o 'não me encaixo...' como primeiro item das listas

Idem a resposta acima.

authors: jmonteiro pedroCervi

repo: MakersNetwork/agenda-saude


text:
404 error when clicking an example at the start page

Seems fixed now.

source: gharchive/issue

repo: MakieOrg/BeautifulMakie


text:
Update env variables for better consistency

Merge together: https://github.com/RedHatInsights/e2e-deploy/pull/191
Changes the consumed env variables names to use more consistent names.

Codecov Report

Merging #19 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #19   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         211    211
=====================================
  Hits          211    211

Impacted Files
Coverage Δ

tests/test_app.py
100% <ø> (ø)
:arrow_up:

app.py
100% <100%> (ø)
:arrow_up:

tests/conftest.py
100% <100%> (ø)
:arrow_up:

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 444d2b2...7c9257c. Read the comment docs.

authors: codecov-io tumido

repo: ManageIQ/aiops-incoming-listener


text:
Add workflow validation

Ensure the workflow has the correct syntax.

States define End or Next
Next is a valid destination
StartAt is valid
Required fields are present

2 sample specs: https://github.com/ManageIQ/floe/pull/125

repo: ManageIQ/floe


text:
MiqPowerShell should be using nokogiri over rexml

Running my branch on ruby 2.1.2 locally (it adds lots of allocation hooks), with the allocation_stats gem and profiling of object allocations per rspec example, I see a tremendous number of objects created from the scvmm_refresher_spec.rb in rexml land, see below.
This might be a place we can fully support nokogiri and get an instant performance benefit depending on how often we are parsing xml documents in powershell land.
I believe the offending code in miq-powershell is delegating to MiqXml to decide on the "default xml parser" and ending up with rexml.
Rexml is notoriously bad with memory and most move to nokogiri for better performance.
Changing the code to force nokogiri:
diff --git a/lib/util/win32/miq-powershell.rb b/lib/util/win32/miq-powershell.rb
index 59cb243..9a35130 100644
--- a/lib/util/win32/miq-powershell.rb
+++ b/lib/util/win32/miq-powershell.rb
@@ -193,7 +193,7 @@ module MiqPowerShell
     def initialize(xml)
       @refIds = []
       if xml.kind_of?(String)
-        @xml = MiqXml.load(xml)
+        @xml = MiqXml.load(xml, :nokogiri)
       else
         @xml = xml
       end

I get the following error on ruby 1.9.3, indicating the powershell code is expecting a hash and we get an array, it might be a simple fix to get the miq-nokogiri code compatible with what miq-rexml does:
  1) EmsRefresh::Refreshers::ScvmmRefresher will perform a full refresh
     Failure/Error: EmsRefresh.refresh(@ems)
     TypeError:
       can't convert String into Integer
     # .../Code/manageiq/lib/util/win32/miq-powershell.rb:259:in `[]'
     # .../Code/manageiq/lib/util/win32/miq-powershell.rb:259:in `process_obj'
     # .../Code/manageiq/lib/util/win32/miq-powershell.rb:280:in `add_to_array'
     # .../Code/manageiq/lib/util/win32/miq-powershell.rb:212:in `block in process_root'
     # .../Code/manageiq/lib/util/xml/miq_nokogiri.rb:69:in `block in each_element'
     # .../.gem/ruby/1.9.3/gems/nokogiri-1.5.11/lib/nokogiri/xml/node_set.rb:237:in `block in each'
     # .../.gem/ruby/1.9.3/gems/nokogiri-1.5.11/lib/nokogiri/xml/node_set.rb:236:in `upto'
     # .../.gem/ruby/1.9.3/gems/nokogiri-1.5.11/lib/nokogiri/xml/node_set.rb:236:in `each'```

Here is the output indicating the higher object allocation per example for the scvmm spec, note, other "heavy allocators" are in the neighborhood of 80k-200k object allocations.
  String allocations at <RUBYLIBDIR>/rexml/element.rb:229
    769060 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/element.rb:226
    411682 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/text.rb:395
    396484 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/element.rb:1045
    391056 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  MatchData allocations at <RUBYLIBDIR>/rexml/element.rb:1045
    391056 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/element.rb:1046
    391056 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/parsers/baseparser.rb:334
    386384 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/parsers/baseparser.rb:381
    341106 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  MatchData allocations at <RUBYLIBDIR>/rexml/text.rb:132
    244426 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <RUBYLIBDIR>/rexml/text.rb:118
    227222 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20

Note, to run this locally:

Check out my branch
install ruby 2.1.2
bundle all your gems in vmdb with ruby 2.1.2
Create/append the following line to vmdb/Gemfile.dev.rb
gem 'allocation_stats' , :git => "git@github.com:srawlins/allocation_stats.git"
Run bundle again
Enable profiling of rspec examples:

diff --git a/vmdb/spec/spec_helper.rb b/vmdb/spec/spec_helper.rb
index 45a16b6..c9a1124 100644
--- a/vmdb/spec/spec_helper.rb
+++ b/vmdb/spec/spec_helper.rb
@@ -1,3 +1,6 @@
+require 'allocation_stats'
+AllocationStats.trace_rspec
+

Run the spec:
bin/rspec spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb

@jrafanie Did you do this yet?
Looks like only the parser portion of MiqPowerShell is used.

No, I haven't @kbrock.  @bronaghs @gmcculloug any idea when we'll switch to json?  Each pull request and merge we do has to wait on this slow test.
This single example is our slowest by over 3 seconds:
  EmsRefresh::Refreshers::ScvmmRefresher
    16.62 seconds average (16.62 seconds / 1 example) ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:4
  MiqAeDialog
    13.1 seconds average (13.1 seconds / 1 example) ./spec/lib/miq_automation_engine/miq_ae_dialog_spec.rb:5
  EmsRefresh::Refreshers::VcRefresher
    11.7 seconds average (11.7 seconds / 1 example) ./spec/models/ems_refresh/refreshers/vc_refresher_spec.rb:4

Our options are to disable the test, make the test smaller, fix it to use nokogiri, or use json.
It's been several months and I don't think we've made any progress.

Coming back around to this, I'd like to get this working with nokogiri as rexml is horribad. I wouldn't think it would be an issue on Windows since it ships with precompiled binaries, for mingw at least.

I traced the issue to the process_obj method in the miq-powershell.rb file. The fundamental problem is that you can reference a REXML::Elements result by xpath, whereas Nokogiri does not allow that:
str = %Q{<c id="1"/><c id="2"/><d/> }

rdoc = REXML::Document.new(str)
p rdoc.root.elements['c']

ndoc = Nokogiri::XML::Document.parse(str)
p ndoc.root.elements['c'] # Boom!

I can fix that so that it works with any element set I think, but I'll need to make sure this doesn't happen elsewhere.

Coming back around to this, I'd like to get this working with nokogiri as rexml is horribad

:+1: :heart: @djberg96
Note, we don't need to rip apart the MiqXml layer at first (unless it's required), making things
work with MiqXml with nokogiri would be a great start:
diff --git a/lib/util/win32/miq-powershell.rb b/lib/util/win32/miq-powershell.rb
index 59cb243..9a35130 100644
--- a/lib/util/win32/miq-powershell.rb
+++ b/lib/util/win32/miq-powershell.rb
@@ -193,7 +193,7 @@ module MiqPowerShell
     def initialize(xml)
       @refIds = []
       if xml.kind_of?(String)
-        @xml = MiqXml.load(xml)
+        @xml = MiqXml.load(xml, :nokogiri)
       else
         @xml = xml
       end

I can fix that so that it works with any element set I think, but I'll need to make sure this doesn't happen elsewhere.

Good luck!  :smiley:

I've got it working now. You can see my "rexml_to_nokogiri" branch on my fork:
https://github.com/ManageIQ/manageiq/compare/master...djberg96:rexml_to_nokogiri
Quick summary of issues:

Accessing attributes['x'] returns a value in REXML. In Nokogiri it gives us an object and we must call the .value method.
Accessing elements['x'] is legal in REXML but not Nokogiri. I used a solution that works for both.
REXML starts element indexing at 1. Nokogiri starts at 0.
REXML returns nil for an empty text value. Nokogiri returns an empty string.
I modified Nokogiri::XML::Attr#to_i so that various attribute.to_i calls within the code would Just Work. This could be switched to a more general approach with method_missing, but I just wanted to get it working for now.

Allocation results:
Using REXML I basically saw the same results that @jrafanie saw. Using Nokogiri I saw this:
Top 10 allocation sites:
  Array allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:310
    100666 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:310
    55247 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:311
    55247 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Array allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:311
    55247 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Hash allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:310
    50333 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Array allocations at <GEM:activerecord-4.2.3>/lib/active_record/attribute.rb:54
    33658 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Nokogiri::XML::Element allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node_set.rb:187
    27605 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Array allocations at <GEM:activerecord-4.2.3>/lib/active_record/relation/query_methods.rb:66
    24992 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  Nokogiri::XML::Attr allocations at <GEM:nokogiri-1.6.6.2>/lib/nokogiri/xml/node.rb:310
    24961 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20
  String allocations at <PWD>/gems/pending/util/win32/miq-powershell.rb:257
    23283 allocations during ./spec/models/ems_refresh/refreshers/scvmm_refresher_spec.rb:20

So about 1/3 to 1/5 the allocations, with a corresponding drop in memory. Indeed, just loading a sample inventory xml output file, the REXML used about 4x as much memory.
Speed:
You may see a minor performance improvement, but not as much as you might think because the primary bottleneck for inventory collection is really the WinRM + powershell script call. The parsing after the fact is secondary.
There is room for improvement within the powershell script, so that will be next.
Overall:
With the memory savings, this should be a major win folks with lots of infrastructure providers.

Cool stuff @djberg96 .  If that miq-xml change works I think you can just make a PR and we can merge it.  However, should we just dump miq-xml entirely for powershell stuff?  What if we just use Nokogiri natively?

@Fryguy I think the level of effort to just rewrite for Nokogiri is too high. That compatibility layer is not insignificant.

@djberg96 @gmcculloug is this still an issue?  How much code uses rexml?  Is there a sizable gain to using nokogiri?  If not, can we start removing the Rexml monkey patches?  Part of me thinks this is debt we should just get rid of but if the code using it is very limited, is going away, etc., then maybe it's ok to keep some of this debt and just remove any patches we no longer need.

@jrafanie good question, I don't remember any more what still uses REXML. My experience with nokogiri vs rexml was that it was a significant difference, both in terms of speed and memory usage (in favor of nokogiri).
I would say that any code still using REXML should be converted.

@jrafanie I'm wondering if we can close this. SCVMM switched to JSON parsing, and I don't even see a reference to MiqXML in the solid-state repo.

authors: Fryguy djberg96 jrafanie kbrock

repo: ManageIQ/manageiq


text:
Updated styling for full screen reports

made page scrollable
adjusted padding
Old:

New:

@h-kataria Pls review


text:
Increase # of bootstrap-select displayed items

https://bugzilla.redhat.com/show_bug.cgi?id=1264511
https://github.com/ManageIQ/manageiq/issues/4119
https://github.com/ManageIQ/manageiq/issues/4068
Old

New

@miq-bot add_label ui, bug

@dclarizio please review

What happens when we hit 10 providers?  Shouldn't there have been a scrollbar there in the first example?

@Fryguy There is a scrollbar there in the first example, but as @dajohnso mentioned in the BZ, it's seems silly to only display four at a time. If 10 doesn't sound right, we can pick another number...

Nope, 10 is fine... I misunderstood, and thought you were bumping the size
because there was no scrollbar (at least it appeared that way from the
screen shot)
On Nov 4, 2015 7:18 PM, "Eric Winchell" notifications@github.com wrote:

@Fryguy https://github.com/Fryguy There is a scrollbar there in the
first example, but as @dajohnso https://github.com/dajohnso mentioned
in the BZ, it's seems silly to only display four at a time. If 10 doesn't
sound right, we can pick another number...
—
Reply to this email directly or view it on GitHub
https://github.com/ManageIQ/manageiq/pull/5280#issuecomment-153912941.

authors: Fryguy epwinchell


text:
[WIP] Run each of the queue workers with a query cache

PLEASE DO NOT MERGE
Still trying to get mind around the implications of this.
For each miq_queue job, use query caching
This is how the rack middleware performs for all ui work.
For a refresh, I'm seeing:

ms
ms-
sql
sqlms
sqlrows
comments

161,356.2

53,004
11,742.5
31,869
refresh 1,000 no cache

157,100.3

49,208
9,635.7
24,545
refresh 1,000 cache

2.5%

7.2%
17.9%
23%

/cc @akrzos This one is for you - this should have a very big performance impact right across the board.
/cc @Fryguy this is the code change I'm proposing
Curious about the memory implications here

feedback:

show with an external database
where are things cached?
what about memory? (via alex)

This was intended to be a quick win. Too many questions were raised that it would be too expensive to implement this.


text:
Wrong capitalization in icon docs

I just noticed that the https://mangelmaxime.github.io/Fable.Elmish.Bulma/#elements/icon code sample for the faIcon function has a typo in it, caused by my typing that code sample into the comment box in a hurry. The actual function is faIcon (starting wtih a lowercase letter), but my code sample which you copied used FaIcon. So now the sample code on the docs page is wrong: it should be faIcon, not FaIcon.
Also, there's an inconsistency in the docs about the Fa.Custom capitalization: the sample code correctly uses Custom (capital letter), but the line in the docs just before it incorrectly says "You can also use Fa.custom "fa-my-icon" as a fix." That lie should be Fa.Custom as well.
Finally, the line that reads "We provide convenience functions for font awesome" should really be written as "We provide convenience functions for Font Awesome" since the Font Awesome project's official name is capitalized like that.

Thanks for the report. 👍
Can you please check if I didn't miss one of typo here ?

Looks good!

authors: MangelMaxime rmunn

license_source: bigquery


text:
Layout.cleanup vs Layout.cleanup_drivers

This is obscure in the code and gets in the way repeatedly.
Probably everything should become a Runnable.

Fine by me. But here be dragons... lots can be broken.
On Thu, May 3, 2018 at 5:35 AM Tom Swirly notifications@github.com wrote:

This is obscure in the code and gets in the way repeatedly.
Probably everything should become a Runnable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/780, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA6a6g_p896eeGMS19NnkXNKnW-81lnrks5tus97gaJpZM4TwxMd
.

This is exactly why I didn't touch this, nor make everything Runnable,
even though I wanted to.
On Thu, May 3, 2018 at 12:49 PM, Adam Haile notifications@github.com
wrote:

Fine by me. But here be dragons... lots can be broken.
On Thu, May 3, 2018 at 5:35 AM Tom Swirly notifications@github.com
wrote:

This is obscure in the code and gets in the way repeatedly.
Probably everything should become a Runnable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/780, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA6a6g_
p896eeGMS19NnkXNKnW-81lnrks5tus97gaJpZM4TwxMd>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/780#issuecomment-386256570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdsklYzr7YstDxTPI3uRSaISxNiyatks5tuuC8gaJpZM4TwxMd
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com

authors: adammhaile rec

repo: ManiacalLabs/BiblioPixel

license: mit


text:
More signal handling

I still haven't figured out why we don't see changes in project files on a HUP!  It's very weird, we do seem to reread from the filesystem...!
But I checked in a script that lets me reproduce Adam2's issue, which is halfway to solving it.
Also - new features!
For this purpose, now when bp is running a Project, it stores its PID in a well-known tempfile.
So you can now say things like:

bp pid - print the PID for the current project
bp signal SIGHUP - restart the current project
bp signal - same (SIGHUP is the default)
bp signal SIGINT - shut down the current project

or any signal you like - though we only do something intelligent for SIGHUP, SIGINT and SIGTERM as of today.

+1
On Sat, Apr 7, 2018, 11:39 AM Tom Swirly notifications@github.com wrote:

I still haven't figured out why we don't see changes in project files on a
HUP! It's very weird, we do seem to reread from the filesystem...!
But I checked in a script that lets me reproduce Adam2's issue, which is
halfway to solving it.
Also - new features!
For this purpose, now when bp is running a Project, it stores its PID in
a well-known tempfile.
So you can now say things like:

bp pid - print the PID for the current project
bp signal SIGHUP - restart the current project
bp signal - same (SIGHUP is the default)
bp signal SIGINT - shut down the current project

or any signal you like - though we only do something intelligent for
SIGHUP, SIGINT and SIGTERM as of today.
You can view, comment on, or merge this pull request online at:
https://github.com/ManiacalLabs/BiblioPixel/pull/743
Commit Summary

Demonstrate that HUP does not reread the config
Better signal handling

File Changes

M bibliopixel/main/commands.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-0
(6)
M bibliopixel/main/common_flags.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-1
(6)
M bibliopixel/main/demo.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-2
(2)
A bibliopixel/main/pid.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-3
(28)
M bibliopixel/main/run.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-4
(13)
A bibliopixel/main/signal.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-5
(43)
M bibliopixel/project/project.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-6
(4)
A bibliopixel/util/pid.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-7
(27)
A bibliopixel/util/pid_context.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-8
(35)
D bibliopixel/util/restarter.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-9
(24)
A bibliopixel/util/signal_handler.py
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-10
(27)
A projects/51-red.yml
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-11
(5)
A projects/52-green.yml
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-12
(5)
A projects/test_hup.sh
https://github.com/ManiacalLabs/BiblioPixel/pull/743/files#diff-13
(19)

Patch Links:

https://github.com/ManiacalLabs/BiblioPixel/pull/743.patch
https://github.com/ManiacalLabs/BiblioPixel/pull/743.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/pull/743, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6jICP70z0OAsR6JxY3KLscuveKkBks5tmN2MgaJpZM4TLITo
.


text:
Crop a group, an object...

Description of proposed feature

Sometimes, it may be useful to crop an object, because the object could be theoretically infinite and I may just want to display a part of it, with other animations or text around it. It would be cool to be able to apply it to a group for instance.
How can the new feature be used?

For instance, I'd like to try to draw the following thing:

If crop is allowed with an arbitrary path, then we could also crop rectangle images to circle, and much fun would be possible.
Possible workarounds
The only workaround I can think of would be to draw some squares around the image with the color of the background, but it is not perfect: first, it's tedious to write properly, especially when multiple groups must be cropped. Secondly, it will fail if we want to make an object pass behind the crop part, or if two cropped objects are too close to each others. I also tried Intersection, but without luck on groups.

One way I think you can do this by creating a mask type thing with the difference of two rectangles, one being the dimensions of the frame and the other being of the area you want cropped, and setting the fill color to the background color with full fill opacity:
from manim import *

class Masking(Scene):
    def construct(self):
        numplane = NumberPlane(fill_opacity=0.5)

        self.add(numplane)

        mask = Difference(
            Rectangle(height=config.frame_height, width=config.frame_width), #whole frame
            Rectangle(height=3,width=5),                                     #cropped
            stroke_opacity=0,
            fill_color=BLACK,
            fill_opacity=1
        )

        self.add(mask)

Thanks for this trick. It is what I was referring to as a workaround (thanks for writing this code, it's a quite clean way to do this workaround) as it gets trickier to use when we use multiples cropped objects (the mask of the second object will hide the first object, so we need to remove from it the mask of the first object). And also, it would not be able to handle movements going behind the object.

authors: kilacoda tobiasBora

repo: ManimCommunity/manim


text:
Implementing structured logs in JSON format

This is mostly for the tests. The idea is to output all the logs in a JSON format, so it will be much much easier to compare them (we won't have to deal with the log_widht, etc).
This is fairly easy to implement. See https://docs.python.org/3/howto/logging-cookbook.html#implementing-structured-logging

It sounds like a Good Idea (TM), but also I don't think we want to be outputting JSONs all over the console for the user to read those. Can we have the logs be JSONs but print them to console with a nice repr?

The idea thing would be to not touch the things printed in the console, and in the meantime saving the logs in a .json.

authors: huguesdevimeux leotrs


text:
faster pyrawfilereader

It has been tested on AlphaViz, but not in alphapept search.

It is about 2~3 times faster than old .NET array to list to np.array

repo: MannLabs/alphapept


text:
Canadian flag support for IE and Edge

Hi reddit!
This PR is a fix for the Canadian flag in IE and Edge.  It has the unfortunate side effect of introducing a Firefox-specific hack because of a few issues with it's renderer, however, both IE and Edge are now supported with a crisper leaf displaying on Webkit.
Something like this would never be used in production, this is just a collection of hacks to get a nice-looking Canadian flag to appear in Firefox, Chrome, IE 10+, and Edge.  Other browsers might work too, but I didn't test beyond those four.

@ScottKaye This is great but I would have to find an alternative to test it before merging. If you can share some screenshots, it would help too.

Should look identical to the existing one, but I can take some screen shots if that would help.

@ScottKaye Will give me more confidence. :smile:

authors: ManrajGrover ScottKaye

repo: ManrajGrover/SingleDivProject


text:
Binding input value to shared property throws Error

Having a simple input binding made to a shared property throws this error:
viewmodel-parseBind.coffee:17 Uncaught TypeError: Cannot set property 'nextVal' of undefinedvalueEvent @ viewmodel-parseBind.coffee:17(anonymous function) @ manuel_viewmodel.js?hash=49c6756…:608dispatch @ jquery.js:5201elemData.handle @ jquery.js:5009
Reproduction here:
https://github.com/arggh/vm-throttle-input2

@ManuelDeLeon Do you have any plans about finishing this throttle-of-a-mess issue in the near-future?
I was trying to interpret ViewModel source code and help out, but with zero Coffeescript experience it is quite daunting to comprehend what's happening under the hood, and thought I'd ask before I waste more time fiddling.

Sorry for the delay. Pick up v6.1.5

authors: ManuelDeLeon arggh

repo: ManuelDeLeon/viewmodel


text:
Dataset

I download the udd5.rar and find that all pictures of gt folder are black.

The labels are only from 1 to 5, but your visualization space is from 1 to 255, so everything is black.
You should use some visualization tools, like the imagesc function in MATLAB.

authors: MarcWong Pandabuaa

repo: MarcWong/UDD


text:
Preact compatibility ?

Hi @Marcisbee
Congrats on the great lib. Really smart and efficient way to manage state.
I am currently working on a side-project using Preact. Is there any chance to see a preact version that doesn't need the compat layer to work?
Would be happy to help if I can. :)
Maybe we could simply replace exports in https://github.com/Marcisbee/exome/blob/main/src/react.ts using Preact versions of the hooks referenced in this file. :)

Hey, thanks!
Yeah, adding Preact was in my todo list. Since the implementation is basically the same, I think we can just copy react.ts and use preact imports inside it.
Will create a PR in just a sec.

Thanks for your reactivity @Marcisbee
Would be happy to open the PR if you're happy with that :)

I'm open for contributions!
But I was so excited to add this feature that I went ahead and already added Preact support in v0.8.6 just now before I read that you want to actually contribute 😬
Sorry, hope it's all right.

authors: Marcisbee samueldrai

repo: Marcisbee/exome


text:
InternalStreamReader FileAccess to ReadWrite

Based on Issue #248, is there a reason not to change the FileStream Constructor to use FileShare.ReadWrite? I know i could use a Stream directly to avoid errors while Excel locks the file, but i whould think Reading should not be stopped because someone forgot to close the file. I try´d it with this Option and have no negative impacts  other than "The File could be changed by Excel while reading", that is the only downside i can think of.

@LordPinhead: I have an workaround with an FileStream an StreamAccess ReadWrite, so i can open it. I opened an Issue on Github to ask if there is any reason not doing this by default.
using (var stream = new FileStream(DataFile.FullName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
  using (var reader = new StreamReader(stream)) {
    engine.ReadStream(reader).ToList().ForEach(record => {
      // Do Something
    });
  }

I'll be honest, I'm surprised that works given that Excel has a write lock already on it. My text editors that handle locking (marking the file as readonly) for most scenarios won't even open an Excel locked file.

`FileShare.Read` is the default for those `FileStream` constructors without a `FileShare` parameter so maybe they aren't specifying it either.

The only concern I would have is when another process has the ability to write to a file we are trying to read, that could lead to data corruption issues in what we are trying to read.  So given this I, personally, wouldn't feel it's correct use that by default in most scenario's.

I'm not sure if I understand the suggestion: are you suggesting to change
https://github.com/MarcosMeli/FileHelpers/blob/9b063df0993f66c227a56fd3f675c3cd4161f42c/FileHelpers/Streams/InternalStreamReader.cs#L56
        var stream = new FileStream(path,
            FileMode.Open,
            FileAccess.Read,
            FileShare.Read,
            bufferSize,
            FileOptions.SequentialScan);

        // change
        var stream = new FileStream(path,
            FileMode.Open,
            FileAccess.ReadWrite,
            FileShare.Read,
            bufferSize,
            FileOptions.SequentialScan);

Matthias

No, I think he was after the row below, FileShare to be read/write, so that other files can have a write lock.

Thank you for your clarification. It now changed included.

authors: LordPinhead mcavigelli netniV

repo: MarcosMeli/FileHelpers


text:
Spanish translation

Hello everyone,
@reidka, @david-yz-liu  I really enjoyed working with you. This is a token of my appreciation.
Best Regards,
Christian Garcia

@GitGeminiano That is fantastic!  A Spanish translation is a wonderful gift!  Thank you for all your hard work this summer.

@GitGeminiano truly a labour of love. Thank you greatly.

authors: GitGeminiano david-yz-liu reidka

repo: MarkUsProject/Markus


text:
Generated package size

The generated packages seem to be very large
5:04
Uploading robotframework_browser-1.1.1-py3-none-any.whl
100%|██████████| 5.13M/5.13M [00:51<00:00, 104kB/s]
Uploading robotframework-browser-1.1.1.tar.gz
100%|██████████| 4.65M/4.65M [00:24<00:00, 195kB/s]
5:06
0.15.1 versions have been around 500kB
5:07
1.0.0 is about 4.5MB
5:07
.. so might be that there is some garbage in the build

Fixed

repo: MarketSquare/robotframework-browser


text:
Feature Request: Share option that functions like earlier GPM

In earlier versions of Google Play Music, the "Share" option for a song included an option to share it as YouTube video, and then it'd pull up YouTube results of the song you could copy the link of, as seen here:

It'd be very nice to have that functionality again, as it was far more convenient to share this with friends than a GPM link.

Huh, I guess I never realized that got removed by Google. That's unfortunate, I'll look and see if there's an easy way to implement this, but it probably will take a bit of work.

@Noctimor I believe this functionality has been superseded by the YoutubeRed integration into Google Play Music.  As a YoutubeRed subscriber I have access to youtube videos for songs and there is a share button in that interface.
Closing as wontfix

authors: MarshallOfSound Noctimor jostrander


text:
Pock does not show correct song on YTM

Checklist:

[X] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL

[x] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there

[X] I have double checked and can reproduce the issue

OS:
MacOS
GPMDP Version:
4.6.1
Issue Descriptions:
When using Pock (a touchbar dock) the Now Playing song name does not update. When using GPM it updates but not with YTM.
Steps to Reproduce:
Install Pock and add the Now Playing widget. Try to play music and skip a song on YTM.

I'm thinking this may already be fixed in master. YTmusic.js was out of date so I fixed it and brought it in. Will leave open until the next release to confirm.

@jostrander That sounds great. Any idea when the next release will be? I keep on checking the site :P

Hello, friends!
@jostrander
@erasmuswill
OS:
macOS Catalina
10.15.1 (19B88)
GPMDP Version:
4.6.1
In "Now Playing" Notification Center widget has an incorrect song name and time.
The song title is only updated if you switch to gpm and back to ytm. Song playback time is reset if you pause and continue playing.
Sorry google translate

@delhara I'm pretty sure this is the same issue I'm experiencing. Hope the next release fixes it :) Kinda considering building from source to try it out.

@erasmuswill you can download latest builds for OS X from here.

@erasmuswill you can download latest builds for OS X from here.

Tell me, please, how to download the latest build? I don’t see or simply don’t understand how to do this, due to the lack of experience with the service.

@rayl3r I have no idea how to get at the artifacts either :(

@erasmuswill @GhostInq  for OS X this link should work : https://3667-40008106-gh.circle-artifacts.com/0/home/circleci/project/dist/installers/darwin/Google Play Music Desktop Player.zip

authors: GhostInq delhara erasmuswill jostrander rayl3r


text:
Upgrade to gulp 4

Trying to keep things updated, I figured this was probably going to be easiest. Hopefully its not too much of a jarring change.

Obviously not ready, maybe I'll resubmit later.


text:
Encoding issue only when key-auth is enabled after updating from 0.10.0 to 0.10.3

Summary
All my key-auth enabled services that has arabic encoded url aren't working after the upgrade.
The same service works if I disable key-auth
I captured the log in the Upstream service and it seems that the url is encoded twice when it is proxied.
An example of the captured on the upstream service:
Service configuration from kong dash:

/api/v1/school/courses/%25D9%2585%25D8%25A8%25D8%25A7%25D8%25AF%25D8%25A6-%25D9%2584%25D8%25BA%25D8%25A9-%25D8%25A7%25D9%2584%25D8%25B3%25D9%2588%25D9%258A%25D9%2581%25D8%25AA-swift-basics/?apikey=57b2d443905f4ec6be39e7af7e70f740&blabla=blablala
after disabling key-auth:
/api/v1/school/courses/%D9%85%D8%A8%D8%A7%D8%AF%D8%A6-%D9%84%D8%BA%D8%A9-%D8%A7%D9%84%D8%B3%D9%88%D9%8A%D9%81%D8%AA-swift-basics/
By using decode tool you can check that:
%25D9%2585%25D8%25A8%25D8%25A7%25D8%25AF%25D8%25A6-%25D9%2584%25D8%25BA%25D8%25A9-%25D8%25A7%25D9%2584%25D8%25B3%25D9%2588%25D9%258A%25D9%2581%25D8%25AA-swift-basics
is url_encode of :
%D9%85%D8%A8%D8%A7%D8%AF%D8%A6-%D9%84%D8%BA%D8%A9-%D8%A7%D9%84%D8%B3%D9%88%D9%8A%D9%81%D8%AA-swift-basics
Steps To Reproduce

register a service /api/v1/school/courses/
make a get request that requires url encoding in example : /api/v1/school/courses/& check the proxied request
the proxied request works fine
enable key-auth on this service
make the same request /api/v1/school/courses/&
check that the proxied request is /api/v1/school/courses/%2526 and not /api/v1/school/courses/%26 as expected

Additional Details & Logs

Kong version (0.10.3)
Kong debug-level startup logs ($ kong start --vv)
Kong error logs (<KONG_PREFIX>/logs/error.log)
Kong configuration (registered APIs/Plugins & configuration file)
Operating System: Docker

Fixed by updating to 0.11.0

repo: Mashape/kong


text:
Supporting multiple Host headers

This closes issue #186

Coverage decreased (-0.22%) to 65.72% when pulling cb93802e917a186fce882858d979d60e2d43ddf6 on fix/multiple-host into bc9a5458bb94cc1ed469b7a25cdffb834f46e7e4 on master.

Coverage decreased (-0.22%) to 65.72% when pulling cb93802e917a186fce882858d979d60e2d43ddf6 on fix/multiple-host into bc9a5458bb94cc1ed469b7a25cdffb834f46e7e4 on master.

authors: coveralls thefosk


text:
Except block for urllib2.URLError

It would be better if the library also handles the urllib2.URLError while making urllib2.urlopen requests. This is specially a problem if the client provides a callback because in that case things are happening on a different thread, and it's difficult for the client to catch the exception.
The problem is that I'm not sure what the response should look like because the URLError does not have a response code or headers.
Currently I've added something like this :
_unirestResponse = UnirestResponse(0, {}, str(e.reason))
If there's a suggestion I can modify it accordingly.

Closing this pull request. Updated the Readme on my fork to highlight the changes.

repo: Mashape/unirest-python


text:
MassTransit SQS - Startup AmazonSimpleNotificationServiceException: Rate exceeded

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes, also found a question on StackOverflow with the same problem on the older version
Environment

Dotnet version: .Net 6
Operating system: Debian Linux
IDE (Rider, VS Code, Visual Studio): Visual Studio

Steps to Reproduce

Use MassTransit AmazonSQS integration with an AWS Account that has over 1500 Topics configured
Create over 40 Consumers
Application is often not starting because of the following exception: Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceException: Rate exceeded
The issue is that MassTransit uses FindTopicAsync AWS SDK method which is internally iterating all SNS topics until the required topic is found with ListTopic - all topics are being configured asynchronously with the ConfigureAmazonSqsTopologyFilter
This makes a lot of ListTopic requests and AWS ListTopic has a hard limit of 30 ListTopics requests per second

Expected Behavior
The application should start without AmazonSimpleNotificationServiceException even if there are a lot of Topics/Consumers configured.
Actual Behavior
The application is often not starting because of the AmazonSimpleNotificationServiceException. This is not consistent as AWS SDK has its own retry policy of requests.
Here is a screenshot of our application logs:

Here is a screenshot from AWS CloudTrail:

Another screenshot from exported AWS CloudTrail logs with RateExceeded/ThrottlingException:

@ajdamo103 would you mind checking out the PR to see if this solution works for you?

@phatboyg - I think it works. You decided to load all topics when the TopicCache class is created (startup). We will test this when it's available. A big thank you for all your dedication and the creation of this amazing library!!

Okay - the PR is merged and the latest 8.0.3-develop package has the code if you want to check it out and report back.

Pulled in the 8.0.3-develop.468 package and tested with AWS account that has around 880 topics currently configured.
Only 9 ListTopics calls were made (on startup):

So it seems that this is resolved.
Thanks, @phatboyg!

repo: MassTransit/MassTransit


text:
Automatonymous and EntityFramework Persistence - problem

At the end of the Initial State (Automatonymous State Machine), my system should publish a message telling another services that just created business process, which is represented by Saga State. Other microservice react to this message and at the end publishes appropriate message - continuing business process. This message represented by CorrelationId should fall to the appropriate Saga State. Unfortunately, the message goes to skipped queue, and this is because the response from microservice is processed and sent faster than the saga is written to the database (EntityFramework Persistence). MassTransit does not recognize CorrelationId in the message and treats it as skipped.
During the experiment - I set some delay in microservice which corresponds to just created Saga State. Everything worked properly! I believe that it should be possible to explicitly save the saga (Persistence), or should this happen when .TransitionTo ({state})

Make sure you have your database transaction isolation level set to Serializable, which will resolve this issue.

I've changed to Read Committed because with Isolation level set to Serializable there was another isue. During tests with dozen of new states created at one moment, I've a problem with transactions. Some of newly created Saga States failed and gone somewhere on error queue. With Read Commited Isolation Level Issue does not occur..

With IsolationLevel set to Serializable
MT-Fault-StackTrace:	w System.Data.Entity.Utilities.Check.NotNull[T](T value, String parameterName)
w System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext.WithConnection(DbConnection connection)
w System.Data.Entity.Infrastructure.Interception.DbTransactionDispatcher.Rollback(DbTransaction transaction, DbInterceptionContext interceptionContext)
w System.Data.Entity.Core.EntityClient.EntityTransaction.Rollback()

What's the actual exception? You must use serialized, you will likely need to add a retry for deadlocks if your saga is highly contentious. And make sure you're initializing all the not null properties.

The actual exception is
MT-Fault-Message:
Value cannot be null.
Parameter name: connection
I've also another problems with MT3. First of all - log swells with errors Like :
MassTransit.RabbitMqTransport.RabbitMqReceiveTransport|RabbitMQ receive transport failed: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text="PRECONDITION_FAILED - inequivalent arg 'auto_delete' for queue '{MyQueueName}' in vhost 'dev': received 'true' but current is 'false'", classId=50, methodId=10, cause=
Moreover it happens that messages will not be published on Rabbit despite the fact that it passes through Bus.Publish and there are no errors in log. Mass transit is behaving at the moment nondeterministically.

Can you post your code that is creating the bus? That would help a lot because what you are describing is an entirely different issue.

And the PDB files are in the symbols NuGet packages.

Yes I know, I have a few problems.
Configuration:
SagaDbContextFactory sagaDbContextFactory = () => new SagaDbContext<Payment, PaymentStateMap>(configuration.MyConnectionString);
            _repository = new Lazy<ISagaRepository<Payment>>(
                () => new EntityFrameworkSagaRepository<Payment>(sagaDbContextFactory, IsolationLevel.ReadCommitted));
            _busControl = Bus.Factory.CreateUsingRabbitMq(x =>
            {
                x.UseNLog();
                var host = x.Host(new Uri(configuration.RabbitMqHost), h =>
                {
                    h.Username(configuration.RabbitMqUserName);
                    h.Password(configuration.RabbitMqUserPassword);
                });
                x.ReceiveEndpoint(host, configuration.RabbitMqQueueName, e =>
                {
                    e.PrefetchCount = 4;
                    e.StateMachineSaga(_machine, _repository.Value);
                });
                x.BusQueueName = configuration.RabbitMqQueueName;
            });

I've made a lot of test, It behaves strange, it happens that the first message did not publish. Besides, there is still a problem in With Isolation Level set is serializable

That's what I thought.
NEVER use BusQueueName. Ever.

Great, Thanks for your help!  Problem with AMQP errors disapear. Still We have two issues.

Isolation Level I mentioned
The first message after that when the application is turned on - disappears. Does not fall into either the queue or even not try to send it (I checked with WireShark packet traffic) and there is no error in logs. Subsequent messages are already fine. (queues and exchanges are already created)

Isolation level needs to be serialized, or you won't get locking between saga instances.
Also, if you could link or post your saga definition, and the message contracts used by the saga, that would help as well to diagnose the publish issue you are seeing.

With Serialized as I said before I've this issue:
MT-Fault-Message:

Value cannot be null.
Parameter name: connection
MT-Fault-StackTrace: w System.Data.Entity.Utilities.Check.NotNullT
in System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext.WithConnection(DbConnection connection)
w System.Data.Entity.Infrastructure.Interception.DbTransactionDispatcher.Rollback(DbTransaction transaction, DbInterceptionContext interceptionContext)
w System.Data.Entity.Core.EntityClient.EntityTransaction.Rollback()

State Machine partial definition :
InstanceState(x => x.CurrentState);

            Event(() => Received, x => x.CorrelateById(ctx => ctx.Message.PaymentId)
                            .SelectId(context => context.Message.PaymentId));

            Event(() => Rejected, x => x.CorrelateById(context => context.Message.PaymentId));
            Event(() => Identified, x => x.CorrelateById(context => context.Message.PaymentId));
            Event(() => SchedulerResponse, x => x.CorrelateById(scheduledMsg => scheduledMsg.Message.CorrelationId));

(...)
public Event<SomeReceivedMessage> Received { get; private set; }
(...)

public class SomeReceivedMessage
    {
        public Guid PaymentId { get; set; }
        (...) Some properties (...)
    }

So when you are using serializable, deadlocks are normal. But it seems that when you get a deadlock in EF, trying to rollback the transaction causes the exception shown above. It's harmless, because the message will be retried (assuming you have specified):
e.UseRetry(Retry.Interval(5, TimeSpan.FromMilliseconds(10)));

On your receive endpoint configuration. Deadlocks happen, it's a fact of life when using a database for concurrency control.

Thanks, I will try it out. But what about first message disapearing ?
Interesting think about this issue is when we attached MassTransit source code instead of using Nuget DLLs and start debuging (with a few break points) everything works fine, but when we disabled all breakpoints, still with source code attached, problem occur.
Logs from these tests :
Debug without break points (Message disapeared)
2015-10-19 18:41:17.9585|DEBUG|MassTransit.MassTransitBus|Starting bus hosts...

2015-10-19 18:41:17.9855|DEBUG|MassTransit.RabbitMqTransport.RabbitMqHost|Starting connection to app@{IPaddress}:5672/dev

2015-10-19 18:41:18.0315|DEBUG|MassTransit.MassTransitBus|Starting receive endpoints...

2015-10-19 18:41:18.0525|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Connecting: app@{IPaddress}:5672/dev

2015-10-19 18:41:18.1445|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Connected: app@{IPaddress}:5672/dev (address: {IPaddress}:5672, local: {IPaddress}:12357

2015-10-19 18:41:18.1445|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:41:18.1565|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:41:18.1565|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using new connection: app@{IPaddress}:5672/dev

2015-10-19 18:41:18.1565|DEBUG|MassTransit.RabbitMqTransport.RabbitMqHost|Connection established to app@{IPaddress}:5672/dev

2015-10-19 18:41:18.1815|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareReceiveQueueFilter|Queue: {QueueName} (durable)

2015-10-19 18:41:18.1815|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareReceiveQueueFilter|Queue: {LocalMachineName}-iisexpress-j7eyyyncjhbybhd9bdjptjyhrt (auto-delete)

2015-10-19 18:41:18.2055|DEBUG|MassTransit.RabbitMqTransport.Pipeline.RabbitMqBasicConsumer|ConsumerOk: rabbitmq://{IPaddress}:5672/dev/{LocalMachineName}-iisexpress-j7eyyyncjhbybhd9bdjptjyhrt?durable=false&autodelete=true&prefetch=8 - amq.ctag-saixDLr8txEVu15ZQ2yu-g

2015-10-19 18:41:18.2055|DEBUG|MassTransit.RabbitMqTransport.Pipeline.RabbitMqBasicConsumer|ConsumerOk: rabbitmq://{IPaddress}:5672/dev/{QueueName}?prefetch=4 - amq.ctag-1CrNQ8iMRVD-Udqb_3N13A

2015-10-19 18:41:28.3325|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:41:28.3465|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {NameSpace.Message} (durable)

Debug with break points (Message sent)
2015-10-19 18:42:57.3485|DEBUG|MassTransit.MassTransitBus|Starting bus hosts...

2015-10-19 18:42:57.3695|DEBUG|MassTransit.RabbitMqTransport.RabbitMqHost|Starting connection to app@{IPaddress}:5672/dev

2015-10-19 18:42:57.3975|DEBUG|MassTransit.MassTransitBus|Starting receive endpoints...

2015-10-19 18:42:57.3975|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Connecting: app@{IPaddress}:5672/dev

2015-10-19 18:42:57.5245|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Connected: app@{IPaddress}:5672/dev (address: {IPaddress}:5672, local: {IPaddress}:12526

2015-10-19 18:42:57.5245|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:42:57.5245|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:42:57.5245|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using new connection: app@{IPaddress}:5672/dev

2015-10-19 18:42:57.5385|DEBUG|MassTransit.RabbitMqTransport.RabbitMqHost|Connection established to app@{IPaddress}:5672/dev

2015-10-19 18:43:00.2655|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareReceiveQueueFilter|Queue: {LocalMachineName}-iisexpress-j7eyyyncjhbyb3kubdjptjnzgq (auto-delete)

2015-10-19 18:43:00.2715|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareReceiveQueueFilter|Queue: {QueueName} (durable)

2015-10-19 18:43:01.2295|DEBUG|MassTransit.RabbitMqTransport.Pipeline.RabbitMqBasicConsumer|ConsumerOk: rabbitmq://{IPaddress}:5672/dev/{LocalMachineName}-iisexpress-j7eyyyncjhbyb3kubdjptjnzgq?durable=false&autodelete=true&prefetch=8 - amq.ctag-OEJH0MYx44YwIcpLpUyMDA

2015-10-19 18:43:02.9085|DEBUG|MassTransit.RabbitMqTransport.Pipeline.RabbitMqBasicConsumer|ConsumerOk: rabbitmq://{IPaddress}:5672/dev/{QueueName}?prefetch=4 - amq.ctag-6As7L-ZQkwwB-WkRgFA_XA

2015-10-19 18:43:11.7545|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:43:13.6275|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {NameSpace.Message} (durable)

2015-10-19 18:43:16.1795|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {NameSpace.Message} (durable)

2015-10-19 18:43:21.7895|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange:Exchange Binding: {NameSpace.Message} ({NameSpace.Message})

2015-10-19 18:43:29.4835|DEBUG|MassTransit.Saga.DefaultSagaFactory<{ProjectName}.Payment,{ProjectName}.{NameSpace.Message}>|SAGA:{NameSpace.Message}:099d892e-54a0-47e3-aed0-a53601347dbf Created {NameSpace.Message}

2015-10-19 18:43:29.8135|DEBUG|MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository<{ProjectName}.Payment>|SAGA:{ProjectName}.Payment:099d892e-54a0-47e3-aed0-a53601347dbf Added {NameSpace.Message}

2015-10-19 18:43:31.7795|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:43:43.6685|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {SomeAdditionalMsg} (durable)

2015-10-19 18:43:47.2575|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {{SomeAdditionalMsg} (durable)

2015-10-19 18:44:04.6765|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange:Exchange Binding: {SomeAdditionalMsg} ({SomeAdditionalMsg})

2015-10-19 18:44:07.1595|DEBUG|MassTransit.Messages|SEND:rabbitmq://{IPaddress}:5672/dev/{SomeAdditionalMsg}:4f5000004c4f0200c72208d2d8a48006:{SomeAdditionalMsg}

2015-10-19 18:44:08.7375|DEBUG|MassTransit.RabbitMqTransport.Integration.RabbitMqConnectionCache|Using existing connection: app@{IPaddress}:5672/dev

2015-10-19 18:44:12.6325|DEBUG|MassTransit.RabbitMqTransport.Pipeline.PrepareSendExchangeFilter|Exchange: {SomeAdditionalMsg} (durable)

2015-10-19 18:44:18.6965|DEBUG|MassTransit.Messages|SEND:rabbitmq://{IPaddress}:5672/dev/{SomeAdditionalMsg}:4f5000004c4f02002e9908d2d8a486c9:{SomeAdditionalMsg}

Try waiting for the receive endpoints to be started by adding:
var busHandle = busControl.Start();

await busHandle.Ready; // this will be signaled when the endpoints are all started.

If you are not in an async method, use:
TaskUtil.Await(() => busHandle.Ready);

This keeps the async pump flowing and won't block like .Wait() does.

Also, to retry only deadlocks, you can use
            e.UseRetry(Retry.Filter<SqlException>(ex => ex.Number == 1205).Interval(5, TimeSpan.FromMilliseconds(100)));

Thanks for your quick response! Unfortunately :
TaskUtil.Await(() => busHandle.Ready);

Doesn't work, again with debug - everythink is fine, without breakpoint first message disapear. Maybe the problem lies with the container.
builder.Register(c => new BusConfiguration(c.Resolve<MyStateMachine>()).Configure(configurationGetter))
                            .As<IBus>()
                            .SingleInstance()
                            .AutoActivate();

Along with the v 3.0.15 -  issue with disappearing first message has been solved

Good to know. Please close the issue if everything is resolved.

authors: LukeJanPracuj phatboyg


text:
ISO Formatted Date Strings unit test

Seems to be an issue with them. Gets converted to a datetime.
See http://stackoverflow.com/questions/18355009/masstransit-is-messing-with-my-string-data/18358202.

[x] Test Fails
[ ] Test Passes

Okay so I think with MT3 this will finally be resolved - using latest JSON.NET and proper settings.

authors: TravisTheTechie phatboyg


text:
Bug: setting the key to a number results in an error

Describe the bug
Setting the key in a JSON schema to an int results to the following error:
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received type number (22)

To Reproduce
Example schema to reproduce the problem:
{
    "_meta": {
        "topic": "air_quality",
        "key": "id"
    },
    "id": "datatype.number({ \"min\": 1, \"max\": 100 })",
    "timestamp": "date.recent",
    "location": {
        "latitude": "datatype.number({ \"max\": 90, \"min\": -90})",
        "longitude": "datatype.number({ \"max\": 180, \"min\": -180})"
    },
    "pm25": "datatype.float({ \"min\": 10, \"max\": 90 })",
    "pm10": "datatype.float({ \"min\": 10, \"max\": 90 })",
    "temperature": "datatype.float({ \"min\": -10, \"max\": 120 })",
    "humidity": "datatype.float({ \"min\": 0, \"max\": 100 })"
}

closed by

#48

authors: bobbyiliev chuck-alt-delete

repo: MaterializeInc/datagen


text:
Mouse overlay rendering pixellated ?

Hi,
I'm discovering Captura and it's amazing.
The mouse overlay is very cool but the rendering is overly , pixellated
Is there any way to obtain a better rendering ?

This has already been fixed but not released yet.
Please check this dev build: https://ci.appveyor.com/api/buildjobs/m29qt216g8vf8g28/artifacts/Captura-Portable.zip

Works like a charm.
Your software rocks
Congrat

authors: MathewSachin ncoquelet

repo: MathewSachin/Captura


text:
🛑 Inventario App is down

In 5924aae, Inventario App (https://inventario.voluntariosgreenpeace.cl/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Inventario App is back up in abcbc9b after 337 days, 20 hours, 55 minutes.


text:
Check bcd_Calib2

Continue using `bcd_calib2' for the L-band -> seems to be working ok there?
It gives the right values for the N-band as well, but for some reason halves the scale? -> Check why -> Averaging Error?

This is not used anymore in the data reduction, but still the halfing of the N-band occurs in calib_BCD2

repo: Matisse-Consortium/matadrs


text:
Make the bulk editor work at the Data Class level

At the moment, you can only bulk-edit from the Data Model Level.  It would be nice if you could do the same thing at the DC level - to select from the DEs contained within that DC (and its contained classes).
This may reduce the priority of #577 .

It would be worth checking first if mdm-core can support bulk edit of profiles for items that are not Data Elements. As far as I have understood it, it should be possible but needs to be tested. I've applied the "backend needed" label for now to have this verified before any further work starts.

PR https://github.com/MauroDataMapper/mdm-core/pull/331 adds backend tests which verify that the existing bulk editing endpoints do work for editing profiles on data types and data classes. I think no other backend changes are required for this issue; although the use case is to make the bulk editor at the Data Class level, the UI will still use the endpoints which are secured by data model ID.

This has been completed whilst I worked on #594. As the UI was changed to support different domain types, I tested that the backend changes worked as expected.

authors: aaronforshaw jamesrwelch pjmonks

repo: MauroDataMapper/mdm-ui


text:
🛑 Nextcloud is down

In 14df60c, Nextcloud (https://cloud.atslega.network) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in 8eccc51.

repo: MaxAtslega/status


text:
ICG Fleck realtime datasource and replicator

I merged the other open pull requests into this:
Replicator: https://github.com/MaximeCordeil/IATK/pull/20
RealtimeDatasource: https://github.com/MaximeCordeil/IATK/pull/19
We already include the fixes by @danieljharris from https://github.com/philfleck/IATK/pull/1
There remains one open point about the JSON parsing. Within our working version we use the JSON parser from PowerUI but it could be any parser. The problem with unitys parser (JsonUtiliy) is that it needs to know the model ahead of type, whereas f.e. the Newtonsoft one allows for parsing without a known model.  I am not sure if you want to pull in any dependency, therefore i kept it out and added some placeholder code.

Also, while testing I found that the although the realtime data source works well when created and configured via code (like in RealtimeDataDemo.cs) it does not work when trying to configure the visualisation via the Unity editor.
I understand that some code will always be required to create or gather the realtime data, but it would still be nice if the "AddDimension" parts could be configurable from the editor in addition to being configurable in code?
Let me know what you think about adding this in, I think it would make the realtime data source more accessible to people who are more comfortable with the editor than with code.

authors: danieljharris philfleck

repo: MaximeCordeil/IATK


text:
🛑 TrueSafe App API is down

In 8cd5920, TrueSafe App API ($STATUS_APP_API) was down:

HTTP code: 404
Response time: 823 ms

Resolved: TrueSafe App API is back up in ec53722 after 5 minutes.


text:
Remove Proxies

..as they are not intended for this use-case and considered bad practice.

Closed through 9d401984b8cf0d93746e98e677354823b41272b6

repo: MayusYT/ZPM-Mod


text:
PacketSendKey.Handler is vulnerable to arbitrary chunk generation

I believe that good education is key to a healthy modding community. Seeing as your tutorials cover quite a few topics and are rather popular, I believe it is especially necessary that your tutorials promote good patterns.
PacketSendKey.Handler is vulnerable to arbitrary chunk generation. What this means is that a client with malicious intent can overload a server by making it generate arbitrary chunks. The BlockPos sent by the client should be handled with extreme care. You have to verify that the block at the position is loaded using world.isBlockLoaded(pos) before accessing the block.
As a side note, the information of a BlockPos can fit in a long. You can therefore do BlockPos.fromLong(buf.readLong()) and buf.writeLong(blockPos.toLong()) instead of doing every component.

Fixed in code and tutorial. Thanks

authors: JamiesWhiteShirt McJty

repo: McJty/ModTutorials


text:
Memory Leak?

Hi!
Ill just start by posting only 3 lines of my Console, there is not much more i can find, it shows this both server and client side.
Just wondering if there is anything I can do about it
"[04:49:10] [Client thread/ERROR] [FML]: Detected ongoing potential memory leak. 7100 packets have leaked. Top offenders
[04:49:10] [Client thread/ERROR] [FML]: 	 row : 7099
[04:49:10] [Client thread/ERROR] [FML]: 	 RFToolsChannel : 1"
Leaked packets nad rows go up by 100 every 2 seconds or so.
Using mcjtylib-1.4.0 + rftools-3.35
Cheers!

I need the full log

forge latest both client and server after a fresh boot i assume? coming right up!

Server Side https://smallpaste.in/view/55ee591c569e7ab7038b456e
Client Side https://smallpaste.in/view/55ee59e8569e7ad6028b4570
Had to use a different paste site due to 512kb limit on Pastebin

Hmm. I cannot even open the links... Any way to post them elsewhere? Perhaps dropbox as a downloadable file or something similar?

https://www.dropbox.com/sh/5rrabd8ydy4oc8t/AABbSM_ODALjJczrmekg1UFqa?dl=0

Ok. Check out the log a bit closer:
[05:08:18] [Client thread/ERROR] [FML/]: Detected ongoing potential memory leak. 2100 packets have leaked. Top offenders
[05:08:18] [Client thread/ERROR] [FML/]: 	 row : 2099
[05:08:18] [Client thread/ERROR] [FML/]: 	 RFToolsChannel : 1
The top offender is 'row' (whatever that is). RFTools only has a single channel as it should have. So no idea what row is but it is not RFTools that is the offender here.
A bit of investigation shows that 'row' is from Rails of War mod. So it appears that mod is the culprit ehre.

Oh, rite that makes sence! Cheers, sorry i thought row actually ment that it was in row number X in some sort of file, sorry to bother!

authors: McJty Sataana

repo: McJty/RFTools


text:
Existing or new void worlds not loading

I have been having this problem for a couple of months now without any resolution yet. All other RFTools worlds load just fine. Only when we try to go in to any existing or newly created void worlds does it freeze up the server upon entry, console will stop responding as well, so a crash report is non-existent, I have to do a cold restart. It wasn't doing this before, I have a player who built a whole StarTrek starship with all kinds of machines in it, really cool build but he cannot get back in anymore. We also have MystCraft installed and the issue also happens there as well. I am working on getting a startup log but would like to poke your brain a little as to what might be causing this issue, or what to look for. Thanks for your help.

A full log would be useful. Do you have cauldron or similar software? This has been known to cause issues.

No, no Cauldron YET! lol. I found that MystCraft is not the culprit. Now I just need to figure out which of the other 322 mods could be causing it. Xcomp thinks another mod is causing it, which I agree. So I'm going to close this and comment in my findings later. Thanks for your help.

authors: McJty jermangarc


text:
Client Crash - looking at a newly formed forestry papaya

https://gist.github.com/ProsperCraft/83e5059de2a2e2e4ff47f580dbfd5ebd
reproduced here -
https://gist.github.com/ProsperCraft/a33d37c070ee6c240b8c1825329ba646
You can look at a fully formed Papaya on a Forestry papaya tree, but if you look at one right after the tree sprouts and is forming, it crashes the client.

@mezz, looks like a problem on your side?

Yes, this looks like a Forestry issue. I can fix it soon.

Fixed here: https://github.com/ForestryMC/ForestryMC/commit/098b739dcaeac2b5809eed7680d6bbb4f06c4feb

authors: McJty ProsperCraft mezz

repo: McJty/TheOneProbe


text:
Does not appear to be compatible with Immersive engineering

Tested with IE multiblock machine( fermenter, squeezer), cannot input RF or items.
xnet 1.1.2
IE 0.10-75

Oops, poor testing conditions sorry

repo: McJty/XNet


text:
Wishlist: Preserve timestamps of source files

Would be nice if the original timestamps of the source files could be preserved and restored when unpacking.
:cake:

Duplicate of https://github.com/MediaArea/RAWcooked/issues/141.

authors: JeromeMartinez pjotrek-b

repo: MediaArea/RAWcooked


text:
🛑 MediaNext is down

In a9b074b, MediaNext (https://the-bot.thein321.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MediaNext is back up in 10a5a70.

repo: MediaPlay-Discord/status


text:
add pinch

@MeetWq 原本坐标改动是为了容易捏到脸上，大佬为何要删除这个坐标，变成直接贴在一起呢？这个表情就变的不够有趣了

不应该假设图片是什么样子。位置不对可以改图

嗯。。实际上一个表情包适合所有头像是不大现实的，至少应该做出一个符合大部分情况的配置。
假设本身就是参考了常见的情况，以此来设计有趣的东西。

不应该假设图片是什么样子。位置不对可以改图

嗯。。实际上一个表情包适合所有头像是不大现实的，至少应该做出一个符合大部分情况的配置。
假设本身就是参考了常见的情况，以此来设计有趣的东西。

我不是很懂为什么你要那么放，看上去是把图片放大并放在一个固定的坐标
要处理的图片并不一定是头像，可能会有其他比例的图片，我觉得放在一个居中的位置更合理一点

我不是很懂为什么你要那么放，看上去是把图片放大并放在一个固定的坐标
要处理的图片并不一定是头像，可能会有其他比例的图片，我觉得放在一个居中的位置更合理一点

好吧，我理解你的意思了，这是不同选择的问题。

这是你改的

这是修正图片放大固定坐标的

![d6dfb0f2f5c683ed15d1f12958714285](h
![a26cad7d199d8377ec647680a7ad91c5](https://github.com/MeetWq/meme-generator/assets/45615222/8c8d26b1-58c4-4b4f-964e-9b7c29619d3

c)
ttps://github.com/MeetWq/meme-generator/assets/45615222/6b7c1b1e-7c26-49be-a019-31f1b12d3895)

authors: MeetWq mmmjie

repo: MeetWq/meme-generator


text:
license?

Hi, what license is applied to this project?

there's no license, use it however and wherever you want

There's no license, use it however and wherever you want

Thanks! Perhaps for clarity to everyone who may be interested in this project of yours, you could thus add the "Unlicense license" to it?

aight, done! thanks for suggestion

authors: LifeCANvs MegDuck

repo: MegDuck/qemu-tui

license: Unlicense


text:
单卡训练没问题，多卡训练出现如下问题

2022-01-24 07:49:58 | INFO     | yolox.core.trainer:132 - Model Summary: Params: 8.53M, Gflops: 23.98
2022-01-24 07:49:58 | INFO     | yolox.data.datasets.coco:63 - loading annotations into memory...
2022-01-24 07:50:17 | INFO     | yolox.data.datasets.coco:63 - Done (t=19.22s)
2022-01-24 07:50:17 | INFO     | pycocotools.coco:86 - creating index...
2022-01-24 07:50:19 | INFO     | pycocotools.coco:86 - index created!
2022-01-24 07:51:30 | INFO     | yolox.core.trainer:151 - init prefetcher, this might take one minute or less...
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/workspace/opencodeset/YOLOX-0.2.0/tools/train.py", line 125, in
launch(
File "/workspace/opencodeset/YOLOX-0.2.0/yolox/core/launch.py", line 82, in launch
mp.start_processes(
File "/opt/conda/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
while not context.join():
File "/opt/conda/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 130, in join
raise ProcessExitedException(
torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGKILL
(base) root@2ffc03d84774:/workspace/opencodeset/YOLOX-0.2.0# /opt/conda/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 42 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '

reduce your dataloader num_worker and try again?

reduce your dataloader num_worker and try again?

yes it worked! thanks

authors: FateScript aiyodiulehuner

repo: Megvii-BaseDetection/YOLOX


text:
How was the speed in the benchamark tables calculated?

Could you clarify how you obtained the values under the Speed V100 (ms) column here: https://github.com/Megvii-BaseDetection/YOLOX#standard-models?
Does it take into consideration image preprocessing, postprocessing and NMS? Are you using F16 precision?
What was the chosen batch size?
Thank you for your time!

+1


text:
About SOT training speed and GPU-Util

When I use python  ./main/train.py --config 'experiments/siamfcpp/train/lasot/siamfcpp_alexnet-trn.yaml', the GPU-Util always jumps from 89% seconds later to 0%, then 89% again.
in the .yaml:
num_processes: 2
minibatch: &MINIBATCH 128
num_workers: 64
I'm very confused

@cuikf This is highly probably due to the bottleneck at data providing stage. The ability of data provider is usually due to the CPU and memory of the training machine (that's why training under large batch size often requires high-performance machine). You can try to reduce the batch size to ease this issue.

@MARMOTatZJU Thank u！I'll try it!

authors: MARMOTatZJU cuikf


text:
打包异常

命令为：gradlew clean assembleReleaseChannels -PchannelList=xiaomi
异常：A problem was found with the configuration of task ':app:packageXiaomiRelease'.

File 'E:\StudioProjects\walle_demo\app\build\intermediates\res\resources-release-stripped.ap_' specified for property 'resourceFile' does not exist.

res下面是resources-release.ap_

建议先试下没有assembleRelease是够可以正常运行

已经调通了。把混淆、移除无用的resource这些关掉就可以了。。。
buildTypes {
release {
/**
* 用到walle多渠道打包插件时，
* 以下三个设置为false；否则打包会失败。
*/
//混淆
minifyEnabled false
//Zipalign优化
zipAlignEnabled false
// 移除无用的resource文件
shrinkResources false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

        signingConfig signingConfigs.release
    }

}

额  walle是支持混淆和shrink的。。。 你可能有其他插件在影响
还是那个建议：

建议先试下没有assembleRelease是够可以正常运行

好的，我试试

貌似不行，debug模式才行。

所以与walle无关，你的Release本身就不知道被什么插件或者什么东西给污染了把~~

好吧。我把上面的给去掉试试：
// ButterKnife插件
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    // bugly统计插件集成的tinker热修复插件
    classpath "com.tencent.bugly:tinker-support:1.0.8"

    // walle多渠道打包插件
    classpath 'com.meituan.android.walle:plugin:1.1.3'

好吧。我把上面的给去掉试试：
// ButterKnife插件
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    // bugly统计插件集成的tinker热修复插件
    classpath "com.tencent.bugly:tinker-support:1.0.8"

    // walle多渠道打包插件
    classpath 'com.meituan.android.walle:plugin:1.1.3'

请教下你是怎么解决的呢？我的Windows可以用realease 但是用mac 就不能打realease  不知道是被啥插件影响了混淆

repo: Meituan-Dianping/walle


text:
Reword messages to be easier to read.

Messages have been reworded to be both easier to read and without typos/grammar errors.
Original messages featured a few grammar errors and were a bit too verbose, so they have been shortened and cleaned up.  Message codes have not been touched.

Done, I changed all instances and the PR should be (correctly) squashed as well.

Almost there! Fix CI, please.

There you go, should pass flake8 checks now.

authors: Melevir agatti


text:
非常好！

难得找到同道中人。大家一起加油！互相学习！
一点建议：
可以将网站部署在 Vercel 以供参考吗？
欢迎互相关注。我的相似仓库项目 gganbu-admin-FE

这是来自于国强的假期自动回复邮件。

您好，您的邮件我已收到，查收后尽快给您回复。

难得找到同道中人。大家一起加油！互相学习！
一点建议：
可以将网站部署在 Vercel 以供参考吗？ 欢迎互相关注。我的相似仓库项目 gganbu-admin-FE

Hi 蛙兄~
好久不见
项目现在已部署到了Vercel，你可以在这里进行预览
有一说一 Vercel太强大了！点赞！

authors: MelodyFish sanjayheaven

repo: MelodyFish/react-admin-template-pro


text:
Wallpaper Engine 转换壁纸失败

OS : windows 11
自己在steam下载的wallpaper engine，但是在浅色和深色系统变换的时候，wallpaper engine并没有发生改变

建议录制一个GIF放出来，否则我无法确定问题所在

Issues that have not been answered for a long time will be closed.

repo: Melon-Studio/DarkMode


text:
🛑 Hacker News is down

In 8c7b2b4, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 372 ms

Resolved: Hacker News is back up in acdb2af after 9 minutes.

repo: MelvinTo/uptime


text:
KeyError: 'state' on mendeley.start_authorization_code_flow(state=session['state'])

127.0.0.1 - - [19/Feb/2015 12:50:13] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [19/Feb/2015 12:50:16] "GET /oauth?state=.....&code=..... HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/..../mendeley-api-python-example/mendeley-example.py", line 33, in auth_return
    auth = mendeley.start_authorization_code_flow(state=session['state'])
  File "/home/matej/.virtualenvs/mendeley-api-python-example/lib/python2.7/site-packages/werkzeug/local.py", line 368, in <lambda>
    __getitem__ = lambda x, i: x._get_current_object()[i]
KeyError: 'state'

My installed modules:
(mendeley-api-python-example) ↪ pip freeze
-f /home/matej/.pip/wheels
Flask==0.10.1
Jinja2==2.7.3
MarkupSafe==0.23
PyYAML==3.11
Werkzeug==0.10
argparse==1.2.1
arrow==0.5.0
certifi==14.05.14
future==0.14.3
itsdangerous==0.24
memoized-property==1.0.2
mendeley==0.3.0
oauthlib==0.7.2
python-dateutil==2.4.0
requests==2.5.1
requests-oauthlib==0.4.2
six==1.9.0
wheel==0.24.0
wsgiref==0.1.2

I got the same issue, Ubuntu 14.04, python 2.7.

I have the same issue, any solution yet?

Curly brackets are not required!!!!!
clientId: 1111
clientSecret: nddfdf7979df

@kjgarza curly brackets cause issue #2
Once I have removed them, I got towards login and after login I bumped into issue described in this report, literally (minus hashes and other possible ephemerals).

@smidm , @akselx and @kjgarza - have you managed to get down the bottom of this bug?
or do we have to disturb @MendeleyStack to help us?

Hello,
I'm trying to find someone with Ubuntu installed in our team. Stand by.

I am currently looking into this but I need to fix this issue first as I can't proceed until then  - https://github.com/Mendeley/mendeley-api-python-example/issues/4

I have had colleagues run this example and get successful responses using:-

Python 2.7.6 with Linux Mint 17.1 Rebecca
Ubuntu 14.10 with Python 2.7.8

I re-cloned this project on my Macbook and was able to rerun it successfully.
Can you try and do a pip install all - http://stackoverflow.com/questions/11248073/what-is-the-easiest-way-to-remove-all-packages-installed-by-pip

I also came across this problem, and somehow it worked after regenerating the secret, clearing cookies, changing browser ... hope that helps (mac, python 2.7, chrome and firefox)

This is due to redirect url. If you are running locally like I am  your site runs on: http://127.0.0.1:5000/
but your redirect URL is set to http://localhost:5000/oauth which are two sites in terms of cookies so cookies can't be found and hence the key error.  Change it to http://127.0.0.1:5000/oauth

@StankoPalko do you mean change the URI to http://1270.0.1:5000/oauth in the mendeley-example.py file? or on dev.mendeley.com?

This solved the issue for me:

removing and installing packages with pip (not sure if necessary, definitely not sufficient alone)
clearing all cookies for *mendeley.com

authors: MendeleyStack StankoPalko akselx kjgarza livia-b michaelplews silpol smidm

repo: Mendeley/mendeley-api-python-example


text:
Actions are broken

https://github.com/MergePHP/mergephp-website/actions
All three fail for different reasons 😕

Passing now 🥳

repo: MergePHP/mergephp-website


text:
[bug] Fails on windows if git editor path contains spaces

If I setup editor with git like:
git config --global core.editor "'C:\Program Files\Microsoft VS Code\code.exe' -n -w"

Which is pretty much a recommended practice, then it will fail with:

Note that git itself does not have any issues with this.

repo: Mergifyio/git-pull-request


text:
Feature/wrapper

Wrapper implementation:

wrapper/bin/converter: quite minimal script that instantiate the conversion handler and get id/file and method.
wrapper/bin/model/filehandler: generic class that iterate through all the format supported and go step by step in the conversion, plus there is the id retrieval from google sheet.
All the logic that required to interact with the pre-existent model has been implemented in modelClasses, where I have kind of deserialiser for each step of the conversion required.

Known issue: right now I can still see few discrepancy from generated to JsonLD, still trying to assess them.

Two requests and two issues I have encountered while testing.
Requests.

Rename -m --method to -f --from and add an option -t --to which will output only the single stage of conversion. If -t is not specified then a folder with all the subsequent formats is produced as it is now.
Can we get a -o --output option that specifies the name of the output file or folder?

For the issues, both were resolved by commenting out the offending variables. I'm not sure why those were being pulled in to the top level.
/home/tom/git/open-physiology-viewer/dist/converter.js:5
/******/ 	var parentHotUpdateCallback = window["webpackHotUpdate"];
         	                              ^

ReferenceError: window is not defined
    at /home/tom/git/open-physiology-viewer/dist/converter.js:5:41
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/dist/converter.js:860:10)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/wrapper/bin/model/filehandler.js:3:19)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)

/home/tom/git/open-physiology-viewer/dist/converter.js:61308
const crypto = self.crypto || self.msCrypto;
               ^

ReferenceError: self is not defined
    at Object.../node_modules/rdf-canonize/lib/MessageDigest-browser.js (/home/tom/git/open-physiology-viewer/dist/converter.js:61308:16)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/dist/converter.js:61870:23)
    at Object.../node_modules/rdf-canonize/lib/URDNA2015.js (/home/tom/git/open-physiology-viewer/dist/converter.js:62375:30)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)
    at Object.../node_modules/rdf-canonize/lib/index.js (/home/tom/git/open-physiology-viewer/dist/converter.js:63121:19)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)

Two requests and two issues I have encountered while testing.
Requests.

Rename -m --method to -f --from and add an option -t --to which will output only the single stage of conversion. If -t is not specified then a folder with all the subsequent formats is produced as it is now.
Can we get a -o --output option that specifies the name of the output file or folder?

For the issues, both were resolved by commenting out the offending variables. I'm not sure why those were being pulled in to the top level.
/home/tom/git/open-physiology-viewer/dist/converter.js:5
/******/ 	var parentHotUpdateCallback = window["webpackHotUpdate"];
         	                              ^

ReferenceError: window is not defined
    at /home/tom/git/open-physiology-viewer/dist/converter.js:5:41
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/dist/converter.js:860:10)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/wrapper/bin/model/filehandler.js:3:19)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)

/home/tom/git/open-physiology-viewer/dist/converter.js:61308
const crypto = self.crypto || self.msCrypto;
               ^

ReferenceError: self is not defined
    at Object.../node_modules/rdf-canonize/lib/MessageDigest-browser.js (/home/tom/git/open-physiology-viewer/dist/converter.js:61308:16)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)
    at Object.<anonymous> (/home/tom/git/open-physiology-viewer/dist/converter.js:61870:23)
    at Object.../node_modules/rdf-canonize/lib/URDNA2015.js (/home/tom/git/open-physiology-viewer/dist/converter.js:62375:30)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)
    at Object.../node_modules/rdf-canonize/lib/index.js (/home/tom/git/open-physiology-viewer/dist/converter.js:63121:19)
    at __webpack_require__ (/home/tom/git/open-physiology-viewer/dist/converter.js:783:30)
    at fn (/home/tom/git/open-physiology-viewer/dist/converter.js:94:20)

Hi @tgbugs , sure I will implement 1. and 2.
The issue you had with self and window has been solved already, when I did the cleanup I removed some global declarations that I should have kept in the wrapper, thx for spotting it.

authors: ddelpiano tgbugs

repo: MetaCell/open-physiology-viewer


text:
Release/42.0.0

This release includes a breaking change to controller-utils, phishing-controller and transaction-controller. isomorphic-fetch has been now removed. This was breaking snaps that implicitly import controller-utils if they did not have a network endowment.

Hmm, we need to release all packages I think. If not, they'll still be using the old version of controller-utils with isomorphic-fetch.

repo: MetaMask/core


text:
Ebook intro analogy

Is not quite right, at least for a native English speaker anyways.

The Blockchain is to gold what Bitcoin is to jewelry.

Native English speakers would most likely phrase this as

The Blockchain is to Bitcoin as gold is to jewelry.

BTW, NBitcoin is absolutely amazing. Thank you so much for doing this great work!

Thanks a lot, the book has its own repo on https://github.com/ProgrammingBlockchain/ProgrammingBlockchain .
I will fix it.

authors: NicolasDorier xanadont

repo: MetacoSA/NBitcoin


text:
[User Story] Arduino Software to Sensor

Epic Label
Electronics
As a ...
Admin
I want to ...
Connect the brain the Arduino to the sensor
So that ...
We can use the information on the sensor with in our app with correct data readings
Tasks
No response
Acceptance Criteria
No response
Definition of Done
No response

Just a main connection to PC at this time


text:
Add MQTT Discovery Support for HomeAssistant

The goal of this issue is to add support for MQTT discovery in the project, allowing for easier integration and management of the service within HomeAssistant. With the addition of this feature, users will be able to update their Docker containers from within HomeAssistant, simplifying the process and improving the overall user experience.
This will involve adding the necessary code to publish device information via MQTT, and to respond to discovery requests made by HomeAssistant. Once complete, the integration with HomeAssistant will be smoother and more convenient for users, and the project will be better positioned to support a wider range of users and use cases.
Tasks:

Implement MQTT discovery support
Publish device information via MQTT
Respond to discovery requests from HomeAssistant
Test and validate the implementation
Update documentation as necessary to reflect the changes

Example (imagine your docker containers here):

Example for how it could be implemented:
https://github.com/Koenkk/zigbee2mqtt/blob/052cae09f86680c454b578fb4253fa03d81fb93e/lib/extension/homeassistant.ts#L1057

repo: MichelFR/MqDockerUp


text:
Add cucumber 6.X compatibility

Hello,
Cucumber is currently in version 6.X
octane-cucumber-jvm is using cucumber 4.X which is quite old and not compatible with version 6.X
Do you have a plan to update dependencies of the plugin or any solution to work with recent version of cucumber ?
Thx and regards
Aldric

Hi @micheleh ,
Do you have an approximate release date for this feature?
Regards
Arnaud

Hi @ArnaudCharpentier
This is still in the early stages so I cannot commit to a release date. However, I can assure you that it has the top priority.
Regards,
Ehud

Hi Ehud
Is this included in 15.1.90 release today? We need this ASAP....
br jesper

@haldenjesper
Unfortunately, not yet. It has top priority and we're doing our best to provide it to the customers.
Please note that Octane Cucumber JVM is a Cucumber plugin and as such is not bound to a specific Octane release. Practically it means that when released, it can be used with your current Octane version.
Ehud

@micheleh so what can we tell our users?
br jesper

@haldenjesper I suggest asking your contact at Micro Focus for a formal answer

Hi @micheleh
Do you have any new about this topic ?
Thx and regards

Hi @picpicpic
I have good news 😀
R&D is launching a new tool that replaces the cucumber-jvm-plugin that supports more versions of Cucumber (including v 6.x) as well as more BDD frameworks such as cucumber-js, php-behat, python-radish, python-behave, and cucumber-ruby.
The new tool can be called directly from your CI system either as an executable jar or as a maven plugin. This means that your test code will not require the dependency in octane-cucumber-jvm anymore 😁
Note that uploading the maven plugin to the maven repository is still in the works and is expected to be completed in the coming days.
You can find the new tool here: bdd2octane
Ehud

@picpicpic you may now find the new tool on the Maven Repository:
Bdd2octane

@micheleh Thx! I will check the new tool and try to integrate it :+1:
Have a nice day!

Hi 6.7.0 version cucumber and above does not work,

Hello, some update for cucumber 7

@AlexBravo95 we have a new tool to support different BDD frameworks including Cucumber 7. This tool is supported by ALM Octane v16.0.200 and later.
Look at Bdd2octane for details
Also, look at Inject BDD test results to ALM Octane

@AlexBravo95 we have a new tool to support different BDD frameworks including Cucumber 7. This tool is supported by ALM Octane v16.0.200 and later. Look at Bdd2octane for details Also, look at Inject BDD test results to ALM Octane And you can find the GitHub repository here: bdd2octane

authors: AlexBravo95 ArnaudCharpentier haldenjesper micheleh picpicpic

repo: MicroFocus/octane-cucumber-jvm


text:
Implement welcome back/what's new feature

When a user resumes a conversation with the bot after a specified amount of time away, they should be greeted with "Welcome back!" and shown a message with the latest updates and any new features that are available.

Complete

authors: darrenj lauren-mills

repo: Microsoft/AI


text:
Added backwards compatibility for creating TelemetryClient without using dependency injection.

Added backwards compatibility for creating TelemetryClient without using dependency injection.

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

It looks like you're a Microsoft contributor (David Duffy). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

CC: @abaranch @karting
Looks good for me.

:shipit:

Looks good!

authors: AlexBulankou SergeyKanzhelev dnduffy kartang msftclas


text:
Lose highlight after hovering the mouse to the selected item

Storage Explorer Version: master/20180419.2
OS Version: Windows 10/Mac/Linux
Regression: Works well on 1.0.0 release
Steps to Reproduce:

Launch Storage Explorer and expand Storage Accounts.
Change the theme to Dark.
Open one blob container and select one item.
Hover the mouse to it and check the highlight.

Expected Experience:
The highlight still displays.
Actual Experience:
Lose highlight after hovering the mouse to the selected item.

Unable to reproduce on current master. Please check again and reopen the issue if it reproduces for you.

authors: craxal v-xuanzh

repo: Microsoft/AzureStorageExplorer