Can't display Gadfly images

I can't seem to get Gadfly graphs to render within the markdown document. I've tried passing the plot to outside the function, and several different ways to display. The image displays fine in atom\Juno and when I save it to a file.
julia> weave("JuliaSoln.md", informat="markdown", out_path=:pwd, doctype="md2html")
[ Info: Weaving chunk 1 from line 30
ERROR: MethodError: no method matching show(::Base.GenericIOBuffer{Array{UInt8,1}}, ::MIME{Symbol("image/svg+xml")}, ::Array{UInt8,1})
Closest candidates are:
  show(::IO, ::MIME{Symbol("text/plain")}, ::AbstractArray) at arrayshow.jl:316
  show(::IO, ::MIME{Symbol("text/plain")}, ::Any) at sysimg.jl:194
  show(::IO, ::MIME{Symbol("text/csv")}, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\DelimitedFiles\src\DelimitedFiles.jl:828
  ...
Stacktrace:
 [1] __binrepr(::MIME{Symbol("image/svg+xml")}, ::Array{UInt8,1}, ::Nothing) at .\multimedia.jl:127
 [2] _textrepr(::MIME{Symbol("image/svg+xml")}, ::Array{UInt8,1}, ::Nothing) at .\multimedia.jl:119
 [3] #stringmime#6(::Nothing, ::Function, ::MIME{Symbol("image/svg+xml")}, ::Array{UInt8,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Base64\src\Base64.jl:38
 [4] stringmime(::MIME{Symbol("image/svg+xml")}, ::Array{UInt8,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Base64\src\Base64.jl:38
 [5] img2base64(::String, ::String) at C:\Users\...\.julia\packages\Weave\1O5IK\src\run.jl:158
 [6] (::getfield(Weave, Symbol("##24#25")){String})(::String) at .\none:0
 [7] collect(::Base.Generator{Array{AbstractString,1},getfield(Weave, Symbol("##24#25")){String}}) at .\generator.jl:47
 [8] embed_figures(::Array{Weave.CodeChunk,1}, ::String) at C:\Users\...\.julia\packages\Weave\1O5IK\src\run.jl:144
 [9] run_chunk(::Weave.CodeChunk, ::Weave.Report, ::Module) at C:\Users\...\.julia\packages\Weave\1O5IK\src\run.jl:131
 [10] #run#21(::String, ::Symbol, ::Symbol, ::Dict{Any,Any}, ::String, ::Nothing, ::String, ::Symbol, ::Bool, ::typeof(run), ::Weave.WeaveDoc) at C:\Users\...\.julia\packages\Weave\1O5IK\src\run.jl:94
 [11] #run at .\none:0 [inlined]
 [12] #weave#10(::String, ::String, ::Symbol, ::Dict{Any,Any}, ::Symbol, ::String, ::Nothing, ::String, ::Symbol, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Array{String,1}, ::String, ::typeof(weave), ::String) at C:\Users\...\.julia\packages\Weave\1O5IK\src\Weave.jl:107
 [13] (::getfield(Weave, Symbol("#kw##weave")))(::NamedTuple{(:informat, :out_path, :doctype),Tuple{String,Symbol,String}}, ::typeof(weave), ::String) at .\none:0
 [14] top-level scope at none:0

I haven't had time to reproduce this, but I vaguely remember this happening. I'm not sure why this would be happening. Do you have your using Gadfly statement and plot statement inside the same code block?

I just tested this myself (Julia 1.1 on Windows 10) and the PR works for me without any errors. So I don't have the same problem that @clintonTE has.

I have merged #163 after testing it on Linux as well (no problems for me on Ubuntu either). Thanks for the effort @tlnagy !  I will leave this issue open to track @clintonTE's problem. It would be could to know whether it's a problem with Weave or Gadfly.

Cool, thanks @mpastell  and @tlnagy! @tlnagy , the using Gadfly is in the same code block as plot. Also, the plot is wrapped in a function, if that affects anything.

I am also being unable to display Gadfly images. It runs, it shows the plot but it does not put it on the html.

Can you paste a MWE here?

I don't know what you are meaning by a MWE but here is my "code":
hw2.jmd:
```julia; echo = false
using Gadfly
```

TEXT

```julia;
plot(y = rand(100))
```

I run on julia:
weave("hw2.jmd", out_path=:pwd)
The command run without errors, display me the plot as if I had just written the plot command on the julia REPL, but there is no image in the HTML.
This is the HTML code for where the plot should be:

plot(y = rand(100))

I don't have any experience using julia's Weave so it might as well be my fault. Am I missing something?

Still same issue after 1 year. Gadfly version 1.3.1, Weave version 0.10.6, Julia version 1.5.2 on Win10.


Attach public headers task dependencies to outgoing API elements

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle merge

I've triggered a build for you. Click here to see all failures if there's any.


Example related to GRPC Streaming Service for TAP Output Sink

Issue Template
Title: Example related to GRPC Streaming Service for TAP Output Sink
Description:

Currently i am looking to use tap filter with GRPC Service as output sink, you have an updated document (or) an example to share, I dont find docs supporting GRPC Service as output sink, I am able to find only File | Adminservice.

This is not supported yet. See https://github.com/envoyproxy/envoy/issues/6110.


Adds data updater script for daily automatic updates.

Partially fixes #37.
One known problem is if the <date>.0 tag already exists.
I currently scheduled to run this script every day at 13:00 (the INSPQ data is updated around noon, for Santé Montreal I am still waiting to see when they actually update their website, looks like the next time will be Monday).

INSPQ will not update from Dec 25th to 27th, so the next update will also be on Monday

Nice! Thanks for adding the version tag part.

Also changed how $YESTERDAY was defined because it wasn't working on my mac (maybe a different version of bash?)

Yeah, there seems to be a difference between date on Mac and date on Linux. Since I run it on my Raspberry Pi (based on Debian) I used the compatible command for that.
I added an if/else block to support both.

Sounds good! Did you use the script for the 4e861f637126fa88ca42f4be2b524d8e3063cd76 update? It seems like no tag was added so I was wondering if it worked ok.

That was by accident. I wanted to look at it before pushing but I accidentally only commented out the git push --tags and not the first push as well.
So it seems to work. One thing I noticed in that commit though (unfortunately even though QC released data for the weekend, it was only available on quebec.ca not from INSPQ) is that the change in data_mtl_death_loc.csv includes the same numbers from the previous day (Dec 23) because it wasn't updated. There are actually quite a few rows in this CSV where the numbers did not change from one day to the next. Do you think that should be detected and replaced with 'na'?

Worked well this afternoon at 13:00. INSPQ and Sante Montreal had their data updated at that time (usually around noon, I added a safety buffer). I added functions to check the data date (https://github.com/jeremymoreau/covid19mtl/tree/determine-data-date) which we could use to ensure new data is shown. To handle INSPQ and Sante Mtl differently it would require some work though.

Sounds good to me! Yes, I agree that it'd probably be best to add NAs when the data don't change, but it's probably not terrible to leave it as is for now (also how would we know when the case numbers actually do not change later on when daily counts have slowed down?). Feel free to merge this if you think it's ready.

Thanks! True, I started preparing something to determine the actual date of the data (see #34).


Nullable Foreign Keys for Columns in one table which is being used to map Many to Many relationship between rows of another table.

ManyToManyOnSameTable.zip
Steps to reproduce

Download and Unzip the solution attached with the issue.
Provide the correct connection string for database connectivity to SQL Server 2016 in the appsettings.json file.
Execute the solution and verify the schema created in the database.
Firms table in the database would be storing the Id's of the firms.
FirmsContentShare table in the database would be used to store many to many relationship of rows in Firms Table.
The columns SourceFirmId and TargetFirmId created in FirmsContentShare would store Firms.Id value and thus would be Foreign Keys to Firms.Id column.

The issue
SourceFirmId and TargetFirmId columns are nullable which seems wrong. Ideally they should be Not Null to maintain referential integrity of the data and their mapping to Firms.Id column.
I am not sure whether there is an oversight at my part and would like to know if there exists a way in Entity Framework to achieve that.
Further technical details
EF Core version: 1.0.1
Operating system: Windows 10
Visual Studio version: VS 2015
Other details about my project setup:

The columns are nullable because the foreign key properties in the entity class are nullable. If you want the relationship to be required, then just change the properties to be non-nullable (i.e. Guid instead of Guid?.
    public class FirmContentShare
    {
        ...
        public Guid? SourceFirmId { get; set; }
        ...
        public Guid? TargetFirmId { get; set; }
        ...
    }


a numpy import is highlighted with a yellow squiggly, I suppose this may be a bug

VSCode is using pylance as part of the python extension pack. I import numpy which is already installed, but numpy is highlighted in yellow squiggly. The message is : Import "numpy" could not be resolved pylance(reportMissingImports). This would make sense to me if numpy is not installed, but it is and the program works well, I just do not like seeing the squiggly if there is no error. Is this a bug with pylance or could there still be some missing configurations to be made? I know about reportMissingImports value, but I still want to leave it at that, in case I manage to make an invalid import one time.

Can you include the output of pylance as described here?
https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue
Thanks.

Closing old issue. If this is still a problem, please reopen with the information requested. thanks


Get service bus sender client by name regardless of type (queue/topic)

Is your feature request related to a problem? Please describe.
I would like a way to send messages to an Azure Service Bus entity without needing to know in advance if the entity is a topic or a queue. Currently, the only way to send a message is by first creating a ServiceBusClient and using its .get_queue_sender or .get_topic_sender method to get a ServiceBusSender instance and then using its .send_messages method.
Having to know the type in advance limits the usefulness of the message ReplyTo property for a request-response pattern where some of the responses need to be delivered to a queue while others need to be delivered to a topic.
Describe the solution you'd like
Merge the .get_queue_sender and .get_topic_sender methods into a .get_sender method that takes a shared queue_or_topic_name: string parameter, instead of having separate methods or parameters queue_name: string and topic_name: string. As far as I can tell from the docs, this is exactly what the Service Bus .NET SDK does with the ServiceBusClient.CreateSender(string queueOrTopicName) method.
Describe alternatives you've considered
Two potential solutions that would work with the current SDK:

Encode the entity type in the ReplyTo property. Instead of a ReplyTo = 'response', set the value to 'queue/response' or 'topic/response'
Try to use .get_queue_sender to send the reply first. If this throws an error, retry with .get_topic_sender.

Both should work but seem like workarounds and should not be necessary given that the .NET API does not have these limitations

@ietz apologies for the delay on this one. The reason for the split is not entirely clear and perhaps lost to time ( with team changes etc etc )
With that said I was looking at our code to see if a nicer workaround would be available in your case and there is - with the way urls and the service structures entities you can pass in a queue name or a topic name into the sender ( either topic sender or queue sender ) and it will work.
I tested this with a sample - typed in my topic name in to get_queue_sender and the messages landed in the topic and showed up in my subscription. Tried it the other way and the messages showed up in my queue.
We will look in to potentially adding an overload in the future but given how long these APIs have been around might need some further thinking.
In the mean time hopefully this workaround works.


"ng new new-project" failed (node 10, npm 6, ...)

Versions
AngularCLI 1.7.4
Node 10.0.0
OS: Ubuntu Linux 18.04 LTS
NPM: 6.0.0
Repro steps

type command "ng new new-project"

Observed behavior

npm WARN deprecated<EMAIL_ADDRESS>All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated<EMAIL_ADDRESS>This project is unmaintained
npm WARN deprecated<EMAIL_ADDRESS>If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>This project is unmaintained
npm WARN deprecated<EMAIL_ADDRESS>If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/douby/.npm/_logs/2018-05-03T19_57_56_063Z-debug.log
Error: Package install failed, see above.
Package install failed, see above.

Mention any other details that might be useful (optional)
node js installed this way:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

@ge0rgecz It seems that this is a problem with npm. See this issue https://github.com/npm/npm/issues/19989


Update to use new repository name

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

It might be better to rename here as well.
https://github.com/pipe-cd/pipecd/blob/master/NOTICE.txt#L1

@knanao Nice catch! Let me fix it.

/cla

/cla sign

/rebase

/lgtm

Let me merge this to fix broken links in our docs.
/approve


a lot of our workaround don't apply when using ANGLE

hi，can you tell me how to run filament in the ANGLE context? I have another sdk which can only run in ANGLE, so if i want to the sdk communicated with the filament, I also need filament running in ANGLE too.


JsRT Debugging: Port 2 commits from master to release/1.3

During evaluate resolvedObject scriptcontext should be the frame scriptcontext<PHONE_NUMBER>f24b03dc3b3e01bbb49919b3faac85
Fix a memory leak in JsRT debugging where we were not deleting weak ref of locals display 8b0df4d8df7d09699b95dacfdfce82f793c3e664

@akroshg please take a look

@dotnet-bot
test Ubuntu ubuntu_linux_test

@dotnet-bot test Ubuntu ubuntu_linux_test_static please

LGTM


Using interface networks in alias editor

Is your feature request related to a problem? Please describe.
In IPv4 I can block connections from for example DMZ to all other "inside" networks by using an alias containing <IP_ADDRESS>/8, <IP_ADDRESS>/16 and <IP_ADDRESS>/16. In IPv6 this won't work as all hosts have dynamic global IPs.
Describe the solution you'd like
It would be nice of the alias editor would allow to add the interface networks used in the firewall editor such as "LAN net". This way I could just build an alias containing all the networks I want to protect.
Describe alternatives you've considered
Right now I have to add multiple firewall rules to get what I want.

I'm not sure that's a good idea, given how it is implemented. People will expect the alias to follow the interface address instantly, but since the underlaying tables won't support such a feature there will always be a risk of lagging behind.
Our aliases uses pf tables, which are detached from the firewall rule configuration, which has the advantage of being more robust for alias configuration issues and synchronisation issues (firewall load never has to wait for the aliases to be populated).
E.g. this adds the current addresses of an interface, but after the fact, won't know that it did.
pfctl -t myalias -T add em0:network

For static assignments, it would already be quite easy to add the alias, there's no real gain of adding interfaces in that case.
I can think of an option how this might work (always generate alias tables for all interfaces in the filter and reserve those for alias usage), but given the effort needed to do this, I'm not to enthusiastic at the moment.

timeout (https://github.com/opnsense/core/blob/master/CONTRIBUTING.md)


Is there any possibility that control Babylonjs by using Jupyter cell?

Hi, this work is very inspirational. I want ask a question that if there is any possible that control the widget by using Jupyter cell? For example, may I use obj.camera.retate(30, 0, 0) to make the camera in Babylonjs rotate?

Thanks for your kind help!


Redirect slashless static sites to the slashful version

slash slash slashes slash slash
Fixes https://github.com/2i2c-org/infrastructure/issues/1517

I love writing nginx config! Been so long...

fun fact - https://github.com/yuvipanda/jupyterhub-nginx-chp was one of my first JupyterHub projects, that was dynamically doing nginx config as a replacement for configurable-http-proxy


[e2e] - Increased coverage on homepage (indexui)

Notes for Reviewers
This PR fixes #12448
Tests

Verified that these items are now visible on the homepage
[x] Dashboard
[x] Lifecycle
[x] Configuration
[x] Performance
[x] Extensions

All Tests are passing without any problem.
Implementation
The test cases are made in this file
Screenshots
Proof of tests

Signed commits

[x] Yes, I signed my commits.

Overall, looks good. One suggestion for your consideration. Also probably a bigger question for th team - what are the principles we are using playwright for? The appearance of items seem to fall more into a unit tests vs e2e.

@leecalcote @jerensl

I’ll resume my work on 20th Dec after my exams and aim to complete this PR by 27th Dec. Thanks for your patience!

My Exams are almost Finished and now i have completed this PR. Thanks for you Patience ! 😃


[sse3] Leverage _mm_lddqu_si128 for unaligned load

_mm_lddqu_si128 may perform better than _mm_loadu_si128 for unaligned load.
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_lddqu&expand=4195,4195
In an simd program I'm doing. Performance drops from 6.33GB/s to 5.88GB/s when replacing _mm_lddqu_si128 with _mm_loadu_si128.

Will create PR to enable _mm_lddqu_si128 to sse3 and above architecture.


Update Logout module for Hub user/Partner.

When logging out with a Hub user/Partner, the entire website refreshes. It should smoothly redirect, similar to other users' experiences.

ok


Module import error with all-auth latest version

File "/home/fotoley-anup/blog-project/blogzine/venv/lib/python3.10/site-packages/dj_rest_auth/registration/urls.py", line 4, in
from .views import RegisterView, VerifyEmailView, ResendEmailVerificationView
File "/home/fotoley-anup/blog-project/blogzine/venv/lib/python3.10/site-packages/dj_rest_auth/registration/views.py", line 21, in
from dj_rest_auth.registration.serializers import (
File "/home/fotoley-anup/blog-project/blogzine/venv/lib/python3.10/site-packages/dj_rest_auth/registration/serializers.py", line 20, in
raise ImportError('allauth needs to be added to INSTALLED_APPS.

Duplicate of #534


Unable to import http module angular2/http

I'm unable to import the http module in the project created using angular-cli.
import {Http} from 'angular2/http';
I'm seeing the below error in the console.
GET http://localhost:4200/angular2/http 404 (Not Found)
I checked the angular2 node modules and http.d.ts is available
node_modules/angular2/http.d.ts

Found the issue, I missed to add the http.dev.js in index.html

It is working fine now.


MD5 doesn't typecheck

When I try to build the package, this error message is displayed.  I am currently using Windows 8.
Type checking .\Data\Crypto\Hash\MD5.idr
.\Data\Crypto\Hash\MD5.idr:85:15:
   |
85 | shouldMatch_a : hashMessage dummyMD5 (map (intToBits {n=8}) [97]) = intToBits 0x0cc175b9c0f1b6a831c399e269772661
   |               ^
When checking type of Data.Crypto.Hash.MD5.shouldMatch_a:
Can't find implementation for Hash phTy b outputLength

I get that same error message on OS X. Apologies. I’ll dig into it tomorrow.

Ah, it’s the old “bound as an implicit” error.

The quick fix is to replace dummyMD5 with Data.Crypto.Hash.MD5.dummyMD5 in all of the shouldMatch types.
Or, just comment out the shouldMatch definitions, as they’re just the tests.
But I should have a proper PR tomorrow.

I replaced dummyMD5 with Data.Crypto.Hash.MD5.dummyMD5, but now it is stuck on "Type checking .\Data\Crypto\Hash\MD5.idr"

Are you still working on this?

Sorry – this is a trickier problem – there are a number of places in idris-crypto that have hit performance issues with Fin / Vect / etc. It’ll take some dedicated time to iron out, and I don’t have any at the moment.

Hello,
I tried to build the crypto package but no luck. What are the performance issues with Fin / Vect / etc. Is it solvable? Thanks.


is there anyway?

is there any way for importing passwords from the login security plugin to this plugin? because my server has 78 players registered and their passwords and accounts will get hacked if I change it to your plugin so anyways? pls make this at least fast

Hi, @Aadi-mone!
Unfortunately this converter is only available for nLogin for now, but I plan to add a conversion soon :)
nLogin: https://www.nickuc.com/repo/find?name=nLogin


ReflectResponse needs to support reflecting fields end with "_"

To avoid naming conflicts, thriftgo would add underscore for the fields that start with "New" and end with "Result", "Args".(Refer to https://www.cloudwego.io/zh/docs/kitex/faq/).
ReflectResponse needs to check this feature and make two fields that are only distinguished by an underscore map successfully.

After testing, I found that we could not solve this problem in ReflectResponse.
As for Kitex -> Dubbo,
If request struct contains NewXXX field, Dubbo side could not parse this field.
If response struct contains NewXXX field, dubbo-go-hessian2 could not parse this field.
If we do not modify the generated contents(add a flag in thriftgo to control whether adding underscore or not / reg operation in kitex cmd tool), we should fork dubbo-go-hessian2 and modify the field mapping.
cc @felix021

Could be solved by running kitex tool with -thrift compatible_names=false


(1.20-rc.1 1.5.0) OKM doesn't stop breaking Blocks.

Need a DEFAULT Block Break limit set on OKM when first installed. (Suggest either 8 or 16).
As it is, there is NO Default limit, which can be quite problematic for the uninitiated, resulting in severe griefing.
(IE: Devastating an Entire Forest with One Chop, or "Strip-Mining" an Entire Area)...

Default is 300

The Default of 300 is Extremely Destructive in actual practise, IMO.
When used in a dense jungle environment, the resulting yield is Much Greater than just 300 Blocks. (It had cut over 10 stacks and counting, with no sign of stopping). I Had to exit/kill the world, Disable OKM and Restart in order to stop the griefing.
Also, If you mine a big enough ore vein, the result breaks the tool (even a new iron tool), and if you go into Spectator mode, you will find hidden pockets of dropped ore over a large area. (That is probably what overwhelms a Magnet mod).
I would strongly suggest a more conservative Default Limit, because of the potential for unintended destruction as it is currently.
Thank you for your consideration.

video showcase of the before described behavior https://youtu.be/AJ28KGB6w7I

video showcase of the before described behavior https://youtu.be/AJ28KGB6w7I

Ok, I will fix this issue tomorrow.

video showcase of the before described behavior https://youtu.be/AJ28KGB6w7I

Can you send me your computer configuration?
Because my computer is faster.

Fixed

I've fixed the issue again, try to using 1.5.2 plz

Niceee, this indeed does stop searching at non-matching blocks, the limit shouldn't even matter that much now

Good, No more Non-Contiguous block cutting/mining griefing.
I'd recommend keeping the Default limit at 64 anyway, just in case of encountering an Insanely Large (Contiguous) Ore Vein...
In that case, Just mining it 1 Full Stack at a time is quite reasonable, IMHO. :)
All Good.


chatterbot issue ModuleNotFoundError: No module named 'chatterbot'

Traceback (most recent call last):
File "centaurbot1.py", line 1, in
from chatterbot.trainers import ListTrainer
ModuleNotFoundError: No module named 'chatterbot'

from chatterbot.trainers import ListTrainer
from chatterbot import ChatBot
from chatterbot.storage import SQLStorageAdapter
bot = ChatBot('Test')
conv = open('chats.txt', 'r').readlines()
bot.set_trainer(ListTrainer)
bot.train(conv)
while True:
request = imput('you: ')
response = bot.get_response(request)
print('Bot; ', response)

Hello @Carnage-Cloud, I would suggest reinstall python 3.7.2  also keep in mind to delete the cache file after uninstalling. So,
delete the pip folder from C:\Users\soham\AppData\Local\pip and
delete the old python setup files from C:\Users\soham\AppData\Local\Programs\Python
then reinstall python 3.7.2
then pip install chatterbot

The error you are describing can occur if the ChatterBot library is not installed. Please refer to the ChatterBot documentation for installation instructions.


Potentially rename members of RoundingContext

What is the expected enhancement?
We've talked about renaming the following members of RoundingContext:
https://github.com/qiskit-community/prototype-qrao/blob/38527fd1bcce038a6e407592831e5f2023307461/qrao/rounding_common.py#L65-L66

trace_values isn't really a standard term (they are really Pauli expectation values)
the circuit is really a state preparation circuit

I've thought about renaming trace_values to expvals, but it looks like either values or expectation_values would be preferred: https://github.com/Qiskit/qiskit-terra/issues/8100#issuecomment-1136969968


UI: Make reusable timeline component

#245  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


"Add a trigger" UI is missing trigger types "OnAssignEntity", OnChooseProperty", "OnChooseEntity"

Describe the bug
The form dialogs feature creates a dialog for the user with one button press. The resulting dialog uses 3 trigger types that are not yet in the "Add a trigger" menu. Although this isn't preventing users from using the dialog, it does prevent them from adding new triggers of those types. The types are "OnAssignEntity", OnChooseProperty", and "OnChooseEntity".
Version
1.3.1-nightluy-208618.73c0bce
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[x] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Open a bot.
From a dialog, select the vertical 3-dot menu, and select "Add a trigger"
The "Create a trigger" modal appears.
There is no menu item for ""OnAssignEntity", OnChooseProperty", "OnChooseEntity".

Expected behavior
The trigger types should appear in the "Dialog events" grouping.

To match the pattern of friendly name followed by SDK name in parenthesis, can we they appear with this text?

Entity assigned (Assign entity event)
Duplicated entities recognized (Choose entity event)
Duplicated properties recognized (Choose property event)

Screenshots

Additional context
This is how the triggers appear in Composer if they have been included in a dialog.

We'll add these in a future release as part of the Trigger Wizard UI update

sounds good. (@vivekkshankar fyi)


Cross-compile more Scala.js modules to Scala 3

Before submitting pull request:

[X] Check if the project compiles by running sbt compile (some 2.11 modules don't compile on my machine, but I don't think my changes have to do anything with it)
[X] Verify docs compilation by running sbt compileDocs
[X] Check if tests pass by running sbt test
[X] Format code by running sbt scalafmt

@adamw this now includes support for Circe and is therefore feature-complete from my side.
I couldn't test it extensively, I just ran the tests for the circeJS_3_0_0_RC2 and they were green.
Will CI catch eventual problems, or is there something I should check (except for the four items from the first comment)?

Not sure if that failing ZIO test for Scala 2.11 has something to do with the changes here, I would assume it doesn't.

Thanks! Yeah those failing tests are due to timeouts, which occur sometimes and quite randomly.


Write standalone script to calculate metrics for individual corticospinal tract labels

A user on the forum asked:

Is there a way to calculate metrics for medial 1/2 (blue) and lateral 1/2 (green) of the lateral corticospinal tracts separately -see figure for example?

Figure below:

Should an issue be created for this, or is it sufficient to provide a standalone script just for this user?

it is sufficient to create a script. I have something super simple in mind:

open PAM50/atlas/CST_label_right
loop across Z
get center of mass
create a soft mask that goes through the center of mass:

oriented along Y
ones on the right, zeros on the left
at the interface: weight the line based on the X location of the centermass

multiply the mask and its opposite with the CST_label_right
do the same for CST_label_left
save as four files
edit info_label.txt
zip the whole thing, upload on forum, and explain how to run sct_extract_metric with that

Small update for accountability: I'm planning on working on this today. :slightly_smiling_face:

Here's what I've got so far, using the PAM50 template warped to our sct_example_data T2 image (using the steps from the course).

(The gif is 2 separate images, just to demonstrate the overlay between them.)
Once I've got the script cleaned up I'll share it + write an explanation for how to combine it with sct_extract_metric.

Amazing @joshuacwnewton !!! it would be important to make it 4 different labels (sorry if this was not clear), ie:

right CST lateral
right CST medial
left CST lateral
left CST medial

Apologies for my unclear gif! It is 4 different labels, I just combined them in the FSLeyes view so I wouldn't have to make 2 gifs. :sweat_smile:

Apologies for my unclear gif! It is 4 different labels, I just combined them in the FSLeyes view so I wouldn't have to make 2 gifs. 😅

ah! cool, no worries. You know you can select other colors, right? (pink, etc.)

ah! cool, no worries. You know you can select other colors, right? (pink, etc.)

Yep! I just wanted to match the colours in the image provided by the user.

@jcohenadad Could you double-check that what I've created matches your expectations before I provide this to the user?

 Source code for split_labels.py
"""
A utility script for splitting a label image into lateral and medial halves using the center of mass of each slice.

Typical usage:
    python split_labels.py -dir label/atlas -i PAM50_atlas_04.nii.gz PAM50_atlas_05.nii.gz -label info_label.txt
"""

import sys
import math
import argparse

from spinalcordtoolbox.image import Image, zeros_like
from spinalcordtoolbox.utils import extract_fname
from spinalcordtoolbox import metadata

import numpy as np
from scipy.ndimage.measurements import center_of_mass

def split_labels(fname, root_dir):
    """Split label volume into medial and lateral halves using the center of mass of each slice."""
    im_in = Image(f"{root_dir}/{fname}").copy()

    orientation_old = im_in.orientation
    im_in.change_orientation("RPI")

    im_medial = zeros_like(im_in)
    im_lateral = zeros_like(im_in)

    for i in range(im_in.data.shape[-1]):
        slice_arr = im_in.data[..., i]
        if np.count_nonzero(slice_arr):  # Skip empty slices
            # Add 0.5 to center of mass to account for index-based geometry. Examples to demonstrate:
            #    1. If img=[0 1 1 0], COM is 1.5. To split the img, we want masks [1 1 0 0] + [0 0 1 1].
            #         So, what we're actually looking for is 2, so we can split it using img[:2] and img[2:]
            #    2. If img=[0 1 1 1 0], COM is 2. To split the img, we want masks [1 1 .5 0 0] + [0 0 .5 1 1].
            #         So, what we're actually looking for is 2.5, so the .5 can be used to weight the center index.
            #    3. If img=[0 1 1 2 0], COM is 2.25. To split the img, we want masks [1 1 .75 0 0] + [0 0 .25 1 1].
            #         So, what we're actually looking for is 2.75, to ensure center index is weighted to the right.
            x_ctr, _ = center_of_mass(slice_arr)
            x_ctr += 0.5

            # Get fractional and whole parts of center of mass
            x_frac, x_whole = math.modf(x_ctr)
            x_whole = int(x_whole)  # modf returns float (even for 'whole'), but int must be used for numpy indexing

            # Create lateral binary mask (e.g. [1 1 0 0 0])
            binary_mask_lateral = np.zeros_like(slice_arr)
            binary_mask_lateral[:x_whole, :] = 1.0

            # Create lateral soft mask (e.g. [1 1 .75 0 0]) by weighting the voxels at the interface
            soft_mask_lateral = binary_mask_lateral.copy()
            soft_mask_lateral[x_whole, :] = x_frac

            # Create medial soft mask (e.g. [0 0 .25 1 1]) by inverting lateral soft mask
            soft_mask_medial = np.ones_like(soft_mask_lateral) - soft_mask_lateral

            # Apply masks to get lateral/medial slices
            im_lateral.data[..., i] = soft_mask_lateral * slice_arr
            im_medial.data[..., i] = soft_mask_medial * slice_arr

    im_lateral.change_orientation(orientation_old)
    im_medial.change_orientation(orientation_old)

    path, file, ext = extract_fname(f"{root_dir}/{fname}")
    fname_lateral = f"{file}_lateral{ext}"
    fname_medial = f"{file}_medial{ext}"
    im_lateral.save(f"{path}/{fname_lateral}")
    im_medial.save(f"{path}/{fname_medial}")

    return fname_lateral, fname_medial

def edit_info_label(fname_label, fname_source, fname_lateral, fname_medial, root_dir):
    """Append entries for new lateral/medial labels to the end of the info_label.txt file."""
    label_file = metadata.InfoLabel()
    label_file.load(f"{root_dir}/{fname_label}", verify=False)
    labels = label_file._indiv_labels  # Just to have a shorter variable name for accessing the internal attribute

    for label in labels:
        if label[2] == fname_source:
            name_base = label[1]
            break
    else:
        raise ValueError(f"Input image file '{fname_source}' not in '{fname_label}'. Can't add lateral/medial entries.")

    labels.append((len(labels), f"{name_base} (lateral half)", fname_lateral))
    labels.append((len(labels), f"{name_base} (medial half)", fname_medial))

    label_file.save(f"{root_dir}/{fname_label}")

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawTextHelpFormatter)
    parser.add_argument("-dir", required=True,
                        help="Path to atlas directory where files are contained.")
    parser.add_argument("-i", nargs="+", required=True,
                        help="One or more filenames of label images to split.")
    parser.add_argument("-label", default="info_label.txt", required=False,
                        help="Filename of label file. (default: info_label.txt)")
    arguments = parser.parse_args(sys.argv[1:])

    for fname_in in arguments.i:
        fname_lateral, fname_medial = split_labels(fname_in, root_dir=arguments.dir)
        edit_info_label(arguments.label, fname_in, fname_lateral, fname_medial, root_dir=arguments.dir)

The usage would be something like:
$SCT_DIR/python/envs/venv_sct/bin/python split_labels.py -dir $SUBJECT_DIR/label/atlas -i PAM50_atlas_04.nii.gz PAM50_atlas_05.nii.gz -label info_label.txt

Finally, here is a zip containing the script as well as some sample files (before/after processing): sample_results.zip

Hey @joshuacwnewton i am currently testing your script. It is awesome! I tried running it on the PAM50 template directly. Few comments:

The sum between the two medial/lateral labels is indeed equal to the value of the underlying label, so that's all good 👍

the updated info_label file should add the entries under "# Combined labels", not under "# Keyword=IndivLabels". Why is that? because everything under "# Keyword=IndivLabels" is defined so that the sum of all labels inside a voxel in the spinal cord equals 1. This is a condition for Gaussian mixture models (methods maximum likelihood and maximum a posteriori), more info in the SCT course page 98 ("do not edit that part") as well as in usage of sct_extract_metric (under -method -wa). We should definitely add this info under https://spinalcordtoolbox.com/en/latest/overview/concepts/pam50.html#white-and-grey-matter-atlas-pam50-atlas!
However, after writing this, I realized that it is not possible to add these additional labels under "# Combined labels" because they are de facto not combined labels. So, I see two possibilities:

Not create these composite label files under /atlas and instead create them locally. The user will then have to specify metric extraction using -f ./PAM50_atlas_04_lateral.nii.gz.
Create them under /atlas (ie: source directory), replace PAM50_atlas_04.nii.gz and PAM50_atlas_05.nii.gz by each pair, and update info_label.txt to reflect the changes. This option is obviously more involved, so i would go for option 1.

Thank you for taking the time to run sct_extract_metric, and my apologies for not having done that beforehand. :facepalm:

the updated info_label file should add the entries under "# Combined labels", not under "# Keyword=IndivLabels". Why is that? because everything under "# Keyword=IndivLabels" is defined so that the sum of all labels inside a voxel in the spinal cord equals 1. This is a condition for Gaussian mixture models (methods maximum likelihood and maximum a posteriori), more info in the SCT course page 98 ("do not edit that part") as well as in usage of sct_extract_metric (under -method -wa). We should definitely add this info under https://spinalcordtoolbox.com/en/latest/overview/concepts/pam50.html#white-and-grey-matter-atlas-pam50-atlas.

Thank you for sharing this extra context. I was definitely misunderstanding how info_label.txt should be used.
I also agree that it would be good to be clearer about this in the documentation. (If my naive edits to info_label.txt caused sct_extract_metric to fail, then I can imagine a user running into the same issue if they were to supply their own info_label.txt files.)

Not create these composite label files under /atlas and instead create them locally. The user will then have to specify metric extraction using -f ./PAM50_atlas_04_lateral.nii.gz.

I like this idea. It would be simpler to explain this to the user, too.

I have shared the script with the user on the forum (after modifying it to remove the info_label.txt parts). I will close this issue once the user responds.

Closing as they have tested out the script and confirmed that it meets their needs.


Question: Does it require modification to .htaccess?

Do I need to change something in .htaccess to make it work?

it uses index.php as entry point. It's been sometime and I do not remember but most probably not if your server hides index.php by default.


packet-labs/kubernetes-cloud-init will be removed!

This repository will be deleted by November 1, 2021.
While the concepts and instruction provided in this repository may be helpful to some users and carry some relevance, this repository has seen few recent changes. Packet became Equinix Metal over a year ago.
This repository requires maintenance and owners to ensure that the documentation is up to date and relevant. A repository like this one may need to update the version of dependencies and tools for safe consumption.
If you are affected by this deletion, please comment by the November 1, 2021 date.
Alternatives:

Repo is Archived. This is not preferable, it is intended that the 'packet-labs' GH org is vacated.
Repo is moved to github.com/equinix-labs. This is only preferably after Packet branding and tooling has been updated to Equinix Metal.

Closing this issue because packet-labs/kubernetes-cloud-init has been moved to equinix-labs (and the repository mentioned above was rebased on the packet-labs history).


Obelisk Keys Feature

Support for Obelisk Keys settings.
If Obelisk Keys is on:

Makes EPs unsolvable until their respective Obelisk Key has been received
Colors them red & shows a message saying which Obelisk Key is required
Visual difference on the Obelisk itself

Tested:

Disabled / Excluded EPs
Collected EPs
Both of the above with EPs that share a starting point with a different EP

Additional problems solved that came up:

Keep Pressure Plate Pattern Points are auto-created whenever you resolve the Pressure Plates puzzle. They have a new ID every time.

I believe there is one issue with this currently: EPs are uniquely identified by their endpoint, EXCEPT for swamp bridge puzzles. This would lead to issues if a player excludes exactly one of a pair. Might just have to put in some special logic for that.
Other than that? This is basically ready.

Note to self: Disabled EPs need to be made to "glow" in case of Obelisk_Sides mode no matter what


dot pattern in backgrounds is broken

It's getting cut off at the top and should look closer to the design below

Kindly open this live chat link to talk to the customer service directly on your issue  https://direct.lc.chat/14164218/


Fix Go 1.5 build

@afein already tried to do this godep cleanup that I did unintentionally in #499. I don't fully understand why he closed that PR, so leaving it in for now.
I can manually revert that cleanup that godep did when I rearranged go-extpoints, if he can confirm that godep is doing something wrong.

Jenkins was complaining after I removed the googleapi Godeps. I closed the PR to avoid confusion as I wasn't sure at the time if they are somehow used in integration tests

Might be worth asking the godep command to a Makefile target? make godeps sounds good to me.

@jimmidyson updating the godeps is not as simple as a single command, it usually involves godep restore, updating the library you want, and then godep save. Or a separate GOPATH if you don't want to modify your main one. So I wouldn't have it as a make target.
@afein jenkins isn't complaining, and I can't see why it should be :)

LGTM. Thanks for the update @mvdan!


prefix for storing spacing state data in font libs

spacing states data is stored in two separate font libs
the libs currently use the prefix com.hipertipo.spacingaxis
glyph metrics (left margin and advance width) are stored in com.hipertipo.spacingaxis.spacing
kerning values of all pairs are stored in com.hipertipo.spacingaxis.kerning

see Spacing States format > Libs overview
do we need to change these keys before making the tools public?

changed prefix to com.fontbureau.variableSpacing – see 08397a4


Can't connect to Greenplum server (psycopg2.ProgrammingError: column d.datcollate does not exist)

So, after getting past the jedi issue, I got pgcli to work on a local PostgreSQL instance. I'm now trying to connect to a Greenplum database (a distributed database built on top of PostgreSQL. Anything that can talk to vanilla Postgres should be able to talk to Greenplum...I've had no issues with, eg, pgAdmin or psycopg2). Here's what happens:
$ pgcli postgresql://[username]:[password]@[host]/[dbname]
Traceback (most recent call last):
  File "/usr/local/bin/pgcli", line 9, in <module>
    load_entry_point('pgcli==0.10.0', 'console_scripts', 'pgcli')()
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pgcli/main.py", line 86, in cli
    refresh_completions(pgexecute, completer)
  File "/usr/local/lib/python2.7/site-packages/pgcli/main.py", line 180, in refresh_completions
    completer.extend_database_names(pgexecute.databases())
  File "/usr/local/lib/python2.7/site-packages/pgcli/pgexecute.py", line 138, in databases
    cur.execute(self.databases_query)
psycopg2.ProgrammingError: column d.datcollate does not exist
LINE 4:        d.datcollate as "Collate",

Googling seems to turn up nothing.
Thanks again for your time.

Ah, I think I see the issue. This error occurs when trying to run the following query:
SELECT d.datname as "Name",
       pg_catalog.pg_get_userbyid(d.datdba) as "Owner",
       pg_catalog.pg_encoding_to_char(d.encoding) as "Encoding",
       d.datcollate as "Collate",
       d.datctype as "Ctype",
       pg_catalog.array_to_string(d.datacl, E'\n') AS "Access privileges"
    FROM pg_catalog.pg_database d
    ORDER BY 1;

(which grabs metadata about databases). The datcollate column exists in that table in PostgreSQL 9.4, but not in PostgreSQL 8.2.15 (which is the psql version upon which Greenplum is built).

The column seems to specify the LC_COLLATE configuration variable for a given database (which, along with the datctype column, specifies a locale for the database). Please let me know if I'm wrong, but I don't seem to see these columns used anywhere in the rest of the code. Are they necessary?

@jackmaney You're right about the dependency of Postgres 9.4. In order to mimic the special back-slash commands from psql, I had to translate a giant chunk of C-code from psql source to Python.
I chose to stick with the minimum viable implementation that supported the latest PG (it was 9.2 at the time). I'll work on adding graceful fallback when an older version is use.

Excellent. Thanks!

Just wanted to chime in and mention that this unfortunately means pgcli won't work with Amazon's Redshift platform either. Would be happy to help try and add support if you'd like a hand and this issue isn't high priority

I would love to get some help on this one.
The code for dealing with the special command can be found here: https://github.com/amjith/pgcli/blob/master/pgcli/packages/pgspecial.py#L76
The code is a translation of C code from psql source code.
You can see the conditions that check for postgres versions in psql code here:
https://github.com/postgres/postgres/blob/master/src/bin/psql/describe.c#L1252
I don't know how to detect the version of Postgres using psycopg2, but it might not be necessary to detect the version if it can be wrapped in a retry loop if a command fails.

It's probably fragile, but I know that select version(); produces a version string:
# select version();
                                                                              version
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 9.4.0 on x86_64-apple-darwin, compiled by i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00), 64-bit
(1 row)

Awesome! I forgot about select version().
I'll take fragile over non-existent. :)

Aha. There is a way to find the server version using psycopg2. http://initd.org/psycopg/docs/connection.html#connection.server_version
:)

Excellent. I'll try to scrape together a bit of time this weekend to give this a shot.

Anyone working on this? Considering doing this myself but I don't want to duplicate effort.

@hollobon No one is working on it as far as I know. That's why I put a back_burner label on it. Because I couldn't find time to work on it.
If you need some help getting started please feel free to leave a comment.

I got this connected to Redshift (PostgreSQL 8.0.2) and am currently working on getting the meta commands working. I'll make a pull request this weekend but I'll need some help getting my code cleaned up since I'm still very much a beginner python developer.

Great news --- :+1: Happy to help with beta testing or in any other way possible.

I'll be happy to help clean up the code. Feel free to open the PR.
The meta commands (or back-slash) command can be challenging to implement. So I'll be fine if you want to do that as a separate PR. :)
Thank you for taking a stab at it. :)

I'm planning to translate the version-dependent bits from psql (mainly in src/tools/bin/psql/describe.c). Hoping to make a start tonight / tomorrow, but don't want to tread on toes so I'll hold off if others doing the same.

I'd also like to use pgcli with Redshift, so +1 to this effort. I'm happy to participate in code review when a PR comes together.

Something is wrong.  I used to work in the bank Wells Fargo, systems QA and development of financial software.  I have all kinds of issue now even a SWF_ID showing on face book as an issue yesterday.
There was swift net bug for time stamp all along when I worked there and others for mapping.  I as serious as could be.
Sharon L Doherty
On Jul 31, 2015, at 06:51, Jeff Klukas<EMAIL_ADDRESS>wrote:
I'd also like to use pgcli with Redshift, so +1 to this effort. I'm happy to participate in code review when a PR comes together.
—
Reply to this email directly or view it on GitHub.

+1
Using pgcli with Redshift, and getting the same error

This is now available in v1.0. Please upgrade.
pip install -U pgcli


error on study query

question on the dicom cloud project
i get this error on study query from the demo project to cloud application
An exception of type 'System.TypeInitializationException' occurred in DICOMcloud.Wado.Core.dll but was not handled in user code
Additional information: The type initializer for 'DICOMcloud.Wado.Core.DefaultDicomQueryElements' threw an exception.

The exception seems to be happening in the static constructor of the class "DefaultDicomQueryElements".
The only thing that is happening there is initializing a template DicomDataset with empty elements, which leads me to think it is something with the Dicom toolkit.
I'll need to get some information to assist you with this:
Are you hosting your own server or using the online hosted server?
Does the query fail on the hosted version?
Which branch of the server are you testing with, fo-dicom-integration or master?
For the fo-dicom-integration please make sure you are using the Dicom libraries in the resources "Resources/Bin" folder:
Dicom.Core.dll
Dicom.Platform.dll
Dicom.Native.dll/Dicom.Native64.dll
For the master branch, use the ClearCanvas dlls:

ClearCanvas.Dicom.dll
ClearCanvas.Common.dll

If using the above fixes your problem, please let me know the Dicom toolkit version number you are using causing the error. Otherwise, provide me with any instructions to help me reproduce.

with clearcanvas verison i am not getting this error.right now i am using
this to proceed.
it happens only with fodicom version.
i have not hosted so far..i was just checking and running both client and
server in my test pc.
On 26 August 2016 at 08:35, Xeos<EMAIL_ADDRESS>wrote:

The exception seems to be happening in the static constructor of the class
"DefaultDicomQueryElements".
The only thing that is happening there is initializing a template
DicomDataset with empty elements, which leads me to think it is something
with the Dicom toolkit.
I'll need to get some information to assist you with this:
Are you hosting your own server or using the online hosted server?
Does the query fail on the hosted version?
Which branch of the server are you testing with, fo-dicom-integration or
master?
For the fo-dicom-integration please make sure you are using the Dicom
libraries in the resources "Resources/Bin" folder:
Dicom.Core.dll
Dicom.Platform.dll
Dicom.Native.dll/Dicom.Native64.dll
For the master branch, use the ClearCanvas dlls:

ClearCanvas.Dicom.dll
ClearCanvas.Common.dll

If using the above fixes your problem, please let me know the Dicom
toolkit version number you are using causing the error. Otherwise, provide
me with any instructions to help me reproduce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Zaid-Safadi/DICOMcloud/issues/5#issuecomment-242615608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQnxvXJ_n2iLXx5CAfgVSLBh8xRJQ3yQks5qjlfrgaJpZM4JtAbB
.

This should also work with fo-dicom dll that I have in my resources\bin folder. The version that I have is an update to fo-dicom v2.0 but < 3.0. Once v3.0 is released I'll update the project to use that.
The fo-dicom is what I'm basing bug fixes and future updates on. ClearCanvase is a reference only for such cases.

@dglecons  I'm closing this ticket for now, if you still running into issues please let me know.
I also have now a new branch "development" that is updated with the latest fo-dicom v3 pre release.


how to run nmfATAC.lite.py

Hello,
I try to run this code nmfATAC.lite.py. Can you tell me how to run it? My input data is scRNA-seq, not scATAC-seq.
Best,

Sorry for missing more description here, check out more details here:
https://github.com/yal054/snATAC
if should be also work for scRNA-seq

Sorry for missing more description here, check out more details here:
https://github.com/yal054/snATAC
if should be also work for scRNA-seq


Pagination Library GET parameter separator.

Should be all set.

Bump.

@garthkerr If you're still interested in this ...:

Replace those ANDs with &&: https://github.com/EllisLab/CodeIgniter/pull/473/files#L1R233
Revert the changes to the Form validation library (I saw you've submitted a separate pull for that error_array() method)
Add a changelog entry describing the fix
Sync with the upstream branch

... and we'll merge it.


Maphack on Xbox One

Hey is there any chance to make it work with pubg on the xbox one? would be great (sorry if its a dumb question, new to all of this)

It's looks like you can't read memory in Xbox...

you cant read the memory of the Xbox but you can plug in a flashdrive, is that a possibility?

it's a whole new thing to read memory in xbox i think, you know this kernel driver built for windows not some crappy console

On 21 Dec 2017, at 23:35, crowndownguy<EMAIL_ADDRESS>wrote:
you cant read the memory of the Xbox but you can plug in a flashdrive, is that a possibility?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

there is no way that this will ever happen before the cheaters find a way to read and write memory the crackers will for used ripped games but ms will protect there stuff.

this has been done??
https://www.se7ensins.com/forums/threads/pc-xbox-one-pubg-radar-players-vehicles-and-items-undetected-0-bans-full-warranty.1685687/#post-13346352


"odo config view" doesn't work when OpenShift cluster is not reachable

[kind/bug]

What versions of software are you using?

Operating System: CentOS 7.6, Fedora 30
Output of odo version:

$ odo version
odo v1.0.0-beta1 (3ff77cb)

How did you run odo exactly?
$ odo config view
COMPONENT SETTINGS
------------------------------------------------
PARAMETER         CURRENT_VALUE
Type              python
Application       app
Project           myproject
SourceType        local
Ref
SourceLocation    ./
Ports
Name              python-ccqz
MinMemory
MaxMemory
Ignore
MinCPU
MaxCPU

$ minishift stop
Stopping the OpenShift cluster...
Cluster stopped.

$ odo config view
 ✗  Unable to connect to OpenShift cluster, is it down?

Actual behavior
odo config view fails when OpenShift cluster is not reachable.
Expected behavior
Shouldn't viewing the config be possible in spite of cluster being down since the config values are already present in .odo/config.yaml?
Any logs, error output, etc?

/kind bug
/priority medium
/milestone 1.0
/project Sprint 167

Shouldn't viewing the config be possible in spite of cluster being down since the config values are already present in .odo/config.yaml?

yes it should. As part of this PR we should also check for the commands where it doesn't make sense to require cluster connection

/assign

Shouldn't viewing the config be possible in spite of cluster being down since the config values are already present in .odo/config.yaml?

yes it should. As part of this PR we should also check for the commands where it doesn't make sense to require cluster connection

Right, i think flag --skip-connection-check should work as a workaround for now.
for example odo config view --skip-connection-check

I don't believe we actually have many docs with regards to interactive mode. Perhaps we could have a quick look?
Ping @boczkowska
/label need-docs


Typescripts Readonly<T> type doesn't affect field colour

Does this issue occur when all extensions are disabled?: N/A (this is about a bundled extension)
Version: 1.64.2
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:00:58.347Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 19.6.0
Steps to Reproduce:

The above screenshot shows that even though y.bar is a readonly field (the compiler emits an error), it is not coloured as such.

Please always share the text of the code along with screenshots


Upgraded the project into a ReactJS project.

Fixes #8
I have upgraded the project into ReactJS by keeping the content intact.
Screenshots:

Contributing under JWOC.

@Abhishek-465 , please create a PR against master_react branch of my repo. And please solve the merge conflicts . You can accept your changes.


Update missing CaDeT source data

User Story
As a data user,
I want to have complete and accurate metadata for CaDeT source data in the catalog,
so that I can easily understand the context of the data, identify data owners, know where to access the data, and find related datasets by subject area.
Acceptance Criteria:
The following metadata is missing, and will need to be added:

The databases for each source (this is described in the DBT source properties but not ingested into Datahub - perhaps we could contribute functionality for this?)
Data owners
Subject areas (domains)
"Where to access" custom property

Related to
https://github.com/ministryofjustice/find-moj-data/issues/797
https://github.com/ministryofjustice/find-moj-data/issues/836

Discussion about how to add databases on slack https://mojdt.slack.com/archives/C03QZ776JVA/p1726671551389129?thread_ts=1726667535.103579&cid=C03QZ776JVA

Closing in favour of #884 and #885
(The description of this one is no longer accurate as we do have some of this metadata at table level)


[Ansible] k8s without ingress

When I create new cluster with master and one node. I get k8s v1.2.0 without Ingress.
How I can add ingress support to ready cluster?
Or how I can add something in provision to add Ingress functionality?

@prefer have you tried apiVersion: extensions/v1beta1

[root@master ~]# kubectl api-versions
Available Server Api Versions: v1

How can I enable it?

Very strange. I've added "--runtime-config=v1,extensions/v1beta1=true" in the apiserver config and it anyway not working.. Config file - http://termbin.com/t74f

Ingress works on 1.2.0.
The only thing I do is specify extensions/v1beta1 on my yaml files.
core@master ~ $ kube-apiserver --version
Kubernetes v1.2.0
core@master ~ $ kubectl get ing
NAME           RULE                         BACKEND   ADDRESS           AGE

it works on 1.2.0
all I do is set the apiVersion to extensions/v1beta1
core@master ~ $ kube-apiserver --version
Kubernetes v1.2.0
core@master ~ $ kubectl get ing
NAME           RULE                         BACKEND   ADDRESS           AGE

Yep. My mistake. Ingress works after addition "--runtime-config=v1,extensions/v1beta1=true".
kubectl api-versions always show Available Server Api Versions: v1, but ingress work. Thank you!


Update default.xml

SWDEV-502858
Rename  Omnitrace and Omniperf

I think <project name="ROCT-Thunk-Interface" /> should be removed

I think <project name="ROCT-Thunk-Interface" /> should be removed

Thanks. I wasn't sure about that one.

Let's re-open, we still have to remove "ROCT-Thunk-Interface" from the manifest.

I think we need to add hipBLAS-common and TransferBench too


make getting failed migration logs easy

We have lxc info --show-log for regular container logs, but it would also be handy if there was a lxc info --migration-log or similar to get the last failed migration log for this container.
This involves a little extra bookkeeping, because the restore happens on the target, but if it fails, the source is the only place the container exists, so the target should send the log back to the source for inspection.

Sounds like we should think through a proper log interface against the container and rebase the existing --show-log onto that.

Thinking about something like GET /1.0/containers/<container name>/logs/<logname>

On Mon, Aug 10, 2015 at 03:09:55PM -0700, Stéphane Graber wrote:

Sounds like we should think through a proper log interface against the container and rebase the existing --show-log onto that.

Yeah, that would probably be better :)

Reply to this email directly or view it on GitHub:
https://github.com/lxc/lxd/issues/1004#issuecomment-129630453

On Mon, Aug 10, 2015 at 03:10:28PM -0700, Stéphane Graber wrote:

Thinking about something like GET /1.0/containers/<container name>/logs/<logname>

and a GET on /logs gives you a list of the available logs? (basically
a ls of /var/lib/lxd/foo/logs)? That would be easy enough to do.

 Sounds good, if I get
bored on a plane I'll hack on this, thanks.

So rough spec is:

Method
URL
Description

GET
/1.0/containers/<container name>/logs
List all available logs

GET
/1.0/containers/<container name>/logs/<log name>
Retrieve the log

PUT
/1.0/containers/<container name>/logs/<log name>
Push a new log

DELETE
/1.0/containers/<container name>/logs/<log name>
Remove the log

I'd recommend we come up with a generic list of log files and don't allow arbitrary new ones be created. Querying a non-existing one would return an empty entry.
So the list of available logs would only really vary between LXD various when we have to add a new one.


Reil code with jcc opcode when translating sar instructions

Hello,
when translating the following x86 instruction:
  sar         eax, byte 1fh

BinNavi produces a large sequence of Reil instructions:
0000000804843100: str [BYTE 31, EMPTY , BYTE t0]
0000000804843101: str [DWORD eax, EMPTY , DWORD t1]
0000000804843102: and [DWORD t1, DWORD<PHONE_NUMBER>, DWORD t26]
0000000804843103: bsh [DWORD t26, DWORD -31, DWORD t27]
0000000804843104: sub [DWORD 0, DWORD t27, DWORD t28]
0000000804843105: xor [DWORD t1, DWORD t28, DWORD t29]
0000000804843106: sub [DWORD t29, DWORD t28, DWORD t30]
0000000804843107: mod [BYTE t0, DWORD 32, DWORD t2]
0000000804843108: bisz [DWORD t2, EMPTY , BYTE t3]
0000000804843109: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
000000080484310A: undef [EMPTY , EMPTY , BYTE AF]
000000080484310B: sub [BYTE t2, BYTE 1, BYTE t20]
000000080484310C: bsh [BYTE 1, BYTE t20, BYTE t23]
000000080484310D: and [DWORD t1, BYTE t23, BYTE t24]
000000080484310E: bisz [BYTE t24, EMPTY , BYTE t25]
000000080484310F: xor [BYTE 1, BYTE t25, BYTE CF]
0000000804843110: sub [DWORD 1, DWORD t2, DWORD t4]
0000000804843111: bisz [DWORD t4, EMPTY , BYTE t5]
0000000804843112: sub [DWORD 0, DWORD t2, DWORD t6]
0000000804843113: and [BYTE 128, DWORD t1, BYTE t9]
0000000804843114: bisz [BYTE t9, EMPTY , BYTE t10]
0000000804843115: xor [BYTE 1, BYTE t10, BYTE t21]
0000000804843116: bsh [DWORD 1, BYTE t2, DWORD t11]
0000000804843117: div [DWORD t30, DWORD t11, DWORD t12]
0000000804843118: sub [BYTE 0, BYTE t21, DWORD t13]
0000000804843119: xor [DWORD t12, DWORD t13, DWORD t7]
000000080484311A: jcc [BYTE t10, EMPTY , ADDRESS 134513713.35]  <----
000000080484311B: add [DWORD t7, BYTE 1, DWORD t14]
000000080484311C: bsh [BYTE 1, DWORD t2, DWORD t15]
000000080484311D: sub [DWORD t15, BYTE 1, DWORD t16]
000000080484311E: and [DWORD t1, DWORD t16, DWORD t17]
000000080484311F: bisz [DWORD t17, EMPTY , BYTE t18]
0000000804843120: xor [BYTE 1, BYTE t18, BYTE t19]
0000000804843121: and [BYTE t21, BYTE t19, BYTE t22]
0000000804843122: sub [DWORD t14, BYTE t22, DWORD t7]
0000000804843123: and [WORD t7, BYTE 255, BYTE t8]
0000000804843124: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
0000000804843125: bisz [BYTE t10, EMPTY , BYTE SF]
0000000804843126: bisz [BYTE t8, EMPTY , BYTE ZF]
0000000804843127: jcc [BYTE t5, EMPTY , ADDRESS 134513713.41]  <----
0000000804843128: str [BYTE 0, EMPTY , BYTE OF]
0000000804843129: or [BYTE t5, BYTE t3, BYTE t31]
000000080484312A: jcc [BYTE t31, EMPTY , ADDRESS 134513713.45]  <----
000000080484312B: undef [EMPTY , EMPTY , BYTE OF]
000000080484312C: jcc [BYTE 1, EMPTY , ADDRESS 134513713.46]  <----
000000080484312D: str [BYTE 0, EMPTY , BYTE OF]
000000080484312E: str [DWORD t7, EMPTY , DWORD eax]
000000080484312F: nop [EMPTY , EMPTY , EMPTY ]

I am curious about the jcc instructions. Could anyone shed some lights on how should I interpret such opcode and what is the address (e.g., 134513713.45) ? Thank you!

Hey there,
the reason for conditional jumps showing up in the translation is that the
REIL translation
may not have a simpler way to model the instruction (e.g. without
conditional branch). The
way to interpret the operand is as target address - although something
seems to be broken
here. Normally the 134513713.35 should mean the 35th REIL instruction
inside the translation of the instruction at 134513713 (normally the
current instruction).
000000080484311A: jcc [BYTE t10, EMPTY , ADDRESS 134513713.35]
Something is odd though - e.g. the addresses don't match. What is the
address
of the SAR instruction?
2017-03-12 21:11 GMT+01:00 Shuai Wang<EMAIL_ADDRESS>
Hello,
when translating the following x86 instruction:
sar         eax, byte 1fh
BinNavi produces a large sequence of Reil instructions:
0000000804843100: str [BYTE 31, EMPTY , BYTE t0]
0000000804843101: str [DWORD eax, EMPTY , DWORD t1]
0000000804843102: and [DWORD t1, DWORD<PHONE_NUMBER> <(214)%20748-3648>, DWORD t26]
0000000804843103: bsh [DWORD t26, DWORD -31, DWORD t27]
0000000804843104: sub [DWORD 0, DWORD t27, DWORD t28]
0000000804843105: xor [DWORD t1, DWORD t28, DWORD t29]
0000000804843106: sub [DWORD t29, DWORD t28, DWORD t30]
0000000804843107: mod [BYTE t0, DWORD 32, DWORD t2]
0000000804843108: bisz [DWORD t2, EMPTY , BYTE t3]
0000000804843109: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
000000080484310A: undef [EMPTY , EMPTY , BYTE AF]
000000080484310B: sub [BYTE t2, BYTE 1, BYTE t20]
000000080484310C: bsh [BYTE 1, BYTE t20, BYTE t23]
000000080484310D: and [DWORD t1, BYTE t23, BYTE t24]
000000080484310E: bisz [BYTE t24, EMPTY , BYTE t25]
000000080484310F: xor [BYTE 1, BYTE t25, BYTE CF]
0000000804843110: sub [DWORD 1, DWORD t2, DWORD t4]
0000000804843111: bisz [DWORD t4, EMPTY , BYTE t5]
0000000804843112: sub [DWORD 0, DWORD t2, DWORD t6]
0000000804843113: and [BYTE 128, DWORD t1, BYTE t9]
0000000804843114: bisz [BYTE t9, EMPTY , BYTE t10]
0000000804843115: xor [BYTE 1, BYTE t10, BYTE t21]
0000000804843116: bsh [DWORD 1, BYTE t2, DWORD t11]
0000000804843117: div [DWORD t30, DWORD t11, DWORD t12]
0000000804843118: sub [BYTE 0, BYTE t21, DWORD t13]
0000000804843119: xor [DWORD t12, DWORD t13, DWORD t7]
000000080484311A: jcc [BYTE t10, EMPTY , ADDRESS 134513713.35]  <----
000000080484311B: add [DWORD t7, BYTE 1, DWORD t14]
000000080484311C: bsh [BYTE 1, DWORD t2, DWORD t15]
000000080484311D: sub [DWORD t15, BYTE 1, DWORD t16]
000000080484311E: and [DWORD t1, DWORD t16, DWORD t17]
000000080484311F: bisz [DWORD t17, EMPTY , BYTE t18]
0000000804843120: xor [BYTE 1, BYTE t18, BYTE t19]
0000000804843121: and [BYTE t21, BYTE t19, BYTE t22]
0000000804843122: sub [DWORD t14, BYTE t22, DWORD t7]
0000000804843123: and [WORD t7, BYTE 255, BYTE t8]
0000000804843124: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
0000000804843125: bisz [BYTE t10, EMPTY , BYTE SF]
0000000804843126: bisz [BYTE t8, EMPTY , BYTE ZF]
0000000804843127: jcc [BYTE t5, EMPTY , ADDRESS 134513713.41]  <----
0000000804843128: str [BYTE 0, EMPTY , BYTE OF]
0000000804843129: or [BYTE t5, BYTE t3, BYTE t31]
000000080484312A: jcc [BYTE t31, EMPTY , ADDRESS 134513713.45]  <----
000000080484312B: undef [EMPTY , EMPTY , BYTE OF]
000000080484312C: jcc [BYTE 1, EMPTY , ADDRESS 134513713.46]  <----
000000080484312D: str [BYTE 0, EMPTY , BYTE OF]
000000080484312E: str [DWORD t7, EMPTY , DWORD eax]
000000080484312F: nop [EMPTY , EMPTY , EMPTY ]
I am curious about the jcc instructions. Could anyone shed some lights on
how should I interpret such opcode and what is the address (e.g.,
134513713.45) ? Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/binnavi/issues/105, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEYBvA7Zg2zPfbCIAaQy5Fp445Xobb0vks5rlFFsgaJpZM4Map_o
.

Hello Tomas,
Thanks a lot for the information. The address of sar instruction is 0x08048431 (i.e., 134513713). It makes sense to me.

Hi there,
I have to re-open this issue since something is still very confused to me. In the example shown in this issue, let's consider the following two Reil instructions:
0000000804843109: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
....                                      <----- note that t7 is *ONLY* initialized here
000000080484312E: str [DWORD t7, EMPTY , DWORD eax]

If I am performing some data flow analysis for the above code, and by following the true branch of instruction at<PHONE_NUMBER>843109, I will directly go into instruction at<PHONE_NUMBER>84312E.
However, note that in the above case, t7 is only initialized and modified in the false branch of the jcc. In other words, at the true branch of jcc, I actually have no idea what t7 is..
Is there any specific reason that BinNavi is designed to do so? Thanks.

Hey there,
that sounds like a bug to me. What was the original instruction from which
this was translated again?
Cheers,
Thomas
2017-03-21 16:16 GMT+01:00 Shuai Wang<EMAIL_ADDRESS>
Hi there,
I have to re-open this issue since something is still very confused to me.
In the example shown in this issue, let's consider the following two Reil
instructions:
0000000804843109: jcc [BYTE t3, EMPTY , ADDRESS 134513713.46]  <----
....                                      <----- note that t7 is ONLY initialized here
000000080484312E: str [DWORD t7, EMPTY , DWORD eax]
If I am performing some data flow analysis for the above code, and by
following the true branch of instruction at<PHONE_NUMBER>843109, I will
directly go into instruction at<PHONE_NUMBER>84312E.
However, note that in the above case, t7 is only initialized and modified
in the false branch of the jcc. In other words, at the true branch of jcc,
I actually have no idea what t7 is..
Is there any specific reason that BinNavi is designed to do so? Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/binnavi/issues/105#issuecomment-288111500, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEYBvFE7BufB0jYrF3fdgI3oT0Pl1Tp7ks5rn-nLgaJpZM4Map_o
.

Hi @thomasdullien ,
The original instruction is:
08048431   sar         eax, byte 1fh

The whole set of the translated reil instruction is pasted in the first email.

Hey there,
cool, thanks. Should be able to check it out today :)
Cheers,
Thomas
2017-03-21 16:25 GMT+01:00 Shuai Wang<EMAIL_ADDRESS>
The whole set of the translated reil instruction is pasted in the first
email.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/binnavi/issues/105#issuecomment-288114575, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEYBvBna1Y24kyrllBaSqAPdLTSwx1Wzks5rn-vogaJpZM4Map_o
.

Hey there,
sorry, I havent gotten around to it yet. Is the issue still there?
Am 30.03.2017 10:13 schrieb "Shuai Wang"<EMAIL_ADDRESS>
Closed #105 https://github.com/google/binnavi/issues/105.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/binnavi/issues/105#event-1021535323, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEYBvFxWMjlXlhD7H6IqDj4DcguqeE7lks5rqw_EgaJpZM4Map_o
.


Bump dev dependencies

I rule and have completed some work on Case Manager that's ready for review!
Some gemnasium dev bumps.
Note that for our mac using friends, this might require some xcode wrangling. See https://stackoverflow.com/questions/40038953/how-to-install-nokogiri-on-mac-os-sierra-10-12 just in case.
This pull request makes the following changes:

bumps dev dependencies
bumps nokogiri :(

No issues.
@DarthHater can I get a review?

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1122   +/-   ##
=======================================
  Coverage   95.25%   95.25%
=======================================
  Files          52       52
  Lines        1137     1137
=======================================
  Hits         1083     1083
  Misses         54       54

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 1f81e46...064ad61. Read the comment docs.

Gave this a look, bundle install works fine, and rails s brings everything up. However, due to my natural curiosity I tried to use web console and I'm not sure if it's broken or working.
In application.html.erb#L33, I added <% console %> and when I load up the app I just get a white page with #. Something doesn't seem right to me with that, so I'm just trying to see if that's actually what's expected (I sorta expected an interactive ruby console). Otherwise, everything worked fine that I tested.
PS branch name RULZ

@DarthHater Weirdly, I can't get this to work with the old version of web console either. One of those things where I wonder how it ever worked. That said, it seems to break the same way -- white page with #. How do you think we should handle it, reverting or pushing forward? I'm good with either, so up to you.

Push forward and file ticket to figure out that lib.
On Sat, Jul 8, 2017 at 3:36 PM Colin<EMAIL_ADDRESS>wrote:

@DarthHater https://github.com/darthhater Weirdly, I can't get this to
work with the old version of web console either. One of those things where
I wonder how it ever worked. That said, it seems to break the same way --
white page with #. How do you think we should handle it, reverting or
pushing forward? I'm good with either, so up to you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DCAFEngineering/dcaf_case_management/pull/1122#issuecomment-313887404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFSZhgCnzowDxYBT3xWoAgUkf7f2R36Fks5sMBKJgaJpZM4OMmai
.

 If we whitelist 'unsafe-inline' it totally works like a charm. I'd rather not do this though so I'm going to remove it, given that I don't think anybody really leans on it (as evidenced by nobody having an issue with this until now, really).

Bumped gems again, going to get this merged shortly. The verdict:

web console isn't good with our CSP
everything else seems to upload pretty cleanly!

Once I get CI to pass I'm going to merge, since @DarthHater is still wrestling goats on mountaintops.


Add a feature-reduced addon version of the module

AnimationRetargeting is used by all user levels, from beginner to advanced but especially beginners feel at little overwhelmed with compiling Godot from source with the module.
The full feature set is impossible as an addon due to performance restrictions, addons are just to slow.
The idea is to create a simplified addon version with less features in GDScript. This version would have all the normal editor features that are not time sensitive. E.g. baking retargeted animations would be available even if it would take many seconds while freezing the editor. Features that require immediate updates like runtime retargeting or correction preview wouldn't be included.
EDIT:
I don't have an eta for this, could be a couple days or months.

Fixed by commit 23da6b9ec798ef7d363a116372bc26f90aa18edb
GDScript testversion for Godot 3.x is now available.
Created a new branch for GDScript found here:
https://github.com/smix8/GodotAnimationRetargeting/tree/godot_3.x_gdscript


Fix typos and deprecations in the book for CSS chapter (14th).

Overview
Fix typos and deprecations in the book for CSS chapter (14th).
Changes:

Fix deprecation warnings in listings for CSS chapter of the book by replacing usage of Widget::show method with Window::present like it was done in other chapters.
Change used CSS class name from button_1 to button-1 in listing 3 of 14th chapter (CSS).

NOTE: StyleContext was also deprecated in GTK 4.10 and I found this discussion about moving gtk_style_context_add_provider to gtkstyleprovider.h but I haven't figured out how that change is reflected in gtk4-rs and how to use StyleProvider. So I left deprecations warnings about usage of StyleContext and it's functions unfixed.

NOTE: StyleContext was also deprecated in GTK 4.10 and I found this discussion about moving gtk_style_context_add_provider to gtkstyleprovider.h but I haven't figured out how that change is reflected in gtk4-rs and how to use StyleProvider. So I left deprecations warnings about usage of StyleContext and it's functions unfixed.

@bilelmoussaoui any ideas about this?

See https://github.com/gtk-rs/gtk4-rs/issues/1317

NOTE: StyleContext was also deprecated in GTK 4.10 and I found this discussion about moving gtk_style_context_add_provider to gtkstyleprovider.h but I haven't figured out how that change is reflected in gtk4-rs and how to use StyleProvider. So I left deprecations warnings about usage of StyleContext and it's functions unfixed.

@bilelmoussaoui any ideas about this?

See #1317

So it's a false positive?

Yes

Exactly


Update cibuildwheel for Python 3.12

@mwestphal this is broken on macos here too, but I guess that's expected. Any update about a fix in VTK?

yes, ok to merge.


[Question] Infinite Scroll Support

Hey!
Pagination widgets looks awesome. I'm interested in add infinite scroll in my project. Altought pagination widget support many options, I don't see nothing related with infinite scroll.
Do you think that could be possible add this feature and have sense be resolved from the library instead of use a external dependency?

Duplicate of #936, previous discussion in #328.

 I used the search before create the issue. Maybe the title is clever :P


Include tooltips count in left sidebar

This PR includes counts in tooltips for different navigation list in left sidebar.
Fixes: zulip#25901

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@zulipbot add "buddy review"
@kuv2707 can you take a look at it

Looks good to me in manual testing!
In addition to the screenshots, the "this is your home view" only appears on the default home view as expected.
@zulipbot remove "buddy review"
@zulipbot  add "mentor review"

Hello @pratik-pc, what's the status on this PR? Do you need help with anything over here?

@sayamsamal this was up for mentor review, I guess kinda slipped through my mind. PR is up to date for next review stage.

Updated the tooltip text for cases where display_count equals 0.

@pratik-pc what is the status of this PR?

@pratik-pc what is the status of this PR?

Recently data-view-code got removed as a prep PR, which means This is your home view no longer appears. @amanagr, is this part of a change?


Rejected unknown fields do not specify what field is unknown

Title: Rejected unknown fields do not specify what field is unknown
Description:
When an unknown field is set using the filesystem subscription, we get a useful error message:
[warning][config] [source/common/config/filesystem_subscription_impl.cc:53] Filesystem config update failure: Protobuf message (type envoy.api.v2.DiscoveryResponse reason INVALID_ARGUMENT:fake_field: Cannot find field.) has unknown fields

When an unknown field is sent over gRPC, we get a less useful message:
[warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:81] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Protobuf message (type envoy.api.v2.Listener) has unknown fields

This is frustrating because it is hard to understand what field is unknown.
Repro steps:
See https://github.com/envoyproxy/envoy/issues/7936 for repro steps for filebased. Not sure an easy way to give a simple reproduction for the gRPC one, but you'll see it if you send an unknown field over XDS (at least for lds)
Note -- this will have no impact for me/Istio once https://github.com/envoyproxy/envoy/issues/7936 is resolved, but may still be useful for others that don't allow unknown fields.

cc @htuch I believe this is fixed by https://github.com/envoyproxy/envoy/pull/7857

This isn't fixed by #7857. The problem with gRPC (and proto in general) is that we don't actually have any name to report. We can know things like the number of unknown fields, or maybe some very coarse typing info (i.e. is it an int or not), but not much beyond this. Take a look at https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.unknown_field_set#UnknownFieldSet for what we can get via the reflection interface.
If anything there looks useful, let me know and I can add this in a followup PR.

@htuch maybe it would be useful to get .field().number() (from here)? Maybe we can't get the name, but we can get the field number. Presumably you know what control plane version you are running, so you can check the proto and see what field that actually is? That may be a bit of a stretch though, but better than nothing.
I personally don't care too much either way though, since we will be allowing unknown fields

Yeah, field number is doable, let me add this.


Get-WinGetConfiguration default -Path to what winget config points to

Description of the new feature / enhancement
Microsoft.WinGet.Configuration v1.8.1911-alpha: https://www.powershellgallery.com/packages/Microsoft.WinGet.Configuration/1.8.1911-alpha
Instead of requiring input for -Path on Get-WinGetConfiguration, default to the WinGet config default path, also opened by winget config?

%LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

If you accept this change this should also be applied to other cmdlets getting or setting WinGet config.
Proposed technical implementation details
No response

As mentioned in https://github.com/microsoft/winget-cli/issues/4636#issuecomment-2227427928, the WinGet user settings JSON file is not a valid WinGet configuration file. I'm assuming from the issues you've opened that you're looking for a way to fetch / set WinGet user settings through PowerShell. For that, I would recommand the Microsoft.WinGet.Client PowerShell module that contains cmdlets Get-WinGetUserSettings and Set-WinGetUserSettings
 ~ Get-WinGetUserSettings

Name                           Value
----                           -----
experimentalFeatures           {[sideBySide, True], [configureExport, True]}
network                        {[downloader, wininet]}
visual                         {[progressBar, retro]}
$schema                        https://aka.ms/winget-settings.schema.json

 ~ Set-WinGetUserSettings -UserSettings @{ "network" = @{ "downloader" = "do" } }

Name                           Value
----                           -----
$schema                        https://aka.ms/winget-settings.schema.json
network                        {[downloader, do]}

Keep in mind Set-WinGetUserSettings would erase all other settings if they're not specified.

In some ways, this is more of "Make the package manager application and the package manager cmdlets operate in the same way."


Weird issues when using logbook 0.9.1 + cassandra-driver 2.5.1

Hi,
I just spent a lot of time trying to track down why my cassandra connection would drop on connect.
I fixed it by reordering the imports.
In this reproduce case it's only RotatingFileHandler, but I think it also breaks with Logger and StreamHandler.
requirements.txt
Logbook==0.9.1
cassandra-driver==2.5.1

# bug.py
import os.path

from logbook import RotatingFileHandler #, Logger, StreamHandler

# Import cassandra before logbook or break it all
from cassandra.cluster import Cluster
from cassandra import query

LOG_PATH = '/tmp'

format_string = (
    '[{record.time:%Y-%m-%d %H:%M:%S}]'
    '[{record.level_name}][{record.channel}]: {record.message}'
)

stream_log_handler = RotatingFileHandler(
    os.path.join(LOG_PATH, 'stream.log'),
    format_string=format_string,
    filter=lambda r, _: 's3_stream' in r.channel,
    backup_count=2
)
stream_log_handler.push_application()

cassandra_hosts = ['<IP_ADDRESS>']
keyspace = 'system'

cluster = Cluster(cassandra_hosts)
session = cluster.connect(keyspace)
session.row_factory = query.dict_factory

print session.execute('SELECT * FROM local;')

"""
Traceback (most recent call last):
  File "bug.py", line 29, in <module>
    session = cluster.connect(keyspace)
  File "/home/xxx/.virtualenvs/xxx/local/lib/python2.7/site-packages/cassandra/cluster.py", line 755, in connect
    self.control_connection.connect()
  File "/home/xxx/.virtualenvs/xxx/local/lib/python2.7/site-packages/cassandra/cluster.py", line 1868, in connect
    self._set_new_connection(self._reconnect_internal())
  File "/home/xxx/.virtualenvs/xxx/local/lib/python2.7/site-packages/cassandra/cluster.py", line 1903, in _reconnect_internal
    raise NoHostAvailable("Unable to connect to any servers", errors)
cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'<IP_ADDRESS>': OperationTimedOut('errors=None, last_host=None',)})
"""

# bug_gone.py
import os.path

# Import cassandra before logbook or break it all
from cassandra.cluster import Cluster
from cassandra import query

from logbook import RotatingFileHandler #, Logger, StreamHandler

LOG_PATH = '/tmp'

format_string = (
    '[{record.time:%Y-%m-%d %H:%M:%S}]'
    '[{record.level_name}][{record.channel}]: {record.message}'
)

stream_log_handler = RotatingFileHandler(
    os.path.join(LOG_PATH, 'stream.log'),
    format_string=format_string,
    filter=lambda r, _: 's3_stream' in r.channel,
    backup_count=2
)
stream_log_handler.push_application()

cassandra_hosts = ['<IP_ADDRESS>']
keyspace = 'system'

cluster = Cluster(cassandra_hosts)
session = cluster.connect(keyspace)
session.row_factory = query.dict_factory

print session.execute('SELECT * FROM local;')

"""
[{u'tokens': sortedset( ... some valid output
"""

For reference: https://datastax-oss.atlassian.net/browse/PYTHON-355

@winks I'm not sure what can be done here, assuming this is indeed a race for who initialises gevent, we can't actually know what other libraries are loaded in addition to Logbook in all possible use cases...

@vmalloc Yeah, that sounds reasonable. But for people who just use logbook and not dig into it, this dependency is probably as unknown as it was to me.
I guess it won't hurt to add a paragraph to the docs with a caveat that something could happen, e.g. with the cassandra-driver that also uses gevent?

Ok. Care to PR such a suggestion?

Hey,
I had a deeper look at the documentation but I couldn't find any part that really hits what I searched for. "Troubleshooting" or "Caveats".
It is quite an edge case, I have to agree on that. I wouldn't have added more than "Please note that Logbook uses gevent and in rare cases if you're using it together with other libraries that use gevent, there have been rare race conditions which could sometimes be fixed by reordering the import statements. (Example: logbook 0.9.2 and cassandra-driver 2.5.1)

Please feel free to use this, adapt this, or not do anything at all. I'd be happy even if it helps one poor soul who searches this bugtracker or finds it in the docs :) And if I understood it correctly, it might even be fixed in cassandra-driver 2.6.0.

Wow, @winks great forensic work there... did it get fixed in cassandra-driver 2.6.0? Works for you now?

@winks, chime in if it ever get solved in newer versions, thanks for the issue anyhow! Closing.


Expanding compound node dis-aligns the rest of the graph

Here is how the bug occurs for me:
I collapse and then expand a compound node. After the expansion, all the other nodes in the graph contained in other compound nodes get displaced slightly. This displacement is enough to "disconnect" the edges from their respective nodes. However, once i click on the compound node that contains the displaced nodes, they all snap back into place as if they were never disconnected.

This is what the graph looks like after dis-alignment

issue was the layout i provided


Disable JIRA worklog notifications for GitHub PRs

Why are the changes needed?
Reduce noise and avoid receiving the same notification multiple times.
Currently we receive the notification from four places:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
After the changes the jira@ and issues@ entries for worklog will go away.
Does this PR introduce any user-facing change?
Some notification entries will go away
How was this patch tested?
Same change in place in other ASF repos.

What can I say? :) LGTM :)


feat: add messages prop to change some static texts

Summary
[What does this PR introduce?]
A way to change some static messages
Key Changes

add a hideTypes prop [BOOLEAN]: remove the UI for showing file types
add messages prop [MessagesType]: changes some statics texts

MessagesType {
  disabled?: string      // changes the disabled text
  uploaded?: string    // changes the uploaded underline text
  upload_another?: string  // changes the upload another text
  error?: string    // changes the generic error text
  drop?: string    // changes the drop here text (override the "hoverTitle")
  upload?: string  // changes the upload underline text
  or_message?: string  // changes the or text after upload underline text
}

In order to messages.upload and messages.or_message to work, you need to not declare the "label" like this:
<FileUploader     handleChange={handleChangeFile}     name="file"     file={file}     messages={{       disabled: 'Disabled image',       uploaded: 'Upload done!',       upload_another: 'Change file',       error: 'Error, check file type and size',       drop: 'Drop file here',       upload: 'Choose image',       or_message: 'or drag the file here'     }}     hideTypes     types={["jpg", "png", "jpeg"]}   />
Check List

[x] The changes to the "Readme" file(if needed)
[x] The changes not breaking any old rule of the library or usage

i am adding message object wiith all fields but it doesn,t have any kind of effect on it.

@alecshoppe I suggest, add each field as prop better


Update service file to set WorkingDirectory

Since the ASP.NET Core application is run from /etc/systemd/system directory, the working directory is no longer /var/aspnetcore/hellomvc. Update the service file to set WorkingDirectory=/var/aspnetcore/hellomvc so that the program will run. Otherwise, users will get System.IO.FileNotFoundException when using systemd to monitor and run ASP.NET Core application.

@spboyer  please review


switch to stac-utils

[x] Update setup.py to point to new repo.
[ ] Do a pypi release to update pypi metadata.
[x] Mention arturo in the readme

We can close this ticket out upon the next pypi release,


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Coverage remained the same at 93.86% when pulling d8b9697556bbc203d48e87ca2b6c9b998d83027c on bryant1410:master into 9b7716577de663b0f98419ba45c0bd7139c09d51 on eBay:master.