Can this be used as a passive review scheduler?

In Supermemo, there're 4 types of element: Items, topics, concepts, and tasks. I want to develop an incremental reading app so I'm mainly interested in how to schedule the topics properly. If you don't know what a topic is, here is the description from this article:

topics are pages of new information to learn. They are reviewed passively, i.e. they do not provide a stimulus, do not require a response, and do not expect any feedback from you.

So it's just a passage of text but somehow Supermemo knows when to show it to you.
Also, from the same article:

topics are presented in always increasing intervals. Each new interval equals the old interval multiplied by a constant called A-Factor

This sounds similar to the much older SM-2 algorithm but it doesn't need user's grade to determine the interval.
So the question is: Is there a way for ebisu to function like this? Schedule this type of card that have 0 feedback?

Hmm, interesting question! I'm not familiar with what theory is being invoked by Supermemo for these topics elements, but after thinking about it for a few minutes, I can't think of anything in the Ebisu modeling framework analogous to topics.
However, as you may have guessed, there's absolutely nothing stopping you from just calling ebisu.updateRecall() with a pretend "success" review: this will grow the half-life just like the second excerpt suggests. (I know this isn't theoretically satisfying but I hope you understand—the core idea in Ebisu is that quizzes are binomial random variables. If you don't have a quiz… I'm afraid this might be the best we can do?)
Let me know if this answers your question or if I've misunderstood!

Yeah, I think I'll go the pretend review route.
I've misunderstood how the algorithm works. From #42, you wrote that this algorithm doesn't actually schedule anything but just spit out the probability of recall and the developer decides the cutoff for review correct? So I guess I would do something like show the user a topic that have low recall probability?
Also, In Supermemo, each topic can be assigned a "priority" value by the user. There is some info about it here.

During learning, on a given day, elements with highest priorities are processed first.

Can this be incorporated to the algorithm? I saw this paragraph on the README:

Quiz apps that allow a students to indicate initial familiarity (or lack thereof) with a flashcard should modify the initial half-life t.

So I guess high priority topics will have a low initial half-life while low priority topics will a higher value so they don't get reviewed too soon right?

From #42, you wrote that this algorithm doesn't actually schedule anything but just spit out the probability of recall and the developer decides the cutoff for review correct? So I guess I would do something like show the user a topic that have low recall probability?

Right on. I pick the flashcard in the lowest predicted recall (or something similar; often I like to find the 5% of cards with the lowest recall probability and pick a random card from that set, etc.). Others use modelToPercentileDecay to do the Anki/Supermemo interval scheduling thing.

So I guess high priority topics will have a low initial half-life while low priority topics will a higher value so they don't get reviewed too soon right?

Wow, I am totally out of date on Supermemo and didn't know about its priority system. Hmm! Your proposal could work, but it's not a perfect replacement 😕. Here's why I say that: if you learn two new things that are equally new to you and therefore equally hard to remember, Ebisu would like both flashcards to start with the same model (same numbers, same predicted probability of recall at the starting halflife). If one of those facts is more important than the other, and you give the less important one a higher initial halflife, sure, in practice you will review the less important one less frequently, but you would be underreviewing in some sense (since our assumption was that both were equally hard to remember when you first learned them)? But it might be fine!
This is the kind of functionality that I think might need to live in the app level (one level above Ebisu), because I can't right now think of anything that I can add to the Ebisu model to mimic Supermemo's priority idea. Because, again, Ebisu's core idea is that quizzes are binomial/binary random variables whose underlying probability is Ebbinghaus' exponential decay, I don't know how to add priority to that model, where some probabilities are more important than others. But I'll keep thinking about it!
So here's another proposal: maybe in the app level, you can assign flashcards to priorities, and then apply some kind of heuristic whereby the predicted recalls for higher-priority cards are reweighted to have lower probability of recall, and therefore get selected sooner…? That way, Ebisu's memory model stays coherent (you don't lie to Ebisu by claiming a low priority card has a higher halflife) but you do differentiate between cards that have the same predictRecall.
As a very rough suggestion, if I were to experiment with this feature, I'd start by having two priorities, "important" and "regular" and rescaling the output of predictRecall by 0.5 for "important" flashcards. Or more generally if there were N priorities (I'd try to restrict N<5 in the app?), where priority=1 is the normal and priority=5 is highest, you might try applyPriority = lambda rawProbabilityRecall, priority: rawProbabilityRecall ** priority and see if you like that behavior?
What do you think? Let me know if something in the above doesn't make sense. The difference between your proposal and mine may be hard to see and maybe I'm overstating its importance, so thanks for bearing with me 😅!

Minor suggestion: I think a slightly better applyPriority might be
def applyPriority(rawProbabilityRecall: float, priority: int|float) -> float:
  return rawProbabilityRecall / priority

I think what I suggested in my previous comment, rawProbabilityRecall ** priority is too aggressive: that's likely going to keep asking you priority 5 questions over and over again 😅.
Both are just very rough suggestions, from me thinking about this question for only a few minutes, feel free to think outside the box here! Happy to give feedback on any schemes you might think of.

This problem can be solved at the application level.
Just set a tag for each row.
The user can select the content he wants to review first by a special tag and the lowest recall.

Closing this but please feel free to reopen or add more comments!

Hello. Today I added some additional info in Language Reactor saved item list, to show the current halflife.

I did some reviews, and immeadiatly noticed an issue. The word review feature (PhrasePump) uses passive reviews heavily (2 passive reviews for every explicit test), using a new example sentence for the word most of the time.

When a word is reviewed in a session, I do an update on the ebisu model for the word once (the user actually sees three example sentences for a word), ebisu.updateRecall() is called with a pretend "success".
The problem: Say I didn't study for one month. An item is shown to me that has halflife 0.5 days, way overdue. ebisu.updateRecall() is called with "success", ebisu say, wow, you're awesome, you remembered this word after one month, I'm going to bump it right up to halflife 8.3 days! But, I probably didn't really remember it.
We're on ebisu 2.0. As a fix on our end, I'm thinking to cap tnow to the items halflife (0.5 days) when doing passive exposure, as if the item was reviewed on-schedule. This results in halflife climbing to only 0.63 days, which seems better.
Any thoughts? :) I'm sending you an email btw.

Hi @hobodrifterdavid thanks for the note, always happy to hear from Language Reactor!

Say I didn't study for one month. An item is shown to me that has halflife 0.5 days, way overdue. ebisu.updateRecall() is called with "success", ebisu say, wow, you're awesome, you remembered this word after one month, I'm going to bump it right up to halflife 8.3 days! But, I probably didn't really remember it

In this situation, I would not call updateRecall with a fake success, I would just overwrite the "last quiz time" column in your database to the current timestamp 😝 this has the same effect as a totally uninformative quiz (in v2.1, passing in successes=0.5, q0=0.5), i.e., the memory was refreshed right now but we got no information about how strong or weak it was so we just keep the old half-life of 0.5 days.
Does that make sense?

Perfect sense, thanks. I added a special case for "EXPOSURE" type cards. I'll try get around that email soon. :)


Convert shot.id to string as required by bundle adjuster

The fix for bundle_single_view appears to be in master but the fix for bundle_local is not - I think it must have just got lost in the merge.

Similar to #185

Probably did not fix the bundle_local function before since it was on another branch.


⚠ SolarOscp has degraded performance

In 2bf32ae, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 340 ms

Resolved: SolarOscp performance has improved in 392e175 after 9 minutes.


Remove follow_wrapped=False when getting signatures

In signature.py, we use follow_wrapped=False when getting the signature of a callable:
https://github.com/quora/pyanalyze/blob/2ae6915d13411952581104a31b65c02f91819f33/pyanalyze/arg_spec.py#L449
It would be nice if we don't, because that will allow us to get accurate signatures for more decorated functions. When I tried this, it caused problems with some decorators that modify the function's signature but use @functools.wrap, notably @mock.patch (which passes additional arguments to the decorated function). I've also run into issues with @contextlib.contextmanager, which changes the return type of the decorated function.
Possible solutions:

Modify these decorators to set an accurate .__signature__ attribute on the decorated function (but that's not an option for third-party decorators)
Add special casing for some of these. For example, patched functions have a .patchings attribute; we could internally ignore the parameter corresponding to any entries in .patchings that have their .new attribute set to mock.DEFAULT. But there doesn't seem to be a similar way to identify a function that was decorated with @contextmanager.

#471 found a concrete place where this costs us type checking capabilities in pyanalyze's self check: methods annotated with qcore.caching.cached_per_instance().


Testing / repo setup improvements

Fixing the repo behavior and properly testing service status

We still have some failures, but these appear to be inspec failures in docker and not real failures.


fall damage bug when using jetpack 1.12

Hello  There,
When using the jetpack from v1.12.1-<IP_ADDRESS>6 it appears that no matter how high up in there you are or how low to the ground you are that u take fall damage no matter what, is this something thats meant to be or is this a bug that you need to fix?

seems to also drag you down with the fall damage too

Normal mode on the jetpack does not counter fall damage. Hover mode will.


Fix FR invalidframingconfig

As per https://github.com/zaproxy/zaproxy-website/pull/894
Signed-off-by: Simon Bennetts<EMAIL_ADDRESS>

Ugh, will fix the conflict ...

OK, think its good now...


Broken build on termux

On termux (Android aarch64) csvlens used to work but the new clipboard change breaks the build due to https://github.com/1Password/arboard/issues/113 no termux support.

Thanks for reporting! I could make clipboard a features that can be opted out with --no-default-features when building.
Would that work in your case? Here's a PR to test: https://github.com/YS-L/csvlens/pull/71


Connectivity test factory component.

Introducing connectivity tests factory component.
The PR goals are:

Extract connectivity test definitions in separate files.
Implement a factory component that is responsible for keeping test creation logic and order.
The first refactoring step related to the CFP: https://github.com/cilium/design-cfps/pull/15

Could you please add entries to CODEOWNERS for the newly created files in connectivity/facrtory where applicable? Where the owner is not obvious, keeping @cilium/ci-structure is probably fine for now, but some tests are quite feature-specific so the relevant team should probably be in the loop for any future changes.

Done, thanks!

i'll review this today

Some suggestions for CODEOWNERS inline. Please also squash your commits into a single one.

Commits squashed, thank you!


update welcome page

https://docs.dotkernel.org/api-documentation/
https://api-tools.getlaminas.org/documentation

@bidi47  The index page of api-documentation need to be exteneded follwoing the model from api-tools

updated in https://github.com/dotkernel/api-documentation/pull/66


Suggestion: Add a special key that would disable resolving files that are missing in file list passed to the compiler

Currently a compiler can be given one single file from where it can resolve all dependencies by looking at the file system. Most of the time it is a very convenient feature, but when I need to clearly separate one set of files from another I wish I could turn it off. So that unless a file is explicitly in the list passed to the compiler, I don't want it to be resolved.

use --noResolve.

Thanks!


Improve support for Rouge 1.x and 2.x

This commit improves support for Rouge 1.x and adds support for Rouge 2.x.

Support for following options are introduced:

inline_theme (default: nil)
line_numbers (default: false)
start_line (default: 1)
wrap (default: false)

Support for formatters (including HTMLLegacy, HTMLInline, HTMLLinewise, HTMLPygments, HTMLTable) is introduced for Rouge 2.x

Todo:

[x] Initial (might do better) implementation
[x] Split colorize filter tests
[x] Introduce Appraisal gem
[x] Setup Appraisal for Rouge 1.x and 2.x
[x] Update Travis to run test for both Rouge 1.x and Rouge 2.x
[x] Refactor Rouge tests to specs
[x] Add specific tests for Rouge 2.x regarding HTMLInline
[x] Add specific tests for Rouge 2.x regarding  HTMLLinewise
[x] Add specific tests for Rouge 2.x regarding HTMLTable
[x] Add specific tests for Rouge 2.x regarding HTMLPygments
[x] Simplified Rouge 2.x implementation (allow any kind of formatters)
[x] Improve Rake/Travis configuration to only run Rouge specs for Rouge appraisal

Usage for Rouge 1.x (no change):
filter :colorize_syntax,
       :default_colorizer => :rouge,
       :rouge => { line_numbers: true, wrap: true, css_class: 'highlight' }

Usage for Rouge 2.x:
# Legacy support
filter :colorize_syntax,
       :default_colorizer => :rouge,
       :rouge => { legacy: true, line_numbers: true, wrap: true, css_class: 'highlight' }

# Custom formatter (here HTML Inline)
filter :colorize_syntax,
       :default_colorizer => :rouge,
       :rouge => { formatters: Rouge::Formatters::HTMLInline.new(MY_THEME) }

See Rouge 2.x doc for other formatters

@barraq What is the status of this PR?

@ddfreyne I didn't have the time to go over this Travis things to run test for both Rouge 1.x and Rouge 2.x. If you know how to do it quick it would be cool. I can add the missing tests then.

You can use separate gemfiles that use Rouge 1.x vs. 2.x, see the docs.
Personally I'd prefer an approach that just uses the bundle install --gemfile approach so you can switch to a different CI system more easily, but that's not really necessary.

Thanks @connorshea. Ok @ddfreyne like discussed I am looking at https://github.com/thoughtbot/appraisal

@ddfreyne I am almost done here, any comments?

This is great work!
I suppose the only thing that’s left is to only run the Rouge specs twice (rather than everything).

Question: How are the gemfiles/rouge_1.gemfile and gemfiles/rouge_2.gemfile files generated? Can they be auto-generated, or should they be checked in?

Thanks @ddfreyne, regarding gemfiles/* they are generated by Appraisal by doing appraisal install (see https://github.com/thoughtbot/appraisal#under-the-hood) So they are autogenerated and are based on the initial Gemfile.

Looks great! Just some minor comments.

@ddfreyne ready to merge?

Done. Thank you for your effort!

\o/

Awesome! Does that mean 4.3.8 is about to be published? :smile:

Soon!

Done!

@ddfreyne @barraq thank you! :)


Fixing The File Structure

Description
The file behavior is not accurate.
Expected Behavior
"./css/style.css"
"./public/containsAllimages"
"./views/index.js"

not required


[Ansor][AutoTVM v2.0] Phase 2: Layout Rewrite in AutoScheduler

For full upstream plan, see Ansor RFC.
In this PR, we enable AutoScheduler to rewrite the layout of placeholders to best fit the loop nest of the candidate schedule to be applied on ComputeDAG.
Note that the function in this PR is only for performance evaluation with layout rewrite. An end-to-end solution of layout rewrite requires close cooperation  with relay passes, which will be provided in future PRs.
CC @merrymercy @jcf94 @FrozenGene @comaniac @tqchen

cc @jwfromm @mbrookhart @yzhliu

Please fix some final style comments and we can merge this

@minminsun Please fix some final style comments and we can merge this

Done.


fix(mrml-core): apply mj-attributes inside mj-include tags

I noticed a bug that seems to differ from the canonical MJML implementation. This PR implements one possible fix. I tried to make the change as minimally invasive as possible, but I'm open to ideas to clean this up if desired.
Bug description:
Any <mj-attributes> tags loaded inside an <mj-include> tag are ignored. See the additional test case in the PR changes for an example.
Change description:
We update mj_head/render.rs to scan nested attributes inside <mj-include> children. To reduce repeated code, I refactored the fold() bodies into helper functions, but they are otherwise unchanged.
I added a test case that fails on the current main branch.
Let me know what you think!

I updated your PR and merged it. Closing this one 😉
Thanks a lot for your work!


Header links in the navbar do not get active

The issue described in https://github.com/sdl/dxa-html-design/issues/4 needs to be fixed in the DXA Java DXA Java as well.

Fixed in https://github.com/jhorsman/dxa-modules/tree/feature/xpm-button-fix
Tested on DXA 1.2 JAVA on Tridion 2013 SP1

GitHub thinks that this commit is related. However, this commit is from 2015 and refers to a Stash issue, not to this GitHub issue.

Fixed in DXA 1.5


Interactive d3.js tree diagram in lightning components

i want to write the HTML code in this link http://bl.ocks.org/d3noob/8375092 with lightning components. Any example or sample code please help if anybody has done anything like that

Are you looking for something like this? http://bl.ocks.org/adamfeuer/raw/042bfa0dde0059e2b288/#


Error in the function statistics.instantaneous_rate when kernel='auto'

The computation of the optimized kernel width return an error for spiketrain with few and very close spikes. Example to reproduce the error:
import neo
import quantities as pq
import elephant.statistics as stat
st=neo.SpikeTrain([2.12,2.13,2.15]*pq.s, t_stop=10*pq.s)
rate = stat.instantaneous_rate(st,1*pq.ms)

I can confirm this error in sskernel, and also that adding an additional spike a tiny bit further away works
st=neo.SpikeTrain([2.12,2.13,2.15,2.16]*pq.s, t_stop=10*pq.s)


videos with fixed viewing angle

Great work!
Is your method applicable to monocular videos with fixed viewpoint?
Thanks.

thanks for your interest.
Definitely yes, although we don't show it in the paper, we haved tried many static camera videos (the camera does not move, only scene content moves), and Mosca also works for these kinds of videos.

thanks for your interest.
Definitely yes, although we don't show it in the paper, we haved tried many static camera videos (the camera does not move, only scene content moves), and Mosca also works for these kinds of videos.

Thank you very much for your reply!
Some previous works seem to have poor results for video datasets where the camera does not move.
I don't know much about nerf and 3dgs. Could you explain in an intuitive and profound way why it is more difficult to process static camera videos than videos with moving cameras for this task of obtaining dynamic 3d representations from monocular videos?
In addition, why can Mosca be applied to static camera videos (compared to previous work)? What modules or steps are mainly at work?


Updated: lbry <IP_ADDRESS>72

${}

2d579d3e-23e2-4c53-9c38-15845675c4f7

Newer version of lbry (<IP_ADDRESS>76) is now available in master. bd909c2c4731f64feae72f86e3965cf6fb3439dd


Fileattachmentfixes

File attachments - fixes a bug that prevented it working on web apps.  Minor code simplification.
Dashboard - adds an event to allow customizing the DashboardDesigner before it gets displayed.

merged with <IP_ADDRESS>


Some programs crash the first time through

Shared Program: https://code.world/#PTcYAvsP-ZXI8tPPZEa-AcA
Description
The first time that I run this program, it crashes.  On the second and later attempts, it succeeds.  (To reproduce, make a trivial change in the code so that it has to rebuild.)
I suspect a timing issue in loading the code.
uncaught exception in Haskell thread: InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
    at h$$cdo (https://code.world/runBaseJS?version=a9f5520c848542fd7975336e6aefcdf903b9d735982c114f1f8c3a04fab1ee19:168383:9)
    at h$runThreadSlice (https://code.world/runBaseJS?version=a9f5520c848542fd7975336e6aefcdf903b9d735982c114f1f8c3a04fab1ee19:8079:11)
    at h$runThreadSliceCatch (https://code.world/runBaseJS?version=a9f5520c848542fd7975336e6aefcdf903b9d735982c114f1f8c3a04fab1ee19:8033:12)
    at h$mainLoop (https://code.world/runBaseJS?version=a9f5520c848542fd7975336e6aefcdf903b9d735982c114f1f8c3a04fab1ee19:8028:9)
    at https://code.world/runBaseJS?version=a9f5520c848542fd7975336e6aefcdf903b9d735982c114f1f8c3a04fab1ee19:8571:13

This seems to be very widespread, actually. :(  I broke something.  Just not sure what.

Fixed by reverting the showCanvas change.
This seems very fragile, though.  Essentially, we're relying on the fact that starting a new thread to call the run loop after showing the canvas will ensure that the canvas is actually show (and appropriate redraw handlers are called) before the first frame is evaluated.  I'm leaving it that way because I don't know what to do that's better.


Compile error cargo run -p libra-swarm -- -s , need exact toolchain can build.

First try this, Same error #44
So, install rust nightly build
And first check and set PATH of ~$HOME/.cargo/bin is first
export PATH="$HOME/.cargo/bin:$PATH"
# I've add this to ~/.profile
# source ~/.profile
# make setup for local build.

rustup toolchain install nightly
rustup override set nightly
cargo run -p libra_swarm -- -s

@sunshowers you should indicate exact version of rust toolchain.
like this way_here
latest 1.37.0-nightly has another errors.
error: internal compiler error: src/librustc_mir/transform/generator.rs:715: Broken MIR: generator contains type std::option::Option<parity_multiaddr::Multiaddr> in MIR, but typeck only knows about for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14> {&'r mut connectivity_manager::ConnectivityManager<TTicker, TSubstream>, std::vec::Vec<types::account_address::AccountAddress>, fn(std::vec::IntoIter<types::account_address::AccountAddress>) -> <std::vec::IntoIter<types::account_address::AccountAddress> as std::iter::IntoIterator>::IntoIter {<std::vec::IntoIter<types::account_address::AccountAddress> as std::iter::IntoIterator>::into_iter}, std::vec::IntoIter<types::account_address::AccountAddress>, types::account_address::AccountAddress, impl core::future::future::Future, (), std::vec::Vec<(&'t0 types::account_address::AccountAddress, &'t1 std::vec::Vec<parity_multiaddr::Multiaddr>)>, fn(std::vec::IntoIter<(&'t2 types::account_address::AccountAddress, &'t3 std::vec::Vec<parity_multiaddr::Multiaddr>)>) -> <std::vec::IntoIter<(&'t2 types::account_address::AccountAddress, &'t3 std::vec::Vec<parity_multiaddr::Multiaddr>)> as std::iter::IntoIterator>::IntoIter {<std::vec::IntoIter<(&'t2 types::account_address::AccountAddress, &'t3 std::vec::Vec<parity_multiaddr::Multiaddr>)> as std::iter::IntoIterator>::into_iter}, std::vec::IntoIter<(&'t4 types::account_address::AccountAddress, &'t5 std::vec::Vec<parity_multiaddr::Multiaddr>)>, std::vec::IntoIter<(&'t6 types::account_address::AccountAddress, &'t7 std::vec::Vec<parity_multiaddr::Multiaddr>)>, std::vec::IntoIter<(&'t8 types::account_address::AccountAddress, &'t9 std::vec::Vec<parity_multiaddr::Multiaddr>)>, (&'t10 types::account_address::AccountAddress, &'t11 std::vec::Vec<parity_multiaddr::Multiaddr>), &'t12 types::account_address::AccountAddress, &'t13 std::vec::Vec<parity_multiaddr::Multiaddr>, impl core::future::future::Future}
   --> network/src/connectivity_manager/mod.rs:119:44
    |
119 |       async fn check_connectivity(&mut self) {
    |  ____________________________________________^
120 | |         // Ensure we are only connected to eligible peers.
121 | |         let stale_connections: Vec<_> = self
122 | |             .connected
...   |
180 | |         }
181 | |     }
    | |_____^

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:578:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: aborting due to previous error
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.37.0-nightly (04a3dd8a8 2019-06-18) running on x86_64-unknown-linux-gnu

just build and run succeed.
I used 1.36.0-nightly 05-22 version.
cargo clean --package libra_swarm
rustup toolchain install nightly-2019-05-22-x86_64-unknown-linux-gnu
rustup override set nightly-2019-05-22
cargo run -p libra_swarm -- -s


Unable to build a deb package.

I was able to successfully run make-deb to create a debian folder, but when I try to run dpkg-buildpackage -us -uc, I get the following error:
dpkg-buildpackage: host architecture amd64
dpkg-buildpackage: warning: debian/rules is not executable; fixing that
 dpkg-source --before-build pgcli
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 9) dh-virtualenv (>= 0.8)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

I do have dh-virtualenv installed. Here's the pip freeze output:
click==4.0
configobj==5.0.6
dh-virtualenv==0.8.99
Jinja2==2.7.3
make-deb==0.0.3
MarkupSafe==0.23
pgcli==0.18.0
prompt-toolkit==0.42
psycopg2==2.6.1
Pygments==2.0.2
six==1.9.0
sqlparse==0.1.14
wcwidth==0.1.4
wheel==0.24.0

Can you please help?

Try sudo apt-get install debhelper dh-virtualenv. Does that fix your problem?

I couldn't install db-virtualenv. Unable to locate the package.
I'm running Debian Wheezy (ver 7). That could be why. I'll try a newer VM and report back.

Ah, yeah. It's only available in jessie and beyond.

I'm tried this on a Jessie 64 and still failing due to unmet dependency of dh-virtualenv version.
(pgcli)vagrant@debian-jessie:~/pgcli$ sudo apt-get install dh-virtualenv
Reading package lists... Done
Building dependency tree
Reading state information... Done
dh-virtualenv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

(pgcli)vagrant@debian-jessie:~/pgcli$ dh_virtualenv --version
dh_virtualenv 0.6.99

(pgcli)vagrant@debian-jessie:~/pgcli$ dpkg-buildpackage -us -uc
dpkg-buildpackage: source package pgcli
dpkg-buildpackage: source version 0.18.0
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Amjith Ramanujam<EMAIL_ADDRESS>dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build pgcli
dpkg-checkbuilddeps: Unmet build dependencies: dh-virtualenv (>= 0.8)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

(pgcli)vagrant@debian-jessie:~/pgcli$

I installed the latest dh-virtualenv via ppa and got it working. Thank you!

Try sudo apt-get install debhelper dh-virtualenv. Does that fix your problem?

Thanks for your help


Fix failing CI caused my MatrixProductStates.jl not being registered.

Fixed with https://github.com/JamieMair/QuantumCircuits.jl/pull/18


Split polonius into frontend and engine crates

I cleaned up the history a bit @bobtwinkles, hope you don't mind =) just didn't see the need to have (and then remove) accidentally committed code etc.


Support interpolation modifiers for WGSL

Move interpolation decorations to flattened structs during legalization
Add some code to emit interpolate attributes
Enable 'nointerpolate' test

https://github.com/shader-slang/slang/issues/5625

/format

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: aleino-nv:x: slangbotYou have signed the CLA already but the status is still pending? Let us recheck it.


Enable _MklFusedBatchMatMulV2 BF16 conversion

Signed-off-by: Li, Chenda<EMAIL_ADDRESS>Type of Change
Feature
API not changed
Description
JIRA ticket: https://jira.devtools.intel.com/browse/ILITV-2446
Expected Behavior & Potential Risk
_MklFusedBatchMatMulV2 can be converted to BF16
How has this PR been tested?
Pre-CI Test

/AzurePipelines help

/AzurePipelines list

run Spell-check

/AzurePipelines run Spell-check


add support for partial-hour offset timezones

Summary of changes
I'll review the commits, so I mostly want to understand the "why" rather than the "what"
Checklist

[x] New functions have typespecs, changed functions were updated
[x] Same for documentation, including moduledocs
[x] Tests were added or updated to cover changes
[x] Commits were squashed into a single coherent commit

Prior to this commit Timex would produce a blantantly incorrect value
for parsing a timestamp with a partial-hour offset timezone, such as
that of Nepal (+05:45). The resulting timestamp would have the correct
wall time, but a truncated timezone (+05:00), which would result in
incorrect timestamps in UTC. This commit adds support for partial-hour
offset timezones by calling them out as special cases when attempting to
execute Timex.Timezone.name_of, which eventually gets invoked by
Timex.parse.

Coverage increased (+0.04%) to 70.626% when pulling e675e6517ef4c913ac90d0a7ee4c63542c508aae on jeffweiss:add_support_for_partial_hour_offset_timezones into 3b6018107128465579c7a01aae1e887cab39d9d4 on bitwalker:master.

Support for this is now in master. I haven't tested it heavily, so there may be places which need to be updated to handle it properly, but please give it a try and open a new issue if it is not working!


Render time zone on dates

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#timezonename

Don't currently render times, so can close this.


Extract HttpCommunication into separate package to allow usage outside of gateway

The gateway contains some HttpCommunication* classes which handle the communication with the Service Fabric services. These classes should be moved into a separate project to allow them to be used by services which want to communicate with other http services without using a gateway.

this is now in master and introduced the following changes:
New library C3.ServiceFabric.HttpCommunication:

All HttpCommunication* classes where moved into this library.
Http related properties from GlobalConfig were moved into HttpCommunicationDefaults. The "Default" prefix was removed from the properties.
HttpCommunicationClientOptions was renamed to HttpCommunicationOptions
ExceptionHandlers can now be passed through HttpCommunicationOptions
HttpCommunicationClientFactory now uses Dependency-Injection. This requires initialization in ConfigureServices()

C3.ServiceFabric.HttpServiceGateway:

GlobalConfig has been renamed to HttpServiceGatewayDefaults. The properties no longer have the Default prefix.
GlobalConfig.HttpCommunication was removed

samples/HttpDirect

new sample that shows how to use the new C3.ServiceFabric.HttpCommunication package

Documentation about the new package will be added to the wiki.

Documentation is now available at https://github.com/c3-ls/ServiceFabric-HttpServiceGateway/wiki/HttpCommunication


Fixed Compress-Archive so that it can compress to a custom PSDrive

This PR is to fix issue #3.

Hi @KirkMunro, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


WIP: Optimize route generation by collapsing overlapping routes

Fixes https://github.com/istio/istio/issues/28659
Helps with https://github.com/knative-sandbox/net-istio/issues/630
Benchmarks (I removed ones with no change):
name                                   old time/op        new time/op        delta
RouteGeneration/gateways-6                   44.1ms ± 1%        61.7ms ± 2%  +40.01%  (p=0.029 n=4+4)
RouteGeneration/gateways-shared-6             176ms ± 3%          86ms ± 1%  -51.20%  (p=0.029 n=4+4)
RouteGeneration/knative-gateway-6            9.61ms ± 2%        4.00ms ± 1%  -58.40%  (p=0.029 n=4+4)

name                                   old kb/msg         new kb/msg         delta
RouteGeneration/gateways-6                    2.67k ± 0%         1.14k ± 0%  -57.34%  (p=0.029 n=4+4)
RouteGeneration/gateways-shared-6             12.6k ± 0%          4.2k ± 0%  -66.66%  (p=0.029 n=4+4)
RouteGeneration/knative-gateway-6               868 ± 0%           218 ± 0%  -74.91%  (p=0.029 n=4+4)

name                                   old alloc/op       new alloc/op       delta
RouteGeneration/gateways-6                   17.4MB ± 0%        14.1MB ± 0%  -19.02%  (p=0.029 n=4+4)
RouteGeneration/gateways-shared-6            68.0MB ± 0%        44.8MB ± 0%  -34.15%  (p=0.029 n=4+4)
RouteGeneration/knative-gateway-6            3.38MB ± 0%        1.99MB ± 0%  -41.07%  (p=0.029 n=4+4)

name                                   old allocs/op      new allocs/op      delta
RouteGeneration/gateways-6                     213k ± 0%          157k ± 0%  -26.26%  (p=0.029 n=4+4)
RouteGeneration/gateways-shared-6              896k ± 0%          560k ± 0%  -37.49%  (p=0.029 n=4+4)
RouteGeneration/knative-gateway-6             43.6k ± 0%         26.7k ± 0%  -38.70%  (p=0.029 n=4+4)

Overall a big reduction in XDS size. There is some additional CPU usage in istiod in one case, I will see if I can optimize it out.
with virtual service:
  hosts: [a, b]
  route:
  - route1
  - route2

before:
vhost: [a], routes: [route1, route2]
vhost: [b], routes: [route1, route2]

after:
vhost: [a, b], routes: [route1, route2]

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
be432980100028c85d0aef04c5e0ca4dfb9e4eb5
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Why is this "RouteGeneration/gateways-6                   44.1ms ± 1%        61.7ms ± 2%  +40.01%  (p=0.029 n=4+4)" worse?

Why is this "RouteGeneration/gateways-6 44.1ms ± 1% 61.7ms ± 2% +40.01% (p=0.029 n=4+4)" worse?

The logic to check for collapsing routes takes time, and in this case there is less to optimize as others so it ends up taking more time. I am going to try to make the check more efficient before removing WIP, right now its N^2

Although still probably worth it since it reduces the network/envoy/GC load, so even if the benchmark shows it taking longer in real world it may be better. I think we can improve though

@nrjpoddar got rid of the n^2, seems much better now. Although it came with some unsafe - not sure a better way to hash pointer array

/test all

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-operator-controller-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-operator-controller-tests_istio

integ-security-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-operator-controller-tests_istio

integ-security-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-operator-controller-tests_istio

integ-security-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-pilot-k8s-tests_istio

integ-security-multicluster-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-operator-controller-tests_istio

integ-security-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-pilot-k8s-tests_istio

integ-security-multicluster-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-security-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
53d3a97fbd70fb1d527f8872625604811c0d511f
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Unfortunately, release notes are never a first pass and they get pulled into other PRs by scripts and those changes are never migrated back to the original release notes, so what happens is some changes get fixed in some versions of the notes and some in other versions. It is a mess, unfortunately.


⚠ SkipTheCommericals has degraded performance

In 19a76c0, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 17833 ms

Resolved: SkipTheCommericals performance has improved in dc963f1.


How to configure meta key for emacs

Hyper 1.0.0
Electron 1.4.7
darwin x64 15.6.0

closed in #1876


CORS error is arrising while communicating http://localhost:7000/printers/list from react app

Hi Parasbuda, thanks for reaching out. However, CORS is not something we want to fix in this library here as these endpoints of print-it should by no means be public and used by a browser. That would be a serious security issue.


Make sure that each markup function restores the default color

When a colour is used in a markup function and the colour is not restored then the CLI prompt stays in that colour.
Add to each markup function a ${RESTORE} to the string to avoid this problem.

See #14


Add change log file.

Hi, as I can see, you are carefully fill tags in your repo.
For such cases I create a github_changelog_generator, that generate change log file based on tags, issues and merged pull requests from :octocat: Issue Tracker.
This PR add change log file to your repo (generated by this script).
You can check, how it is look like here: Change Log
Some essential features, that has this script:

it exclude not-related to changelog issues (any issue, that has label question duplicate invalid wontfix )
Distinguish issues according labels:

Merged pull requests (all merged pull-requests)
Bug fixes (by label bug in issue)
Enhancements (by label enhancement in issue)
Issues (closed issues w/o any labels)

Generate neat Change Log file according basic change log guidelines.

You can easily update this file in future by simply run script: github_changelog_generator Alamofire/Alamofire in your repo folder and it make your Change Log file up-to-date again!
Hope you find this commit as useful. :wink:

Hi @skywinder, thank you for your pull request. Your generator seems very powerful, but we're still discussing how we'd like to format our CHANGELOG. We'll keep you posted 👍🏻

Thanks! Let me know, if you have any suggestions, how to improve it!

We have completed our initial CHANGELOG in 34224b01. Thank you again for your pull request, but we've decided to roll our own manual solution for now to provide the highest quality info we can. Thanks again 🍻

Very nice format. Of course it much better, than auto-changed log! Great work! :+1:
bdw: I'm going to add feature like partial updates https://github.com/skywinder/github-changelog-generator/issues/209 probably then you can use this tool to generate a nice stub for new releases. Cheers! :beers:


Enhance unit test

What this PR does / why we need it:

Set ready as the init status for OperandConfig and OperandRegistry instance.
Add custom resource deleting into the unit test.
Add code coverage into the readme.
Clean up status when the custom resource is deleted from the OperandConfig.

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

NONE

@morvencao could you help take a look at why this PR does not merge?

It will be merged after https://github.com/IBM/operand-deployment-lifecycle-manager/pull/219
see merge queue: http://prow.purple-chesterfield.com/tide


npm run app:preview 以及 build 打开空白

@InCodingNowLiu 你可以具体地描述一下问题吗？ 或者截图develop tools中Console的内容，帮助我更好的定位问题。谢谢！

@InCodingNowLiu I think I got your point. This is a bug of electron on MacOS. Unfortunately, this bug hasn't been fixed in the latest version. I will keep eye on it. Please follow this issue for the latest progress.

may be you can use loadFile in production mode.

@FiShelly Thanks! It works. I'm closing this issue now.


Allow normalizers to skip NaN values

Hi,
I have a dataset with a lot of missing data, and I wanted to use the HotDeckImputer with the Gower kernel to fill in the blanks. I had preprocessed my dataset so that nulls were converted to NAN or ? depending on the data type.
The problem was then that Gower expects continuous features to have been normalized. I then wanted to use the MinMaxNormalizer to do this on the continuous features in the dataset, but it doesn't handle NAN - essentially every value is normalized to zero.
I updated the MinMaxNormalizer and the MaxAbsoluteScaler to skip NAN values, and compute min/max or abs only the finite values and leave the NAN values where they were in the original dataset.
Being new to ML, I wasn't sure if this was a valid approach for using the normalizers together with the Gower imputer - feedback welcome!

Targetting ML 3.0 release with this since it can be construed as a backwards compatibility break.


something wrong in GANet_kernel.cu

thank you for your code very much.it means to me a lot.
however, i find something which makes me confused.
for example,there is something wrong in the computation of backpropagation for the row=0 in __global__void sga_down_data_backward().it shoud be something like that,x*(w0+w1+w2+w3+w4) instead of  x*(w0).
i wanna know is it somthing you made for some reasons or i miss something important?

This is for consistence with the forward function.
In the border, it uses the "replicate" padding.
Can remove this if "zero padding" are used in the forward function.

do you mind if you write in chinese?
仍然是刚刚那个函数，我注意到你在d为0的时候，你是x*（w0+w2）的形式，d=depth时，你是x*（w0+w3）。也就是说你的‘replicate ’padding是参与反向传播的，但是你在row=0时却不是x*（w0+w1+w2+w3）。因为我注意到你在forward是对边缘全是‘replicate ’padding。


feat(sdk): leverage platform wellknown configuration endpoint

This pr leverages the platform wellknown endpoint to drive sdk configuration. For example discovering the appropriate idp token endpoint for the platform.

Should we deprecate the WithTokenEndpoint config opt func within this PR?

This pr has unsigned commits. #895 replaces this pr


Cannot use 'in' operator to search for 'imageSmoothingEnabled' in null

Phaser version(s): 2.10

I cannot reproduce this error and the game works fine for most users, but some users experience it:
Cannot use 'in' operator to search for 'imageSmoothingEnabled' in null

And it occurs only in Chromium browsers.
Game settings
    {
      width: 2080,
      height: 1280,
      renderer: Phaser.AUTO,
      parent: "game",
      transparent: true,
      disableVisibilityChange: true,
      failIfMajorPerformanceCaveat: true,
    }

Object.getSmoothingPrefix at line 3:507589
new s.CanvasRenderer at line 3:192693
i.Game.setUpRenderer at line 3:289390
i.Game.boot at line 3:286307
i.Device._readyCheck at line 3:497824

It looks like CanvasRenderingContext2D is null in some cases.
What could be the reason?

That could only be because context creation failed (thus CanvasRenderer#context is null).
I can make the CanvasRenderer fail earlier, but there's no preventing it. It may be those users have Canvas disabled somehow.

@samme Could you try to use WebGL in this case? If canvas isn't available for some reason I think it's a reasonable approach.
And throw the error if both method cannot be used.

If you're using renderer AUTO then WEBGL was tried first, before CANVAS.

But if I use renderer CANVAS? Maybe it would be better if game worked with WEBGL in this case?

If you're using AUTO already and you're seeing this error, it means that the WebGL context was tried first and failed and then the Canvas 2d context was tried and also failed.
You might try using failIfMajorPerformanceCaveat: false instead.

@samme No, I mean if I use renderer: Phaser.CANVAS and Phaser cannot create canvas context shouldn't Phaser try to use WEBGL instead?

No, only AUTO does that.

Do try failIfMajorPerformanceCaveat: false though. It's quite possible some of those Chromium browsers are obeying that and giving up early.

Although that doesn't explain why CANVAS would fail as well. It could be that Chromium has disabled all canvas contexts on the particular device. I think you'll have to find one of these users to figure out what's going on.


mismatch errors

Hello, I  downloaded the latest version of the branch on my raspberry pi 3 and it works,  but we have not managed to make it work the right way.
I get the wrong values
multigraph in_batvolt
volt.value 0.00
multigraph in_batcharge
charge.value 0.00
multigraph in_batcurrent
current.value 0.00
multigraph in_batpower
power.value 0.00
multigraph in_mainscurrent
currentin.value 128.59
currentout.value -12.48
multigraph in_mainsvoltage
voltagein.value 207.35
voltageout.value 207.35
multigraph in_mainspower
powerin.value 26662.97
powerout.value -2586.85
multigraph in_mainsfreq
freqin.value 0.36
freqout.value 1.10
Is there any way to ask the investor only the securities I need?
For example, I want to consult only currents and the actual power, I see that with winmon commands you can query variables.
I was thinking of using py.serial  by querying the current snapshot in the format indicated in the document (04 FF 'A' 01 00 BB), I have been reading but I still do not know if I am doing the right thing.
I assume the format is fine, but I don't want to fail my inverter when testing.
I don't quite understand how to make my new consultation to bring these values that I tell you.
Saludos my friend and thanks for your contribution

Hi,
Could you maybe add your expected values for the output you pasted? I am guessing this is on a multiplus II?
The driver tries to request all values for the inverter and publishes them, so you can't turn some off or on. It is however not requesting some of the values via the averaged memory snapshots but through other methods. The only value requested from memory is the battery charge. I can try to create a branch where all the values are requested from memory rather, this could simplify the code quite a bit as well.

Looking at the documentation again, it looks like the scale factors have 2 modes that it can be transferred as. So far I assumed only mode 1, but mode 2 is a bit more compact. See if this does anything for you and if you can paste your output https://github.com/diebietse/invertergui/tree/scale-mode

Hello
My apologies for the delay, I am actually wrong about the inverter model as it is a multiplus  1.
this is working as ups, so the battery current should be at 0%, with a floating voltage of approx.  56.5V
The grid  values should be approx::
•	Output current:  4~8 Amps
•	Input current: 4~8 Amps
•	Output voltage:  225V
•	Input voltage: 225V
•	Output frequency:50Hz
•	Input frequency:50Hz
•	Output power: 1~1.8 kw
•	Input power: 1~1.8 kw
I was planning to perform a modbus-type  query on the network values delivered by the inverter, however that took a looot longer than I thought understand the brand datashhet.
Again, thank you very much for your help
Cordial greetings!

Is this a system with multiple multiplus devices connected? This code assumes only a single device to query, not sure how multiple devices work.

The system works with a single 3k multiplus 1
In case of power failure, the system  works as a backup and the mk3 device is connected directly to the USB on raspberry
This is my Output

Hi.
I have created a new branch at https://github.com/diebietse/invertergui/tree/scalefixes that rewrites part of the scale handling code to be closer to the Victron documentation. Can you see if this gives the correct values?
Also I have added debug logging for message parsing. Could you please send the output of
./invertergui --loglevel=debug --data.device=/dev/tty<victron device>

up to the first line that start with battery state decode.

Hello
I just tested the new branch and the interface works perfectly.
thanks! is a very fast sampling.
By means of the munin plugin when reloading the page the battery values , as well as the frequency, sometimes go to zero, although it is possibly a problem with the search engine.
I am using remote VNC. So I'll try to use direct scrapy in localhost directly on the pi
This is an image of right now working.

Muning plugin

Regarding the debug log, this is what returns;
^XDEBU[0003] frame []byte{0xff, 0x56, 0x1f, 0xdb, 0x11, 0x0, 0x0, 0x99}
DEBU[0003] versiondecode [31 219 17 0 0 153]
DEBU[0003] sendCommand []byte{0x3, 0xff, 0x46, 0x0, 0xb8}
DEBU[0003] frame []byte{0x20, 0xe6, 0x3f, 0xc8, 0x4, 0xc, 0xdd, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x88, 0x5b}
DEBU[0003] dcDecode &mk2driver.Mk2Info{Valid:true, Version:0x10c8, BatVoltage:53.410000000000004, BatCurrent:0, InVoltage:0, InCurrent:0, InFrequency:0, OutVoltage:0, OutCurrent:0, OutFrequency:50.025510204081634, ChargeState:0, LEDs:map[mk2driver.Led]mk2driver.LEDstate(nil), Errors:[]error(nil), Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
DEBU[0003] sendCommand []byte{0x3, 0xff, 0x46, 0x1, 0xb7}
DEBU[0003] frame []byte{0x20, 0x1, 0x1, 0x5, 0x9, 0x8, 0x62, 0x54, 0x5, 0x3, 0x62, 0x54, 0xeb, 0x2, 0xc3, 0x95}
DEBU[0003] acDecode &mk2driver.Mk2Info{Valid:true, Version:0x10c8, BatVoltage:53.410000000000004, BatCurrent:0, InVoltage:216.02, InCurrent:7.73, InFrequency:50.1025641025641, OutVoltage:216.02, OutCurrent:7.47, OutFrequency:50.025510204081634, ChargeState:0, LEDs:map[mk2driver.Led]mk2driver.LEDstate(nil), Errors:[]error(nil), Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
DEBU[0003] sendCommand []byte{0x2, 0xff, 0x4c, 0xb3}
DEBU[0004] frame []byte{0xff, 0x4c, 0x9, 0x0, 0x0, 0x0, 0xa, 0x0, 0x9a}
DEBU[0004] sendCommand []byte{0x5, 0xff, 0x57, 0x30, 0xd, 0x0, 0x68}
DEBU[0004] frame []byte{0xff, 0x57, 0x85, 0xc8, 0x0, 0xb6, 0x54, 0x4c}
DEBU[0004] battery state decode &mk2driver.Mk2Info{Valid:true, Version:0x10c8, BatVoltage:53.410000000000004, BatCurrent:0, InVoltage:216.02, InCurrent:7.73, InFrequency:50.1025641025641, OutVoltage:216.02, OutCurrent:7.47, OutFrequency:50.025510204081634, ChargeState:1, LEDs:map[mk2driver.Led]mk2driver.LEDstate{0:1, 1:0, 2:0, 3:1, 4:0, 5:0, 6:0, 7:0}, Errors:[]error(nil), Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}

I am glad to hear that you are now getting the correct values.
I have opened a new issue for munin sometimes showing 0's : https://github.com/diebietse/invertergui/issues/19

Issue now fixed and released on v2.0.2


[RHOAIENG-4845] Fix for import pipeline button action in overview card

Closes: RHOAIENG-4845
Description
Fix action when user selects import pipeline
How Has This Been Tested?
Manually tested
Test Impact
None
Request review criteria:
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)

/lgtm
/approve


Configure mixpanel track api to use POST

Current library only supports GET based http requests for /track calls, even though backend server side supports POST api as well.
Due to a large number of properties, we are running into the URL length limits, breaking our collectors. So adding support to enable POST based /track calls
(Refer: https://github.com/mixpanel/mixpanel-js/issues/76)

@tdumitrescu Can you kindly review?


Update index.html in changes

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/4/ for more details.

Jenkins test this please

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/5/ for more details.

Jenkins test this please

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/6/ for more details.

Jenkins test this please

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/7/ for more details.

Jenkins test this please

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/8/ for more details.

Jenkins test this please

Build FAILED. See http://<IP_ADDRESS>:8080/job/xxPR NodeApp/9/ for more details.

Jenkins test this please

not needed anymore

Build FAILED. See http://<IP_ADDRESS>:8080/job/Todo App Demo Pull Request/1/ for more details.


chore: upgrade msw

MSW recommends to listen/close server in the beforeAll/afterAll hooks, but it is not working when upgrading to the latest version.

What do you mean it's not working?

from the main branch:
cd packages/core
pnpm update msw@latest
pnpm run test

This only occurs in test files where multiple describe blocks are defined, so my guess is that vitest tries to run these in parallel and the server can't be opened for some reason.
describe('...', () => {
  beforeAll(() => server.listen({ onUnhandledRequest: 'error' }))
  afterAll(() => server.close())

  // ...
})

Moving the following code from the describe block in refreshToken.test.ts and enableMfa.test.ts seems to resolve the issue:
beforeAll(() => server.listen({ onUnhandledRequest: 'error' }))
afterAll(() => server.close())

// first
describe('...', () => { ... })

// second
describe('...', () => { ... })

// ...

// nth
describe('...', () => { ... })

Codecov Report

Merging #1086 (7674ebd) into main (e0701e4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1086   +/-   ##
=======================================
  Coverage   96.48%   96.48%
=======================================
  Files          39       39
  Lines        6314     6314
  Branches      398      398
=======================================
  Hits         6092     6092
  Misses        222      222

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Lots of single-tab Unnamed Groups accumulate

Not sure whether this is an issue or a feature request.
When using this extension, I'm frequenting developer-focused sites such as Jira, VersionOne, Appveyor, and so forth.  All of these sites have functional pop-ups at some point, such as when you edit a task or backlog item in VersionOne it opens a pop-up window for editing, and then you click a save or cancel button to close the window.  This ends up leaving a new "Unnamed Group" with a single tab (the pop-up) every time it happens.  These accumulate very rapidly if I'm doing work estimates or closing issues or anything like that.
It would be nice if somehow the pop-up closing itself was treated as closing the tab (which would remove the empty group) rather than closing a window (which saves the group), because I'm regularly having to go through the huge list of groups and manually delete all of the ones with a single tab, after first expanding each one to make sure that it was really one of these pop-ups and not something important.

A solution is to change your preferences:
Settings > New Windows > Invisible
With this option, if you open a window you want as a group, just open the menu and click on the bottom left button to check it.
When you say a pop up is it:

Just one tab in a window
A special window with no tab bar

I just checked with VersionOne, and it's a window with no tab bar that pops up.
I'll try the preference change, thanks.

I will fix it. Soon, I will need those window type and I don't want they interfere with the usual groups.

I studied the case:

Chrome: Those windows are with type "popup" and not tracked
Firefox: Those windows are with type "normal" and tracked
The type "popup" exists and it is what I am using for filtering the import/export (Next release)

For me, it is a bug that FF is declaring the single page windows as "normal". I have opened a bug.
For now and only Firefox users, you should keep this.

A mail supporting the issue:

I wanted to ask you about pop-up windows.  One example I have is that when I want to look at a check on my bank's website, it pops up a little window and displays the check. Sync Tab Groups records that as an unnamed group with one tab.  If I look at several checks I end up with several unnamed groups with one tab in them.  I have to go back and delete all of these groups or I end up with a lot of these useless groups (not just from the bank but from other sites that use pop-up windows).  Is there a way to stop these pop-up windows as being recorded as a group?  I looked through the settings and didn't see anything that seemed to apply.

I have this problem in FF also. This morning I had to delete 30 of these, one at a time. Could you add a feature to overcome this?


Settings UI doesn't update textboxes when settings change via sync

@rebornix saw this
Repro:
Box 1:

Open settings UI, find font family

Box 2:

Change font family

Box 1:

Trigger a sync (ctrl+tab, ctrl+tab)
Notice the font family doesn't change

I can also repro this just by editing the json and UI side by side, editing the json, and seeing that the UI doesn't update. But this works in stable, so some event is not being fired from the configuration service, @sandy081

@roblourens It is working for me on Mac. On which platform are you on?

@sandy81 I saw this on macOS.

I'll look into it and give you more specific details

Its working for me. See the attached gif. I have Web insiders on left and Insiders on right and the settings editor is getting updated after sync

That's what I saw on @rebornix's machine, maybe it didn't sync yet or something? 🤔

Today I can't repro the issue I was seeing.

I can confirm that this is no longer reproducible on my machine.


Expose component dapr endpoints

This will enable file uploads to blob, bob GET operations and services using bindings via HTTP rather than the MQTT route

Additional context:
When dapr configures a component, it automatically creates some API endpoints for that components use. We could wrap and expose those endpoints from the cloudblock, to allow other design paradigms to be used. Developers could call cloudblock:api-port/component/operation to use a component directly.


added the dfir report to threat intelligence section

Issue
Closes #39
Description
Added "The DFIR Report" to the Threat Intelligence section of the README.

thanks for your pr @aybeedee :)


paddle related errors paddle.v2 and paddle.init

I fount the paddle has updated a lot.  we can't import paddle.v2 now .
If I change from paddle.v2 to paddle, then we will find the paddle.init
can't find too.
We can't use train.py and infer.py because of this.
Does anyone find the solution for this paddle upgrade issue? Can anyone help?

remove existing paddle version using command
sudo pip uninstall paddlepaddle-gpu
and install old deepspeech supported version for cuda 9.x and cudnn 7
sudo pip install paddlepaddle-gpu==1.2.0-post97
for cuda 8.x and cudnn 7
sudo pip install paddlepaddle-gpu==1.2.0-post87

Any update on this? I keep getting the error ModuleNotFoundError: No module named 'paddle.v2', when I run the deploy/demo_server.py script. Also, 'pip install paddle.v2' doesn't work in anaconda command prompt.

@ulimmeh did you ever get this figured out?

@saibharani Is there any older paddle version for cuda10.2 and cudnn7 ? that will run with paddle.v2


Deal with it m80


Strange behavior with newer compiler on very old quotations code

We noticed that certain code was failing tests in visual studio 2017 but working fine on our build server. On further inspection it seems like a quoted function is producing a new different Expr tree and it's causing the code to fail.
Repro steps
let getMethod =
    function
    | Patterns.Call (_, m, _) when m.IsGenericMethod -> m.GetGenericMethodDefinition()
    | Patterns.Call (_, m, _) -> m
    | _ -> failwith "Incorrect getMethod Pattern"

let X<'T> : 'T = Unchecked.defaultof<'T>

let tupleToKeyValue (tv: System.Tuple<'k, 'v>) = new KeyValuePair<_,_>(tv.Item1, tv.Item2)

// This throws on getMethod because the top level Expr is now a strangely constructed Let pattern instead of a Call as before.
let t2kv = (getMethod <@ tupleToKeyValue X @>).MakeGenericMethod(args)

Expected behavior
Gets my nice generic method because the expr is a simple call I can peel apart.
Actual behavior
Some strange looking let pattern:
(tupledArg)
(Call (None, X, []))
(Let (arg00@, TupleGet (tupledArg, 0),
     Let (arg01@, TupleGet (tupledArg, 1),
          Call (None, tupleToKeyValue, [arg00@, arg01@]))))

Known workarounds
Maybe reach up inside this nest of lets to get the call? I'm not sure.
Related information
Provide any related information

Operating system
Windows 10
Branch
.NET Runtime, CoreCLR or Mono Version
4.5.1
Editing Tools (e.g. Visual Studio Version)
VS2017 15.7.1
Building on build server with Msbuild 14.0, will need to dig to get more info.
Links to F# RFCs or entries on https://github.com/fsharp/fslang-suggestions
Links to performance testing scripts
Indications of severity
Fairly severe, we can't update our build server until this is fixed.

@Rickasaurus Updated the text to remove the boilerplate and format things

This will be related to the somewhat problematic change with System.Tuple in F# 4.1+.  I don't think we will be looking to make any further changes here for stability reasons, so I'd just recommend changing your code to adjust for either quotation.

Ugh sorry you hit this @Rickasaurus
Just to add a bit more about the tuple change:
In F# 4.1, #3016 was addressed to make System.Tuple and F# tuples are effectively equivalent, but with a change that was source-breaking due to lacking support for Item*. The RFC documenting this explains the progression in behavior. Now, the issue is addressed and code that depended on Item* in F#-declared System.Tuple occurrences has also been fixed. However, this does not take code quotations into account.
This sort of stuff is unfortunate and makes me wonder what, if any, mitigations we can have from a process standpoint for any future changes to things in F# that may not be treated ideally today.
For example, I don't think there is a policy or anything, but it is fairly well-understood by .NET developers that if you depend on something through reflection and that breaks later in life, then it's annoying but "okay" since you've knowingly stepped into the danger zone. Clearly, we don't want peoples' reflection-based code to break, but there's only so far we can go with that before it's inevitable (i.e.g, string-based method invocation).
Similarly, things like code that depends on how the compiler generates code is not something we can guarantee won't break. It's annoying and sucks when you find out older code did this, but it's somewhat expected once you find out why.
Unfortunately, Code Quotations venture into similar territory: by using Code Quotations, you're depending on how that F# compiler translates the quotation expression into a tree. Guaranteeing that this will never result in a break (or that we will always revert a change that breaks this) is not really possible, otherwise we'd have to basically say that once something is implemented in the compiler, it is permanent and can never change. We do have regression tests that can help mitigate this, but they're not going to protect against everything. At the same time, Code Quotations are useful and we don't want to outright discourage their usage.
In light of this and the various other issues in F# 4.1, I think it would be helpful to draft an official stance (policy?) on how F# evolution affects existing code. We're committed to not breaking people, but the definition of a break isn't quite clear to me nor is it clear to users of F#. Thoughts?

I always figured since quotations were not the actual F# AST they could be considered to be safe, much like how reflection on CLR libraries is safe because of the great lengths taken to prevent them from breaking.
I'm not actually sure how to fix this in a nice way since I'm expecting an actual tuple type. I guess the fix would be to manually construct the expression I need.

Closing this out (unless @dsyme wishes to keep it open).
This (among other issues) motivates a document on the F# RFC repo that describes our principles and approach to compatibility.

Could really use some help in trying to find a fix for this at least. All I need is a generic MethodInfo that takes a tuple object and returns a KeyValuePair. Do I need to re-implement in C# to represent this now?

So oddly this works:
type TupleToKeyValueConverter () =
        static member ToKeyValue (tv: System.Tuple<'key,'value>) =
             new KeyValuePair<_,_>(fst tv, snd tv)

let tupleToKeyValueMethodInfo =
            typeof<TupleToKeyValueConverter>.GetMethod("ToKeyValue")

The issue only occurs with functions. Thanks to Nino Floris on fpchat.

@cartermp or @dsyme I'm curious, could either of you elaborate on why this transformation is only done for curried functions and no other constructs?


Run Jmeter Citrix plugin in command mode

Hi Team,
Can anyone please let me know whether the Jmeter Citrix plugin supports for non-gui mode(command mode)?
I have a Citrix plugin 0.7.7 version.
I tried to run the script in non-gui mode, but its not able to launch 'Citrix Application Launcher'.
However the same script executes in GUI mode.
Regards,
Madeppa

Hi, I have the same issue. Seems to be a bug.
See: https://github.com/Blazemeter/CitrixPlugin/issues/70

Hi @3dgiordano,
Could you please let me know any update on running the Jmeter Citrix scripts in command mode?
I am able to complete Jmeter scripting for Citrix workflow. However, at present I am stuck here to run the load test as it runs only in UI mode. The problem with UI testing is that, getting the 'out of memory' error after few minutes into the test.
It would be a great help if I get any suggestions/update on this.
Regards,
Madeppa

Hi @Madeppa,
as long as this isn't fixed, we keep using v0.7.6 which works fine from command line.
Still we hope for a fix in the next version :)
@team keep up the great work! 👍

Hi @mhlfst,
I know that we can run in command mode in older version(v0.7.6). However, I cant use older version (v0.7.6) as it wont support "getForegroundWindowCaption()" function. This particular function available only in v0.7.7.
Please let me if you have any suggestions to run in command mode in latest version(v0.7.7).
Regards,
Madeppa

Hi @Madeppa,
with v0.7.6 you can use this in a JSR223 groovy sampler to get the foreground window caption:
import com.blazemeter.jmeter.citrix.sampler.CitrixSessionHolder
import com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient
import com.blazemeter.jmeter.citrix.client.windows.com4j.IICAClient
import com.blazemeter.jmeter.citrix.client.windows.com4j.ISession
import com.blazemeter.jmeter.citrix.client.windows.com4j.IWindow

WinCitrixClient client = CitrixSessionHolder.getClient()
IICAClient icaClient = WinCitrixClient.metaClass.getProperty(client,'icaClient')
ISession session = icaClient.session()
IWindow foregroundWindow = session.foregroundWindow()
String caption = foregroundWindow.caption()
println("Foreground window caption: "+caption)

Hi @mhlfst & Team,
Will there be a new version to support non-gui mode?
Currently we are still using the older version 0.7.6.
Is there a technical reason that it broke non-gui mode in 0.7.7? or the issue is unknown, and the temporary workaround is to use 0.7.6?
Regards,
Madeppa

Hi @Madeppa,
I'm just a user, not a developer of this plugin ;) In my company we're still using 0.7.6 because of the issues in command line mode with 0.7.7. Hopefully there will be a fix in the next version.
mhlfst

Hello,
We are also stuck on 0.7.6 due to the issue with command line mode and remote executions on 0.7.7.
Any update when the new version will be available?
Thanks,
Karthik


Add support of all integration templates

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Иннокентий Константинов seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


More tutorial improvements (v3)

This PR should add the improvements suggested by @mlissner here: https://github.com/freelawproject/eyecite/pull/100#issuecomment-927225476
(To answer your other question, to edit this file, just run jupyter notebook in the project directory and it'll open a nice GUI for editing.)

Very nice. Thank you again.


Module not found: Error: Cannot resolve module 'react/lib/CSSPropertyOperations'

npm 4.3.0
nodejs 4.6.0
package.json:
{
  "name": "React Web",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "dependencies": {
    "color": "^0.11.3",
    "fetch-jsonp": "^1.0.2",
    "file-loader": "^0.9.0",
    "immutable": "^3.8.1",
    "lodash": "^4.16.2",
    "react": "^15.3.1",
    "react-date-range": "^0.2.4",
    "react-dom": "^15.3.1",
    "react-native": "^0.33.0",
    "react-native-loading-spinner-overlay": "^0.3.0",
    "react-redux": "^4.4.5",
    "react-static-container": "^1.0.1",
    "react-timer-mixin": "^0.13.3",
    "react-web": "^0.4.6",
    "redux": "^3.6.0",
    "redux-persist": "^3.5.0",
    "redux-thunk": "^2.1.0",
    "remote-redux-devtools": "^0.4.8"
  },
  "devDependencies": {
    "babel-loader": "^6.2.5",
    "babel-preset-es2015": "^6.6.0",
    "babel-preset-react": "^6.5.0",
    "babel-preset-react-native": "^1.9.0",
    "babel-preset-stage-1": "^6.16.0",
    "haste-resolver-webpack-plugin": "^0.2.1",
    "json-loader": "^0.5.4",
    "react-hot-loader": "^1.3.0",
    "webpack": "^1.13.2",
    "webpack-dev-server": "^1.16.1",
    "webpack-html-plugin": "^0.1.1"
  }
}

Run npm install, there are some warnings:

Run react-web start, errors were reported as below:

fixed in issue https://github.com/taobaofed/react-web/pull/233


font file gets empties

When exporting a skin, the previously assigned fnt-file is left with a file size of 0.

Let me know if this resurfaces. Thanks.

Still happens every time on export and/or saving.

Alright, I'll have to tackle this one throughout the week. What OS are you running? By "previously assigned fnt-file" are you referring to the original file that you placed into the program or the copy that's created when you export? Are you making sure to export into a separate folder?

Sorry, I am giving up on it for now, got the next exception:
java.lang.NullPointerException
at com.badlogic.gdx.scenes.scene2d.ui.List.layout(List.java:106)
at com.badlogic.gdx.scenes.scene2d.ui.Widget.validate(Widget.java:88)
at com.badlogic.gdx.scenes.scene2d.ui.List.getPrefWidth(List.java:257)
at com.badlogic.gdx.scenes.scene2d.ui.List.(List.java:64)
at com.ray3k.skincomposer.panel.PanelPreviewProperties.render(PanelPreviewProperties.java:1097)
at com.ray3k.skincomposer.panel.PanelStyleProperties$ColorUndoable.redo(PanelStyleProperties.java:397)
at com.ray3k.skincomposer.Main.addUndoable(Main.java:562)
at com.ray3k.skincomposer.panel.PanelStyleProperties$3.lambda$changed$42(PanelStyleProperties.java:154)
at com.ray3k.skincomposer.dialog.DialogColors.result(DialogColors.java:558)
at com.ray3k.skincomposer.dialog.DialogColors$12.changed(DialogColors.java:384)
at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
at com.badlogic.gdx.scenes.scene2d.ui.Button.setChecked(Button.java:123)
at com.badlogic.gdx.scenes.scene2d.ui.Button$1.clicked(Button.java:91)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:58)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:353)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:81)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Input.update(Lwjgl3Input.java:198)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:257)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:138)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:107)
at com.ray3k.skincomposer.desktop.DesktopLauncher.main(DesktopLauncher.java:41)

I was able to reproduce the issue by exporting to the same folder that the original file is located. Apparently LibGDX doesn't like copying a file back on to itself. I'll add some lines to prevent that from happening again. I'm sorry that I've never noticed that. I always make a separate folder for my exports. I suggest  you do that too until I add the fix.
As for your second error, I believe that is from the now invalid font screwing things up. List requires a font. I would hope it will clear up when you add the font back in. Thanks for hanging in there.


Improve docstrings

Such that makedocs warnonly = [:missing_docs, :cross_references] can be removed.

warnonly = [:missing_docs] still present


Proposal: require rel="noopener" on a tags

tl;dr: I want to propose the addition of an option that requires rel="noopener" on <a> tags as seen in Lighthouse.

Motivation
As you can read on the Lighthouse page about rel="noopener", creating an <a> that has the target="_blank" attribute can cause both a performance slowdown (because that link is ran in the same process) and a security risk (the new page has access to your window).
Now can Lighthouse tell you about this issue, but it requires that the site is running. But it is possible to detect this issue statically through a linter (to a large extend, same-host links are hard to detect), which is why I'm opening this proposal.
Details
name: attr-rel-noopener
default: disabled
working: There would be multiple possible ways in which this rule can work

Boolean: The rule can be set to either true or false, so rel="noopener" is either always required or never. This would be the easiest to implement.
Lighthouse approach: The rule can still be set to either true or false, but instead of rel="noopener" always being required it is only required when there is also a target="_blank" on the <a>. Is probably the safest approach, requires little effort to understand and adhere for the user.
Custom values: The rule can accepts a custom set of values, e.g. "always" (so it is always required), "lighthouse" (to get the working as described above), "outgoing" (so it only applies when target is set, but not set to _self), "none" (so it is disabled). This provides the most freedom to the user.
User defined: The rule accepts an array of values which, if it matches the <a>'s value for the target attribute, requires rel="noopener". Not sure why you would want this, just throwing out ideas 😄

Thanks for the suggestion. link-req-noopener now gives an error for any tags that have target="_blank" but not rel="noopener" or rel="noreferrer".
It doesn't seem to me that there's any reason to allow flexibility on the target="_blank" rule--that is the only case where there are performance and security issues. However, it might make sense to allow the user to require either noopener or noreferrer.

Thanks for the suggestion. link-req-noopener now gives an error for any tags that have target="_blank" but not rel="noopener" or rel="noreferrer".

That is awesome, thanks so much for adding this! ❤


Allow turning off the disabling of controls

NativeUI had the ControlDisablingEnabled property, which allowed you to turn off the control disabling entirely so you can handle it yourself. This would be very useful for me in LemonUI.
For example I use this feature from NativeUI in my RopeCreator mod so the Rockstar Editor isn't cancelled when opening the menu. https://gitlab.com/Jitnaught/ropecreator-gta5/-/blob/master/RopeCreator/Menu.cs#L603

manually disable controls, because NativeUI breaks Rockstar Editor recording when it disables controls

With that comment, I have a couple of ideas in my mind and I'm probably going to end up implementing all of them:

Adding the ControlDisablingEnabled property (probably going to call it just DisableControls)
A list on a property that will keep some controls enabled, as required by the mod developer (RequiredControls)
Keep the Rockstar Editor controls enabled as normal (probably going to need your help with this one)

Keep the Rockstar Editor controls enabled as normal (probably going to need your help with this one)

The only way I could fix it for NativeUI is to use a blacklist for controls instead of a whitelist. Same as LemonUI, NativeUI disables all controls then re-enables some of them. When the Rockstar Editor controls are disabled (i.e. when all controls are disabled) recording gets cancelled. So I had to instead only disable the controls I wanted to.
You can see my blacklist here: https://gitlab.com/Jitnaught/ropecreator-gta5/-/blob/master/RopeCreator/Menu.cs#L13

Done!
Feel free to check the linked commits for more information.


Unexpected numerical imprecision from jax.lax.scan

Description
I'm training some complex models and experienced some unexpected numerical problems with jax.lax.scan, so I cooked up the following minimally reproducible example to illustrate my point:
from jax import config
config.update("jax_enable_x64", True)
import jax
import jax.numpy as jnp

key = jax.random.PRNGKey(42)

init = jax.random.normal(key, (100, ))
As = jax.random.normal(key, (10, 100, 100))

# method 1

def matrix_vector_multiplication(x, A):  # i know, this is the some weird function I cooked up
    return jnp.tanh((A @ A) @ x), None

res1 = jax.lax.scan(
    f=matrix_vector_multiplication,
    init=init,
    xs=As
)[0]

# method 2 (this method pre-computes `A@A`)

def matmul(A, B):
    return A @ B

vectorized_matmul = jax.vmap(matmul, (0, 0), 0)

AmAs = vectorized_matmul(As, As)

def matrix_vector_multiplication_v2(x, AmA):
    return jnp.tanh(AmA @ x), None

res2 = jax.lax.scan(
    f=matrix_vector_multiplication_v2,
    init=init,
    xs=AmAs
)[0]

jnp.max(jnp.abs(res2 - res1))  # gives Array(5.18931143e-09, dtype=float64)

The final result should be 0, but why is it not? To me, an error of order 1e-9 is rather big because I'm not changing the order of computation.
For a sanity check, I did the same comparison in plain Python and everything's fine:
x1 = init
for A in As:
    x1, _ = matrix_vector_multiplication(x1, A)

x2 = init
for A in As:
    x2, _ = matrix_vector_multiplication_v2(x2, A@A)

jnp.max(jnp.abs(x1 - x2))  # Array(0., dtype=float64)

Crucially, it seems like res2 is actually wrong:
jnp.max(jnp.abs(res1 - x2)), jnp.max(jnp.abs(res2 - x2))
# (Array(0., dtype=float64), Array(5.18931143e-09, dtype=float64))

Again, this is a simple example derived from a much complex model that I'm working with. This little difference actually reduced my training performance, which is why I want to bring it to your attention.
What jax/jaxlib version are you using?
0.4.23 0.4.23
Which accelerator(s) are you using?
CPU
Additional system info?
1.26.3 3.9.12 (main, Jun  1 2022, 06:34:44)  [Clang 12.0.0 ] uname_result(system='Darwin', node='zhihanyang.local', release='22.6.0', version='Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000', machine='arm64')
NVIDIA GPU info
No response

The final result should be 0, but why is it not?

In general, you should not expect different approaches to the "same" computation to be bitwise-identical when using floating point numbers. To your question of why exactly errors accumulate differently in this particular case, I'm not sure, but  if you wish to understand it in more detail you could dig into it using Ahead-of-time lowering to inspect what the compiler is doing in these cases.
Overall though, rounding errors of this magnitude are to be expected when working with floating point arithmetic, and if your algorithm is sensitive to errors at this level, you should look into how to make your algorithm more robust to the uncertainties of floating point math.


unexpected token with rest parameters destructuring

🐛 Bug Report
I am trying to test a function which uses rest parameters destructuring.
This throws an unexpected token exception which points to the line where the function is declared:
     6 |
 >   7 | function addMetricsToError(error, ...[method, params]) {
       |                                     ^

The project isn't transpiled or transformed.
According to node.green, rest destructuring support is supported by my node runtime (8.10.0) and testing it in the REPL confirms so.
To Reproduce

Write a simple function that uses rest parameters destructuring.
Call it from another function that is actually being tested
It should throw an unexpected token at the first function declaration

Expected behavior
The test is being executed without throwing an unexpected token.
Link to repl or repo (highly encouraged)
I tried on the repl runtime and it works there, however the environment is different from mine (different node and jest version). I don't know if it's a regression introduced since then. However testing the exact same files in my working directory throw the error.
https://repl.it/repls/OffshoreDetailedGraphics
Run npx envinfo --preset jest
Paste the results here:
System:
    OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
    CPU: x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
  Binaries:
    Node: 8.10.0 - ~/.nvm/versions/node/v8.10.0/bin/node
    Yarn: 1.9.2 - /usr/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v8.10.0/bin/npm
  npmPackages:
    jest: ^23.6.0 => 23.6.0

However testing the exact same files in my working directory throw the error.

You can set up a repository we can pull down to test, if you want.

That's a babel error, you need to add the correct syntax plugin (not sure which one that is).
From testing in the repl, this is fixed in Babel 7, but not Babel 6.
(You can also disable babel by having transform: {} in your config).
Closing, but happy to reopen if my analysis is wrong


Remove dependency on Boost

ifm3d has two dependencies on the boost library:

The framegrabber module depends on boost::asio for async/network functionality.
The tools module depends on boost::program_options for command line parsing.

Proposal to remove these dependencies:

boost::asio can be replaced with the standalone (header only) version of asio
TBD -- need to investigate good (preferably header only) command line parsing C++ libraries

@theseankelly cxxopts seems a good option for command line parsing and its header only


Horizontal scrollbar in fixed right column.

I'm using the datatables and I have a fixed column with a button inside.
It's showing a horizontal scrollbar on the bottom, only in this one column. What could it be?
This is the code for the Datatable definition:
gridPrincipal = $("#grdPrincipal")
                        .DataTable({
                            autoWidth: true,
                            scrollY: 210,
                            scrollX: true,
                            destroy: true,
                            fixedHeader: true,
                            fixedColumns: {
                                leftColumns: 1,
                                rightColumns: 1
                            },
                            paging: false,
                            info: false,
                            searching: false
                        });

The scrollbar only goes 1 pixel to both left or right, and I don't know why this happens since I have autoWidth : true
There is also a fixed column to the left and this one has no scrollbar, but it has no contents as well. They just have different background color.

Good to hear you have a workaround. I'm afraid that without a test case showing the problem there isn't much I can do - so as you say, I'm going to close this for now.

Hello,
Can you explain better "I did fix the problem by reducing the button's padding by 1 pixel. I'm not sure if it will remain like this, but for now it's solved. You may close the issue."
I have exactly the same problem.

@adanay , hello.
The button inside is a bootstrap flat button from AdminLTE's framework. But I did make some changes on it.
I don't rememer the exact width and padding of the button, but for some reason when I removed 1 pixel of the padding, the scrollbar disappeared.
Try reducing the padding of the elements within the cell, see if it helps.

This is what worked for me:
div.DTFC_RightBodyWrapper table tbody tr td {
padding-left: 7px; /bug fix of horizontal scroll-bar showing up in right fixed column/
}
7 seems to be a magic number. Well there are some padding: 8px here and there (in the inherited styles) so I tried to reduce one pixel for my right fixed column and it made the magic!


Roll engine 49445ce4949b..fbe50c6a6266 (3 commits)

https://github.com/flutter/engine/compare/49445ce4949b...fbe50c6a6266
git log 49445ce4949bf0d28506a6b22e28b4264f624e5f..fbe50c6a6266a6df6a30aac46a4fe4349955af28 --no-merges --oneline
fbe50c6a6 Roll fuchsia/sdk/core/mac-amd64 from bYFmlYp6Mc82r7dw58IaEny3_mnq-yZW06Ccr19j0lIC to 1F71B9KuZAVZz0LDQW_g0bbfWsxEgQkDpHPKrkc97xYC (flutter/engine#9778)
51c3c11b8 fix objcdoc generation (flutter/engine#9772)
f076a60c9 Roll fuchsia/sdk/core/mac-amd64 from EYnRdXFT9l-d8Qkz4zeTRXnqfV3KQzpQhoPs1r0-740C to bYFmlYp6Mc82r7dw58IaEny3_mnq-yZW06Ccr19j0lIC (flutter/engine#9771)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6154969407815680 , https://cirrus-ci.com/task/4853147640528896 , https://cirrus-ci.com/task/5416097593950208 , https://cirrus-ci.com/task/5979047547371520 , https://cirrus-ci.com/task/5697572570660864 , https://cirrus-ci.com/task/5943863175282688

Commit queue failed; closing this roll.


Azure - connect to existing docker instance

I created a docker instance via azures portal, only to have a hard time getting it going from my local machine.
it would be great if you could connect to your already up and running docker instances.

This is something that would be nice for all drivers if possible.

This is also required for deployments, if docker-machine can create and run commands on a bunch of drivers, it could be used for deploy to, so it needs some way to share the machines it creates and add existing ones.

#406 is the answer IMO

I agree with @jeffmendoza.  I think this would be what the generic driver provides.  Maybe in the future we could add a discovery mechanism to help import.


amplify push always errors out if gql schema does not have a subscription

Describe the bug
I am creating a GraphQL API using GraphQL Transformer. My API does not have any subscriptions and I am using the feature of removing it as described here: https://aws-amplify.github.io/docs/cli/graphql#usage
type Post @model(queries: { get: "post" }, mutations: null, subscriptions: null) {
    id: ID!
    title: String!
    tags: [String!]!
}

When I do amplify push with the schema, the resource creation succeeds but the cli spews out an error message and leaves my resource in a Create state always.
✔ Generated GraphQL operations successfully and saved at graphql
2018-11-17T05:05:09.589Z - error: uncaughtException: Schema is not configured for subscriptions date=Fri Nov 16 2018 21:05:09 GMT-0800 (PST), pid=87711, uid=420918404, gid=1896053708, cwd=/Users/******/*******, execPath=/usr/local/Cellar/node/10.2.1/bin/node, version=v10.2.1, argv=[/usr/local/Cellar/node/10.2.1/bin/node, /usr/local/bin/amplify, push], rss=121409536, heapTotal=90583040, heapUsed=65455288, external=515955, loadavg=[1.98681640625, 2.17529296875, 2.41552734375], uptime=1155151, trace=[column=15<EMAIL_ADDRESS>function=Object.getOperationRootType, line=179, method=getOperationRootType, native=false, column=22<EMAIL_ADDRESS>function=Compiler.compileOperation, line=238, method=compileOperation, native=false, column=36<EMAIL_ADDRESS>function=Object.compileToIR, line=148, method=compileToIR, native=false, column=21<EMAIL_ADDRESS>function=generate, line=37, method=null, native=false, column=7<EMAIL_ADDRESS>function=projects.forEach, line=39, method=forEach, native=false, column=null, file=null, function=Array.forEach, line=null, method=forEach, native=false, column=14<EMAIL_ADDRESS>function=generateTypes, line=22, method=null, native=false, column=3<EMAIL_ADDRESS>function=postPushCallback, line=34, method=null, native=false, column=7, file=internal/process/next_tick.js, function=process._tickCallback, line=68, method=_tickCallback, native=false], stack=[Schema is not configured for subscriptions, , graphql/subscriptions.graphql (2:1), 1: # this is an auto generated file. This will be overwritten, 2: subscription OnCreateScore {,    ^, 3:   onCreateScore {, ,     at Object.getOperationRootType (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/src/utilities/graphql.ts:179:15),     at Compiler.compileOperation (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/src/compiler/index.ts:238:22),     at Object.compileToIR (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/src/compiler/index.ts:148:36),     at generate (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/src/generate.ts:37:21),     at projects.forEach (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen/src/commands/types.js:39:7),     at Array.forEach (<anonymous>),     at generateTypes (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen/src/commands/types.js:22:14),     at postPushCallback (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen/src/callbacks/postPushCallback.js:34:3),     at process._tickCallback (internal/process/next_tick.js:68:7)]

Expected behavior
Success message

I believe this is an error with codegen. @yuth are you aware of this?

@rohandubal I could not reporduce this error either in an Swift project or in a JS project. What frontend are you using?

@rohandubal  This issue is fixed with the latest version of the CLI.

@kaustavghosh06 I still get the error on 1.9.0:
$ amplify push
...
- Generating2019-08-01T12:47:18.848Z - error: uncaughtException: Schema is not configured for subscriptions date=Thu Aug 01 2019 15:47:18 GMT+0300 (Moscow Standard Time), pid=20024, uid=null, gid=null, cwd=C:\Users\PC\ws\andersen\ryanair\customer-enquiries, execPath=C:\Program Files\nodejs\node.exe, version=v10.16.0, argv=[C:\Program Files\nodejs\node.exe, C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\@aws-amplify\cli\bin\amplify, push], rss=234266624, heapTotal=183066624, heapUsed=135381632, external=25261889, loadavg=[0, 0, 0], uptime=107153, trace=[column=15, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\utilities\graphql.ts, function=Object.getOperationRootType, line=179, method=getOperationRootType, native=false, column=22, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\index.ts, function=Compiler.compileOperation, line=238, method=compileOperation, native=false, column=36, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\index.ts, function=Object.compileToIR, line=148, method=compileToIR, native=false, column=19, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\legacyIR.ts, function=Object.compileToLegacyIR, line=96, method=compileToLegacyIR, native=false, column=21, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\generate.ts, function=generate, line=90, method=null, native=false, column=7, file=C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-codegen\src\commands\types.js, function=projects.forEach, line=50, method=forEach, native=false, column=7, file=internal/process/next_tick.js, function=process._tickCallback, line=68, method=_tickCallback, native=false], stack=[GraphQLError: Schema is not configured for subscriptions,     at Object.getOperationRootType (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\utilities\graphql.ts:179:15),     at Compiler.compileOperation (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\index.ts:238:22),     at Object.compileToIR (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\index.ts:148:36),
     at Object.compileToLegacyIR (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\compiler\legacyIR.ts:96:19),     at generate (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-graphql-types-generator\src\generate.ts:90:21),     at projects.forEach (C:\Users\PC\ws\andersen\ryanair\customer-enquiries\node_modules\amplify-codegen\src\commands\types.js:50:7),     at process._tickCallback (internal/process/next_tick.js:68:7)]

My schema is as follow:
type Enquiry @model(subscriptions: null) {
  ...
}

type EnquirySubmission @model(queries: null, subscriptions: null) {
  ...
}

Codegen operation is update. Previously it was just:
type Enquiry @model {

maybe that's the cause of an issue?


Option to get board visual from either side

For the get_board_visual function, it might be useful to let the user get the board from Black's side, if they choose. E.g., a bool param could be added to the function, representing whether to get the board from white's side (user can get the board from Black's side by sending in False as the arg). This param should probably be optional and set to True by default, in order to not break existing code using the function.
Some code would have to be written to flip the board, since afaik Stockfish only returns it from White's side.

I think that's a good idea.
If that would be helpful, I could implement that, unless you have already started writing code for it, or if you want to implement it yourself.

@kieferro Sure, that would be helpful, thanks :) I haven't starting implementing it myself so no problems there.


Fix memory leak in IISConfigUtil::FilterEnv

Fixes #8

@pharring,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot