Fix missing nodejs dependency in the Dockerfile.

It appears that the nodejs package no longer exists for the base image
used by the Dockerfile, and since it's already using the n script to
install the latest stable version of nodejs, I simply use n to
install nodejs in the first place instead.

Also fixed a small code formatting issue in packages.pod6.

Corrected the instructions on running the built docker image in CONTRIBUTING.md.

Initially, I was only trying to fix the formatting issue in packages.pod6, but couldn't get
Mojolicious working to be able to preview my changes, so I ended up building a docker
image from the Dockerfile.

Thanks!


most nc files are loaded, but for some abrun wants to recompute the stats

In warm mode, I'm getting stuck at
Refreshing data caches for model u-az513...
Loading cached netCDF data for u-az513/apy/m01s00i024/lev0/land+sea/Global/awmean...
Loading latest model data for u-az513/apy/m01s00i024...
The command was
w-mauivlab02/nesi/nobackup/pletzera/rosesnip/rose-app-expanded-full$ /nesi/nobackup/nesi99999/pletzera/niwa00013/nesi/turbofan/trunk/bin/abrun.sh ModelMonitor2 -c /scale_wlg_nobackup/filesets/nobackup/pletzera/rosesnip/rose-app-expanded-full/rose-app-expanded-full.conf -v
/nesi/nobackup/niwa00013/williamsjh/miniconda2/envs/afterburner2/bin/python /scale_wlg_nobackup/filesets/nobackup/nesi99999/pletzera/niwa00013/nesi/turbofan/trunk/bin/abrun.py ModelMonitor2 -c /scale_wlg_nobackup/filesets/nobackup/pletzera/rosesnip/rose-app-expanded-full/rose-app-expanded-full.conf -v
which: no moo in (/opt/nesi/CS400_centos7_bdw/Anaconda3/2019.03-gimkl-2018b/bin:/opt/nesi/CS400_centos7_bdw/Anaconda3/2019.03-gimkl-2018b/condabin:/home/pletzera/.local/bin:/opt/slurm/sbin:/opt/slurm/bin:/opt/nesi/share/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/ibutils/bin:/sbin:/usr/sbin:/cm/local/apps/environment-modules/3.2.10/bin:/opt/nesi/bin:/home/pletzera/bin)
ERROR: [umfilelist.:247] Unable to find 'moo' command in runtime environment.
Initialising ModelMonitor2 app...
Initialising StreamSplit data cache...
Running ModelMonitor2 app...
Refreshing data caches for model u-bp058...
Loading cached netCDF data for u-bp058/apy/m01s00i024/lev0/land+sea/Global/awmean...
Loading latest model data for u-bp058/apy/m01s00i024...
Loading cached netCDF data for u-bp058/apy/m01s00i024/lev0/land+sea/Tropics/awmean...
Loading latest model data for u-bp058/apy/m01s00i024...
Loading cached netCDF data for u-bp058/apy/m01s01i203/lev0/sea/Global/awmean...
Loading latest model data for u-bp058/apy/m01s01i203...
....

Loading cached netCDF data for u-az513/apy/m01s00i024/lev0/land+sea/Tropics/awmean...
Loading latest model data for u-az513/apy/m01s00i024...


Add Uber into OSX demo app

If you want I can work on factorize codes between the two demo app, to just have to add only in one place

@phimage Thank you!


Finding median of an array using python

Can I do this please?

Adding the solution of finding the median of an array using python

I wnat to merge this code

Can I do this please..?


Add replace filter

Imitating simple replacement without regexps

Thanks for feedback i am going to re-read code and fix it accordingly.

@bitfield
I have fixed code as you requested. I am not good at english so i have used your descriptions for Readme and comments for Replace functions.

Use case is simple it is really often that you need to perform sed or another type of substitute for text or for config files. So Replace function is imitating simple sed in a way

Use case is simple it is really often that you need to perform sed or another type of substitute for text or for config files

Yes, I understand that; but presumably you wanted to use script to write a specific program to do something like this. If you could give me a simple version of that program it would be very helpful.

Hey @SmilingNavern—are you still interested in working on this? If not, that's fine, but would you mind if I picked up your PR and finished off the changes requested here?

Sorry, i am still interested and i will return to this a bit later but if you in hurry feel free to finish this)

@SmilingNavern I've rebased this and added a corresponding ReplaceRegexp() to complement yours. If you're happy, I'm happy!
@breml would you take a look at this and let me know what you think?

Thanks @breml—great job.

Woohoo @SmilingNavern—your PR is officially in! Nice work, thank you!


tds creating high overhead

Working with data frames creates a high overhead in the demand calculation.
I observed this in the first implementation back in August 2014. I created the tool following only data frames.  By changing everything to numpy arrays and lists (As in the CEA tool last deployed version) the performance increased dramatically. From 1 min to 2 sec calculation per building!
Somehow we got into this structure of managing and sending the dataframe "tds" everywhere again. We might want to go one step back and change again to single numpy arrays.
numpy arrays can as well work with multiprocessing. could we reverse this change @daren-thomas ?

@JIMENOFONSECA, check out pull request #263: speedup after moving to dict instead of Dataframe

We moved to dicts. It seems a temporal solution. @gabriel-happle @daren-thomas any suggestion?

Can we say temporary instead of temporal? Temporal refers to temperatures...
I actually like using the dict as a namespace for state data of the
simulation. It is fast. It keeps all the variables nicely in a single
namespace and will make documenting all the state variables of the
calculations sooo much easier, as they are then always named the same in
every function and are all in one place.
Also, this allows us to use names for these variables that are closer to
the physical names without breaking pythons naming conventions. In fact, we
could even use latex syntax to make it easier to write subscripts and
superscripts and stuff like that...
You seem unhappy. Can you please explain?
On Wed, Aug 10, 2016 at 4:44 AM, JIMENOFONSECA<EMAIL_ADDRESS>wrote:

We moved to dicts. It seems a temporal solution. @gabriel-happle
https://github.com/gabriel-happle @daren-thomas
https://github.com/daren-thomas any suggestion?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/architecture-building-systems/CEAforArcGIS/issues/262#issuecomment-238751384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1P3NhAxBChiXmSxhRq35ZttYvwXG-Oks5qeTsfgaJpZM4JdUjo
.

I believe compromising performance does not necessarily takes us one step forward. We will need to evaluate this before implementing more carefully and probably subject this to a meeting with the board.
Looking at the future complexity of the tool and the restrictions that this might cause to the user and testers, every second of computation we save will matter.

fixed with #279


Fix Toggle Positioning and Add Win Popup in Tic Tac Toe

Description
This PR addresses two issues in the Tic Tac Toe application: the positioning of the toggle switch and the implementation of a popup message that appears when a player wins. The CSS for the .toggle class has been updated to position it on the right side of the screen, enhancing accessibility. Additionally, a popup has been added to display the winner's name upon winning, improving user interaction. The toggle switch's position has been verified across different screen sizes, and the functionality of both the toggle and popup have been confirmed to work seamlessly.

@sanjay-kv @iamparas0 @BaraniVA @Damini2004 .
please label it.

This is PR of #79

@sanjay-kv @iamparas0 @BaraniVA @Damini2004
please Label the PR

@iamparas0 , is this PR okay?

@iamparas0 please label it , and the pr

@iamparas0 please check the PR

@iamparas0 please check the PR

There's a conflicting with existing code so wait I am resolving it and will merge it

@iamparas0 please marge the PR

@iamparas0 please check the Pull Requested


Support for top level "parameters".

Nice to meet you.
I had the same problem as you and found your blog. Since then, I have been using circleci-config-merge.
I have one request.
We use conditional workflows in some cases.
However, circleci-config-merge does not merge the top-level parameters properly.
version: 2.1

parameters: // THIS IS NOT MERGED.
  run_integration_tests:
    type: boolean
    default: false

workflows:
  version: 2
  integration_tests:
    when: << pipeline.parameters.run_integration_tests >>
    jobs:
      - mytestjob

jobs:
  mytestjob:
    steps:
      - checkout
      - ... # job steps

Is it possible to fix this problem with an update?

Thank you for your request.
I have created https://github.com/suzuki-shunsuke/circleci-config-merge/pull/41

It's beautiful !!!!
Thank you very much for your quick response.

I have released v1.1.0.


Basic implementation of non-playable characters

A basic implementation of non-playable characters with two randomly wandering NPCs.
The new NPC class in src/sprites.py can be extended later on to achieve the desired behaviour of in- and outgroup members.

Added a base implementation for NPC behaviour.
The two NPCs previously wandering around will now try to till, plant and water farmable tiles.
They now also collide with the Player and with other NPCs.
Known bugs:
Sometimes NPCs get stuck inside the Player's hitbox
When NPCs water the plants, the hoe is displayed as the item used instead of the watering can


Add type definition file for TypeScript

For those who want to check this PR or does not want to wait for it to be merged, you can install my forked repository via this command:
$ npm i glinda93/react-native-action-cable
// yarn
$ yarn add glinda93/react-native-action-cable

Or, you can just use module augmentation like the following:
src/<EMAIL_ADDRESS>declare module<EMAIL_ADDRESS>{
  // copy index.d.ts content of this PR
}

tsconfig.json
"typeRoots": ["node_modules/@types", "@types"],

Nice job, I'll check it on the week


Obscuring partially API keys in Query params URLs

Coverage increased (+1.2%) to 81.761% when pulling 9a270d43d8657c5215336c821bf007f7cc63f45c on feature/hide-api-keys into 299842a4f864da82250c6243b2a49c652e94e25f on kubernetes-version.


As a Craft player, I want the mouse sensitivity to be decreased so that I can play using a mouse, not just the arrow keys.

so I looked into fixing the sensitivity bug and changed a bunch of things around, but the sensitivity is still super buggy even with lowered sensitivity. I have been unable to figure out what the cause of the buggy movement is stemming from.

I remember him talking in class about this problem. He said that some other students from previous years have tried to work on it but its a lot more than math than you'd originally imagine, the video should be posted on the pilot by now I think he talked about it for a good bit. I forget the exact reason why it's buggy but he definitely said it in that class.


[Bug] Unable to build on iPhone 12 - Could not build the precompiled app

Describe the bug
I'm able to build & run the app on the iOS simulator, but when I'm trying to build it on my iPhone 12, i'm getting the following error:
Running Xcode build...
Xcode build done.                                            7.1s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): could not compile `cfg-if` (lib) due to 2 previous errors

Error (Xcode): cannot find attribute `derive` in this scope

Error (Xcode): cannot find derive macro `Debug` in this scope

Error (Xcode): cannot find macro `unreachable` in this scope

Error (Xcode): cannot find macro `matches` in this scope

Error (Xcode): cannot find macro `write` in this scope

Error (Xcode): could not compile `adler` (lib) due to 6 previous errors

Error (Xcode): cannot find macro `debug_assert` in this scope

Error (Xcode): cannot find macro `debug_assert_eq` in this scope

Error (Xcode): cannot find macro `assert_ne` in this scope

Error (Xcode): requires `sized` lang_item

Error (Xcode): could not compile `core-foundation-sys` (lib) due to 48 previous
errors

Error (Xcode): cannot find macro `assert` in this scope

Error (Xcode): cannot find macro `debug_assert_ne` in this scope

Error (Xcode): could not compile `libc` (lib) due to 3 previous errors

Error (Xcode): could not compile `rustc-demangle` (lib) due to 351 previous
errors

Error (Xcode): cannot find attribute `test` in this scope

Error (Xcode): cannot find macro `assert_eq` in this scope

Error (Xcode): cannot find macro `stringify` in this scope

Error (Xcode): cannot find macro `format` in this scope

Error (Xcode): could not compile `memchr` (lib) due to 555 previous errors

Error (Xcode): cannot find macro `panic` in this scope

Error (Xcode): could not compile `num-traits` (lib) due to 777 previous errors

Error (Xcode): could not compile `gimli` (lib) due to 1890 previous errors

Error launching application on Anson.

Codegen logs with RUST_LOG=debug environment variable
There's no error generating

To Reproduce

git clone the repo
run flutter pub get
go to xcode and sign
flutter_rust_bridge_codegen --rust-input native/src/api.rs --dart-output lib/bridge_generated.dart --dart-decl-output lib/bridge_definitions.dart
flutter run

Expected behavior
No response
Generated binding code
No response
OS
Xcode 14.0
Version of flutter_rust_bridge_codegen
1.82.3
Flutter info
No response
Version of clang++
No response
Version of ffigen
No response
Additional context
No response

ok, figured out wassup - cjycode.com is down atm. so had to go to archive to find the iOS setup guide

cjycode.com is down atm

That's weird! I can open it now:

Can you open it at this moment?


Feature request: auto run setting per project

Well I think the subject tells everything. The Auto Run command setting but for project-specific needs.
I was thinking in a file on the root folder of your project like .term3 which we may exclude from git or not, so you can be ready to go with just ctrl + alt  + t.
An example .atom3 file will be:
nvm use v4
cd workspace/myproject
gulp test-watch

Thanks for the suggestion, but this would be really bad for security.  Anyone with write access to any repo a term3 user is shelling around in could execute arbitrary code.
It wouldn't be too much work for you to implement this feature yourself using the auto run command.

Ok but I don't see the security issue in comparison with regular stuff... you can also clone a repo that executes a insecure script by itself using just npm for example.

Sure, but then its the user's fault for running npm before looking.  In the case above, the user just opens a term3 shell and third party scripts are unexpectedly run.

Fair enough, I understand it may be too much work for a secondary feature, but the security flaw depends upon the implementation. It can be disabled by default, or using confirm questions, and/or trusted lists, etc.


[0942] Amended cookie name

Context
Cookie name vs cookie page
Changes proposed in this pull request
Amended cookie name so it aligns with the one that is stated on the cookie page
Guidance to review
Have a nibble of the :cookie:
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally


Group project Kanban board setup

Kanban board setup
We are a group of two @white3d and @Felix45, please find the link to our Kanban board below
https://github.com/users/Felix45/projects/1/

Status: ✔ Project Approved ✔
Hello @Felix45  and @white3d    🔥
Good job on implementing the Kanban Board. You smashed it. Well Done.
This step is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Now you can merge this branch 🚀
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
m05e5
💻 👩🏽💻  Happy Coding!  👨🏽💻 🖥
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Forge with MC 1.12.2 and docker compose not working

Describe the problem
Hello,
using the following docker compose leads to the following error. How can I fix this?
Container definition
version: "3.8"
services:
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
TYPE: FORGE
DEBUG: "true"
VERSION: 1.12.2
FORGE_VERSION: <IP_ADDRESS>60
tty: true
stdin_open: true
restart: "no"
volumes:
- XXXXX Mine works. :)
Container logs

exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx1G -Xms1G -javaagent:/image/Log4jPatcher.jar -Dlog4j2.formatMsgNoLookups=true -jar forge-1.12.2-<IP_ADDRESS>60.jar
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at net.minecraft.launchwrapper.Launch.(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
2023-10-05T18:58:57.318Z        WARN    mc-server-runner        Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error.     {"exitCode": 1}
2023-10-05T18:58:57.318Z        INFO    mc-server-runner        Done

You need to be using a Java 8 image for 1.12
https://docker-minecraft-server.readthedocs.io/en/latest/versions/java/

It worked, thank you. Attached is my docker compose for future people with that question.
version: "3.8"
services:
mc:
image: itzg/minecraft-server:java8-multiarch
ports:
- 25565:25565
environment:
EULA: "TRUE"
TYPE: FORGE
DEBUG: "true"
VERSION: 1.12.2
FORGE_VERSION: <IP_ADDRESS>60
tty: true
stdin_open: true
restart: "no"
volumes:
- your volume


Small typo fix

@mikethebeer I made some small corrections as composer is actually far simpler than that ;)

@ChrisChinchilla yeah. looks fine ^^


Log sync

I'm using Aleeva and dps.report triggers.  Sometimes I notice that dps.report will fail, and this will prevent Aleeva from triggering.  I know this is a huge ask but is it possible to add sync type tasks alongside triggers?  That way if there's a failure or plenbot wasn't running it can "catch up" on previous logs detected in the filesystem
GW2Wingman is a good example of this.

I have added a simple reupload for logs that failed to upload. Doing a system that detects logs if the upload was not running would be a very demanding task to calculate. I want to add an additional commit that would enable this type of feature, but it would be disabled by default (the user would have to opt in).

Yeah that makes sense, I appreciate you looking into it!  Thanks!

Hello. Sorry for such a late reply. I tried to include the addition I talked about but I have encountered a problem of being very rate limited by dps.report. Additionally, few viewers of mine also brought up the issue of corrupted logs which I did properly not include in the reupload. I will not be able to slot the fully proposed change into the next release that I plan on releasing on 27th but I will try to resolve the issues by the next release. Sorry for the inconvenience.

Hi. I looked into it again. I will close this issue. The current implementation is not a full reupload but it still solves the issues of reuploading logs when there were errors on dps.report end. I will stay by what I said before that the task to detect which logs have been uploaded already would be a big computation task that would have to be run every time and I do not think it should be a part of the uploader unless I find a solution that would not be as demanding.


[ISSUE #2865] Batch message send bug fix

What is the purpose of the change
Fix the problem of failing to build consumption index when sending batch messages, resulting in inability to consume.
Brief changelog

Asynchronous batch write: add queueOffset in the inner layer of lock.
Synchronous writing: serialize the message in the outer layer of the lock, and supplement the queueOffset in the inner layer of the lock.

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

经过batch测试，发现在serialize中构建queueOffsetKey存在并发问题，详见ISSUE评论补充

@Git-Yang Please change the target branch to develop, we will merge this PR ASAP.


Line break in inline p in Safari only

When I have inline math inside a p styled inline, an extra line break occurs.
In up-to-date Safari only: it is fine in Firefox and Chrome on a MathBook Pro.
This page illustrates the problem:
https://aimath.org/~farmer/print/mathjaxinsafari.html
What you should see is that in the inline p, when I write
Suppose (x) is a number.
there is a line break before the "x".
I tried (unsuccessfully) to add some CSS to inline style the MathJax spans.
(Even if it worked, I don't think that is a great solution, but I could do it temporarily.)

Mobile Safari on iOS is also impacted by this, and thus Chrome on iOS is also exhibiting the behavior.

If I set the math renderer to Preview HTML, MathML, or Plain Source, and then reload the page, the line break goes away.
I see the line break if the math renderer is HTML-CSS, Common HTML, or SVG. And also if it is one of these things and I change the renderer to one of the first three things but do not refresh the page.

Seeing same issue here:
http://algnotes.info/on/background/stopping-times/walds-dependent/

Looks like a Safari bug (not present in recent WebKit).
Using inline-block instead of inline for the container should avoid this.

Can anyone suggest a workaround (maybe using css) in the meantime?

@nealeyoung  on your page I don't think it makes sense for your p paragraphs to be styled inline.
Removing that css (so the p defaults to block) should not change the appearance of the page.
(That is, remove line 1056, which has the selector
#content .inline-first-p > p:first-child
)
If you wanted to have the statement of the lemma start on the same line as the word "Lemma",
then you would set everything to be inline.  That is the look I want, but it seems that I can't
have that and also use Safari.
But if you can't change that css, then there does not seem to be any way to fix it.

Thanks.  Yes, I would like what you suggested in your middle paragraph ("Lemma" on same line as following paragraph.)  I can change the CSS, but, just as you surmise, if I remove that inline styling, I won't get the effect I want.  I've fallen back to floating the "Lemma" left, which works okay most of the time, but sometimes does not have correct vertical alignment (baseline is off).

The problem has to do with the fact that MathJax uses elements with display set to block-level values in order to measure the em and ex sizes and the container width.  Such elements should introduce a line break, but in the past, and with other browsers, inserting these and then removing them before the page is repainted did not cause a permanent line break.  Apparently recent versions of WebKit have changed that behavior.
I have worked out another mechanism for doing the measuring (see PR #2006).  It has one minor downside, but should resolve the issues here.  Unfortunately, there is no easy patch to get the new behavior how so you will have to wait until the next release of MathJax for this.  If you are not using automatic line break in your math, it might be possible to use some CSS to avoid the problem for now.  If you want that, I'll see if I can work that out.

==> In testsuite
MathMLToDisplay/issue1982.html

Adding white-space: nowrap; to the p tag styling solved the issue for me.


edit star

-change star color
-make it half star

make percent like  3/5 (selected 3 starts from 5)

Thanks for the PR. Unfortunately this contains breaking changes and I'm not entirely sure what it is you are trying to achieve here. If you can give me a few more details I'd appreciate it.

Hello
i have changed star to increase by a half
see the star voted from 5 .
for example : we have voted 3 from 5 then we see 3/5
that's all
thank you

Oh OK. Changing default values will introduce breaking changes:
Imagine if you're using this without setting an increment, which is OK, it defaults to 1. Now imagine that all of the sudden it defaults to 0.5, not only is this unexpected but somewhere in your code you're expecting an integer. Even these small changes have the ability to cause unexpected consequences in someones system somewhere, so they need to be considered carefully.
For your other change, this is already possible by hiding the rating and creating your own, but we shouldn't be hardcoding values (I mean, what if somebody has 10 stars? You've got "/ 5" hardcoded)
I'll close this PR, but I don't want this to come across as criticism, it's just that you have to consider a lot more than your own individual use case when contributing to open source otherwise you can break someones entire app.


genome to CpG plot on methylartist locus

Hi,
I am looking into 6mA methylation and I have done a locus plot for 6mA at the the AT motif.
I just want to clarity the genome-CpG plot on the locus plots - does this therefore represent genome to AT-only in my case???
Many Thanks,

Sorry I missed this one - if you've specified --motif "AT" then it would just be 6mA in an AT context, yes. Let me know if I'm misunderstanding the question.


thumbnail_url not working - blank thumbnail uploaded

Something like thumbnail_url='https://www.gentoo.org/assets/img/screenshots/gplus2-600.png' is not uploading a thumbnail at all - it shows as blank.
It also doesn't take a file path (I guess as hinted at by 'url'), but I haven't been able to get this to work no matter what. Am I missing something?

Can you give a link to  the claim with the issue.
Do you mean that the URL doesn't work when trying to view it on web, or that you are trying to upload thumbnail while creating a stream. I think that the last one isn't supported.

Please email us at<EMAIL_ADDRESS>with more details on what you are trying exactly and how.
A thumbnail is not uploaded via the sdk, it's set to a URL.


[Fix #11230] Fix an incorrect autocorrect for Lint/SafeNavigationChain

Fixes #11230.
This PR fixes an incorrect autocorrect for Lint/SafeNavigationChain when using safe navigation with [] operator followed method chain.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


debian packaging: Tests are being installed as a top-level python package

They appear in in /usr/lib/python2.7/dist-packages/tests which is bad.
They shouldn't be installed at all, ideally, since they're not needed once the build's done.

Will be fixed in f9bf3f60fce6af17c3d0b9fc0032bbcb324c2a33

ca4a767dad341587d4ba535950edde12b229c692


Fix MemoryHistory "top of stack" check

current has only been incremented at the time of the check.

Can you please add a test for this @jinroh?

@mjackson done.

Thanks, @jinroh!


Split e2e tests into e2e and validation

@mmirecki we now need to add an extra step to CI in order to run the moved tests I think

lgtm


Unable to make printing work since last update

I just upgraded from https://github.com/klirichek/zj-58/commit/131d1d8b91a662cfa724647695f6a120d1466823 (which worked fine) to master.
Installed using cmake, cmake --build, sudo make install and got no issue during install.
But since the upgrade I can not make any printing work (I tried text and images). The job is stopped just after being created.
Here is a log of an attempt to print an image (jpg):
D [31/Mar/2019:12:50:09 +0200] Creating KeepAlive/PID file "/var/cache/cups/org.cups.cupsd".
I [31/Mar/2019:12:50:09 +0200] Saving job.cache...
D [31/Mar/2019:12:50:09 +0200] cupsdStopSelect()
E [31/Mar/2019:12:50:24 +0200] [Job 173] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [31/Mar/2019:12:50:24 +0200] [Job 173] The following messages were recorded from 12:50:24 PM to 12:50:24 PM
D [31/Mar/2019:12:50:24 +0200] [Job 173] Applying default options...
D [31/Mar/2019:12:50:24 +0200] [Job 173] Adding default print-quality=5
D [31/Mar/2019:12:50:24 +0200] [Job 173] Adding start banner page "none".
D [31/Mar/2019:12:50:24 +0200] [Job 173] Queued on "thermal-printer" by "risq".
D [31/Mar/2019:12:50:24 +0200] [Job 173] Auto-typing file...
D [31/Mar/2019:12:50:24 +0200] [Job 173] Request file type is image/jpeg.
D [31/Mar/2019:12:50:24 +0200] [Job 173] File of type image/jpeg queued by "risq".
D [31/Mar/2019:12:50:24 +0200] [Job 173] Adding end banner page "none".

D [31/Mar/2019:12:50:24 +0200] [Job 173] Loaded 92 quirks.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Printing on printer with URI: usb://Unknown/Printer?serial=Printer
D [31/Mar/2019:12:50:24 +0200] [Job 173] Page = 136x595; 0,0 to 136,595
D [31/Mar/2019:12:50:24 +0200] [Job 173] Color Manager: Calibration Mode/Off
D [31/Mar/2019:12:50:24 +0200] [Job 173] Calling FindDeviceById(cups-thermal-printer)
D [31/Mar/2019:12:50:24 +0200] [Job 173] Found device /org/freedesktop/ColorManager/devices/cups_thermal_printer
D [31/Mar/2019:12:50:24 +0200] [Job 173] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [31/Mar/2019:12:50:24 +0200] [Job 173] Searching for profile \"/\"...
D [31/Mar/2019:12:50:24 +0200] [Job 173] Loading print file.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Set job-printer-state-message to "Loading print file.", current level=INFO
D [31/Mar/2019:12:50:24 +0200] [Job 173] Adobe CMYK JPEG detected (inverting color values)
D [31/Mar/2019:12:50:24 +0200] [Job 173] num_components = 3
D [31/Mar/2019:12:50:24 +0200] [Job 173] jpeg_color_space = JCS_YCbCr
D [31/Mar/2019:12:50:24 +0200] [Job 173] Converting image to RGB...
D [31/Mar/2019:12:50:24 +0200] [Job 173] JPEG image 320x320x3, 128x128 PPI
D [31/Mar/2019:12:50:24 +0200] [Job 173] Before scaling: xppi=0, yppi=0, zoom=1.00
D [31/Mar/2019:12:50:24 +0200] [Job 173] Before scaling: xprint=1.9, yprint=8.3
D [31/Mar/2019:12:50:24 +0200] [Job 173] img->xppi = 128, img->yppi = 128, aspect = 1.000000
D [31/Mar/2019:12:50:24 +0200] [Job 173] Portrait size is 1.89 x 1.89 inches
D [31/Mar/2019:12:50:24 +0200] [Job 173] Landscape size is 1.89 x 1.89 inches
D [31/Mar/2019:12:50:24 +0200] [Job 173] Auto orientation...
D [31/Mar/2019:12:50:24 +0200] [Job 173] Using portrait orientation...
D [31/Mar/2019:12:50:24 +0200] [Job 173] xpages = 1x1.89in, ypages = 1x1.89in
D [31/Mar/2019:12:50:24 +0200] [Job 173] PageSize = [136 595]
D [31/Mar/2019:12:50:24 +0200] [Job 173] PageLeft = 0.000000, PageRight = 136.000000, PageBottom = 0.000000, PageTop = 595.000000
D [31/Mar/2019:12:50:24 +0200] [Job 173] Orientation: 0, XPosition: 0, YPosition: 0, ImagingBoundingBox = [0 229 136 365]
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsWidth = 383
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsHeight = 383
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsBitsPerColor = 1
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsBitsPerPixel = 1
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsBytesPerLine = 48
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsColorOrder = 0
D [31/Mar/2019:12:50:24 +0200] [Job 173] cupsColorSpace = 3
D [31/Mar/2019:12:50:24 +0200] [Job 173] img->colorspace = -1
D [31/Mar/2019:12:50:24 +0200] [Job 173] Formatting page 1.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Set job-printer-state-message to "Formatting page 1.", current level=INFO
D [31/Mar/2019:12:50:24 +0200] [Job 173] PAGE: 1 1
D [31/Mar/2019:12:50:24 +0200] [Job 173] Printing iCurrentPage 1, 0% complete...
D [31/Mar/2019:12:50:24 +0200] [Job 173] Set job-printer-state-message to "Printing iCurrentPage 1, 0% complete...", current level=INFO
D [31/Mar/2019:12:50:24 +0200] [Job 173] PID 3883 (/usr/lib/cups/filter/imagetoraster) exited with no errors.
D [31/Mar/2019:12:50:24 +0200] [Job 173] libusb_get_device_list=12
D [31/Mar/2019:12:50:24 +0200] [Job 173] STATE: +connecting-to-device
D [31/Mar/2019:12:50:24 +0200] [Job 173] STATE: -connecting-to-device
D [31/Mar/2019:12:50:24 +0200] [Job 173] Printer found with device ID:  Device URI: usb://Unknown/Printer?serial=Printer
D [31/Mar/2019:12:50:24 +0200] [Job 173] Device protocol: 2
D [31/Mar/2019:12:50:24 +0200] [Job 173] Forced uni-directional communication via \"usb-unidir\" option.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Uni-directional device/mode, back channel deactivated.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Sending data to printer.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [31/Mar/2019:12:50:24 +0200] [Job 173] Sent 0 bytes...
D [31/Mar/2019:12:50:24 +0200] [Job 173] PID 3884 (/usr/lib/cups/filter/rastertozj) crashed on signal 11.
D [31/Mar/2019:12:50:24 +0200] [Job 173] Hint: Try setting the LogLevel to "debug" to find out more.
D [31/Mar/2019:12:50:24 +0200] [Job 173] PID 3885 (/usr/lib/cups/backend/usb) exited with no errors.
D [31/Mar/2019:12:50:24 +0200] [Job 173] End of messages
D [31/Mar/2019:12:50:24 +0200] [Job 173] printer-state=3(idle)
D [31/Mar/2019:12:50:24 +0200] [Job 173] printer-state-message="Filter failed"
D [31/Mar/2019:12:50:24 +0200] [Job 173] printer-state-reasons=none

I also tried to print a text from stdin (echo "hello" | lp -d thermal-printer -):
E [31/Mar/2019:12:52:14 +0200] [Job 174] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [31/Mar/2019:12:52:14 +0200] [Job 174] The following messages were recorded from 12:52:13 PM to 12:52:14 PM
D [31/Mar/2019:12:52:14 +0200] [Job 174] Applying default options...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Adding default print-quality=5
D [31/Mar/2019:12:52:14 +0200] [Job 174] Adding start banner page "none".
D [31/Mar/2019:12:52:14 +0200] [Job 174] Queued on "thermal-printer" by "risq".
D [31/Mar/2019:12:52:14 +0200] [Job 174] Auto-typing file...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Request file type is text/plain.
D [31/Mar/2019:12:52:14 +0200] [Job 174] File of type text/plain queued by "risq".
D [31/Mar/2019:12:52:14 +0200] [Job 174] Adding end banner page "none".
D [31/Mar/2019:12:52:14 +0200] [Job 174] time-at-processing=1554029533
D [31/Mar/2019:12:52:14 +0200] [Job 174] 4 filters for job:
D [31/Mar/2019:12:52:14 +0200] [Job 174] texttopdf (text/plain to application/pdf, cost 32)
D [31/Mar/2019:12:52:14 +0200] [Job 174] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [31/Mar/2019:12:52:14 +0200] [Job 174] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [31/Mar/2019:12:52:14 +0200] [Job 174] rastertozj (application/vnd.cups-raster to printer/thermal-printer, cost 0)
D [31/Mar/2019:12:52:14 +0200] [Job 174] job-sheets=none,none
D [31/Mar/2019:12:52:14 +0200] [Job 174] Mapping print-quality=5 to cupsPrintQuality=High
D [31/Mar/2019:12:52:14 +0200] [Job 174] After mapping finishings cupsPrintQuality=High
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[0]="thermal-printer"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[1]="174"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[2]="risq"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[3]="(stdin)"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[4]="1"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[5]="finishings=3 media=1 number-up=1 output-bin=face-down print-color-mode=monochrome usb-unidir job-uuid=urn:uuid:43806c68-bbc8-3b3a-67e1-e66aea600d17 print-quality=5 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1554029533 time-at-processing=1554029533 cupsPrintQuality=High"
D [31/Mar/2019:12:52:14 +0200] [Job 174] argv[6]="/var/spool/cups/d00174-001"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[7]="CUPS_STATEDIR=/run/cups"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[8]="HOME=/var/spool/cups/tmp"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[10]="SERVER_ADMIN=root@arch"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[11]="SOFTWARE=CUPS/2.2.10"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[13]="USER=root"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[14]="CUPS_MAX_MESSAGE=2047"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[17]="IPP_PORT=631"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[18]="CHARSET=utf-8"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[19]="LANG=en_US.UTF-8"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[20]="PPD=/etc/cups/ppd/thermal-printer.ppd"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[21]="RIP_MAX_CACHE=128m"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[22]="CONTENT_TYPE=text/plain"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[23]="DEVICE_URI=usb://Unknown/Printer?serial=Printer"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[24]="PRINTER_INFO=thermal-printer"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[25]="PRINTER_LOCATION=arch"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[26]="PRINTER=thermal-printer"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[27]="PRINTER_STATE_REASONS=none"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[28]="CUPS_FILETYPE=document"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[30]="AUTH_I****"
D [31/Mar/2019:12:52:14 +0200] [Job 174] Started filter /usr/lib/cups/filter/texttopdf (PID 3954)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Started filter /usr/lib/cups/filter/pdftopdf (PID 3955)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Started filter /usr/lib/cups/filter/gstoraster (PID 3956)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Started filter /usr/lib/cups/filter/rastertozj (PID 3957)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Started backend /usr/lib/cups/backend/usb (PID 3958)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Loading USB quirks from \"/usr/share/cups/usb\".
D [31/Mar/2019:12:52:14 +0200] [Job 174] Loaded 92 quirks.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Printing on printer with URI: usb://Unknown/Printer?serial=Printer
D [31/Mar/2019:12:52:14 +0200] [Job 174] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [31/Mar/2019:12:52:14 +0200] [Job 174] libusb_get_device_list=12
D [31/Mar/2019:12:52:14 +0200] [Job 174] STATE: +connecting-to-device
D [31/Mar/2019:12:52:14 +0200] [Job 174] STATE: -connecting-to-device
D [31/Mar/2019:12:52:14 +0200] [Job 174] Printer found with device ID:  Device URI: usb://Unknown/Printer?serial=Printer
D [31/Mar/2019:12:52:14 +0200] [Job 174] Device protocol: 2
D [31/Mar/2019:12:52:14 +0200] [Job 174] Forced uni-directional communication via \"usb-unidir\" option.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Uni-directional device/mode, back channel deactivated.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Sending data to printer.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [31/Mar/2019:12:52:14 +0200] [Job 174] pdftopdf: Last filter determined by the PPD: rastertozj; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Page = 136x595; 0,0 to 136,595
D [31/Mar/2019:12:52:14 +0200] [Job 174] PID 3954 (/usr/lib/cups/filter/texttopdf) exited with no errors.
D [31/Mar/2019:12:52:14 +0200] [Job 174] PDF interactive form and annotation flattening done via QPDF
D [31/Mar/2019:12:52:14 +0200] [Job 174] PID 3955 (/usr/lib/cups/filter/pdftopdf) exited with no errors.

D [31/Mar/2019:12:52:14 +0200] [Job 174] Found profile /org/freedesktop/ColorManager/profiles/thermal_printer_Gray__
D [31/Mar/2019:12:52:14 +0200] [Job 174] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [31/Mar/2019:12:52:14 +0200] [Job 174] Use profile filename: \'\'
D [31/Mar/2019:12:52:14 +0200] [Job 174] Color Manager: ICC Profile:
D [31/Mar/2019:12:52:14 +0200] [Job 174] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r203x203 -dDEVICEWIDTHPOINTS=136 -dDEVICEHEIGHTPOINTS=595 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X48MMY210MM -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[7]=\"CUPS_STATEDIR=/run/cups\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[10]=\"SERVER_ADMIN=root@arch\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[11]=\"SOFTWARE=CUPS/2.2.10\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[13]=\"USER=root\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[15]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[16]=\"CUPS_ENCRYPTION=IfRequested\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[17]=\"IPP_PORT=631\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[18]=\"CHARSET=utf-8\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[19]=\"LANG=en_US.UTF-8\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[20]=\"PPD=/etc/cups/ppd/thermal-printer.ppd\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[21]=\"RIP_MAX_CACHE=128m\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[22]=\"CONTENT_TYPE=text/plain\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[23]=\"DEVICE_URI=usb://Unknown/Printer?serial=Printer\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[24]=\"PRINTER_INFO=thermal-printer\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[25]=\"PRINTER_LOCATION=arch\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[26]=\"PRINTER=thermal-printer\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[27]=\"PRINTER_STATE_REASONS=none\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[28]=\"CUPS_FILETYPE=document\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] envp[30]=\"AUTH_INFO_REQUIRED=none\"
D [31/Mar/2019:12:52:14 +0200] [Job 174] Start rendering...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Set job-printer-state-message to "Start rendering...", current level=INFO
D [31/Mar/2019:12:52:14 +0200] [Job 174] Processing page 1...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [31/Mar/2019:12:52:14 +0200] [Job 174] PAGE: 1 1
D [31/Mar/2019:12:52:14 +0200] [Job 174] Printing iCurrentPage 1, 0% complete...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Set job-printer-state-message to "Printing iCurrentPage 1, 0% complete...", current level=INFO
D [31/Mar/2019:12:52:14 +0200] [Job 174] Sent 0 bytes...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Processing page 2...
D [31/Mar/2019:12:52:14 +0200] [Job 174] Set job-printer-state-message to "Processing page 2...", current level=INFO
D [31/Mar/2019:12:52:14 +0200] [Job 174] PID 3957 (/usr/lib/cups/filter/rastertozj) crashed on signal 11.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Hint: Try setting the LogLevel to "debug" to find out more.
D [31/Mar/2019:12:52:14 +0200] [Job 174] Rendering completed
D [31/Mar/2019:12:52:14 +0200] [Job 174] PID 3956 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [31/Mar/2019:12:52:14 +0200] [Job 174] PID 3958 (/usr/lib/cups/backend/usb) exited with no errors.
D [31/Mar/2019:12:52:14 +0200] [Job 174] End of messages
D [31/Mar/2019:12:52:14 +0200] [Job 174] printer-state=3(idle)
D [31/Mar/2019:12:52:14 +0200] [Job 174] printer-state-message="Rendering completed"
D [31/Mar/2019:12:52:14 +0200] [Job 174] printer-state-reasons=none

Downgrading to https://github.com/klirichek/zj-58/commit/131d1d8b91a662cfa724647695f6a120d1466823 fixes the problem so I assume that this an issue with the latest version and not my configuration (but I may have missed something).
Thanks.

Do 'dmesg' shows any backtraces?
Also you may try to build debug version (switch to 'debug' when configuring with cmake),
and then report details /tmp/raster... file

Also, ensure you've updated PPD also when upgrade.
(simple 'make install' will write new filter, and even copy PPDs to system catalog; however inside the system printer still uses previous (cached) PPD, so you need to explicitly re-select it in options of the printer)

I encountered a similar problem but something strange.
I have 2 exact printers connected by network (different ip) to the same ubuntu server.
One have no problem printing, while the other keep giving a signal 11 on rastertozj like above.
dmesg return the following
rastertozj[5445]: segfault at 55774ff24000 ip 000055774f9435dd sp 00007fff2c5c7df0 error 4 in rastertozj[55774f943000+2000]


[Carbon X] Unused required prop iconDescription in NumberInput

Detailed description
The Carbon X version of the NumberInput no longer uses the required prop iconDescription.
See this block where the icons are generated: https://github.com/IBM/carbon-components-react/blob/master/src/components/NumberInput/NumberInput.js#L276

I'm not sure if the intention is the ultimately deprecate iconDescription, but I went ahead and opened a PR to use this prop in the Carbon X version of the NumberInput. Let me know if you meant to deprecate or take an alternative path 👍


update the page

update the page

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

ID: 8cd0d0a1-65c0-ec3f-ab56-ef68f9f819a0
Version Independent ID: 9a0d1414-0cf7-e17d-ca40-5a9cc0ea369e
Content: Set environment variables in container instance - Azure Container Instances
Content Source: articles/container-instances/container-instances-environment-variables.md
Service: container-instances
GitHub Login: @tomvcassidy
Microsoft Alias: tomcassidy

@GabrielKKKJJ
Could you please elaborate the query for better understanding what need to be updated in the document. So, we can assist you further.


Need upgradation to V2 Embedding

Is your feature request related to a problem? Please describe.
The plugin flutter_web_auth uses a deprecated version of the Android embedding.
Describe the solution you'd like
Migrating to V2 embedding.
Are you working on this? (Yes/No)
No

This is due to the package flutter_web_auth and not caused by our mobile app. I will keep this opened, if there is a newer version of this package available then that might fix this issue.

@manjotsidhu  This is already fixed in #201


ERROR: No matching distribution found for streamlit-nested-layout

ERROR: Could not find a version that satisfies the requirement streamlit-nested-layout (from versions: none)
ERROR: No matching distribution found for streamlit-nested-layout

What is your Python version? With version 3.7.9 it works.

Please reopen if you can provide further information.


Realtime GI running the voxelization on the GPU

Right now the voxelization algorithm operates on the CPU and the resulting texture is upload to the GPU.
This makes it fast on low-end GPUs because the texture is only updated if light source changes (involving a transfer between GPU and CPU).
What I'm proposing is to implement a voxelization algorithm on the GPU. It is actually simpler to do so than to do that on the CPU and there is no need to transfer the new 3D texture each time something changes. This would allow for the texture to be updated each frame reflecting the changes in the scene. This has few advantages:

Not only changing light sources but also moving objects will cast shadows and reflections consistently and without latency.
It will allow to only voxelize a section of the scene around the camera, so there will be no need of a huge 3d texture for big scenes (Multiple layers of voxelization could be used, thus having a smaller cube around the camera where the detailed voxelization happen and a bigger one with a more coarse voxelization)
It will run faster even in the editor.

Here is a paper on voxelization. It's based on DIrectx but GLES3 supports all the required functionalities:
https://developer.nvidia.com/content/basics-gpu-voxelization
(as you can see from the paper the algorithm is really simple)
Here is a 3D engine that uses this technology:
https://youtu.be/siui7gLxcIQ
Thoughts?

@reduz has already planned for this! If you look on the roadmap it says "make GI probes real time" which will mean a move to the GPU. Personally I am really looking to having more than 1 bounce, as it will make voxel reflections on metallic surfaces look much better (currently you can really only see the illuminated surfaces only). It is also very hard to get enough light into indirect areas with only 1 bounce, and have to crank up other values to compensate.
https://github.com/godotengine/roadmap/blob/master/ROADMAP.md

Wow, 3D textures are amazing... I wonder how much memory they take.
Also the ability to make it dynamic around the viewer with LOD would allow really good-looking larger environments :) (thought maybe depending on the world, you would prefer higher resolution horizontally than vertically)

Voxelization in real time is still very costly, even for high end GPUs.
This is something that will have to improve in the future, but definitely
not a priority now. The next step (after 3.0) is doing the voxel lighting
in GPU… as well as adding anisotropy
On Sep 18, 2017 9:55 AM, "Marc"<EMAIL_ADDRESS>wrote:

Wow, 3D textures are amazing... I wonder how much memory they take.
Also the ability to make it dynamic around the viewer with LOD would allow
really good-looking larger environments :) (thought maybe depending on the
world, you would prefer higher resolution horizontally than vertically)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/11364#issuecomment-330210563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z26945Xu2rpJlOOLD4ibE_uV5MTbxks5sjmhNgaJpZM4PaOeK
.

Yeah that's pretty high-end^^ (voxels are future! :p)

The Armory dev is doing some very cool things with voxel tech in his engine. In addition to voxel GI he has AO, shadows and even refraction working with voxels. He also has temporal AA and signed distance fields shadows. We need to entice him over to help with Godot :)
http://forums.armory3d.org/t/build-12-is-out/424
https://github.com/armory3d/armory

The work done in Armory is great, but checking their code, its very high end oriented. Keep in mind Godot has to focus on on working and achieving the best quality possible in the low end.. so we cant just go all out implementing the most complex effects just for those with high en hardware.
Getting the best out of the quality/performace tradeoff is where the real challenge of making a renderer is..

Is the voxel AO or shadows viable for your vxgi solution? One of the main problems with the current GI I am having is strange occlusion-like dark patches on floors/wall and ceilings that are hard to hide. Can hide them to some extent using the 2 bias controls. Not sure if more than 1 bounce will solve the problem or not?
That is why I thought that having the vxgi calculate AO and shadows could potential be very useful. Though the voxel resolution might have to be crazy high to get a usably clean result.

I wonder how costly the voxelization of a cube around the player would be. The problem is that right now GI can't be easily applied to larger scenes. I'll try to compile that engine and see how it performs to have a better idea.

Work on this has started :slightly_smiling_face:
https://twitter.com/reduzio/status/1179355190555807745

Added in 4.0 so closing the issue. :)


Boolean properties are not being overridden

/kind bug

Which area this bug is related to?

/area api
What versions of software are you using?
N/A
Bug Summary
Describe the bug:

I have a main devfile that contains parent overrides but some properties (isDefault, hotReloadCapable) under the exec command do not get overridden.  Similar observation for the parallel property under the composite command.  I wonder if there's an issue with merging boolean properties
To Reproduce:

Main devfile:
Test_Parent1.yaml.zip

Parent devfile:
Parent1.yaml.zip

Expected behavior

properties should be overridden to false
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable.

Here is the result of the flattenedParent in debug mode:

Additional context

Any workaround?

Suggestion on how to fix the bug

I just ran a test that successfully overrode the boolean property MountSources under a container component.  The difference between that property and the others mentioned above is that it's a pointer to bool rather than just a bool itself.
https://github.com/devfile/api/blob/cde1b99bb1c2639b78a816347d55837c80a91cf1/pkg/apis/workspaces/v1alpha2/component_container.go#L58

This problem surfaces when trying to override a true value with a false value.  When a false value is set, it's evaluated as an empty value upon marshalling and subsequently omitted from the patch content since we are specifying the omitempty option on these properties.    We can fix it the same way MountSources was fixed from v1 to v2 by using boolean pointers but it will change the way clients access these values if they are relying on them.
Affected properties are:
Commands

apply/group/isDefault
composite/parallel
exec/hotReloadCapable

Components

container/dedicatedPod
[container, kubernetes, openshift]/endpoints/secure
volume/ephemeral

@kadel @amisevsk, do you know if odo, che, and devworkspaces will be impacted by these proposed changes?

DWO would probably be impacted but it's a transparent change to the end-user so I'm fine with doing necessary updates when we bump our dependency.

odo will be in the same situation as DWO. When odo updates to this it will require a few changes, but it will be all straight forward I don't expect any big issues on odo side with this.

any thoughts on this approach?

I think a getter method is the wrong approach, as we almost never see this sort of thing in Go. From a k8s API perspective, there are already multiple places where dealing with pointers to base types are used -- it's just the tedium that comes with how serialization is implemented in Go. I can understand however that it's more of a problem for odo, etc., where the k8s api doesn't fill defaults during processing.
Would dropping omitempty from the json tag be a valid workaround?

@amisevsk, Effective Go explains that getters can be used when necessary, but we should be looking to implement them for private fields.   I did look into removing omitempty on straight booleans but that broke the parent override scenario where an unset, default value of false could override a parent value.  I believe overrides were intended to operate on explicitly set values so this would not work.

The K8s implementation for setting default values is to use defaulting functions which get called during deserialization (ref: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api_changes.md#edit-defaultsgo) This seems to be a pretty big change if we were to adopt something similar so at this point, maybe it's best to separate out the two issues and just fix the override bug that was originally reported.  We can track the setting of default values in a separate issue so we can continue to mull over it.

I need to make corresponding changes to the library


env.py in tests folder

there have no gateway
you must add gateway in env

Thanks a lot for the feedback. We've updated all the tests and fixed the bug. There's no need for GATEWAY in env now.
Please pull the code and run the tests again, and check whether the problem is solved. Thanks.

Thank you.


idle data_dumper.dump_data

Hi I tried running the below code and gave it some time but it does not download any data.
`import os
import datetime
from binance_historical_data import BinanceDataDumper
os.getcwd()
data_dumper = BinanceDataDumper(
path_dir_where_to_dump= ".", # /data/binance
asset_class="spot",  # spot, um, cm
data_type="klines",  # aggTrades, klines, trades
data_frequency="1h"
)
print(data_dumper.get_list_all_trading_pairs())
data_dumper.dump_data()
data_dumper.dump_data(
tickers = ["BTCUSDT"] ,
date_start = None,
date_end = None,
# date_start=datetime.date(year=2022, month=1, day=1),
# date_end=datetime.date(year=2022, month=1, day=3),
is_to_update_existing=False

)`
console:
---> Found overall tickers: 2215
---> Filter to asked tickers: 1
------> Tickers left: 1
Download full data for 1 tickers:
---> Data Frequency: 1h
---> Start Date: 20170101
---> End Date: 20230514
Tickers:   0%|          | 0/1 [00:00<?, ?it/s]
monthly files to download:   0%|          | 0/69 [00:00<?, ?files/s]
running your tests/test_binance_historical_data.py gives the same results

Hi,
I've just run your code on my PC and it worked fine.
Could you please provide more info for me to test:
Which OS/python version are you using?
Are you located in the US? (Binance block access for US users)

i'm using python 3.8.16 on windows, not in the US. let me know if you need more details


docs: document config format

:tada: This PR is included in version 1.1.14 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update path to bootstrapping script

The Bootstrapping Krustlet documentation still points to the old script location within the docs folder (./docs/howto/assets/bootstrap.sh). Should be updated to point to (scripts/bootstrap.sh).

Good catch.
Here's the document that needs updating: https://github.com/krustlet/krustlet-docs/blob/main/content/howto/bootstrapping.md


[SQL Bindings] Delete progress notification not needed

Not intended for July release.
This PR addresses changes that were made in vscode-mssql PR.
Mainly adds progress notification when the user selects a connection profile via vscode-mssql.
Also, if the user uses Creates Connection Profile:

If it fails to connect then the user can cancel out of the error (shown below via x), then we prompt them the list of connection profiles (shown above) instead of canceling out of the entire flow.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 42.244%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
28178

Relevant Lines:
62338

💛  - Coveralls


tutorial.py error

Hello everyone,
it gave  the error below when I executed tutorial.py example.
PS C:\Program Files\carla\PythonAPI\examples> python tutorial.py
created vehicle.ford.crown
INFO:  Found the required file in cache!  Carla/Maps/TM/Town10HD_Opt.bin
created sensor.camera.depth
moved vehicle to Location(x=84.055626, y=-60.723831, z=0.398577)
created vehicle.micro.microlino
Traceback (most recent call last):
File "tutorial.py", line 90, in
camera.listen(lambda image: image.save_to_disk('_out/%06d.png' % image.frame, cc))
How can I fix it? Thanks in advance.

When I ran a Command Prompt as administrator, The error went away.

hello , do you fix it?


npm install error on 1.0.3

Failed at the<EMAIL_ADDRESS>postinstall script 'node install.js'
I am on OSX, using homebrew nvm:
❯ node --version
v7.9.0

Stack trace:
96335 verbose stack Exit status 1
96335 verbose stack     at EventEmitter.<anonymous> (.nvm/versions/node/v7.9.0/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
96335 verbose stack     at emitTwo (events.js:106:13)
96335 verbose stack     at EventEmitter.emit (events.js:194:7)
96335 verbose stack     at ChildProcess.<anonymous> (.nvm/versions/node/v7.9.0/lib/node_modules/npm/lib/utils/spawn.js:40:14)
96335 verbose stack     at emitTwo (events.js:106:13)
96335 verbose stack     at ChildProcess.emit (events.js:194:7)
96335 verbose stack     at maybeClose (internal/child_process.js:899:16)
96335 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Ok got to the root of this one. I recently tried to use react native cli upgrade option, and because our xcode project is named differently than the repo, it created a bunch of empty project files inside of the ios directory. Then when the postinstall script tried to figure out the project name, apparently these files misled react native's getProjectName function which lead to this error:
`Error: ENOENT: no such file or directory, open '/ios/wrong-project-name.xcodeproj/project.pbxproj'
Removing the dead files fixed everything.


[DOCS] - Update Instructions in Readme

With https://github.com/EddieHubCommunity/awesome-github-profiles/pull/782 having been merged, our instructions in the README.md file are now outdated.
The text needs to be updated to explain that instead of editing the data.json file, the new profile is added by creating a {username}.json file within profiles, replacing {username} with the author's username.

I will we working on this issue :)


Remove loud WinTab error message.

Huion's version seems to always return valid context, but some other version probably can fail if tablet is unplugged or incompatible driver installed.
Fixes #38533 (If is just printing unnecessary error. Presence of the trace in the issue, make me think it's crashing somehow, though I do not see why it could.).

Presence of the trace in the issue, make me think it's crashing somehow, though I do not see why it could.

I think @avencherus was simply including the trace from the debugger to help seeing where the error originates from, they didn't mention any crash.

Yes, just informational in case it saves you some time.

Thanks!

Cherry-picked for 3.2.2.


feat(blockchain): Get current block number

Required for cluster management

@idmitriev you need to sync with the target branch to fix tests. Also could you update the PR title to make it more descriptive - it will go to chagelog automatically. Maybe mention that you added a method to get current block number...


Adding helm3 command

Helm3 search in helm reposub-command unlike Helm2.
This PR is a

[ ] Feature Implementation
[ ] Bug Fix
[ * ] Documentation

What this PR does / why we need it:
This PR updates the documentation with helm3 sub-command.

/assign @mhbauer

/ok-to-test

/retest

/retest

/lgtm
/approve


Add release automation to update getting started guide

Issue #, if available:
Updating the version in the getting started guide is currently a manual step for every release. It would be nice to have automation to generate the PR so maintainers only have to approve and merge the pull request.
Description of changes:
This change adds release automation to open a pull request to update the release version in the getting started guide when a release is released.
Testing performed:
Pushed workflow to fork and created a release tag to show workflow opened a PR to update the getting started version.
Automated version PR - https://github.com/austinvazquez/soci-snapshotter/pull/29
Release used to trigger automation - https://github.com/austinvazquez/soci-snapshotter/releases/tag/v0.6.1-alpha.0
GitHub Action workflow run - https://github.com/austinvazquez/soci-snapshotter/actions/runs/9208357812
Mock workflow runs in pull request on changes to GitHub Actions workflow file.
Alternatives considered:

An approach which creates the PR once the release tag is pushed. i.e. the existing release workflow
a. The trade-off is the release artifacts will not yet be published. Although this is mitigated because the PR still requires manual approval and publishing a tag is a one-way door, to avoid confusion it would be good to only update the getting started version once the artifact is publicly available.

Limitations:

Similar to the existing update dependencies automation, the PR must be closed and reopened for workflow checks to run.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

IMO it wouldn't be a bad idea to also include automation to update third-party licenses in this workflow. This will get run on patch versions and patch versions can potentially have different versions which could potentially have different licenses. Definitely not likely at all but a possibility that could be a problem if not caught IMO.

@pendo324, @sondavidb, I have added an assertion which is ran on pull request to the workflow and docs/getting-started.md to validate the update behaves correctly. Please take a look and lmk your thoughts.

@sondavidb, apologies I was doing some permissions testing in another branch and somehow mixed up the changes in this branch. Added permission contents: write back to this PR.


What is the role of Sorcery in Multitenancy?

I'm sorry if this post doesn't belong here but it seems like something I should get clarification on here first.
It sounds like Sorcery doesn't support multi-tenant applications (please correct me if I'm wrong).
From my understanding, the purpose of a multi-tenant setup is to keep users from seeing each other's data.
Although I understand Sorcery is for authentication and that one would need another method for authorization which I understand to be the controlling of who can perform what actions on data, it doesn't seem to include who can or can't see the data, no?
Is anyone using Sorcery on a multi-tenant app?
If so, how?
I'm asking because I recently switched to Sorcery from Devise and the thought of having to switch back to get multi-tenant support is depressing. Devise is a great gem but just too much for what I need.
I had to use Railcast #388 to setup multitenancy because I found little else on the subject. When I was using it with subdomains, the data was being created with the correct account id but still users could see other user's data. But I removed the subdomains because my app doesn't need that feature. So now data is being created with only the first account id, no matter who is logged in. I'm not married to using this technique so any suggestions would be helpful.
To be honest, I don't think I understand why Sorcery would need anything special... When a user gets created it does get created with the correct account_id it needs to be associated with and the correct account number is displayed with current_user.account_id.  I don't get why this isn't working to help show only the data with that same account number....

Nevermind. I took a break, came back to it and was able to fix the issue.
Feel free to correct me but there wasn't anything special that needed to happen with the user model or sorcery.
This is what my code should look like to make this work.
def current_account
current_user.account
end
helper_method :current_account
def scope_current_account
Account.current_id = current_account
yield
ensure
Account.current_id = nil
end
Now users only see the data that matches their account ID. :)
I guess I'm still a little confused about why it was necessary to change the scope to use account_id when using Devise.

This is ok for the entire application EXCEPT if you add a feature to allow users to create new users so they can have more than one person managing their account.
Data is scoped for the whole application using this code in the models:
default_scope { where(account_id: Account.current_id) }
This doesn't work in the User model. So there is no way to use this method to scope user records. So basically users with different accounts can see each others user list. No bueno. :-1:
I have to put this feature on hold until I can figure out how to keep users from seeing each other's user list items.

Hi @ThreeWest
I have to admit I do not fully understand the problem. Can you tell me what is current_user.account? Does it return a number? Or an Account object?
If current_user.account returns an object, then the problem is the Account.current_id = current_user.account assignment. Because this line means that Account.current_id stores an object, not an id. Maybe if you change it to Account.current_id = current_user.account_id it will work?
On a side note: using a class variables to store current state is not the best practice. As long as you run your application with single-threaded server (like Unicorn) it should be fine, but if you switch to Puma or Passenger, it might cause you lots of trouble.
Is there a reason you want to use default_scope, instead of specifically providing user when fetching objects from database? (e.g. instead of Book.all with default_scope in Book class, just call current_user.books, or current_account.books)

I suspect current_user.account is an object since I expected current_user.account_id to work and it didn't. When I was watching the railscast he only briefly said we could use anything to find the account and then put current_user.account and it worked so I moved on.
I used current_account.users to fix the issue with user lists.
Thank you for mentioning best practices for class variables. I didn't end up doing that. My app is running on Passenger with no issues currently but if I run into issues this will be the first thing I look into.
Using default_scope is just a matter of preference (and I originally had it setup using subdomains). But if I run into issues, I can go that route. So far, the user thing is the only thing that is a challenge. For example users can't access my other models' records from other accounts just by guessing the ID. But although they can no longer see the user list of other accounts, they can still edit users from other accounts just by guessing the ID so I have to work on that now. If I could use default scope on that model like the others, I'd be set. :)


Parallel tests support

Introduces parallel test support (https://github.com/antoinemeyer/mock-in-bean/issues/4) (and fixes https://github.com/antoinemeyer/mock-in-bean/issues/12)
As of https://github.com/antoinemeyer/mock-in-bean/pull/11/commits/968e6e4cb9f3126f2ccd1f8e9328370908e9dbc6 (https://github.com/antoinemeyer/mock-in-bean/releases/tag/boot2-v2.0-RC), this branch is currently deployed on maven central under:
<dependency>
    <groupId>com.teketik</groupId>
    <artifactId>mock-in-bean</artifactId>
    <version>boot2-v2.0-RC</version>
    <scope>test</scope>
</dependency>

Will be merged to master (and deployed under version boot2-v2.0) after RC has been thoroughly tested.

replaced by https://github.com/antoinemeyer/mock-in-bean/pull/15


Using nindent to allow formatting helm with proper indentation

Our helm charts were formatted with non-standard indentation to allow the templating to result in the correct output
This is not ideal, as:

Tools expect certain indentation and when you go against this, they no longer help you and/or point out things as errors when they aren't
Makes it hard to read and understand the actual resulting indentation

Now we helm charts can be written with the same indentation that the resulting yaml will have, making it much easier to work with

Fixes #240


support executors in multiple AZ

Description
Support multiple profiles in the gitlab runner config (multiple [[runners]] sections), based on the subnets provided.
We required this because we saw our pipelines stalling due to unavailability of our preferred EC2 Spot machine type in our default availability zone. After extending the running confguration with more [[runners]] sections the launch failures were followed by successful launches in another availability zone.
Migrations required
YES - The value of var.subnet_id needs to be input (as a list) at var.executor_subnets to maintain backwards compatibilty.
Verification
(verification was based on a modified 4.18.0 release of the module, this exact PR is yet to be verified)
Documentation
Terraform inputs in the documentation were updated via terraform-docs.

@martin-paulus Sorry, have to open a discussion here:
@npalm Is it really useful that an agent in AZ A handles executors in different AZ? Due to stability you deploy the module at least twice, choosing different AZs for the agent. So the problem described in this PR would be solved and no change is needed.
Having multiple [[runners]] sections is indeed useful to spawn different machine types. See #249
There was also a short discussion in #322
I tend to close this PR. It seems to be better to deploy the module in different AZs for a better stability. The queue time of the pipeline will also drop and it reacts faster.

@npalm What do you think about my comment from Jan 19th?


mix-release: add rebar dependency

Motivation for this change
mix-release does need the rebar dependency for some of the older mix dependencies.
Plausible has one of them
Things done

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

[ ] NixOS
[X] macOS
[ ] other Linux distributions

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126300 run on x86_64-darwin 1

2 packages built:

elixir_ls
plausible

I'm going to be a little brash with this PR and merge it, since I'm the one that broke plausible.


CORE-5076 - Changing plugin generation to use Jar file, fixing an issue with plug…

…ins failing to load on various linux distros

@chrisr3 @ronanbrowne - I would very much appreciate you input here as Gradle experts. Also it seem like we are duplicating some code here across plugins. Perhaps, it would make sense to refactor it into common area inside buildSrc - WDYT?

To be honest, I am thinking "I had no idea this module even existed before I saw this PR..."

You probably also want to exclude any module-info.class and META-INF/versions/*/module-info.class files from the "fat jar".

@benmcmahon100 - would you be able to review and approve this PR on behalf of @corda/blt ?


13435 sync error state

Closes #13435
Synchronization jobs where left as state = CREATED from the JSON API after they were enqueued and the state was only updated if the data_import job was successful.
Both things made impossible to resync a dataset that failed the first time.
Only CR (acceptance will be made in RT)

restest this please


Cannot Center Heading For One Specific Section Only

I'm on Asciidoctor PDF 2.3.4 using Asciidoctor 2.0.17
I've checked through documentation and can't seem to find how to center the heading on one section only. My default theme is to align headers left (which is good for most of my document but not this one page).
What I'm trying to do is center the heading for this one section only:
[.text-center]
== This Heading Wont Be Centered

[.text-center]
But this Text Will Be Centered

How do I center my heading Text? I don't care if its a lack-luster method of centering it. Perhaps is there a way for me to escape spaces in the title heading so I can shift the heading to the center using spaces?

Ok I found out I could use {nbsp} to add spaces. But would be nice if I didnt have to rely on this.

Actually that doesn't work. It throws off the table of contents

It's not possible to center a single section title.
The way you are using {nbsp} is strongly discouraged here, for reasons you are observing.

I'll close this then. Thanks. Might be a nice feature to add!


Hello, How to play local m3u8 video on iPhone？

Bug
IPhone can't read local m3u8 video
`<Video
                ref={ref => this.video = ref}
                muted={false} //控制音频是否静音
                repeat={false} //确定在到达结尾时是否重复播放视频。
                onEnd={this._onEnd} //视频播放结束时的回调函数
                paused={this.state.paused} //暂停
                rate={rate[this.state.rateIndex]}//播放速率
                repeat={false}
                playInBackground={false}
                allowsExternalPlayback={false}
                ignoreSilentSwitch={'ignore'}
                onSeek={this._onSeek}
                onProgress={this._onProgress} //视频播放过程中每个间隔进度单位调用的回调函数
                onBuffer={this._onBuffer} //远程视频缓冲时的回调
                onLoadStart={this._onLoadStart}
                onLoad={this._onLoad} //加载媒体并准备播放时调用的回调函数。
                onError={this._onError}               // 播放失败后的回调
                resizeMode="contain" //缩放模式
                controls={false}
                style={{ width: videoWidth, height: videoHeight, backgroundColor: 'black' }} //组件样式
                // source={url}
                source={{uri:'file:///var/mobile/Containers/Data/Application/864B4C59-A2AB-4C5E-BE75-3FE5ECC7B9E4/Library/ColaApp/20180706/17936_ff747f2d/index.m3u8', type: 'm3u8'}}
            >

`
Expected behaviour
How to play local m3u8 video on iPhone？
Platform

Which player are you experiencing the problem on:

iOS

Environment info
System:
OS: macOS 10.15.5
CPU: (4) x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory: 2.33 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 28, 29
Build Tools: 23.0.1, 28.0.3, 29.0.3
System Images: android-28 | Intel x86 Atom_64
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
npmPackages:
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
"react-native-video": "^5.1.0-alpha8",

@SemperChen i had the same issue, try removing the paused prop. I think there's a bug with that prop

@SemperChen i had the same issue, try removing the paused prop. I think there's a bug with that prop

Hello, can IOS play local m3u8 video？If not, is there a native solution？

@ignaciosantise  Hello, can IOS play local m3u8 video？If not, is there a native solution？

Hello @SemperChen , i think it should play them good, but i really dont know. The documentation says this in relation to local videos:
Note: Your app will need to request permission to read external storage if you're accessing a file outside your app.

iOS don't play local m3u8 videos. You should use mp4

@SemperChen i had the same issue, try removing the paused prop. I think there's a bug with that prop

Hi @ignaciosantise , have you really managed to play .m3u8 file from local on iOS? if so, do you mind sharing how was it done?


_datagrid_name should be uniqueId of component

Because  $.nette.ext('datagrid.reset-filter-by-column' works with name, but if component is under other component - link to reset column doesnt work.
For example, i have component test and grid under test component. link to reset filter is &do=test-grid-resetFilter, but name is only grid and nette.ext would change &do=grid-resetFilter
new_href = href.replace('do=' + payload._datagrid_name + '-resetFilter', 'do=' + payload._datagrid_name + '-resetColumnFilter');

I Agree, can you make a pull request? I do not know if owner maintains this library but this is easy fix.


KAFKA-15060: fix the ApiVersionManager interface

This PR expands the scope of ApiVersionManager a bit to include returning the current MetadataVersion and features that are in effect. This is useful in general because that information needs to be returned in an ApiVersionsResponse. It also allows us to fix the ApiVersionManager interface so that all subclasses implement all methods of the interface. Having subclasses that don't implement some methods is dangerous because they could cause exceptions at runtime in unexpected scenarios.
On the KRaft controller, we were previously performing a read operation in the QuorumController thread to get the current metadata version and features. With this PR, we now read a volatile variable maintained by a separate MetadataVersionContextPublisher object. This will improve performance and simplify the code. It should not change the guarantees we are providing; in both the old and new scenarios, we need to be robust against version skew scenarios during updates.

merged


Switch to GitHub Actions on CI

Switch from Travis to GitHub Actions on CI
Checks the extensions are correctly installed

Example run in this fork: https://github.com/jtpio/jupyter-renderers/pull/1/checks?check_run_id=2004151471

Thanks Jason for the review and improvements!
Would be nice to get this in so it can be used in https://github.com/jupyterlab/jupyter-renderers/pull/243 too.

If my last commit adding caching looks good to you, feel free to merge.

Would be happy to do so, but it looks like I don't have commit rights on this repo.

Would be happy to do so, but it looks like I don't have commit rights on this repo.

Fixed!


quick start example can not run in google colab

question
Can vllm run in google colab?
infomation
I tried V100 GPU and A100 GPU
> ! python --version
Python 3.10.12
> !nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

steps
I followed these two tutorial in google colab:
https://docs.vllm.ai/en/latest/getting_started/installation.html
follow cuda 11.8 section (default install vllm can not run neither):
# Install vLLM with CUDA 11.8.
# Replace `cp310` with your Python version (e.g., `cp38`, `cp39`, `cp311`).
!pip install https://github.com/vllm-project/vllm/releases/download/v0.2.2/vllm-0.2.2+cu118-cp310-cp310-manylinux1_x86_64.whl

# Re-install PyTorch with CUDA 11.8.
!pip uninstall torch -y
!pip install torch --upgrade --index-url https://download.pytorch.org/whl/cu118

follow https://docs.vllm.ai/en/latest/getting_started/quickstart.html
from vllm import LLM, SamplingParams
prompts = [
    "Hello, my name is",
    "The president of the United States is",
    "The capital of France is",
    "The future of AI is",
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
llm = LLM(model="facebook/opt-125m")

and get error:
INFO 11-29 06:07:20 llm_engine.py:72] Initializing an LLM engine with config: model='facebook/opt-125m', tokenizer='facebook/opt-125m', tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, quantization=None, seed=0)
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
[<ipython-input-12-a002d8a4aee2>](https://localhost:8080/#) in <cell line: 9>()
      7 ]
      8 sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
----> 9 llm = LLM(model="facebook/opt-125m")

29 frames
[/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/dispatch.py](https://localhost:8080/#) in _run_priority_list(name, priority_list, inp)
     61             return op
     62         not_supported_reasons.append(not_supported)
---> 63
     64     # Let's write a nice message explaining what we tried and why it's not supported
     65     msg = f"""No operator found for `{name}` with inputs:

NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 2048, 12, 64) (torch.float16)
     key         : shape=(1, 2048, 12, 64) (torch.float16)
     value       : shape=(1, 2048, 12, 64) (torch.float16)
     attn_bias   : <class 'xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask'>
     p           : 0.0
`decoderF` is not supported because:
    xFormers wasn't build with CUDA support
    attn_bias type is <class 'xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask'>
    operator wasn't built - see `python -m xformers.info` for more info
<EMAIL_ADDRESS>is not supported because:
    xFormers wasn't build with CUDA support
    requires device with capability > (8, 0) but your GPU has capability (7, 0) (too old)
    operator wasn't built - see `python -m xformers.info` for more info
`tritonflashattF` is not supported because:
    xFormers wasn't build with CUDA support
    requires device with capability > (8, 0) but your GPU has capability (7, 0) (too old)
    attn_bias type is <class 'xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask'>
    operator wasn't built - see `python -m xformers.info` for more info
    triton is not available
    requires GPU with sm80 minimum compute capacity, e.g., A100/H100/L4
    Only work on pre-MLIR triton for now
`cutlassF` is not supported because:
    xFormers wasn't build with CUDA support
    operator wasn't built - see `python -m xformers.info` for more info
`smallkF` is not supported because:
    max(query.shape[-1] != value.shape[-1]) > 32
    xFormers wasn't build with CUDA support
    dtype=torch.float16 (supported: {torch.float32})
    attn_bias type is <class 'xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask'>
    has custom scale
    operator wasn't built - see `python -m xformers.info` for more info
    unsupported embed per head: 64

any comment?


fix: Syslog Agent HTTPS drains reuse and release fasthttp requests and responses where appropriate

Syslog Agent uses fasthttp under the hood for HTTPS drains. When making HTTPS requests to drains to send syslog messages we use AcquireRequest and AcquireResponse, which we can reuse and eventually release.
Hopefully this change has a positive improvement on the performance of HTTPS drains.

I want to run some manual tests on this before merging.

I did some testing on this with my current setup, and I was not able to see noticeable performance gains by this approach.
This is probably due to the throughput with single log shipment per request being solely bounded by network speed.
Also, due to the inherent implementation constraints of this being only able to be run on one cpu,
I unfortunately do not see much improvements with reusing connections.


ci: include debug symbols for codspeed profiling

This is a repeat of #3758, but I think this time I've actually set the configuration in the right place. In the previous PR, I tried to configure the bench profile, but I think codspeed actually uses the release profile, both in pyo3-benches and in pytests.
Let's see if this looks any better...

Hmm, the flamegraphs look no different. I'll ask the codspeed folks.

I believe the outcome from discussion with @art049 was that the symbols are (already?) working correctly but they are still working on showing inlined function calls in the flamegraphs, which is why a lot appears to be missing. Will close for now.


Get UI Mocks: Main body

List-like div with latest published posts

Title
Extract
Author
Published date time

Navigation to previous posts

@YuryDG can you take a look at this ticket?
I think this is implemented, but I'm not sure if it can be closed.
If you feel this is done, can you update its status?


[pilot] Adding build version to pilot metrics

What this PR does / why we need it:
Which issue this PR fixes
Special notes for your reviewer:
Release note:

@nmittler: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
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.

/release-note-none
/lgtm
/approve


Add user accounts for GOV.UK penetration test

These accounts can be removed at the end of the week.

SSH keys aren't strong enough for our spec tests.

:| OK, let's get new keys from them when they get here.


Changed module visibility in optim package

Although implemented, the ModelParamTraversal and DynamicScale were not accessible via an import statement of the form from flax.optim import DynamicScale, for example. This PR adds the aforementioned modules to the __all__ list in optim's __init__.py source.

Codecov Report

Merging #347 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #347   +/-   ##
=======================================
  Coverage   79.04%   79.04%
=======================================
  Files          34       34
  Lines        2248     2248
=======================================
  Hits         1777     1777
  Misses        471      471

Impacted Files
Coverage Δ

flax/optim/__init__.py
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7fcc7f6...e7dbb82. Read the comment docs.

Wow. TIL somthing.


tools/refresh.sh: Add option to refresh  custom board

Summary
This patch modify the script to update only the boards configs of an specific chip or only the boards of an specific architecture.
Examples:
refresh.sh add custom board verify
custom board:
./tools/refresh.sh --silent /xxx/xxx/configs/ap
./tools/refresh.sh --silent ../../xxx/configs/ap

Impact
refresh.sh
Testing
ci

let's ignore the temp ci failure to merge this simple change.


Ability to invite others to my organization and projects

Proposal
The ability to invite others to my org/project is useful for collaboration.
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Yes

I think you'll need to create an organization for this purpose.
Post that you can give granular level access to collaborators and maintainers.

@pallasite99 We already have an organization concept. It's currently invisible to users, but when you sign up, you automatically get an org created for you.

Implemented in #83, will be released in v0.3.0 very soon.

Implemented in #83, will be released in v0.3.0 very soon.

Oh you meant doing this through code.


Release v2.0.3

We're currently processing your upload.  This comment will be updated when the results are available.


Enhance NICFI planet type controller once we see the pattern of monthly vs historic layers.

opt 1 - If we're going to see monthly imagery reappear at some point anyway, it may be less jarring for our users to just keep the year and month sliders as they are on the Collection page. Then you could make a lookup table that maps [year month] pairs to their corresponding range string for the URL.

opt 2 - hard code those archive date range layers and keep a monthly input field for current layres.

See https://assets.planet.com/docs/NICFI_UserGuidesFAQ.pdf page 2.

https://api.planet.com/basemaps/v1/mosaics?api_key=


Restrict minted macaroons

Right now macaroon path caveats are just a root wildcard (see here). Ideally, the SLA info that is passed to the arbiter by the CM should be encoded here instead.
Similarly, currently macaroons last forever, and should instead have a caveat that enforces an expiry timestamp.

As alluded to in #12, since #9,  the caveat is now called routes and the above is done here.


Add monthChanged Event

Hi there 👋
For my personal project I am in desperate need of an indication for month and year changes.

Fire a monthChanged event whenever month or year has changed.
Emit { month, year } as event details

Thanks. Much appreciated. It's published as v0.3.0.
I made some minor changes:

renamed the event to changeMonth to be consistent with other present tense event names
made the month value run from 1 to 12 (instead of 0 to 11) for consistency reasons
added the event description to the docs page


There are more than 100  crashes like " no output from test machine " when I run the syzkaller test

Hi, There are more than 100  crashes like " no output from test machine " when I run the syzkaller test, is this normal?
And I read this:https://github.com/google/syzkaller/blob/0349e2fb7a33d76a6c1616011ad099a056d5d214/docs/internals.md
Someone know  about this?

Per se this is normal and means that the test machine hangs and produces no output.


The get_extents method of plotting classes could supplied as a utility

As discussed with Philipp, the get_extents methods of the SpreadPlot and similar uses of get_extents could be moved to plotting.util. The code here is not specific to the Bokeh backend in any way and we hope to avoid duplicating code between backends as much as possible.
Such a refactor could simplify the implementation of both the matplotlib and the bokeh backends.

Turns out that particular get_extents method wasn't needed. However possibly there are a few get_extents in the matplotlib implementation that should be factored out. I'll leave the issue open but it shouldn't hold up the bokeh merge.

Closing in favor of https://github.com/ioam/holoviews/issues/1917.