Add local+global persistent command history and session history to REPL

This change adds a project-specific, session-specific, and global command history to the repl. The project-specific command history is saved to ./.roc_cache/repl_history.dat and the global command history is saved to .roc_cache/repl_history.dat in the user's home directory (os-dependent.)
This change also adds a :save command to the repl which uses rustyline's built-in history to save your current session's command history to a file. By default, your session's command history is discarded when the repl is terminated.
:save newfile should create a the file and save to it
:save existingfile saves the history to that file if it's writable, overwriting its contents. (Maybe this is less than desirable.)
:save unwritablefile surfaces the IO error to the user if it can't be saved.
This change also adds a no-history flag which tells the repl not to load or save to the project-specific or global history files during the session. This makes for a cleaner interface with the current repl tests, which would otherwise potentially fail on disk issues or fill up the global command history file with test commands and make a big mess.
current flaws; File errors are surfaced on open, not on write, so if you open the file and then set it unwritable while the repl is running it will not surface an error. Might fail silently with a full disk. Might have trouble with multiple repl's open simultaneously trying to lock the global command history. (it seems okay with two)

Closing as this has not been active for some time. Please re-open if you would like to update and merge these changes.


Added support for correct indexes in non-integer indexed childcollections

This will allow users to implement interface IIndexedCollectionItem for child collections items that uses something else than integers as indicies. Makes FluentValidation work well with BeginCollectionItem-helper in MVC

This will solve Issue #125

Thanks!


Add new metrics and update sleet version

Add metrics for project target version, package updates and package actions.
Update sleet version

@birojnayak FYI: some of your comments are related to decisions I made in the first iteration of our CTA metrics so I followed up on those.

@birojnayak FYI: some of your comments are related to decisions I made in the first iteration of our CTA metrics so I followed up on those.


Add ability to cause the test to fail

This adds the ability to cause the test to fail when console messages are logged, similar to protractor-console-plugin.

I came here looking for this feature, and here's a PR for it ^^
@pmowrer would you mind taking a look at this?

I made my own PR, actually! https://github.com/Updater/protractor-console/pull/12


Support async client for azure-storage-blob extension

The idea/requirement actually comes from #179: produce an async client so it can be used in reactive programming in Quarkus.

find a way to use async client, pls see the sample here
https://github.com/hbzhou/quarkus-storage-blob/blob/main/src/main/kotlin/com/itsz/StorageBlobAsyncResource.kt

@hbzhou Now we support async client in azure-storage-blob extension, see more information from https://github.com/quarkiverse/quarkus-azure-services/issues/175#issuecomment-2099605113.


rocal_pybind - DLPack for generic pipeline

Add dlpack support for generic pipeline
Update READMEs and setup and dockerfiles
Update examples that use generic pipeline (decoder, external source reader and prefetch queue depth)

@SundarRajan28 Can you please review and test this PR


Reset competition data

I suggest having a button with a confirmation dialog that deletes the modules/scoring/data directory. This will not reset the passwords, but it will delete all the settings specified in fllscoring, and all of the scores; which I believe is all the competition data.

That sounds good. Do you think we can make it configurable, so that each module can have an attribute to specify which path (s) to delete, so that the only place the launcher is aware of the modules is still in modules.yml?

We can, and I think I'll even expand that to also support a resetScript property

Sounds even better

Fixed by #29


feature request: temperature bar

I want a compat temperature lovelace card. I googled everywhere but can't find one that suit my need, bar-card is the most close one (because it's compact). while others like to make arc/round thermometer
Can you make bar-card with more features like this

not identical to what i want, but some requested features are included in the pictures:

red/green/blue segements bar in the first picture, so we can tell if above or below and how far my current room temperature is from confortable

unlike the red/green/blue segments being a side bar in the picture, it should fill the whole bar-card width

the indicator(s) like the second picture not the first one

multiple indicators (not in the picture) put in the same bar, customizable in style and take value of:

current room temperature (reported by sensor)
out door temperature (reported by sensor or weather component)
target temperature (set in climate device)

can also apply to humidity sensors

https://www.home-assistant.io/lovelace/gauge/ the needle mode is close to what i want, except i'd like a compact bar not gauge, with multiple needle supported


Add git icons for events and contributor activity in event title

I want take this task plese provide me this

@rithviknishad  how can I get  the icon links.

We have react icons packaged being used in leaderboard.
Icons can be browsed from here: https://react-icons.github.io/react-icons/

@rithviknishad can you please assign task to me?

@dgparmar14 you are already assigned

Icons looks like this? right?

Yup! Feel free to tweak the layout of a timeline node to make it represent in a cleaner way!

I create one pull request for this issue can the mentor please review and if any changes are required please instruct me.

Kindly link the PR with the issue. Refer: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword


lean-mode: use stage0 in Init/

The first commit changes the bin_lean_stage0 target to copy the executable to a new, separate path bin/lean_stage0, and changes bin_lean (and with that bin) to always build it as well. The second commit makes lean-mode conditionally use it via a small wrapper script.

merged


Deleting .code-workspace contents can break existing workspace

Testing #35871

Create a simple workspace:

{
	"folders": [
		{
			"path": "main"
		}
	],
	"settings": {
	}
}

Open workspace in vscode
Now in a separate editor, open the workspace file itself and delete all of its contents
Reload the opened workspace window.

Bug

Developer console shows:
TypeError: Cannot read property 'configuration' of undefined
 at t.getWorkbenchState (file:///Applications/Visual Studio Code -
Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:10:309065)

This works now and opens window with empty folders


load time for TypeScript and JavaScript files is too much

Extension Name: typescript-language-features
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.17134
VSCode version: 1.28.2

We have written the needed data into your clipboard. Please paste:
{
	"activationTimes": {
		"startup": false,
		"codeLoadingTime": 757,
		"activateCallTime": 1209,
		"activateResolvedTime": 0,
		"activationEvent": "onLanguage:javascript"
	}
}

What is going wrong? That pasted logs indicate a time of one second

This is a shot of my task manager on windows. I can't run 2 instance of vscode.
i am tired of the heavy lag. i used to enjoy vscode but now it very difficult for my to get my job done very easily.

Please take a look at our issue reporting guide and provide the necessary information to investigate this. There's a section on perf issues too: https://github.com/Microsoft/vscode/wiki/Performance-Issues


Store stored data size

I have added a function to retrieve the used data size of a storage.
And created some tests to test this function.

Very good. Thank you.


⚠ cpp & notepad++ icon not wokring throwing HTTP-404 error ⚠

I'm using simple-icons-cdn for icons.
Current this two icon not wokring

https://cdn.simpleicons.org/c++
https://cdn.simpleicons.org/notepad++
Throwing HTTP-404 error

This might be happening after yesterday changes

It should be fixed now.

wow!
Thank you


[Improvement] Local cache should be turned off by default

What would you like to be improved?
In production environments, multiple Gravitino instances are typically deployed, which can lead to data inconsistency issues with local caching.
If data is deleted in one instance and then retrieved from another instance, the cache in the second instance may still contain the data.
In our scenario, we encountered an inconsistency issue, after deleting a role and then attempting to retrieve it, found the data still exists
Therefore, local caching should be disabled by default, allowing users to evaluate and choose whether to enable it.
Alternatively, a caching framework can be provided, allowing users to select the caching implementation, such as local caching or distributed caching.
How should we improve?
No response

For single instance deployment, local cache is still valid; I think the point is, when deploy it into multi-instances, should use external shared cache like a redis, instead of using local cache.

In production environment, it is impossible to have only single instance deployed. If other companies deploy production
environments, they will encounter the same issue.
Given that Gravitino currently does not support configuring external shared cache, local cache should be disabled by default to avoid data inconsistency in production environment.

We're going to remove this local cache, as the number of roles will be significantly dropped after we refactor to use ownership mechanism.

@lw-yang Do you like to submit a pull request to fix the issue?

@jerqi Ok, I would like to fix it

@jerqi Ok, I would like to fix it

Gently ping. Will you continue this work?


How to configure sub addressing

I am trying to implement sub addressing for activating reply by email in gitlab:
https://en.wikipedia.org/wiki/Email_address#Sub-addressing
I know I need to add in postfix-main.cf:
recipient_delimiter = +

There is a wiki page about it: https://github.com/tomav/docker-mailserver/wiki/Configure-Aliases#address-tags-as-an-alternative


[server-wallet] Expand 2xwallet test to cover channel closing

This is a self-contained change merged into a feature branch #2672. We could merge it into master

This is a self-contained change merged into a feature branch #2672. We could merge it into master

Should I interpret this to mean this branch should be marked ready for review?

In favour of #2688


Both banners appear when forcing fullscreen

When the window manager ignores window constraints and fullscreens Etcher, both the fallback and external banners show up. We could solve this by positioning the external banner from top instead of bottom.

When the window manager ignores window constraints

How common of a situation is that? ;)

@Shou My suggestion in the call was to wrap the contents of the application in a div, set a max-height and max-width to that div, and then center it in the window using flexbox. Then, if window manager maximizes the application, the content will remain centered, on the desired dimensions, so the only consequence will be a lot of margins.

@lurch I believe most tiling WMs do this, so if you have a tiling WM then most of the time, unless you create rules for Etcher, e.g. make it float, or have a specific size.
@jviotti thanks for the refresher!


Add new passes related to Linalg and Affine dialects

Register the Linalg dialect and add passes related to the lowering of Linalg and Affine dialects.

LGTM
Quick question: what happens if a new MLIR pass is added; do we need to manually add it here, or we are adding "whatever is currently in MLIR?" Maybe add a comment with the answer...

The passes are added based on the dialect they apply to. Adding new passes requires the addition of libraries as well so I only added the groups of passes which contain the passes you wanted to use.


Keyboard shortcut popup does not read out the message

Environment Details:
VSCode Version : 1.24.0
OS Version : Win10
Additional Details:
Screenreader,NVDA[2018.2],MAS1.3.1
Repro Steps:
1.Launch VS Code while NVDA is ON.
2.Navigate to Settings icon in Activity Bar->Press Enter->Select "Keyboard Shortcuts" from dropdown.
3.Select any row and navigate to edit button and click on it.
4.Observed that screenreader is not reading the data present in the popup.
Actual:
NVDA is not reading the popup data "Pree desired key combination and then press Enter"
here NVDA is reading it as "code: AltLeft, keyCode: 18, key: Alt => UI: Alt+, user settings: alt+, dispatch: null edit blank"
Expected:
NVDA should reads the popup data.Here NVDA should reads "Pree desired key combination and then press Enter".
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
User will not understand what action have to performed.
MAS Reference:
MAS1.3.1- https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment For Reference:
[Accessibility]A11y_VSCode_KeyboardShortcuts_ScreenReader.pptx
Does this issue occur when all extensions are disabled?: Yes

This feels like law hanging fruit, the keyboard popup should simply read out the title text. Leaving to July


Network selector: accept custom header

Preview is available here:http://laboratory-pr1101.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr1101.previews.kube001.services.stellar-ops.com/

Waiting on a fix in JS Stellar SDK

Preview is available here:http://laboratory-pr1101.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr1101.previews.kube001.services.stellar-ops.com/


Remove a bunch of internals, it can be private.

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


Can you please provide further information about each values of status props in the render function?

Hi
I'm developing a video recording function in our website, btw, I'm facing some issues in the status props of render function, so I need detailed information about those values.
Anyone can provide further information about these values of status please? :)
media_aborted
media_in_use
invalid_media_constraints
no_constraints
recorder_error
acquiring_media
stopping
Looking forward to hearing from you soon!
Thanks!

Looks like these are mix of  errors and status. Might've mixed things up. These are emited from the getUserMedia and all.

value
cause

media_aborted
Although the user and operating system both granted access to the hardware device,and no hardware issues occurred that would cause a  NotReadableError, some problem occurred which prevented the device from being used.

media_in_use
One or more of the requested source devices cannot be used at this time.

invalid_media_constraints
The specified constraints resulted in no candidate devices which met the criteria requested.

no_constraints
The list of constraints specified is empty, or has all constraints set to false.

recorder_error
MediaRecorder encountered an error

acquiring_media
(not in error but in status) currently acquiring permissions from user.

stopping
(not in error but in status) stop request is initiated

Thank you! @0x006F


mod_aspnet does not work remotely with server 2012

There's an issue with the windows_feature_dism provider (see https://github.com/opscode-cookbooks/windows/issues/196) when installing NetFx3 remotely. Powershell works, dism does not. NetFx3 is required for the mod_aspnet recipe. However, the recipe is written to only support dism, which doesn't work with the dependency NetFx3.

@tophercullen hello,
i'm not sure I completely understand the concern or the request.
The referred example is closed and I believe their solution is the same here.


Protobuf 3

How can I help make sure this project can support proto3?

It would be perfect if proto3 is supported.

https://issues.apache.org/jira/browse/PARQUET-665
Proto3 support has landed in Parquet.

Thats great news! Would this just be a matter of updating the dependency once mr-parquet releases the changes?

happy to take PR/contribution. I wonder how one would handle protobuf 2.5 that is already shipped with Hadoop and Spark?

@saurfang That's a good question. There may not be a good way to support both protobuf 2.5 and protobuf 3.0. To use proto3 with Spark that already ships with proto 2.5, we can use shaded jars.

@saurfang Btw, does this work directly with Spark 2.0 or needs some re-work?

@IceMan81 this is exactly what we do for a number of our jobs.
<relocation>
  <pattern>com.google.protobuf.util</pattern
  <shadedPattern>shaded.com.google.protobuf.util</shadedPattern>
</relocation>
<relocation>
  <pattern>com.google.protobuf</pattern
  <shadedPattern>shaded.com.google.protobuf</shadedPattern>
</relocation>


button: aria* information table

I have been working in the accessibility group to figure out ways to improve dev a11y usage/experience.
One idea I had was to use a table to make it easier for devs to find what attributes they can/should use on core components and why. I'm starting out with button. If you all think this seems like a good path, I'll work on something similar for the others (though I think button is the one with the most aria* attributes/most intertwined usages)
I put it in its own document, but it's small enough where it might be okay just in the regular readme.

Good suggestions! I'm okay with the idea of mostly not mentioning aria-label other than with d2l-button-icon and just encouraging usage of description


Selection area is jumpy when mouse dragged over node

When dragging the mouse to select some nodes, there's a "jump" in the selection <div> when the mouse moves over the "hitbox" of <text> or its wrapping <g>, and/or perhaps the children <tspan>:
<g font-size="16" transform="translate(25.75,20)">
    <text class="text" dy="0" text-anchor="middle" font-size="16">
        <tspan class="quote">" </tspan><tspan>a</tspan><tspan class="quote"> "</tspan>
    </text>
</g>

Thanks for reporting this.
Can you provide your OS, and browser info? I can't reproduce it.

Can confirm, the above link works 👍
I was using Firefox, Win 11 (forgot to check in other browsers as well as adding the browser/OS info in ticket).


Fixing owasp property issues

@kasungayan  do we need to merge this PR now?

I guess same fix has done with: https://github.com/wso2/product-is/pull/832
@pulasthi7 Can you please verify and close this PR.
Thanks,

Yes, this looks same. closing since already fixed.


EditorPlugin.add_autoload_singleton cause confirm save verytime when close project.

Tested versions
v4.3.beta3.mono.official [82cedc83c]
System information
Godot v4.3.beta3.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 5GB (NVIDIA; <IP_ADDRESS>23) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)
Issue description

Steps to reproduce

open the MRP
close the MRP

Godot editor comfirm you save.

Minimal reproduction project (MRP)
PluginTest2.zip

Just a guess: the autoloads are stored in the project settings, so when the editor is closed the plugin changes the project settings and maybe add_autoload_singleton does not save them, so godot prompts you to do it. Calling ProjectSettings.save() in _exit_tree could be a workaround. Don't have time to test it right now.

As I'm suggesting in the linked issue above, I don't believe anyone should add autoloads within _enter_tree(). If you write in GDScript, you'd better utilize _enable_plugin() for that. However, in GDExtension this function won't get called, so I don't have workaround for this case.
Not sure about C#


chore: enhance docs structure

re #368
Updated:

Homepage - links based on new structure
Header navigation - Guide link (to match Router and Pinia doc), playground link & GitHub link
Getting Started - contains Introduction, Features & Installation pages
Moved FAQ & Contribution to a Help section
Added some info texts

Nice to have:
https://github.com/vuejs/create-vue-templates/tree/069649e4613d3430f930935e2dbdb76a6a80ab2e/devtools — In order to view pinia and router integration, we may need to update playground template to devtools-router-pinia

Great work! Thank you~


Add vscode functionality to UniversalDashboard Template

Create the ability to start UD Dashboards out of VSCode.
This is done with the task framework in VSCode

Pull request merged


New option "limitDays" - limit the number of discrete days to be displayed

New option "limitDays" - limit the number of discreet days to be displayed
Limits the number of days display to "limitDays", limitDays=0 means no limit.

Please send your pull requests the develop branch.
Don't forget to add the change to CHANGELOG.md.

Note: Sometimes the development moves very fast. It is highly
recommended that you update your branch of develop before creating a
pull request to send us your changes. This makes everyone's lives
easier (including yours) and helps us out on the development team.
Thanks!

Does the pull request solve a related issue?
If so, can you reference the issue?
What does the pull request accomplish? Use a list if needed.
If it includes major visual changes please add screenshots.

Thanks! Can you please add info about these new features to the docs? (PR)

Will do!
Den tis 8 dec. 2020 kl 15:24 skrev Michael Teeuw<EMAIL_ADDRESS>
Thanks! Can you please add info about these new features to the docs? (PR)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/pull/2215#issuecomment-740650022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFK3G3AM4LDHVDUU4ATHTQLSTYZK7ANCNFSM4UFY74IA
.

--
Johan Alvinger |<EMAIL_ADDRESS>| +46 76 779 8870 | +46 8 267180 |
Västerled 184, 167 72 Bromma


Allow length(array) in addition to length(string)

Apparently length() can't be called with an array argument currently. If I'm not mistaken, that's POSIX behaviour. Though, various other awks support it. The following program:
BEGIN {
	split("abc", a, "")
	for (i=1; i<=length(a); i++) {
		print a[i]
	}
	exit
}

, run with goawk, will print parse error: can't use array "a" as scalar. As I noticed, I can work around it using n = split(.... So perhaps in this case it is not much of a problem, but I opened the issue nonetheless, just in case this isn't intended.

Thanks @knieriem. This is (more or less) intended, as I'm following POSIX here. I also think it's a bit weird (in AWK terms) that a function can take both a scalar and an array. As you say, it's easy to work around, so I think I'll leave it.

I've decided to reopen this as -- despite not being mentioned in the POSIX spec -- this is supported by all awk versions except GoAWK (onetrueawk, Gawk, mawk, busybox awk, frawk). And it's quite useful.

It's apparently been accepted for inclusion into POSIX (https://www.austingroupbugs.net/view.php?id=1566) but not yet added to the spec

Finally fixed this, more than four years after the issue was opened. Thanks @knieriem. :-)


[feature request] Use ObjectReference as fateClusterRef

We now use fateClusterRef: fatecluster-sample to tell the operator that the FateJob is owned by the cluster.
Can we use ObjectReference instead of string for better reuse and supporting FateClusters in other namespaces?
For example:
apiVersion: app.kubefate.net/v1beta1
kind: FateJob
metadata:
  name: fatejob-sample
  namespace: fate-9999
spec:
  # FATE cluster deployed in the Org.
  fateClusterRef:
    name: fatecluster-sample
    namespace: default
    kind: FateCluster

New feature, /assign @LaynePeng

/assign @LaynePeng
/help
/kind feature

/remove-help

Feature merged
/close


[BEAM-334] DataflowPipelineRunner: bump environment major version

R: @peihe @tgroh either will do

Forward port of https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/297

LGTM


Upgrade to FontMetrics >= 0.5 leaves the example Scenic apps in an infinite crash loop on startup.

As of FontMetrics v0.5 it appears the function, from_binary/1 has been removed. However, Scenic still attempts to call this from the Scenic.Cache.Static.FontMetrics module. This causes an infinite series of crashes and restarts during init.
Checklist

[ x ] Check other issues and make sure that it is not reported yet.

Versions and Environment
Elixir:
# elixir -v
Elixir 1.11.2 (compiled with Erlang/OTP 23)

Erlang:
# erl -v
Erlang/OTP 23 [erts-11.1.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Scenic:
# mix deps | grep scenic
* scenic 0.10.4 (Hex package) (mix)
  locked at 0.10.4 (scenic) d4c0b7f2

OS:
Linux 5.11.22-100.fc32.x86_64 #1 SMP Wed May 19 18:58:25 UTC 2021 GNU/Linux

(Fedora Workstation 32)
Steps to reproduce

Run the following commands from the "Getting Started - Scenic v0.10.4 guide":
mix scenic.new.example my_app
cd my_app
mix do deps.get, scenic.run
Observe debug output in terminal and accompanying blank black Scenic window.

Expected Behavior
The Scenic window should produce a working example application and the terminal should at most show info or warn level output.
Actual Behavior
No application is visible in Scenic window and a rapidly recurring error message and stack trace is shown in the terminal.
Stack Trace
%UndefinedFunctionError{arity: 1, function: :from_binary, message: nil, module: FontMetrics, reason: nil}
-->     (font_metrics 0.5.1) FontMetrics.from_binary(<<61, 145, 193, 107, 19, 65, 20, 198, 119, 187, 19, 76, 78, 213, 255, 160, 224, 65, 80, 18, 90, 109, 106, 10, 34, 162, 88, 83, 74, 138, 132, 22, 241, 32, 227, 102, 243, 54, 14, 238, 206, 44, 51, 179, 37, 61, 107, 75, 211, 150, ...>>)
    (scenic 0.10.4) lib/scenic/cache/static/font_metrics.ex:226: Scenic.Cache.Static.FontMetrics.load/3
    (scenic 0.10.4) lib/scenic/cache/static/font_metrics.ex:154: Scenic.Cache.Static.FontMetrics.get/2
    (scenic 0.10.4) lib/scenic/scenes/error.ex:44: Scenic.Scenes.Error.init/2
    (scenic 0.10.4) lib/scenic/scene.ex:882: Scenic.Scene.handle_continue/2
    (stdlib 3.14) gen_server.erl:689: :gen_server.try_dispatch/4
    (stdlib 3.14) gen_server.erl:431: :gen_server.loop/7
    (stdlib 3.14) proc_lib.erl:226: :proc_lib.init_p_do_apply/3

I think this is fixed by #219, it just hasn't been released on hex yet.

Seems like it. Pardon my missing that. I'll just close this issue.


Wrong string sizes

With R's haven package, I can create some test files
> for(i in 1:26){
+ write_xpt(data.frame(x = c(paste(letters[1:i], collapse=""))), paste("testfile", i, ".xpt", sep=""))
+ }

then when trying to read it with the new version of this package, I'm getting
julia> for i in 1:26
         @show i
         readstat("testfile$i.xpt")
       end
i = 1
i = 2
i = 3
i = 4
ERROR: ArgumentError: string too large (4) to convert to String3
Stacktrace:
  [1] stringtoolong(T::Type, n::Int64)
    @ InlineStrings ~/.julia/packages/InlineStrings/HDs9F/src/InlineStrings.jl:311
  [2] String3
    @ ~/.julia/packages/InlineStrings/HDs9F/src/InlineStrings.jl:275 [inlined]
  [3] String3
    @ ~/.julia/packages/InlineStrings/HDs9F/src/InlineStrings.jl:267 [inlined]
  [4] _str3
    @ ~/.julia/dev/ReadStatTables/src/columns.jl:148 [inlined]
  [5] _setvalue!
    @ ~/.julia/dev/ReadStatTables/src/columns.jl:195 [inlined]
  [6] handle_value!(obs_index::Int32, variable::Ptr{Nothing}, value::ReadStatTables.readstat_value_t, ctx::ReadStatTables.ParserContext)
    @ ReadStatTables ~/.julia/dev/ReadStatTables/src/parser.jl:180
  [7] parse_xport(parser::Ptr{Nothing}, path::String, user_ctx::Base.RefValue{ReadStatTables.ParserContext})
    @ ReadStatTables ~/.julia/dev/ReadStatTables/src/parser.jl:44
  [8] _parse_all(filepath::String, usecols::Nothing, row_limit::Nothing, row_offset::Int64, useinlinestring::Bool, pool_thres::Int64, file_encoding::Nothing, handler_encoding::Nothing)
    @ ReadStatTables ~/.julia/dev/ReadStatTables/src/parser.jl:235
  [9] readstat(filepath::String; usecols::Nothing, row_limit::Nothing, row_offset::Int64, convert_datetime::Bool, useinlinestring::Bool, pool_thres::Int64, file_encoding::Nothing, handler_encoding::Nothing)
    @ ReadStatTables ~/.julia/dev/ReadStatTables/src/readstat.jl:49
 [10] readstat
    @ ~/.julia/dev/ReadStatTables/src/readstat.jl:32 [inlined]
 [11] top-level scope
    @ ./REPL[16]:3

and a similar error shows up for i == 8 so I guess there is a off-by-one error somewhere.

Thanks for reporting this! It seems that when writing the files, haven sets the variable width in metadata as the length of the strings. This causes the error because the inline string type is chosen based on the metadata and the way how haven sets the variable width is different from what Stata does at least.
In stata, a variable of type str3, for example, that consists of strings of length up to 3, has a storage width of 4 in the metadata. I assumed that this is also the case for SAS and SPSS. But, if this is not the same across the different formats, then solely relying on the metadata for choosing the string type is problematic.

Fixed by https://github.com/junyuan-chen/ReadStatTables.jl/pull/16.


need to actually return the repositories

Took me a while to figure out why I was getting errors about no more pages and was getting no results.

Hum this is weird. This method has named return vars.
So the repos var should be returned already.

Ahh.  Ok hadn't used those before (working on my second go project).
That being said, I think that either the change is still correct or there needs to be a documentation update.
By returning err as non nil, I'd argue it's breaking the conventions I've been seeing so far.  At the very least putting in a godoc comment and updating the README example of how to get a list of repositories would be correct.  Or just take this change and it'll be more idiomatic I believe.  Thoughts?

Oh right, err isn't nil hence the issue.
Could you remove the named return var, since with you change, all return are specifying the return values?

In that case, I'd need to explicitly do a make on the repos slice, correct?  Or do you mean to just remove the name on the error?

No, I mean replacing:
func (registry *Registry) Repositories() (repos []string, err error) {

To:
func (registry *Registry) Repositories() ([]string, error) {

Thank you.

de rien


Add support for subfolders in fileName option

I encountered this error (#14) and added support for subfolders structure
Thanks for the plugin!

Thanks @pabloparejo!


Bug - getting selected values from multiple select box throws exception

On your page
http://ivaynberg.github.io/select2/
under heading
Programmatic Access
When I select
California
Oregon
Washington
in the second select box and then click the "Alert selected value using data" button, there is a JavaScript exception
Uncaught TypeError: Converting circular structure to JSON
at
(index):766
I am using Google Chrome.
By the way, I love select2, very impressive and useful!

I'm closing this ticket off because of inactivity. By the looks of it, this issue was more than likely fixed in the latest version of Select2.


Nick Jones, Sam Barrows: Uber's Synthetic Control | PyData Amsterdam 2019

0.05 - Introduction
0.36 - What to do when A/B testing is not possible
2.00 - Motivating example: Cash trips at Uber
3.47 - Experiment: Tell drivers if a trip is cash
5.07 - Why an A/B Test doesn't work here: Spillover effects
6.53 - What to do instead of A/B: Look at before and after
7.40 - What to do instead of A/B: Switchbacks
8.46 - What to do instead of A/B: Difference-in-Differences
10.21 - A/B Alternative: Synthetic Control
11.47 - How do we form our synthetics?
13.42 - How do we estimate treatment effect?
14.57 - Synthetic control performance
15.32 - Synthetic control implementation at Uber scale
16.25 - Other use cases for Synthetic Control at Uber: Uber POOL
18.17 - Other use cases for Synthetic Control at Uber: Surge pricing
19.04 - Limitations of Synthetic Control
22.06 - Key takeaways

Same as I mentioned in the other one. Thanks again, these are great!


VS  Build fail due to unrecognized element "Remove"

This is to inform in the event anyone else runs into this.
Recently had to change over to a new laptop since my last system is simply on its last leg. As I generated a fresh .Net Serenity (not the Core) build to play with for a new project, I ran into a issue were the project file was not being built properly, kept getting a project load fail error followed by the following error output:
c:\Users\sayug\Documents\Visual Studio 2015\Projects\Serene3\Serene3\Serene3.Web\Serene3.Web.csproj : error  : The attribute "Remove" in element  is unrecognized.  c:\Users\sayug\Documents\Visual Studio 2015\Projects\Serene3\packages\Microsoft.TypeScript.MSBuild.3.4.0\build\Microsoft.TypeScript.MSBuild.props
What appears to be the issue is that the Microsoft.TypeScript.MSBuild.props has a attribute reference to "Remove" that it's not recognizing. This is being used as part of the  reference in the file. I just commented it out to get the project back up and running.
Should end up looking like this:
 <ItemGroup Condition="'$(EnableDefaultItems)' == 'true' AND '$(EnableDefaultTypeScriptItems)' == 'true'">
    <!--<None Remove="$(DefaultTypeScriptIncludePattern)" Condition="'$(EnableDefaultNoneItems)' == 'true'" />
    <Content Remove="$(DefaultTypeScriptIncludePattern)" Condition="'$(EnableDefaultContentItems)' == 'true'" />-->
    <TypeScriptCompile Include="$(DefaultTypeScriptIncludePattern)" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
  </ItemGroup>

All in all I believe this is just a small bug from setting up the exclusion of Typescript files from the default items in the Core projects.

Thanks @sayuga, newer TypeScript msbuild package is not compatible with VS2015, need 2017+

I have created a new project, also cannot build successful. I got a smilar issue with you, but a litter different.  Could you please help me to check it?
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ....\packages\Microsoft.TypeScript.MSBuild.3.4.0\build\Microsoft.TypeScript.MSBuild.props.	SERENE.Web	D:\02_工作\05_我的项目\Serene\SERENE\SERENE.Web	D:\02_工作\05_我的项目\Serene\SERENE\SERENE.Web\SERENE.Web.csproj	1897	生成


How to change the style of my edge?

I need to create an edge in this format, but I do not know how to change the arrow style.

My edge

Duplicate of https://desk.draw.io/helpdesk/tickets/8755

https://stackoverflow.com/q/52068671/10286700


(chore): Log anonymised email address for users who weren’t authorised

This will be helpful during the early stages of inviting new users in gaining confidence in the process to know whether it is sensible to invite more users. We want to know that for all users that see the not-authorised page, it is because they have been invited to DSI by another service and are truly not allowed access yet, as opposed to a bug in our invitation process.
We don't want or need the full personal email addresses that are coming back from DfE Sign-in to be sent to Papertrail as I think we can get away with checking every other character against the list we've invited before looking up in DfE Sign-in and our authorisation tool to debug.

 Understand if hiring staff who aren't authorised are a symptom of a problem and a reason not to invite more users


Pop-up Notifications in screen

Hi.
Would be great if the plugin allows us to generate buttons to send pre-defined messages to the TV.
So if I'm watching the TV and someone opens the door, I can be informed directly in the TV.
I don't know if this is possible or not, but could be a good option (I saw it for Home Assistant but not for Homebridge).
Many thanks in advance.

Yes, showing a notification on the TV is certainly possible.
But the questions is, how would you connect that to other devices or actions with a custom message?

Hi merdok.
As it will not be possible to generate custom messages "on the fly", one option can be something similar to what you are doing with the appSwitch.
Let's supose that we define a property called textMessages where we can inform an ID and a text message. The ID will be there to be able to identify the option even if we change the text.
"textMessages": [
{
"id": "BackDoorOpen",
"text": "The back door is open"
},
{
"id": "MovementOutside",
"text": "Movement detected in the backyard"
}
]
You can create two accessories (switches) to activate the message in the TV everytime the switch is activated (and will be deactivated inmediatly after the activation).
So we can automated the event coming from another accessory (body sensor, contact sensor, ring bell button,...) to generate the messages.
Of course, the messages will be shown only if the TV is on (it's not needed to wake up the tv).
Could I explain you my idea about that?
 :-)
Many thanks in advance.

I wanted to prevent extending the configuration to not overwhelm users with a lot of options to configure and confuse them.
I think i saw a homebridge plugin where a switch was reading the name that the user associated it with in the Home app, maybe this could be used as a custom message for the notification.
I know that the Home app can send notifications when something happens, can this somehow be used by Hmebridge? I think that would be ideal for it.
I find the idea good and useful but i would need to think about it how would be the best way to implement this feature.

Great !!!   Of course this was only an idea and I'm sure that you will find better ways to implement it.
I'm happy that you are going to consider it.
Many thanks for that and for the great job done with this useful plugin.

Did you find a way to solve it?
Maybe some easy solution is to implement it as you did with appSwitch (just a set of strings that can be used to create the "buttons"). ;-)

Sorry i did not have time yet to have a look into it. Hopefully i can do that soon...


Python 3.11 support

This adds support for Python 3.11, making sure to keep support for Python 3.10 in case we're a little slow bumping the bots, but still want to make changes to bot-core.

While we're at it, could we split up the deps file? A linting group, docs group, and dev group could be nice here. Additionally, if we wanted to we could have downstream projects use the same linting deps by installing that group and remove them from there.


cranelift: Add fadd/fsub/fmul/fdiv to interpreter

👋  Hey,
Fuzzgen found that we were missing these as soon as I added float support

I expected to see fdiv tests for the case of a non-zero value divided by zero, which I assumed would return NaN, but I didn't see such tests in that section. Did I miss something?

You're absolutely right, we are missing those cases. Ill add them.

In the implementation of the interpreter, would it make sense to have all integer values be represented using std::num::Wrapping? Then I think all the uses of binary_match! that you updated here could just use e.g. +(self, other) for both integer and floating point types, and you wouldn't need an is_float function.

That sounds like a good idea for the interpreter. However DataValue is shared with the rest of the compiler and I think that will have some knock on effects which I'm not quite sure of the implications that would bring.
I'm willing to try and make that change if you think its worth it.

I think we have them all now. Thanks for reviewing this!

 Code review is good for me, I learn things. :laughing:
Did you mean to comment out test interpret in that last force-push, or was that an accident?

Oops, should be fixed now.


ADD headlines and details for enterprise contract.

This commit addresses HACBS-2177.

A few notes/ideas/suggestions:

The title image currently on https://enterprisecontract.dev/ disappears for larger screen sizes. Not sure if that's a bug or intentional, but I think we want to keep it there probably.
I think the look is really good, but I think overall it should be smaller, like the h2 and the p could be roughly the same size as the blog heading and blog excerpt.
I like the gentle wave, but it might be a stylistic clash with the header circles. Maybe we need to choose one of other of those rather than both.

A few notes/ideas/suggestions:

The title image currently on https://enterprisecontract.dev/ disappears for larger screen sizes. Not sure if that's a bug or intentional, but I think we want to keep it there probably.
It was intentional. The repetition of, effectively, the same imagery in the header and the hero portion was redundant. None the less, I've restored it on large screens.

I think the look is really good, but I think overall it should be smaller, like the h2 and the p could be roughly the same size as the blog heading and blog excerpt.
done.

I like the gentle wave, but it might be a stylistic clash with the header circles. Maybe we need to choose one of other of those rather than both.
Removed circles.


Accommodate altered semantics of cudf::lists::contains()

Depends on rapidsai/cudf/pull/9510.
Depends on rapidsai/cudf/pull/9901.
spark-rapids relies on libcudf's cudf::lists::contains() for its implementation of array_contains().
rapidsai/cudf/pull/9510 changes the semantics of lists::contains(), with regard to rows containing nulls. Specifically, if a list row contains at least one null element, and is found not to contain the search key, libcudf will now return false instead of null.
SparkSQL expects to return null in those cases.
This commit accommodates the change in libcudf's semantics, to keep its own existing behaviour.

build

This PR is ready for review, although it's still in draft. It can't be merged until the dependencies in CUDF have been merged.

(Modified for changed CUDF function name. copyWithValidity -> copyWithBooleanColumnAsValidity.)

Re-tested after changes to dependencies in libcudf. Will rebuild after rapidsai/cudf/pull/9510 is merged.

rapidsai/cudf/pull/9510 was just committed. I've pulled this PR out of draft.

build

Even though rapidsai/cudf/pull/9510 has not gone all the way through CI yet. I think we can still test/commit this. Because the extra processing should be a noop if listContains is behaving the old way too.

oops I was wrong. It needs a new API that was missing before.

build

Merging this to head off impending CI breakage.

Thank you for the review, @revans2. @tgravescs, thank you for confirming that the CI has passed with the new libcudf artifact.


Added a note about duckdb version

The extension should work fine with v1.1.1 and higher which is where the support for community extension was introduced. There's no actual dependency with v1.1.2 and all decisions are made by the pipelines in the community-extension repository.

added to requirements. thanks!


I want to blur everything except the line I'm typing. How do I do that? Please

I mean, I want the part of the display to follow the position of my cursor，How do I do that?

Same question, how to make the line (or lines above and below) where the "edit cursor" (not the mouse position) is visible？


Issue/get java to follow sbt 1000388

If SBT request recompile of java sources in the current module due to a change in another
module, the delta that we build for the current project will be of kind
NO_CHANGE and later ignored by the compiler even if it contains source
delta children.
This fix makes sure that the delta always indicates some kind of change to java compiler.

If you have the time to look at this, I have created a small project with the same problems as we experience at work.
https://github.com/froden/scala-ide-test
Please see the README for steps to reproduce.
Thank you!

Any comments on this?
I would really like to contribute to get this issue fixed. At the moment it prevents us from using scala-ide in our project. But I need some feedback if I'm on the right track and if I'm helping at all :)
Please also see my comments here:
https://github.com/scala-ide/scala-ide/commit/f71ac73714894fed873aa7934970b3197ceef935#comments
and another simpler example of the java builder issue here:
http://groups.google.com/group/scala-ide-user/browse_thread/thread/58f8477e230472b2

The idea is good, but I prefer to update the project delta node on the fly if needed. It has a more limited effect.
I pushed the change on the branch.
I'll check the part about nested modules now.
Thanks for taking the time to look at the problem.

Thank you for looking into it. I expected that you had a better solution to it since you know the inner workings better than me. As for the test-project I think that I can reduce the example even further to eliminate the need for an external dependency on apache HttpClient. Makes it more suitable for an automated test.
I'm hoping to see this as part of the final release :)


File Path Overlapping Main Content

The file path text slightly overlaps the main content (example image uploaded).
There seems to be a different z-index value (or its equivalent) given to some of the main content areas. Some of the checkboxes sit on top of the file path text and are less affected than certain paragraphs, which lie underneath the file path text.
Tested on 1280px by 720px screen.

Crap! Many thanks, Alex for your feedback. All that 'clever' I added code to elide the longest common prefix of a set of .eslintrc files -- as you would see in a multi-root project -- does not work when there's only one file. Doh! What I meant to show in your case was just the file name, less that path. I'll fix that right away and add a unit test.

Ah! I see from the code that more accurately I didn't cater for Windows paths. I'm just looking for / as a delimiter and not \. The clue is that the \ path separators are completely missing in the UI. They're being handled as escapes.

Fixed in 1.0.4.


Adding_Space_Img

As mentioned in #440 request, here's the scaled down "s p a c e" key img

@shoc71 Was this drawn or typed?

@slysnivy Typed

We need to keep it consistent since you said the other images were drawn. Therefore I'm rejecting this PR. All I've suggested is to use the words space instead of spacebar, feel free to say no and ignore my suggestion.


[sw] Add global pointer initialization to CRT library

Add a new crt_global_pointer_init function to initialize the global
pointer. This is nice because it means we don't need to disable
linker relaxations in as many places.

@mundaym would you mind addressing the small comment by mcy and we can get this merged?

Hi @mundaym, gentle ping.

Sorry for dropping this one. I've updated the PR based on the review comments. @silvestrst pointed out in https://github.com/lowRISC/opentitan/pull/4870#discussion_r560038478 that even with the new function it isn't safe to remove the code that disables linker relaxations from the assembly functions. That means this PR isn't as much of a win as it originally was. Happy to merge it if you think the function is useful or abandon it if you think the function is an unnecessary complexity.


what name for the .env file?

Dear,
Sorry, I'm a newbie.
This is the terminal output. What did I accomplish wrong?
Thank you
Last login: Tue Jun 11 15:16:58 on ttys001
/Volumes/Kindle/kindle_to_notion_mac_arm ; exit;
macbook@MacBookPro-di-K ~ % /Volumes/Kindle/kindle_to_notion_mac_arm ; exit;
thread 'main' panicked at '.env file not found: Io(Custom { kind: NotFound, error: "path not found" })', src/main.rs:10:23
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Just .env


Events do not show on calendar

I downloaded OoTD and everything works fine, except my Office Outlook calendar events do not show on the desktop OoTD calendar.  Can anyone assist?  Jim

Are you using the default calendar in Outlook?  or did you create a custom one?  If you created a custom one, you'll have to select it, by right clicking on the tray icon and choosing "Select Folder"

Yes, I am using the default calendar in Outlook.  I have not created a custom calendar--just the default on loaded in Office 2013.

Would you be able to attach screenshots of both your calendar in Outlook
showing items (please block out any sensitive info) and OotD not showing
any items?
On Fri, 3 Jul 2015 at 21:41 jware14<EMAIL_ADDRESS>wrote:

Yes, I am using the default calendar in Outlook. I have not created a
custom calendar--just the default on loaded in Office 2013.
—
Reply to this email directly or view it on GitHub
https://github.com/mscrivo/ootd/issues/2#issuecomment-118449156.

Attached care default Outlook calendar and desktop screenshots.  I suspect the problem is operator error, but darned if I can figure out what the error is.
Thanks
Jim Ware
<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell<PHONE_NUMBER>
From: mscrivo<EMAIL_ADDRESS>Sent: Monday, July 06, 2015 6:58 PM
To: mscrivo/ootd
Cc: jware14
Subject: Re: [ootd] Events do not show on calendar (#2)
Would you be able to attach screenshots of both your calendar in Outlook
showing items (please block out any sensitive info) and OotD not showing
any items?
On Fri, 3 Jul 2015 at 21:41 jware14<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

Yes, I am using the default calendar in Outlook. I have not created a
custom calendar--just the default on loaded in Office 2013.
—
Reply to this email directly or view it on GitHub
https://github.com/mscrivo/ootd/issues/2#issuecomment-118449156.

—
Reply to this email directly or view it on GitHub https://github.com/mscrivo/ootd/issues/2#issuecomment-119030691 .  https://github.com/notifications/beacon/AMiFLOTAdCao7k4k_AhIWBCr0Ko2XmIEks5oaw1wgaJpZM4FRHX7.gif

@jware14 you'll have to attach the screenshots directly to this issue in github, attaching them via email doesn't work.

Links below--hopefully they will work.  Thanks--Jim

Thanks Jim, got the images and removed them from here to protect your email address.  Very strange, do you know if you account is a connected Exchange account?  or just regular POP3/IMAP email?
I'm really not sure what would cause this.

My email is through Cox and is a regular POP3/IMAP email account.  I am puzzled also, but would like to get this app working—looks very useful!  Jim
Jim Ware
<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell<PHONE_NUMBER>
From: mscrivo<EMAIL_ADDRESS>Sent: Wednesday, July 08, 2015 9:31 PM
To: mscrivo/ootd
Cc: jware14
Subject: Re: [ootd] Events do not show on calendar (#2)
Thanks Jim, got the images and removed them from here to protect your email address. Very strange, do you know if you account is a connected Exchange account? or just regular POP3/IMAP email?
I'm really not sure what would cause this.
—
Reply to this email directly or view it on GitHub https://github.com/mscrivo/ootd/issues/2#issuecomment-119790932 .  https://github.com/notifications/beacon/AMiFLK243cBKtGLKqD8xg17DPxJqCrlBks5obdROgaJpZM4FRHX7.gif

What happens if you right click on the tray icon for OotD and select another view like Inbox?  or better yet, try "Select Folder" and pick Calendar from there.  Any difference?

If I select another view like Inbox the messages show on the desktop and if Contacts are selected they also show.  Only the calendar events do not show.
Picking Calendar in the Select Folder menu does not make any difference.  I tried both calendars available (untitled and untitled-this computer only) and nothing changed.
Possibly a calendar events linkage error?
Jim
Jim Ware
<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell<PHONE_NUMBER>
From: mscrivo<EMAIL_ADDRESS>Sent: Thursday, July 09, 2015 9:53 PM
To: mscrivo/ootd
Cc: jware14
Subject: Re: [ootd] Events do not show on calendar (#2)
What happens if you right click on the tray icon for OotD and select another view like Inbox? or better yet, try "Select Folder" and pick Calendar from there. Any difference?
—
Reply to this email directly or view it on GitHub https://github.com/mscrivo/ootd/issues/2#issuecomment-120208909 .  https://github.com/notifications/beacon/AMiFLKJZDkH0VagHKmct5PF35-nwl4Plks5obyrxgaJpZM4FRHX7.gif

I'm really at a loss as to what to do with this one, I've not seen it before.  The only other thing I can think of is to try creating a new Calendar in Outlook and see if the items on that one show up in OotD.  If they do and you find it's worth the effort, move everything from your old calendar to the new one.

I tried a new calendar--no luck.  I also tried updating to the latest version and it bombed.  I uninstalled the software then reinstalled with the latest version and this time it still bombed.  Below is the error message I got when trying to complete the install.

Does this shed any light on the problem?

@jware14 as a last ditch effort, try repairing your PST file according to the instructions here: https://support.microsoft.com/en-us/kb/272227


open service files in text mode

As mentioned in #647, swri_roscpp service splitter was opening service files in binary mode but parsing as strings, which Python3 does not allow:

Under Python 3, binary files and text files are clearly distinct and mutually incompatible; see the io module for details. Therefore, you must make a decision of whether a file will be used for binary access (allowing binary data to be read and/or written) or textual access (allowing text data to be read and/or written).

This fixes that, allowing services to be split in ROS Noetic and will also work with previous releases targeted by the master branch. The ros2 branches appear to have this fix already.

This looks good, but let me figure out how to branch this right. I think we're going to need a branch for Melodic until it goes EOL, since it's using Python 2.7.

I tested the changes with Melodic as well as Noetic, it should be backwards compatible as long as the service_splitter is not opening binary files (not sure why it would unless I am overlooking it).


Right sidebar links incorrect if the header contains a link

If a header contains a link, the right sidebar links are generated with a "link inside of a link". There needs to be a way to accommodate this edge case.
This can be seen on: https://docs.chocolatey.org/en-us/chocolatey-gui/release-notes

@gep13 I might need some help with this one. Cant quite figure it out. I can probably find a js solution, but if theres a way in razor/c# I feel like that'd be better.

These strings are short enough that a regex based solution might be sufficient here? https://stackoverflow.com/questions/785715/how-can-i-strip-html-tags-from-a-string-in-asp-net

I have been chatting with Dave, and this might be something best solved in Statiq, he has asked that I raise an issue about this to see what can be done.

I've also got a thought on how to address it in the near-term (until Statiq can be patched) - let me work that up and I'll come back here tomorrow with some code you can add to your own build while I work on the problem upstream.

Add this to your bootstrapper:
.ModifyPipeline(
    nameof(Statiq.Web.Pipelines.Content),
    pipeline => pipeline.ProcessModules.Add(
        new ExecuteConfig(Config.FromDocument(async doc =>
        {
            List<IDocument> headings = doc.GetDocumentList(Statiq.Html.HtmlKeys.Headings).ToList();
            if (headings?.Count > 0)
            {
                for (int i = 0; i < headings.Count; i++)
                {
                    IHtmlDocument htmlDocument = await Statiq.Html.HtmlHelper.ParseHtmlAsync(headings[i]);
                    headings[i] = await headings[i].CloneAsync(htmlDocument.Body.TextContent);
                }
                return doc.Clone(new MetadataItems
                {
                    { Statiq.Html.HtmlKeys.Headings, headings }
                });
            }
            return doc;
        }))))

Basically it adds a module that clones documents with heading metadata with new heading metadata that takes the text content (stripping out any HTML) of the heading. The new module is defined inline as an ExecuteConfig, but could easily move to a dedicated custom module if you don't want to pollute your bootstrapper setup.

I have raised an issues in Statiq.Framework to cover this:
https://github.com/statiqdev/Statiq.Framework/issues/142

I have just taken the workaround for a spin, and it looks good:

@daveaglick thanks for much for doing this!

💯 keep an eye out for the upstream fix - I plan to address this in the next release and then you can remove the workaround.


assert cls.check_config_paths_exist(config) AssertionError

❓ Questions and Help
when i run
python -u habitat_baselines/run.py --exp-config habitat_baselines/config/pointnav/ppo_pointnav_example.yaml --run-type train,
it happened  assert cls.check_config_paths_exist(config) AssertionError.,and when i exchanged the --exp-config yaml ,it also displayed the same problem. But it succeed before, the example i have changed has been recovered according to the file in the github.  I can't find problem until now.
~/habitat-lab$ python -u habitat_baselines/run.py --exp-config habitat_baselines/config/pointnav/ppo_pointnav_example.yaml --run-type train,
2020-11-25 14:06:17,302 config: BASE_TASK_CONFIG_PATH: configs/tasks/pointnav.yaml
CHECKPOINT_FOLDER: data/new_checkpoints
CHECKPOINT_INTERVAL: 50
CMD_TRAILING_OPTS: []
ENV_NAME: NavRLEnv
EVAL:
SPLIT: val
USE_CKPT_CONFIG: True
EVAL_CKPT_PATH_DIR: data/new_checkpoints
FORCE_BLIND_POLICY: False
LOG_FILE: train.log
LOG_INTERVAL: 10
NUM_PROCESSES: 1
NUM_UPDATES: 10000
ORBSLAM2:
ANGLE_TH: 0.2617993877991494
BETA: 100
CAMERA_HEIGHT: 1.25
DEPTH_DENORM: 10.0
DIST_REACHED_TH: 0.15
DIST_TO_STOP: 0.05
D_OBSTACLE_MAX: 4.0
D_OBSTACLE_MIN: 0.1
H_OBSTACLE_MAX: 1.25
H_OBSTACLE_MIN: 0.375
MAP_CELL_SIZE: 0.1
MAP_SIZE: 40
MIN_PTS_IN_OBSTACLE: 320.0
NEXT_WAYPOINT_TH: 0.5
NUM_ACTIONS: 3
PLANNER_MAX_STEPS: 500
PREPROCESS_MAP: True
SLAM_SETTINGS_PATH: habitat_baselines/slambased/data/mp3d3_small1k.yaml
SLAM_VOCAB_PATH: habitat_baselines/slambased/data/ORBvoc.txt
RL:
DDPPO:
backbone: resnet50
distrib_backend: GLOO
num_recurrent_layers: 2
pretrained: False
pretrained_encoder: False
pretrained_weights: data/ddppo-models/gibson-2plus-resnet50.pth
reset_critic: True
rnn_type: LSTM
sync_frac: 0.6
train_encoder: True
POLICY:
OBS_TRANSFORMS:
CENTER_CROPPER:
HEIGHT: 256
WIDTH: 256
CUBE2EQ:
CUBE_LENGTH: 256
HEIGHT: 256
SENSOR_UUIDS: []
WIDTH: 512
ENABLED_TRANSFORMS: ()
RESIZE_SHORTEST_EDGE:
SIZE: 256
name: PointNavBaselinePolicy
PPO:
clip_param: 0.1
entropy_coef: 0.01
eps: 1e-05
gamma: 0.99
hidden_size: 512
lr: 0.00025
max_grad_norm: 0.5
num_mini_batch: 1
num_steps: 128
ppo_epoch: 4
reward_window_size: 50
tau: 0.95
use_gae: True
use_linear_clip_decay: True
use_linear_lr_decay: True
use_normalized_advantage: True
value_loss_coef: 0.5
REWARD_MEASURE: distance_to_goal
SLACK_REWARD: -0.01
SUCCESS_MEASURE: spl
SUCCESS_REWARD: 10.0
SENSORS: ['RGB_SENSOR', 'DEPTH_SENSOR']
SIMULATOR_GPU_ID: 0
TASK_CONFIG:
DATASET:
CONTENT_SCENES: ['*']
DATA_PATH: data/datasets/pointnav/habitat-test-scenes/v1/{split}/{split}.json.gz
SCENES_DIR: data/scene_datasets
SPLIT: train
TYPE: PointNav-v1
ENVIRONMENT:
ITERATOR_OPTIONS:
CYCLE: True
GROUP_BY_SCENE: True
MAX_SCENE_REPEAT_EPISODES: -1
MAX_SCENE_REPEAT_STEPS: 10000
NUM_EPISODE_SAMPLE: -1
SHUFFLE: True
STEP_REPETITION_RANGE: 0.2
MAX_EPISODE_SECONDS: 10000000
MAX_EPISODE_STEPS: 500
PYROBOT:
BASE_CONTROLLER: proportional
BASE_PLANNER: none
BUMP_SENSOR:
TYPE: PyRobotBumpSensor
DEPTH_SENSOR:
CENTER_CROP: False
HEIGHT: 480
MAX_DEPTH: 5.0
MIN_DEPTH: 0.0
NORMALIZE_DEPTH: True
TYPE: PyRobotDepthSensor
WIDTH: 640
LOCOBOT:
ACTIONS: ['BASE_ACTIONS', 'CAMERA_ACTIONS']
BASE_ACTIONS: ['go_to_relative', 'go_to_absolute']
CAMERA_ACTIONS: ['set_pan', 'set_tilt', 'set_pan_tilt']
RGB_SENSOR:
CENTER_CROP: False
HEIGHT: 480
TYPE: PyRobotRGBSensor
WIDTH: 640
ROBOT: locobot
ROBOTS: ['locobot']
SENSORS: ['RGB_SENSOR', 'DEPTH_SENSOR', 'BUMP_SENSOR']
SEED: 100
SIMULATOR:
ACTION_SPACE_CONFIG: v0
AGENTS: ['AGENT_0']
AGENT_0:
ANGULAR_ACCELERATION: 12.56
ANGULAR_FRICTION: 1.0
COEFFICIENT_OF_RESTITUTION: 0.0
HEIGHT: 1.5
IS_SET_START_STATE: False
LINEAR_ACCELERATION: 20.0
LINEAR_FRICTION: 0.5
MASS: 32.0
RADIUS: 0.1
SENSORS: ['RGB_SENSOR']
START_POSITION: [0, 0, 0]
START_ROTATION: [0, 0, 0, 1]
DEFAULT_AGENT_ID: 0
DEPTH_SENSOR:
HEIGHT: 256
HFOV: 90
MAX_DEPTH: 10.0
MIN_DEPTH: 0.0
NORMALIZE_DEPTH: True
ORIENTATION: [0.0, 0.0, 0.0]
POSITION: [0, 1.25, 0]
TYPE: HabitatSimDepthSensor
WIDTH: 256
FORWARD_STEP_SIZE: 0.25
HABITAT_SIM_V0:
ALLOW_SLIDING: True
ENABLE_PHYSICS: False
GPU_DEVICE_ID: 0
GPU_GPU: False
PHYSICS_CONFIG_FILE: ./data/default.phys_scene_config.json
RGB_SENSOR:
HEIGHT: 256
HFOV: 90
ORIENTATION: [0.0, 0.0, 0.0]
POSITION: [0, 1.25, 0]
TYPE: HabitatSimRGBSensor
WIDTH: 256
SCENE: data/scene_datasets/habitat-test-scenes/van-gogh-room.glb
SEED: 100
SEMANTIC_SENSOR:
HEIGHT: 480
HFOV: 90
ORIENTATION: [0.0, 0.0, 0.0]
POSITION: [0, 1.25, 0]
TYPE: HabitatSimSemanticSensor
WIDTH: 640
TILT_ANGLE: 15
TURN_ANGLE: 10
TYPE: Sim-v0
TASK:
ACTIONS:
ANSWER:
TYPE: AnswerAction
LOOK_DOWN:
TYPE: LookDownAction
LOOK_UP:
TYPE: LookUpAction
MOVE_FORWARD:
TYPE: MoveForwardAction
STOP:
TYPE: StopAction
TELEPORT:
TYPE: TeleportAction
TURN_LEFT:
TYPE: TurnLeftAction
TURN_RIGHT:
TYPE: TurnRightAction
ANSWER_ACCURACY:
TYPE: AnswerAccuracy
COLLISIONS:
TYPE: Collisions
COMPASS_SENSOR:
TYPE: CompassSensor
CORRECT_ANSWER:
TYPE: CorrectAnswer
DISTANCE_TO_GOAL:
DISTANCE_TO: POINT
TYPE: DistanceToGoal
EPISODE_INFO:
TYPE: EpisodeInfo
GOAL_SENSOR_UUID: pointgoal_with_gps_compass
GPS_SENSOR:
DIMENSIONALITY: 2
TYPE: GPSSensor
HEADING_SENSOR:
TYPE: HeadingSensor
IMAGEGOAL_SENSOR:
TYPE: ImageGoalSensor
INSTRUCTION_SENSOR:
TYPE: InstructionSensor
INSTRUCTION_SENSOR_UUID: instruction
MEASUREMENTS: ['DISTANCE_TO_GOAL', 'SUCCESS', 'SPL']
OBJECTGOAL_SENSOR:
GOAL_SPEC: TASK_CATEGORY_ID
GOAL_SPEC_MAX_VAL: 50
TYPE: ObjectGoalSensor
POINTGOAL_SENSOR:
DIMENSIONALITY: 2
GOAL_FORMAT: POLAR
TYPE: PointGoalSensor
POINTGOAL_WITH_GPS_COMPASS_SENSOR:
DIMENSIONALITY: 2
GOAL_FORMAT: POLAR
TYPE: PointGoalWithGPSCompassSensor
POSSIBLE_ACTIONS: ['STOP', 'MOVE_FORWARD', 'TURN_LEFT', 'TURN_RIGHT']
PROXIMITY_SENSOR:
MAX_DETECTION_RADIUS: 2.0
TYPE: ProximitySensor
QUESTION_SENSOR:
TYPE: QuestionSensor
SENSORS: ['POINTGOAL_WITH_GPS_COMPASS_SENSOR']
SOFT_SPL:
TYPE: SoftSPL
SPL:
TYPE: SPL
SUCCESS:
SUCCESS_DISTANCE: 0.2
TYPE: Success
SUCCESS_DISTANCE: 0.2
TOP_DOWN_MAP:
DRAW_BORDER: True
DRAW_GOAL_AABBS: True
DRAW_GOAL_POSITIONS: True
DRAW_SHORTEST_PATH: True
DRAW_SOURCE: True
DRAW_VIEW_POINTS: True
FOG_OF_WAR:
DRAW: True
FOV: 90
VISIBILITY_DIST: 5.0
MAP_PADDING: 3
MAP_RESOLUTION: 1024
MAX_EPISODE_STEPS: 1000
TYPE: TopDownMap
TYPE: Nav-v0
TENSORBOARD_DIR: tb
TEST_EPISODE_COUNT: 2
TORCH_GPU_ID: 0
TRAINER_NAME: ppo
VIDEO_DIR: video_dir
VIDEO_OPTION: ['disk', 'tensorboard']
2020-11-25 14:06:17,302 Initializing dataset PointNav-v1
Traceback (most recent call last):
File "habitat_baselines/run.py", line 79, in
main()
File "habitat_baselines/run.py", line 40, in main
run_exp(**vars(args))
File "habitat_baselines/run.py", line 75, in run_exp
execute_exp(config, run_type)
File "habitat_baselines/run.py", line 58, in execute_exp
trainer.train()
File "/home/oot/habitat-lab/habitat_baselines/rl/ppo/ppo_trainer.py", line 287, in train
self.config, get_env_class(self.config.ENV_NAME)
File "/home/oot/habitat-lab/habitat_baselines/utils/env_utils.py", line 59, in construct_envs
scenes = dataset.get_scenes_to_load(config.TASK_CONFIG.DATASET)
File "/home/oot/habitat-lab/habitat/datasets/pointnav/pointnav_dataset.py", line 43, in get_scenes_to_load
assert cls.check_config_paths_exist(config)
AssertionError

That happens when either the pointnav dataset episodes are not where they should be or when the meshes are not where they should be. You can follow the instructions here: https://github.com/facebookresearch/habitat-lab#data

Thank you . I fixed it by checking the dataset path in config which echoed in the terminal.

That happens when either the pointnav dataset episodes are not where they should be or when the meshes are not where they should be. You can follow the instructions here: https://github.com/facebookresearch/habitat-lab#data
Sorry to bother you. I entered this link through the method you mentioned to learn, but I still haven't found a solution. Can you provide me with a more detailed introduction? I don't quite understand how to choose the path when configuring the environment. Looking forward to your reply, thank you very much. Sorry again for bothering you.


Cannot get all fields of this.user during ngOnInit() when refresh the page using @InjectUser()

I have custom fields for users. I am trying to get all fields of this.user during ngOnInit() using @InjectUser()
ngOnInit()  // constructor, ngAfterContentInit, ngAfterViewInit are here all same result
{
    console.log("this.user", this.user);   // Meteor.user() is same result too
}

Every time I refresh the page, it can only get emails and profile fields info.
If I want to get all fields of this.user, I have to go to another component(page) and back tho this component(page) or use a button to read this.user value.
You can see the screenshot:

If I use publish and subscribe, I can get all fields of the user (myself) in the ngOnInit().
@InjectUser() way can only get emails and profile of the user (myself) in the ngOnInit().

If I use traditional way, Meteor.publish and this.subscribe with this.autorun inside, I can get all fields of the user (myself) in the ngOnInit().
@InjectUser() way can only get emails and profile of the user (myself) during ngOnInit().

According to the docs only username, emails and profile published by default when autopubish removed (check out http://docs.meteor.com/#/full/meteor_users). if you need more fields, you'll need to set them explicitly.

Oh, thanks, it was my mistake, I published user info in Meteor.publishComposite's children. But I forgot that, which makes me think this.user from meteor-angular2 will publish all fields of this user.


Add license checker into CI workflow

Pull Request Test Coverage Report for Build 887805544

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

Totals

Change from base Build 583990439:
0.0%

Covered Lines:
24

Relevant Lines:
25

💛  - Coveralls


migrate-yaml.py not merging lists correctly

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Please provide the output to 'git describe --all' for  all deployments where you have confirmed it occurs.
master (mitaka)
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

What is the expected behavior?
The migrate-yaml.py script should merge variable files correctly.
What is actually happening?
If the DeepDiff library sees a changed element in a list, it returns just that changed element.  That means migrate-yaml.py needs to go back and find out what the full list is, and then return the list w/ the changed element.  A quick example:
root@liberty-aio:/opt/rpc-openstack/scripts# cat 1 2 test.py
repo_build_upper_constraints_overrides:
- elasticsearch<2.1.0
- foo
repo_build_upper_constraints_overrides:
- elasticsearch>=2.1.0
- foo
from deepdiff import DeepDiff
import yaml

f1 = yaml.load(open('1', 'r'))
f2 = yaml.load(open('2', 'r'))

d = DeepDiff(f1, f2)
print d['values_changed']
root@liberty-aio:/opt/rpc-openstack/scripts# python test.py
{"root['repo_build_upper_constraints_overrides'][0]": {'new_value': 'elasticsearch>=2.1.0', 'old_value': 'elasticsearch<2.1.0'}}
root@liberty-aio:/opt/rpc-openstack/scripts#

What were you attempting to do when you encountered this error (give as much detail as possible)?
Merge old user_variables.yml file on a liberty deploy w/ the new variable files in rpco's master branch.
How can we reproduce this issue?
Deploy a liberty AIO, then run:
# /opt/rpc-openstack/scripts/migrate-yaml.py --overrides /etc/openstack_deploy/user_variables.yml --danger-mode DANGER

You'll see the following returned:
repo_build_upper_constraints_overrides'][0]: elasticsearch<2.1.0

How can we verify your issue is addressed?
Ensure that changed lists have the entire list rewritten to output, not just the changed element.
If you are using or know of a workaround please describe the necessary steps?
What is your evaluation on the importance of this issue, and why?
This blocks release of r13.1.0rc1.

This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master
[ ] mitaka-13.0
[ ] liberty-12.2
[ ] kilo

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[ ] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[ ] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[ ] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[ ] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

try with --info as well


Error mint-dft when not mintbworkc in latest version

Concurrency set to: 9
Initializing worker: 0
Initializing worker: 1
Initializing worker: 2
Initializing worker: 3
Initializing worker: 4
Initializing worker: 5
Initializing worker: 6
Initializing worker: 7
Initializing worker: 8
Waiting for workers to complete...
got one finalCopyData:undefined
Solution found, try composing the transaction...
node:internal/event_target:1012
process.nextTick(() => { throw err; });

@NeutronProtocol


Implement layers & Allow Font selection based on installed system fonts

Added a font settings button, this opens the wxPython FontDialog menu, which should contain all fonts installed on the system.

Added Layer selection, which sets the layer for add_svg_element

The drawback is that i had to set a different default font (Arial), as it no longer loads the ttf's in the buzzard/typefaces folder (but it's probably possible to install those when the plugin is loaded trough fonttools?), another problem is that certain fonts will either render a black square, or nothing at all.
I'm also using Kicad 6.0 on windows, so this needs testing on other platforms and Kicad 5 before a possible merge.

Thanks for taking the time to add these in.
On Linux when I open up the dialog, I don't see any font. I presume that's because 'Arial' isn't available.
I can see
01-13 09:51:33 root 1174:Unable to find font(s) "Arial" and no default font specified
01-13 09:51:33 root 1174:Unable to find font(s) "Arial" and no default font specified

In the console.
I'll take a look through and see what can be done. I think providing some known good default font options is very useful, so we'll need to work out a way to support both embedded and system fonts together.
The layer option is nice. If we're going to support plotting a label to the B.* layers directly I think it's probably a good idea to add a mirror checkbox.

i think fonttools allows installing fonts, so maybe checking if the fonts are installed, and then installing them if they arent on init would be a good workaround.

Okay, seems like there is a pretty easy way to add ttf fonts using wx.Font.AddPrivateFont(pathtofile)

But i need to do some more troubleshooting as it just renders a black square when the loaded fonts are selected.

Sorry for spamming the PR, but adding the path to svg.py sorta, but only for Ubuntu Mono, the other fonts still generate a black square

Had some more time to work on this, so i implemented an Invert checkbox.

It's unclear how the "invert" option adds extra functionality, over the existing method.
Ohh, I see you've mentioned this.

I'm not sure adding the extra checkbox is useful in this case.
It's a bit hard to merge this PR in it's current state, The commits contain combined changes for the various features you've started implementing.

The font selection seems to break the settings save/restore. As the last used font isn't brought back as the initial font on opening the plugin.
Moving the "Font settings" button to the bottom of the dialog feels like the wrong place for it. It should be with the other settings that effect the label.
The fonts seem somewhat disconnected between the wx.Fonts dialog and the svgtools/fonttools side of things.

The layer options are nice! But in order to merge the commit need to be separated from the functionality breaking font choices.

Yeah, the PR is a bit messy right now, and it needs some cleanup, i'll see if i have some time this weekend.

Closing this PR so the changes can be implemented individually (Font selection still needs a lot of work), see #73 for layer selection.


All criterion same ranking

I just tried all the criterion on the same dataset. But I get  the same ranking no matter what i set the SelectCriterion to.

I was wondering if I need to do a particular transform to my data before running the selector.
When running, I first apply a minmaxscaler to all features then multiply by 255 round off to int and finally subtract 128 so they are the byte range.

Data must be discretized to get better results, but it can work with continuous data.
InfoThCriterionFactory works well, I've tried with several criterion without problems. Have you debugged to check if the right criterion is selected or not?


DHT11 RPI Negative Values not parsed / displayed

Using the standard libraries for DHT 11 / RPI / Python and GDocs (https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/overview) works perfectly.
The issue is that when the DHT sensor encounters temperatues below 0 degrees, the negative values are not captured or displayed. This same issue is encountered when the simpletest.py, AdafruitDHT.py or google_spreadsheet.py (yes - tested DHT11 in the freezer....), the lowest value captured was 1.

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):

Raspberry Pi with Raspbian
Raspberry Pi reference 2016-09-23
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 62406bad92ed23728f46711b3539c04c37dfb62c, stage2
Linux rpi1 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"

Python version (run python -version or python3 -version):

Python 2.7.9

Error message you are receiving, including any Python exception traces:

No errors or traces, output reported as above

List the steps to reproduce the problem below (if possible attach code or commands
to run):

Put DHT11 in Freezer for 10 minutes, and keep running simple.py or the other standard scripts.
pi@rpi1:~/Adafruit_Python_DHT/examples $ sudo ./simple.py
Temp=1.0*C  Humidity=18.0%
Lowest value of 1.0*C reported.

Similar issue reported here way back when: https://www.raspberrypi.org/forums/viewtopic.php?t=62467&p=464881

The DHT11 is specified for 0 to 50°C

Cheers for clarifying. Need to pay more attention to the HW Specifications :)


Blacklist nouveau and nvidiafb drivers

On Ubuntu 22.04 LTS there are these additional drivers present in the system. Blacklist them as well, to get the GPU mapped into VFIO driver.

Folding all PRs for operator onboarding :slightly_smiling_face:


OVMM: Minor episode generation updates

Motivation and Context

Use main_synsetkey instead of wsynsetkey
Filter episodes having same start and goal receptacle categories

How Has This Been Tested
Types of changes

[Development] A pull request that add new features to the habitat-lab task and environment codebase. Development Pull Requests must be small (less that 500 lines of code change), have unit testing, very extensive documentation and examples. These are typically new tasks, environments, sensors, etc... The review process for these Pull Request is longer because these changes will be maintained by our core team of developers, so make sure your changes are easy to understand!

Checklist

[x] My code follows the code style of this project.
[ ] I have updated the documentation if required.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes if required.

Fixed pre-commit tests locally. For some reason, these are not passing on CircleCI. Seems like CircleCI is not able to install pre-commit in this branch. @ykarmesh @ASzot do you know why this could be happening? For now, I think we can merge this PR


Temp fix for path-outline-layer issue

This fix will introduce new issues, recommend not to check in.
For example with this data     path: [
[8584.484798702775, 6742.5945553739575],
[2908.5139320879325,<PHONE_NUMBER>69738],
[8000.484798702775, 6742.5945553739575],
[8000.485798702775, 6742.5945553739575],
[9100.486798702775, 7742.5945553739575]
]

@jianhuang01 What is the issue?

@georgios-uber there is an extra segment rendering on the up-right area.

@jianhuang01 That's 5 total, seems correct.

@jianhuang01 Deleting this merge in favor of https://github.com/uber/deck.gl/pull/1200


chore: add devnet RPC nodes

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


Absent type def for the plugin

If webpack configuration is written in typescript, then there is an error on the absent type definitions.


Voice icon not working in dictionary app

What happened?
When we search a word the voice icon doesnt function by pronouncing the word

How can we reproduce this bug?
1.search a word
2.press the voice icon
Desktop Information (Optional)
No response
Urgency (Optional)
Medium priority

@swapnilsparsh pls assign me these issue under GSSOC'24

@Pratik2401 All the best 👍🏻

Can you please add level label to it @swapnilsparsh


Few bugs

right click inventory doesn't show shift click option
Changing chat colors doesn't work.
sometimes pulling the sidebar out gets frozen

Are you sure you have the shift click plugin enabled under the "menu entry swapper" plugin settings?

@rune3132 ah that fixed the shift problem thanks. Also another thing, in the hide items section I put it as (item), (item) but doesnt hide anything. Something else I have to activate first?

If you are talking about the ground item configuration, there shouldn't be anything else you need to activate. It might be case sensitive? And does it work when adding items when holding alt and toggling them off?

@rune3132 yea it might be case sensitive. Just tested adding more items without the ( ) and it works like that too! Thanks

In relation to point 2, you're no doubt looking at the colour options under the chat commands plugin, which only recolour the chat command lines. General chat recolouring is still in the works.


Error in SmoothSphereBivariateSpline(): "ValueError: Error code returned by bispev: 10"

The following code produces the error message below. I'm not 100% sure if this is a bug or just an error in the code. Regardless, the error message is not very meaninful IMO.
Reproducing code example:
import numpy as np
from scipy.interpolate import SmoothSphereBivariateSpline

#Define the input data and the original sampling points
NSamp = 2000
Theta = np.random.uniform(0,np.pi,NSamp)
Phi   = np.random.uniform(0,2*np.pi, NSamp)
Data  = np.ones(NSamp)

Interpolator = SmoothSphereBivariateSpline(Theta, Phi, Data, s=3.5)

#Prepare the grid to which the input shall be interpolated
NLon = 64
NLat = 32
GridPosLons = np.arange(NLon)/NLon * 2 * np.pi
GridPosLats = np.arange(NLat)/NLat * np.pi
LatsGrid, LonsGrid = np.meshgrid(GridPosLats, GridPosLons)
Lats = LatsGrid.ravel()
Lons = LonsGrid.ravel()

#Interpolate
Interpolator(Lats, Lons)

Error message:

  File "<ipython-input-127-81e0ea6e3eed>", line 1, in <module>
    runfile('/home/username/Documents/Python/Playground/TestFile.py', wdir='/home/username/Documents/Python/Playground')

  File "/home/username/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 705, in runfile
    execfile(filename, namespace)

  File "/home/username/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/home/username/Documents/Python/Playground/TestFile.py", line 36, in <module>
    Interpolator(Lats, Lons)

  File "/home/username/anaconda3/lib/python3.6/site-packages/scipy/interpolate/fitpack2.py", line 1265, in __call__
    dx=dtheta, dy=dphi, grid=grid)

  File "/home/username/anaconda3/lib/python3.6/site-packages/scipy/interpolate/fitpack2.py", line 845, in __call__
    raise ValueError("Error code returned by bispev: %s" % ier)

ValueError: Error code returned by bispev: 10

Scipy/Numpy/Python version information:
1.0.0 1.14.1 sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)

As answered in https://stackoverflow.com/questions/49318113/error-when-trying-to-interpolate-using-smoothspherebivariatespline-valueerro, if np.meshgrid is already used for input data, the interpolate function should be called like Interpolator(Lats, Lons, grid=False).
I think "Error code returned by bispev: 10" means invalid input.
https://github.com/scipy/scipy/blob/2a9e4923aa2be5cd54ccf2196fc0da32fe459e76/scipy/interpolate/fitpack/bispev.f#L45-L50
So, I think it is possible to improve the error message.

I think this is also related #9850

I think this is also related #9850


Update existing resources when CR changes

Description
Update the deployed resources when backstage CR is updated.
Which issue(s) does this PR fix or relate to

Fixed #72

PR acceptance criteria

[X ] Tests
[ ] Documentation

How to test changes / Special notes to the reviewer

Deploy the operator on OpenShift and examples/bs1.yaml.
Update the CR spec to include:
spec:
application:
replicas: 2
and verify that the deployed backstage has 2 pods running.
Update the CR spec to include:
spec:
application:
extraEnvs:
envs:
- name: myenv1
value: my-value-1
- name: myenv2
value: my-value-2
and check that the deployed backstage pod has env vars myenv1 and myenv2 set in the main container.
Update the CR spec to disable the route:
spec:
application:
route:
enabled: true
and verify that the backstage route bas been cleaned up.
Update the CR spec to disable the localDB:
spec:
database:
enableLocalDb: false
authSecretName:  existing-secret
and verify that the local db statefulset, services and secret that were deployed earlier are now deleted.

Note that two status condition types "RouteSynced" and "LocalDbSynced" are introduced to support the functionality required.

@rm3l fixed imagePullSecrets issue.

The main reason we postpone Update to the later version is edge cases which we have due to our configuration specific. I think it would be worth to investigate these cases before and come to some conclusions. I've created some some issues for that, please take a look, it would be good to resolve it as a prerequisite.

Yes resource update involves various use cases as you pointed out. Most of the ones in #124 are for default config/configmao/secret changes etc and they can be handled separately later. This PR is for the application of the CR changes only.

Should it be possible to update the route sub-domain after it is created? I first created a CR with no spec.application.route field set. Then I added spec.application.route.subdomain to the CR and updated it. But I noticed that the Route was not updated. Is that expected?

Yes this is expected. Since the route host was already created, the subdomain change in the route is ignored by the OpenShift server.


Custom task mysql database backup and restore failed because of MySql.Data's version

related issue
Hello Aelassas:
Following your advice, I got the same error in log file:

modify part of workflow_sql.xml as below:

Change MySql.Data.dll to original one, there are no error in log file.
I'll try to use MySQL.Data.dll that comes with Wexflow in my custom task.

After using MySQL.Data.dll that comes with Wexflow and downgrading MySqlBackup.dll to <IP_ADDRESS>, trigger my task, the error is gone

Ok. I'll try to update the version of MySQL.Data.dll in the version 4.1 of Wexflow.


Branch0.4.8

Coverage remained the same at 100.0% when pulling 4cab5d0ac1653ff267b94f4a2d811b9b92009c14 on branch0.4.8 into a047fdafd624767755bd24736d3e2bc72730b22e on master.


Off-by-one error highlighting statusline when a group is truncated to min-width

When a statusline group (%(something%)) has a min-width and the text within is longer than that, it can cause highlighting to be off by one character position. I noticed this with a combination of the %f and %m items, and I've created a minimal reproduction below.
Demonstrate like so: $ vim -u path/to/file.vim
augroup StatusLineTest
	autocmd!
	autocmd ColorScheme,VimEnter * highlight! link User1 Directory
	autocmd ColorScheme,VimEnter * highlight! link User2 ErrorMsg
augroup END

set laststatus=2

set statusline=%0*%.24(%1*Directory%2*ErrorMsg%1*Directory%)%0*

Below is an image showing the incorrect behavior, hopefully the desired behavior is obvious: the text should be displayed in the matching highlight group.

vim --version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan  8 2020 00:57:48)
macOS version
Included patches: 1-100
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_old_static
+arabic            +file_in_path      +mouse_urxvt       -tag_any_white
+autocmd           +find_in_path      +mouse_xterm       -tcl
+autochdir         +float             +multi_byte        +termguicolors
-autoservername    +folding           +multi_lang        +terminal
-balloon_eval      -footer            -mzscheme          +terminfo
+balloon_eval_term +fork()            +netbeans_intg     +termresponse
-browse            +gettext           +num64             +textobjects
++builtin_terms    -hangul_input      +packages          +textprop
+byte_offset       +iconv             +path_extra        +timers
+channel           +insert_expand     +perl              +title
+cindent           +job               +persistent_undo   -toolbar
-clientserver      +jumplist          +popupwin          +user_commands
+clipboard         +keymap            +postscript        +vartabs
+cmdline_compl     +lambda            +printer           +vertsplit
+cmdline_hist      +langmap           +profile           +virtualedit
+cmdline_info      +libcall           -python            +visual
+comments          +linebreak         +python3           +visualextra
+conceal           +lispindent        +quickfix          +viminfo
+cryptv            +listcmds          +reltime           +vreplace
+cscope            +localmap          +rightleft         +wildignore
+cursorbind        +lua               +ruby              +wildmenu
+cursorshape       +menu              +scrollbind        +windows
+dialog_con        +mksession         +signs             +writebackup
+diff              +modify_fname      +smartindent       -X11
+digraphs          +mouse             -sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
+emacs_tags        -mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib<EMAIL_ADDRESS>-L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -lintl -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.30.1/lib/perl5/5.30.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation  -lruby.2.6

A search in the repository's issues did not reveal any existing issues about this behavior, although I'm happy to be proven wrong.

A friend mentioned that I was slightly behind. This behavior is still present in the latest version of vim available on homebrew.
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb  3 2020 01:40:25)
macOS version
Included patches: 1-200
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_old_static
+arabic            +file_in_path      +mouse_urxvt       -tag_any_white
+autocmd           +find_in_path      +mouse_xterm       -tcl
+autochdir         +float             +multi_byte        +termguicolors
-autoservername    +folding           +multi_lang        +terminal
...

I've confirmed that this happens to neovim and I have access to a "Normal" compilation on a server, which also shows the bug. Unsurprisingly, this seems to show up whenever the +statusline feature is present, and seems to be part of the common code between vim and neovim.

The error seems to be somewhere around here, but I lack the time to dig into it right now and recompile. If someone else wants to have a crack at it, go nuts, otherwise I will be poking at this myself sometime.


Gateway Target E-cash Range per Federation

Gateway should be able to set a policy (or simply a target range) for the amount of e-cash they want to stay within.
E.g. Gateway servicing a federation should be able to set 20,000-100,000sats: if it falls below attempt a pegin to get back to mid range. If it goes above, pegout to the lightning node's onchain wallet (or some other wallet).
Talked with @m1sterc001guy about a couple options, some pending questions:

Where should this logic live? Should there be a separate policy daemon or something that the user can run alongside the gateway that manages their targets?
What should the gateway use as the pegin/pegout wallet, and should it do it over lightning by paying itself via another gateway? Currently gateway doesn't know about any other gateways on the federation. Would require like a gateway market or something, probably easier to do onchain + atomic swap between federations once we support that.

While this feature probably can be implemented outside of the gateway and just call the gateway's exposed APIs, it might be a good idea to support it as a "first class" feature of the gateway. That way different front ends don't need to re-implement liquidity management.
If we do decide to implement this, I think we'd essentially need to change 3 things inside of the gateway:

Data structure inside of the database that stores the per-federation ecash ranges.
Logic to detect when the balance of a federation is outside of this range
We'd need an API for each lightning node to do a peg-in/peg-out using the lightning wallet's onchain wallet.

All three of these things are doable but I do think we need to consider how much "feature area" we want to expose within the gateway. We'd now be connecting more of each lightning node's API directly via the gateway, which we've shied away from in the past (ex: exposing an API to open channels). Higher layers might actually be able to implement this feature better, as they wouldn't be limited to only using the connected lightning node's onchain wallet for pegin/pegouts.
Interested in other's opinions.

Imo this should be a companion daemon, maybe it even catches on outside of Fedimint if it's good at liquidity mgmt. If it has its own API all frontends can use it for rebalancing instead of implementing it themselves.
Functionality would likely be:

Withdraw from federation to LN node wallet
Deposit to federation either from:

LN node on-chain wallet
Closing a channel
Loop-outs

Closing underperforming channels
Opening channels to common destinations/well connected nodes connected to many common destinations

This requires some statistics collection, maybe the Gw needs to be patched for that if LN nodes don't collect enough data

Buying incoming channels (trusted or via one of the trustless markets)
Setting routing fees based on past cost of liquidity management, so that a given target APR can be achieved (will just be a heuristic and no guarantee)


feat: additional validation for credential request

Signed-off-by: blu3beri<EMAIL_ADDRESS>Description

Added validation for the iss and sub field inside the JWT proof.
We already threw an error when the credential offer is not supplied, so nothing changed there.

Related issue(s)
Checklist

[x] Tests (unit, integration and e2e where relevant)
[ ] Documentation (in docs and within the code)

Closed as #34 covers more and more correctly.


Possible performance issues after a recent update

After a recent update (https://github.com/stefanbohacek/FediFetcher/commit/df484696d98626295c8569e8804ad2b597a41da3), the CPU and bandwidth usage of my Mastodon server have increased, see attached screenshot from DigitalOcean.

Here's my config.json file:
{
  "server": "stefanbohacek.online",
  "home-timeline-length": 200,
  "max-followings": 80,
  "from-notifications": 1
}

I have not made any changes other than fetching the latest code as shown above.
The droplet has 2 virtual CPUs, 4 GB RAM, and a 50 GB SSD.

It looks like you have updated from 7.1.1. The only significant change I can think of here, is that in 7.1.2 we introduced improved caching of robots.txt files, which uses sha256 to hash domain names over and over again.
Can you try #157 which uses xxhash instead of sha256 and see if that improves things for you?
(Don't forget to run pip install -r requirements.txt)

@nanos Thank you! I should also add that I'm running FediFetcher as a GitHub Action. Either way, I pulled in the latest changes and will keep an eye on the server throughout the day.

Ah, in that case this won't make any difference whatsoever.
If you are running FediFetcher as GH Action, then what server are those graphs from?

Right. So that's from the actual stefanbohacek.online Mastodon server. I haven't made any changes to the server itself, and the time when the graph started to change matches exactly when I pulled in the update, so I figured maybe the frequency of API calls might have changed? Would it be helpful to share any logs perhaps?

Oh, I see.
That, quite frankly, makes no sense whatsoever: Changes since 7.1.1 have only served to reduce the load on the actual mastodon server, rather than increase it, with FediFetcher increasingly making use of caching to avoid repeated requests for the same thing.
As such I'm tempted to conclude that this increase is very likely unrelated.
Did you see an uptick in Sidekiq jobs?
Did you make any other changes?

Hm. Looking through your GH Actions logs, there are a couple of things that stand out to me:

Your actions run for a very long time: FediFetcher takes < 1 min most of the time for me, with similar configuration
Your replied_toot_server_ids file is empty.

I wonder if these two are connected somehow?

Is it possible your mastodon server is just busier than usual? More notifications maybe?
I sometimes get this when I post something popular, and get dozens of likes: My FediFetcher run time explodes as it's backfilling all those profiles, and that of course has a knock-on effect on the mastodon instance.

Your actions run for a very long time

Good catch! Looking at https://github.com/stefanbohacek/FediFetcher/actions/workflows/get_context.yml?page=17, it is very clear this has to do with the FediFetcher update.

9:24: 1m 52s
9:35: 1m 50s
9:45: 1m 51s
9:47: merged latest changes
9:55: 1h 54m 43s
10:15: 16m 29s
10:35: 8m 26s

Did you make any other changes?

Nope.

Is it possible your mastodon server is just busier than usual? More notifications maybe?

Not particularly.

Did you see an uptick in Sidekiq jobs?

I'll look into this a bit more. I also paused the workflow for now to see if this has any impact.

Good catch! Looking at https://github.com/stefanbohacek/FediFetcher/actions/workflows/get_context.yml?page=17, this strongly hints as having to do with the FediFetcher update.

9:24: 1m 52s
9:35: 1m 50s
9:45: 1m 51s
9:47: merged latest changes
9:55: 1h 54m 43s
10:15: 16m 29s
10:35: 8m 26s

You can't really compare these: The 09:45 one, and all before that error out, so the run time is simply not the run time of a complete run.
I cannot find any previous successful run in your log, so I cannot find a comparison.
I must admit that at the moment I cannot think of any recent changes that could've caused this.

Yeah, it doesn’t surprise me to see that it’s called down. With backfilling that many posts it’ll have an impact.
I’m just not sure why it would backfill that much. In a cursory glance I couldn’t see any obvious duplication, hence asking earlier whether your server was just very busy.
You could try to turn off from-notification, backfill-with-context, and/or backfill-mentioned-users. These three will be having by far the biggest impact (particularly backfill-with-context) but obviously they’ll also mean you’re missing out on some functionality (see the readme for a description of each option). Up to you to decide whether it’s worth doing.

I think I'm going to close this ticket for now. You confirmed that there were no issues with the update, and gave me a few pointers to look at.
And looking at the past FediFetcher runs, I am wondering if it's the other way around, maybe this has always been an issue, but the recent update fixed whatever was causing the workflow to error out.
I will go over the settings and see if I can tweak them better. Thank you, I appreciate all your help!

OK, let me know if you need any more guidance at any time, or if you find out anything that would be helpful to share, please 👍