Bunch with invalid key for property access

It is not documented what happens if Bunch() is expanded using dictionary notation with an element, which key is invalid for property access?

Can you give an example? I don't think I follow.

@dsc
Maybe something like
bunched["3"] = "foo";
bunched.3  # is not valid syntax.

bunched["foo'quotes'bar"] = "hua"
bunched.foo'quotes'bar  # does not work either.

bunched["lol2345"] = "rickrolled."
bunched.lol2345  # works.

Maybe replace all wrong characters with _ and prefix strings starting with a number with int_?
Regex for the former could be (generating only one _ for multible illegal characters:
import re
unallowed_in_variable_name = re.compile('[\W]+')
var_name = unallowed_in_variable_name.sub('_', name)
#  {'foo-2.4;"':'foo'} becomes bunched.foo_2_4_

Maybe replace all wrong characters with _ and prefix strings starting with a number with int_?
...

I think it's most pythonesque to raise not require. I have code for a Bunch subclass that can validate/transform keys. I'm not sure if this really is all that useful though: almost every usecase is obscure and you could simply write a small wrapper where you insert keys (or even wrap __setitem__ / __getitem__).


Officers Fields & Filters

Default fields

title
position

Additional Fields

member
term

Filters

positon
member
term

Additional Fields

email (e.g<EMAIL_ADDRESS>

Do we store the full email?  I think it equates to<EMAIL_ADDRESS>

Email can be a dynamic property for convenience.

:+1:

(position is a dynamic attribute, so adding filter by title instead -- it'll be case-insensitive)


Support OGC API - Processes - Part 1: Core

This PR implements OGC API - Porcesses - Part 1: Core.
Implementation is basically ready, but e2e tests need some tweaking.
Closes #30.

@haoliangyu e2e tests are almost complete. I just wait for some feedback on https://github.com/geopython/pygeoapi/discussions/1383. I would be grateful, when you may find the time for a review, because this PR brings a lot changes with it. In other words: A second opinion does not hurt here. :-)

@haoliangyu e2e tests are almost complete. I just wait for some feedback on geopython/pygeoapi#1383. I would be grateful, when you may find the time for a review, because this PR brings a lot changes with it. In other words: A second opinion does not hurt here. :-)

This is an important feature update and I can allocate some time this or next week for review.

@haoliangyu requested changes are implemented.


Broken multiple reviewable publishing

If you need several intermediate file streams in Nuke, you should get multiple asset versions in Ftrack. Each will have the correct thumbnails sorted for that stream.
Following image is demonstrating current state. There are wrong thumbnails assigned to each asset version and there is one more asset version which should not be there.

publish-report-240520-16-48.json

Support for multiple reviewable was implemented by @jakubjezek001 and I'm afraid I don't understand the logic. My fix would be to support only single reviewable, which is probably not intended?


Allow "relative" URL in front matter

Currently you can do:
---
title: "Search!"
url: "/search.json"
---

And we would treat the above as an URL starting from the BaseURL root. Which is good.
But in multi-language setups you would then have to do something ala:
---
title: "Custom!"
url: "/en/custom/foo"
---

To set a custom URL for that language. Which works.
It would, however, be very useful if we had support for a relative way of doing this. I have quoted the word relative in the issue title, as I'm really not sure what it should be relative to.
This also ties into #5139 and similar.
I would think that this:
---
title: "Custom!"
url: "custom/foo"
---

Would be relative to the content's language.
/cc @regisphilibert

Yes! Most wanted. Language should be abstracted when possible so that if you ever need to update your config to say make your default Lang live in a subdirectory or host langs on subdomain, the ‘url’ Param does not break your Permalink structure.


cardano-wallet server fails with unpleasant error when does not connect to http-bridge within a few seconds

Release
Operating System
Cause

next
Linux
Code

Context

Steps to Reproduce
Start cardano-wallet server and wait for ~20 seconds
Expected behavior
Either cardano-wallet server should infinitely listen or fail more gracefully after some timeout.
Actual behavior
$ cardano-wallet server
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
.......
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
[INFO] waiting for connection to the node...
cardano-wallet: ErrNetworkTipNetworkUnreachable (ErrNetworkUnreachable "HttpExceptionRequest Request {\n  host                 = \"localhost\"\n  port                 = 8080\n  secure               = False\n  requestHeaders       = [(\"Accept\",\"text/plain\")]\n  path                 = \"/testnet/tip\"\n  queryString          = \"\"\n  method               = \"GET\"\n  proxy                = Nothing\n  rawBody              = False\n  redirectCount        = 10\n  responseTimeout      = ResponseTimeoutDefault\n  requestVersion       = HTTP/1.1\n}\n (ConnectionFailure Network.Socket.connect: <socket: 11>: does not exist (Connection refused))")

Resolution Plan

[x] Handle errors as they arrive in the application instead of using unsafe code runners.

PR

Number
Base

#517
master

QA

Networking errors now gracefully fails with a nice and colorful error message, including a few hints to guide users in their debugging.

$ cardano-wallet-jormungandr serve --genesis-hash 1234
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:05.58 UTC] Wallet backend server starting...
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:05.58 UTC] Running as v2019.6.24
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:05.58 UTC] Node is Jörmungandr on testnet
[iohk.cardano-wallet.serve.database:Notice:ThreadId 4] [2019-07-09 14:58:05.59 UTC] 13 migrations were applied to the database.
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:05.60 UTC] Waiting for Jörmungandr to be ready on tcp/8080
[iohk.cardano-wallet.serve:Alert:ThreadId 4] [2019-07-09 14:58:06.60 UTC] Waited too long for Jörmungandr to become available. Giving up!
Hint (1): If you're launching the wallet server on your own, double-check that Jörmungandr is up-and-running and listening on the same port given to '--node-port' (i.e. tcp/8080).
Hint (2): Should you be starting from scratch, make sure to have a good-enough network connection to synchronize the first blocks in a timely manner.

$ cardano-wallet-http-bridge serve
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:25.13 UTC] Wallet backend server starting...
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:25.13 UTC] Running as v2019.6.24
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:25.13 UTC] Node is Http-Bridge on testnet
[iohk.cardano-wallet.serve.database:Notice:ThreadId 4] [2019-07-09 14:58:25.14 UTC] 13 migrations were applied to the database.
[iohk.cardano-wallet.serve:Info:ThreadId 4] [2019-07-09 14:58:25.15 UTC] Waiting for http-bridge to be ready on tcp/8080
[iohk.cardano-wallet.serve:Alert:ThreadId 4] [2019-07-09 14:58:26.15 UTC] Waited too long for http-bridge to become available. Giving up!
Hint (1): If you're launching the wallet server on your own, double-check that http-bridge is up-and-running and listening on the same port given to '--node-port' (i.e. tcp/8080).
Hint (2): Should you be starting from scratch, make sure to have a good-enough network connection to synchronize the first blocks in a timely manner

Perhaps worth having one or two automated tests regarding this, though the actual time-out is ~60 seconds... And that's not something we are free to tweak at the command-line level. Perhaps a manual test would be fine here?

or fail more gracefully after some timeout.
Well, this is our "graceful termination after timeout" already :joy: ... I guess we can work out a better error message :man_shrugging:

Integration tests added in #528.
¯_(ツ)_/¯

lgtm :+1:  (#528 to be merged later, but I can close this one)


Output both HTML and md file

Can we configure type doc to generate both HTML and md file?
Currently, I am adding "typedoc-plugin-markdown" to generate md file. But whenever I pass this plugin HTML generation is not happening.

Not currently supported, the markdown plugin would have to be updated to do this. I have been considering updates to the options structure that would make this easier to do, but don't have any milestones planned yet for completion


Updated contact info

@vokal/ios-developers another quick one

LGTM

I have no idea why some flavors of the build are timing out on Travis and others aren't, but it can't have been caused by this PR, so I'm gonna merge it.


Modal Documentation has Avatar Documentation as well

See here: https://developer.dashboard-ui.com/docs/react/modal
Not sure why both are there but I noticed it while reading through the docs

Modals released in a newest version: https://github.com/march08/dashboard-ui-kit/releases/tag/v0.6.0


Custom Validation in model with attribute label and value

public function rules() {
    return [
        [['ID'], 'required'],
        [['NAME', 'AGE', 'ADDRESS'], 'required', 'message' => '{attribute} is cannot blank for'.$this->ID],
    ];
}

Previously this code was working fine but now $this->ID return nothing.
Or tell me any other way to achieve $this->ID in error message.

I got the solution using following code.
$model_clone = Yii::$app->request->post()['User'];
foreach ($model_clone as $key => $value) {
$model[$key]->ID = $value['ID'];
}
//put this code before loadMultiple then load model
DynamicForms::loadMultiple($model, Yii::$app->request->post());


Update binary wheel distribution on PyPI

Note for myself to update the binary wheel distribution on PyPI / pip to include the latest changes on master. This is a bit time consuming since it currently requires me to manually test and update all my virtual machines, would like to see if it's possible to automate in the future.

This is still in progress, ran into another issue with the CI.

Blocked by https://github.com/PyO3/pyo3/issues/223


CS: corepusher log individual errors

Log the errors for pushing to each core. Otherwise in the log we only see a line
2019-07-26 08:37:56.289754+0000 [EROR] [reiss.CorePusher] Failed to sync all cores debug_id=a262f5f1 err="Sync error checkErrors="[1-ff00:0:110 1-ff00:0:120 1-ff00:0:130]" remainingCores="[]""
which is no indicative of the actual problems.

With the X.509 rework, I think this no longer applies.
@lukedirtwalker: What do you think, should we close it?

Corepusher no longer exists, so closing this.


code_helper hangs and makes vscode unresponsive

code_helper hangs in background and makes vscode unresponsive. It has to be restarted with hard kill. This is randomly caused by indenting code using one of the vim plugins. In this case javascript.
The code_helper is hogging the CPU. Killing it doesn't bring back the responsiveness in the gui.

VSCode Version: 1.11.2
OS Version: OSX El capitan 10.11.6

Steps to Reproduce:

install plugin Vim emulation for visual studio (vscodevim) 0.6.16
Indent some lines marking them with shift-v-down then shift-= to indent.

When this happens, can you try running  ps aux | grep -i "code helper" in the terminal and share the output. This should help us identify which code helper process is causing problems

Sure, I can give you further output next time it hangs.

ps -eo pcpu,user,pid,command | grep renderer output: 100% cpu
/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=93A1BFE0D5861A2F10442CCE119E9C19 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=2 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=65BE9654104FEB80940C334FCC248304 --mojo-application-channel-token=93A1BFE0D5861A2F10442CCE119E9C19 --channel=63227.16.1361252098

This is also code helper crashing vscode, but in my case it seems to be related to a large amount of git changes. Clicking the tab makes everything unresponsive.
90081 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=C22959CA599F8E2841030AA601A2AE9E --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=2 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=B3A766BF907F43B151E9142ACB874943 --mojo-application-channel-token=C22959CA599F8E2841030AA601A2AE9E --channel=63227.20.2083186900

@Jfeurich Since you mention git, your issue may be related to #23976. The latest insiders build has a fix for this

It hanged again, this is the output for ps:
(standard input):2:nergal           17662 100.0  0.7  3310972 119416   ??  R    Thu01PM   7:34.07 /Users/nergal/Downloads/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/nergal/Downloads/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Users/nergal/Downloads/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry --cancellationPipeName /var/folders/4j/f8c3624d3kdbd244cbn957fw0000gn/T/vscode-tscancellation-b86b7f4ed61e136a6797.sock*

You may want to try out that latest insiders builds that include TS 2.3.1. This release fixes a number of performance problems that could be causing this.
It would also be great if you could share the typescript server log. To do this:

Set "typescript.tsserver.log": "verbose",
Restart VSCode.
Once the issue reproduces, run the TypeScript: Open TS Server log file command and share the log file
Also reveal the location of the log file in the finder. There should be a ti-xxx.log file next to it with information about typings install

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


Currency Alternative should put ~5 most used currencies (USD, EUR etc) at the top

Feature request

Adding to that, GBP is called ''Pound Sterling'' in the app, although the official name, on most of the currency options GBP is usually called as: ''Great Britain Pound. It took me a while to find the right currency.

Breaking @juguelio 's comment out into it's own ticket

test


Update Chasm Dependency and Usage

The introduction of loader's experimental Chasm support was a great opportunity to evaluate some APIs in Chasm. As a result of this, we made some breaking changes to our public API. Please update your Chasm dependencies (sorry, still snapshots only) and usage of it's API.
Here is what needs to be changed:

ClassData is now internal. Please pass class bytes and metadata directly to addClass instead.
process no longer takes a boolean. Instead it returns a ClassResult, which indicates whether a class file needs to be deleted, created, modified or can remain unchanged.
Context has been changed to allow for simpler implementation. The implementation now requires a getClassInfo method. There exist static helper methods in ClassInfo to create it from bytecode or Class objects. Please be aware that this method needs to provide class information for all classes that are not passed to addClass. This includes JDK classes. You can use reflection to load those.

If you are interested, I can provide you with an example .chasm transformer which you can add to the test mod.
Finally, if you see warnings generated by Chasm in the logs, consider updating the ASM dependencies.

I've updated chasm in https://github.com/QuiltMC/quilt-loader/commit/5ed988e417f992df849e26cefc74eea0a01e7384 but I'm having problems running it - is this a problem with the transformer, how I've implemented Context, or with Chasm itself?
crash-2023-01-27_<IP_ADDRESS>5-quilt_loader.txt

Fixed a critical error in https://github.com/QuiltMC/chasm/pull/108, which should fix your issue.
A few things I noticed while investigating the code:

You can use ClassInfo.fromBytes() instead of the constructor
Apparently readFile has access to the JDK classes too? Unexpected, kinda cool.
You are right to throw on IOException, since I assume everything else would violate the purity contract.
The code as-is couldn't locate the transformer, because file.startsWith(chasmRoot) was failing. The paths seemed correct, but it appeared that the transformer had the file name chasm_transformers\title_screen.chasm. Given the backslash, maybe this is a Windows specific issue?

Thanks for looking through this!

You can use ClassInfo.fromBytes() instead of the constructor

Nice, I'll switch over to that

You are right to throw on IOException, since I assume everything else would violate the purity contract.

I was more concerned about how I should throw the exception, rather than if I should throw it - I would have assumed that readFile(String) would be declared as throws IOException, but maybe that's correct and chasm will just abort if any exceptions are thrown?

The code as-is couldn't locate the transformer, because file.startsWith(chasmRoot) was failing. The paths seemed correct, but it appeared that the transformer had the file name chasm_transformers\title_screen.chasm. Given the backslash, maybe this is a Windows specific issue?

I'm guessing that means I need to replace any / from the mod-path with the file system's separator character, and the reverse when passing it back to chasm.

Chasm doesn't have a way to deal with Exceptions. I suppose we could allow throwing IOExceptions, but all we could do with that is wrap it in an Unchecked Exception as well.

Fair enough!


Update to certificates.k8s.io/v1 from v1beta1

Signed-off-by: Kevin Cormier<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/18147

/cc @jamestalton


fix(DataStore): Reconcile locally sourced mutations while subscriptions are disabled

Issue #, if available:
Description of changes:
Reconcile locally sourced mutations to save/update/delete the model and metadata into local store. The locally sourced mutation response is identical to the subscription event that would be received on subscriptions, so reuse the reconciliation queue to process it.
A concern regarding this is the real-time events behavior of the additional event. Currently, locally sourced mutations with subscriptions enabled will emit 2 events, one from the operation on local store and one from the subscription event being reconciled to the local store. By handling the locally sourced mutation event, the subscription event would attribute to a third real-time event. The reconciliation logic has been updated to to ignore the remote model when the local version is equal to the incoming remote model, which will dedup the subscription event.
OutgoingMutationQueue gets the reconciliationQueue, so upon processing a MutationEvent (SyncToCloudOperation), it will pass the successfully mutation response to the reconciliation queue to process, much like as if it were an subscription event.
ReconcileAndLocalSave's RemoteSyncReconciler determines the disposition of the remote model, when compared to the local metadata. If the local metadata's version is equal to the remote model's then skip the remote model.
Manual Testing done
The manual testing done is by disabling subscriptions, and performing a save. Two events are received by the publisher for that model. Disabling subscriptions can be done via the data resolver for all 3 subscription operations of a model (onCreate, onUpdate, onDelete) with $util.error("Subscription are disabled.", "OperationDisabled") on the last line in Before mapping template.
The second manual test done is to ensure that there are only two events dispatched to the caller for locally sourced mutations with subscriptions enabled. Two events are observed, since the reconciliation of the subscription event determines it to be dropped.
Check points: (check or cross out if not relevant)

[ ] Added new tests to cover change, if needed
[ ] Build succeeds with all target using Swift Package Manager
[ ] All unit tests pass
[ ] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[ ] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

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

Codecov Report

Merging #1712 (2ecf50c) into main (60ef6e3) will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #1712      +/-   ##
==========================================
- Coverage   59.07%   59.06%   -0.02%
==========================================
  Files         716      716
  Lines       21856    21874      +18
==========================================
+ Hits        12912    12919       +7
- Misses       8944     8955      +11

Flag
Coverage Δ

API_plugin_unit_test
62.51% <ø> (-0.10%)
:arrow_down:

AWSPluginsCore
71.37% <ø> (+0.07%)
:arrow_up:

Amplify
46.84% <ø> (-0.02%)
:arrow_down:

Analytics_plugin_unit_test
71.76% <ø> (ø)

Auth_plugin_unit_test
78.74% <ø> (ø)

DataStore_plugin_unit_test
75.43% <66.66%> (-0.09%)
:arrow_down:

Geo_plugin_unit_test
52.12% <ø> (ø)

Predictions_plugin_unit_test
26.81% <ø> (ø)

Storage_plugin_unit_test
58.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ngMutationQueue/OutgoingMutationQueue+Action.swift
33.33% <ø> (ø)

...ingMutationQueue/OutgoingMutationQueue+State.swift
37.50% <ø> (ø)

...eCategoryPlugin/Sync/RemoteSyncEngine+Action.swift
17.64% <ø> (ø)

...reCategoryPlugin/Sync/RemoteSyncEngine+State.swift
20.00% <ø> (ø)

.../OutgoingMutationQueue/OutgoingMutationQueue.swift
73.96% <41.17%> (-2.99%)
:arrow_down:

...tionSync/AWSIncomingEventReconciliationQueue.swift
59.16% <57.14%> (-0.16%)
:arrow_down:

...Plugin/Sync/InitialSync/InitialSyncOperation.swift
72.85% <100.00%> (ø)

...MutationQueue/OutgoingMutationQueue+Resolver.swift
82.14% <100.00%> (ø)

...Engine+IncomingEventReconciliationQueueEvent.swift
55.55% <100.00%> (+1.01%)
:arrow_up:

...ategoryPlugin/Sync/RemoteSyncEngine+Resolver.swift
84.09% <100.00%> (+0.36%)
:arrow_up:

... and 7 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Whether cryptocurrency can be used for sponsorship

Hi!
Sure, could you contact us at<EMAIL_ADDRESS>related issue
https://github.com/devlikeapro/whatsapp-http-api/issues/277


slicing non-monotonously increasing dimension returns empty slice silently

When slicing over a dimension that is not ordered monotonously increasing, .sel returns an empty slice (which is ok) but it also doesn't complain (which is not very helpful).
import xarray as xr
print(xr.__version__)

ds = xr.tutorial.open_dataset('rasm')

print('right order selects correctly:')
print(ds.sel(x=slice(10,15)))

ds['x'] = ds.x[::-1]

print('wrong order returns empty slice, silently:')
print(ds.sel(x=slice(10,15)))

Returns:
0.12.1

right order selects correctly:
<xarray.Dataset>
Dimensions:  (time: 36, x: 5, y: 205)
Coordinates:
  * time     (time) object 1980-09-16 12:00:00 ... 1983-08-17 00:00:00
    xc       (y, x) float64 ...
    yc       (y, x) float64 ...
Dimensions without coordinates: x, y
Data variables:
    Tair     (time, y, x) float64 ...
Attributes:
    title:                     /workspace/jhamman/processed/R1002RBRxaaa01a/l...
    institution:               U.W.
    source:                    RACM R1002RBRxaaa01a
    output_frequency:          daily
    output_mode:               averaged
    convention:                CF-1.4
    references:                Based on the initial model of Liang et al., 19...
    comment:                   Output from the Variable Infiltration Capacity...
    nco_openmp_thread_number:  1
    NCO:                       "4.6.0"
    history:                   Tue Dec 27 14:15:22 2016: ncatted -a dimension...
wrong order returns empty slice, silently:
<xarray.Dataset>
Dimensions:  (time: 36, x: 0, y: 205)
Coordinates:
  * time     (time) object 1980-09-16 12:00:00 ... 1983-08-17 00:00:00
    xc       (y, x) float64 ...
    yc       (y, x) float64 ...
  * x        (x) int64
Dimensions without coordinates: y
Data variables:
    Tair     (time, y, x) float64 ...
Attributes:
    title:                     /workspace/jhamman/processed/R1002RBRxaaa01a/l...
    institution:               U.W.
    source:                    RACM R1002RBRxaaa01a
    output_frequency:          daily
    output_mode:               averaged
    convention:                CF-1.4
    references:                Based on the initial model of Liang et al., 19...
    comment:                   Output from the Variable Infiltration Capacity...
    nco_openmp_thread_number:  1
    NCO:                       "4.6.0"
    history:                   Tue Dec 27 14:15:22 2016: ncatted -a dimension...

Thanks for opening an issue @poplarShift.
There's been quite some discussion in #1613, so I'll close this in favour of that. Please chime in there.

Thanks! Thought I looked everywhere if the issue already existed but must have missed that.


Offline search integration

Add SDK wrappers for offline search API. First PoC for review.

What about renaming NTGeocodingAddress to simply NTAddress , as by itself it could be a general object, even if we use it only in geocoding/reversegeocoding context?

Yes, good idea. Will change the naming.

Part of SDK 4.1.0RC1


Add SSH support

Describe the feature
It would be good to have a module that runs an ssh command on a remote computer. In that way I'll be able to launch remotely an Automator script on a remote Mac computer.
Usecases
Run SSH commands on a remote computer.
Configure routers, apps on linux/unix systems.
Remote run applications on a Mac.

This module should be in the beta releases soon if it is not already. Closing this issue as the module requested has been built.


Filter iframe messages

Ignore messages not sent by our code.
This will fix some bad behavior observed when embedding visualizations in the data portal, where there appears to be other code using window.postMessage for other purposes.

@matthewsmawfield This is ready for review/merge. The I will cut a new NPM release. Thanks!


Backend/feature/communities tests suggestion

My suggestion on how to speed up tests.

Yeah, this looks good, thanks!

Yeah, this looks good, thanks!

Yeah, this looks good, thanks!

Was less pain than I thought :)
Feel free to press "merge" yourself or cherry-pick from here and close.

Yeah, this looks good, thanks!

Was less pain than I thought :)
Feel free to press "merge" yourself or cherry-pick from here and close.


Trouble building CPLEX.jl

Hello
I cannot build CPLEX.jl in julia 0.6 on ubuntu, although I believe I followed the instructions.

My path seems to be configured properly

mposs@mposs-HP-EliteBook-Folio-1040-G3:~$ echo $LD_LIBRARY_PATH
:/opt/ibm/ILOG/CPLEX_Studio127/cplex/bin/x86-64_linux
mposs@mposs-HP-EliteBook-Folio-1040-G3:~$ ls /opt/ibm/ILOG/CPLEX_Studio127/cplex/bin/x86-64_linux/
convert   libcplex1270mpitransport.so      libcplex1270processworker.so  libcplex1270.so
cplex     libcplex1270mpiworker.so         libcplex1270remotejni.so      libcplex1270tcpiptransport.so
cplexamp  libcplex1270processtransport.so  libcplex1270remote.so         libcplex1270tcpipworker.so

and yet:

julia> Pkg.build("CPLEX")
INFO: Building CPLEX
===============================================================[ ERROR: CPLEX ]===============================================================

LoadError: Unable to locate CPLEX installation. Note this must be downloaded separately. See the CPLEX.jl README for further instructions.
while loading /home/mposs/.julia/v0.6/CPLEX/deps/build.jl, in expression starting on line 63

==============================================================================================================================================

===============================================================[ BUILD ERRORS ]===============================================================

WARNING: CPLEX had build errors.

 - packages with build errors remain installed in /home/mposs/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("CPLEX")`
 - build a single package by running its `deps/build.jl` script

==============================================================================================================================================

Try setting the CPLEX_STUDIO_BINARIES environment variable to the same directory

I did that already
mposs@mposs-HP-EliteBook-Folio-1040-G3:~$ echo $CPLEX_STUDIO_BINARIES
/opt/ibm/ILOG/CPLEX_Studio127/cplex/bin/x86-64_linux

In the Julia REPL what is the output of
julia> @show ENV["CPLEX_STUDIO_BINARIES"]

julia> @show ENV["CPLEX_STUDIO_BINARIES"]
ERROR: KeyError: key "CPLEX_STUDIO_BINARIES" not found
Stacktrace:
 [1] access_env(::Base.##288#289, ::String) at ./env.jl:45
 [2] getindex(::Base.EnvHash, ::String) at ./env.jl:78

I can now build CPLEX by correcting manually the problem:
ENV["CPLEX_STUDIO_BINARIES"] = "/opt/ibm/ILOG/CPLEX_Studio127/cplex/bin/x86-64_linux"
However, I guess there is something wrong with the need to perform that trick. In addition, I need these variables to be set correctly for other packages. Any clue why the previous error happens?

I found the mistake: I forgot to put "export" when defining the variable in bashrc.
Thank's,
Michael.


[6.0] Fix a doc anchor is not encoded correctly (#867)

On behalf of @hironytic :

Explanation:  This fixes a bug where links to headings written in Japanese or other text that need percent encoding (other than whitespace and punctuation which DocC replaces with dashes) doesn't work. Specifically, this fixes two issues:

the heading element didn't percent encode its anchor text
the reference URL double percent encoded the fragment portion of the URL

Scope: Links to headings that require percent encoding don't work
Issue: https://github.com/apple/swift-docc/issues/458 rdar://127870203
Risk: Low.
Testing: A new test verifies that a heading and a link to that heading both percent encode the anchor/fragment correctly.
Reviewer: @d-ronnqvist
Original PR: #867

@swift-ci please test


25.0.4: Could not introduce<EMAIL_ADDRESS>as its subpackage github.com/google/go-github/v25/github is missing.

hey folks, I tried both of these options in my .toml and attempted to generate new vendor files:
[[override]]
name = "github.com/google/go-github"
version = "v25.0.3"
[[constraint]]
name = "github.com/google/go-github"
version = "v25.0.3"
but am getting these results each time:
solving failure: No versions of github.com/google/go-github met constraints:
v25.0.4: Could not introduce<EMAIL_ADDRESS>as its subpackage github.com/google/go-github/v25/github is missing. (Package is required by (root).)
v25.0.3: Could not introduce<EMAIL_ADDRESS>as its subpackage github.com/google/go-github/v25/github is missing. (Package is required by (root).)
v25.0.2: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v25.0.1: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v25.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v24.0.1: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v24.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v23.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v22.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v21.0.1: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v21.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v20.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v19.1.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v19.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v18.2.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v18.1.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v18.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v17.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v16.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v15.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v14.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v13.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v12.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v11.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v10.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v9.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v8.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v7.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v6.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v5.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v4.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v3.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
v2.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
master: Could not introduce github.com/google/go-github@master, as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
revert-1111-remove-service-hooks-endpoints: Could not introduce github.com/google/go-github@revert-1111-remove-service-hooks-endpoints, as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
revert-844-teamreview: Could not introduce github.com/google/go-github@revert-844-teamreview, as it is not allowed by constraint ^25.0.3 from project github.xxxxxxxxxxx.
any pointers will be much appreciated.
Thank you

Uh, sorry... you lost me.  What are you trying to do?
Can you show the commands you are trying to execute on the command line, please?

I'm trying to generate vendor files using the dep commands through the .toml file
because when importing "github.com/google/go-github/v25/github" I get the following error message:
cannot find package "github.com/google/go-github/v25/github" in any of.... vendor tree

Ah, I'm not familiar with dep... have you tried just using the non-versioned import path and letting dep vendor the latest?  For example, try just using github.com/google/go-github/github and see if that works?
If not, then I will need to defer to people who are familiar with dep to answer your question.

@gmlewis thank you for your prompt response, and the willingness to help.
Sadly,  github.com/google/go-github/github isn't giving me any love either.

Closing due to inactivity and lack of dep expert guidance.


Fetch IP allow list from tdr-configurations instead of SSM param

This changes where the list of IPs which are allowed to access Grafana is read from.
Before, we read the list from a parameter in the AWS SSM Parameter Store. Now, it reads the list from the tdr-configurations repo.
The tdr-configurations repo was already being used for the frontend load balancer allow list, so this change makes Grafana consistent with tdr-terraform-environments.
It also reduces the number of deployment steps. When the list changes, we can now deploy the changes by running this Terraform project, without having to deploy the change to the parameter store first.

Just a minor note, we should update the setting up environment instructions once all the ip address changes are deployed and the SSM parameters are removed.

I've made a note to do that, thanks. 👍


Invalid credentials after configuring the docker containers

I was able to run the docker … the container seems to be up and running fine.
docker-compose up
Starting api_db_1
Recreating api_web_1
Attaching to api_db_1, api_web_1
db_1  | LOG:  database system was shut down at 2016-04-08 20:03:24 UTC
db_1  | LOG:  MultiXact member wraparound protections are now enabled
db_1  | LOG:  database system is ready to accept connections
db_1  | LOG:  autovacuum launcher started
web_1 | => Booting Puma
web_1 | => Rails 4.2.3 application starting in docker on http://<IP_ADDRESS>:3000
web_1 | => Run rails server -h for more startup options
web_1 | => Ctrl-C to shutdown server
web_1 | [1] Puma starting in cluster mode...
web_1 | [1] * Version 3.2.0 (ruby 2.3.0-p0), codename: Spring Is A Heliocentric Viewpoint
web_1 | [1] * Min threads: 8, max threads: 16
web_1 | [1] * Environment: docker
web_1 | [1] * Process workers: 3
web_1 | [1] * Preloading application
web_1 | [1] * Listening on tcp://<IP_ADDRESS>:3000
web_1 | [1] Use Ctrl-C to stop
web_1 | [1] - Worker 0 (pid: 10) booted, phase: 0
web_1 | [1] - Worker 1 (pid: 18) booted, phase: 0
web_1 | [1] - Worker 2 (pid: 26) booted, phase: 0
db_1  | ERROR:  database "postgres" already exists
db_1  | STATEMENT:  CREATE DATABASE "postgres" ENCODING = 'unicode'
I see this error when running the seed data:
C02P5397G3QP% docker-compose run web rake db:seed
DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to exists?. Please pass the id of the object by calling .id. (called from <top (required)> at /api/db/seeds/theme.rb:2)
I cannot login with the credentials
Kacerguis, Christopher [USA]: (3:06 PM)
<EMAIL_ADDRESS>Kacerguis, Christopher [USA]: (3:06 PM)
projectjellyfish
Any assistance with this would be helpful.

Please try password jellyfish instead with the<EMAIL_ADDRESS>username.


feat: Add simple plotter

Overview
While exporting a PMDAT file to STL, I noticed that if you load the STL file back with PyVista, everything seems to work fine. There is probably some issue with the plotter that we are not noticing. While I don't work in the plotter, this PR allows to visualize large models, as the ones shared by @hlee0122 with me.
Visual Example
Still not the smoothest experience but at least usable.

Example usage script
Added a plot method directly to Model class, I think it's more intuitive.
import os
import tempfile

import ansys.meshing.prime as prime
from ansys.meshing.prime.graphics import Graphics

prime_client = prime.launch_prime()
model = prime_client.model

file_io = prime.FileIO(model)
file_io.read_pmdat(
    file_name="12M_mesh_non-confidential.pmdat",
    file_read_params=prime.FileReadParams(
        model=model
    )
)
model.plot()

Codecov Report

Merging #603 (d3395a1) into main (152228b) will decrease coverage by 0.86%.
Report is 1 commits behind head on main.
The diff coverage is 7.40%.

@@            Coverage Diff             @@
##             main     #603      +/-   ##
==========================================
- Coverage   76.72%   75.87%   -0.86%
==========================================
  Files          31       32       +1
  Lines        2213     2238      +25
==========================================
  Hits         1698     1698
- Misses        515      540      +25

Files Changed
Coverage Δ

src/ansys/meshing/prime/graphics/simple_plotter.py
0.00% <0.00%> (ø)

src/ansys/meshing/prime/core/model.py
86.32% <33.33%> (-1.40%)
:arrow_down:

src/ansys/meshing/prime/core/fileio.py
96.05% <100.00%> (-0.06%)
:arrow_down:

Just for me to remember:

Avoid the plot() function or try-catch import to avoid having PyVista as hard dependency

I'll close this PR for the time being, as it is not necessary to implement this at the moment.


update dockerclient

Signed-off-by: Victor Vieux<EMAIL_ADDRESS>

ping @dongluochen

ping @abronan

@dongluochen today docker inspect <container> on swarm is using a proxy so you already see Networks in docker inspect but I think we should still merge this PR so we have the networks in memory.

LGTM

LGTM.


Circular dependency trips the attached project

Opening the following project results in build errors due to a circular dependency https://utopia.pizza/p/43a26dec-psychedelic-archaeology/

This again appears to be caused by the export default function App() (changing that to export function App() resolves the issue)

Ok, we should probably support that syntax since it's the default CRA one. I'll update this ticket and reference the other one.

I'm going to move this under the "Support running valid react code in the canvas" part of the roadmap

I've also just created that as a Milestone and assigned it. Not sure how helpful they are, but this project seems pretty predictable and linear like that.


CT tracking of shift key failed

scenery : top-level-unit-tests : require.js
292 out of 293 tests passed. 1 failed.
KeyStateTracker: tracking of shift key failed:
shift key should not be down in tracker just because of tab up with shift key code
    at Object.QUnit.test.assert (https://bayes.colorado.edu/continuous-testing/snapshot-1550876156706/scenery/js/accessibility/KeyStateTrackerTests.js?bust=1550878686765:104:12)

KeyStateTracker: tracking of shift key failed:
shift key should not be down in tracker getter
    at Object.QUnit.test.assert (https://bayes.colorado.edu/continuous-testing/snapshot-1550876156706/scenery/js/accessibility/KeyStateTrackerTests.js?bust=1550878686765:105:12)

id: Bayes Chrome
Approximately 2/22/2019, 3:55:56 PM

Thanks @KatieWoe certainly related to #918

I think that these can just be removed now. That test is
Put tab key down
Release Tab while shift is held sown
And the tests are verifying that shift is no longer held down in this case. But in #918 we decided that the KeyStateTracker should reflect the modifier keys, so I would expect that the KeyStateTracker would reflect that shift is still down until released explicitly. But I will connect the commit with #918 for review.

Tests are passing, moving comments to that issue.


Text Sticker don't always show full text, now they do

I had the problem that when writing too much text into a text sticker, it wouldn't always show all the text, mostly it cut of the last word or a bit more. Setting constraints to those from the borderView seems to fix that bug.

class func calculateSize(text: String, width: CGFloat, font: UIFont?) -> CGSize {
        let diff = ZLTextStickerView.edgeInset * 2
        let size = text.boundingRect(font: font ?? UIFont.boldSystemFont(ofSize: ZLTextStickerView.fontSize), limitSize: CGSize(width: width - diff, height: CGFloat.greatestFiniteMagnitude))
        return CGSize(width: size.width + diff * 2, height: size.height + diff * 2)
    }

You forgot to use a custom font in this method to calculate the height, I'll submit to fix this.

Oh, good catch, thanks!

Another fix was added, closing this PR


Creating A New Folder in AppData

What is your question?
Is there any code that changes the "PsychEngine" folder in %appdata so that there's no crossover progression through different mods?

Got it thanks for the help


CASMNET-1022-main

Description
This introduces automated SSH access tests for the BiCAN test plan. Features:

Internal and external testing of SSH access
Automatically detects whether using CHN or CAN bican toggle.
Customizable tests: choose which node types to test from, which node types to test to, and over which networks
Automatically selects nodes by querying SLS API and checking the status of each node through the HSM API
Framework for scripting and testing commands on multi-layered SSH connections.
Provisions to add more automated tests and tasks in the future, using existing utilities for APIs and SSH access
Docs on how to run these tests

Checklist Before Merging

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I don't have a JIRA.

Thanks guys for all the review and the fixes!


Creating a Release in a GitHub Action

We solved the compression zip/gz script (https://github.com/webui-dev/webui/issues/120). And we agreed that we should remove the pre-built binaries from the repo.
Why not create a new workflow task that automatically runs when a merge is tagged with release, so this workflow will build, compress, generate and add a new release?

This is important feature to add. I already removed all the compiled objects from the repo.

Good to see you back @hassandraga. I hope it's going well.
Yep, this one will have a leverage. Also, for all wrapper libraries. I started working in at #155 as part of it and it's nearly finished.
We merged #152 a bit prematurely - though it does no harm, since no releases are being made yet - but once the Makefile is out of the way we can update the steps in the CI and it's done.

Sounds good @ttytm

To share a thing that might be relevant and that I didn't came to mention in #152.
The PR intentionally didn't added the version number for the file names.
E.g. if you look at the file names:
https://github.com/webui-dev/webui/releases/tag/2.3.0 (latest release)
https://github.com/ttytm/webui/releases/tag/v0.0.1-test (WIP release on fork)
Not adding an additional version number to the release files is common e.g.:
https://github.com/neovim/neovim/releases/tag/stable
https://github.com/kovidgoyal/kitty/releases/tag/v0.29.2
This makes it easier to deal with in scripts.
E.g. it would allow to use always use an url like /releases/latest/download/windows-msvc-x64.zip to download the latest release without the need for traditional queries or to update it for to version changes in the file name:
https://github.com/ttytm/webui/releases/latest/download/windows-msvc-x64.zip
To download a specified version number a tag would be specified in the url
https://github.com/ttytm/webui/releases/download/v0.0.1-test/windows-msvc-x64.zip

It's fine not to add the version number in the file names. We can simply add later a short description readme file in dist to show the current version number.

It's the same for the architecture in the file names.
Adding it to downloadable archives, but keeping the filename simple.
This would make:
macos-clang-x64.tar.gz
macos-clang-arm64.tar.gz
With the file name for the static library release:
libwebui-2-static.a
instead of libwebui-2-static-x64.a
Currently, keeping just the architecture in the filename
https://github.com/webui-dev/webui/blob/0d400644d13740990aeb9dc813655cd02d140be9/Makefile#L22
Since we still have the same file names per platform keeping it won't add a lot to make things more distingushable.
We could use the simple filenames to spare this would make things simpler internally, also when we extend the architecture support. In CI and Release creation and when downloading, the outputs would be still fully usable and distinguishable.
So the suggestion is to remove x64 from the current outputs. Please let me know what you think on this

I agree with your suggestion because the end-user can still see the platform version in the archive name.

#168 Added the release workflow.


Add config option to set default class for dropdowns

This would be useful when working e.g. with bootstrap, when you want to assign existing classes to elements instead of using custom css.
In the config.:
datePicker.dateDropdowns({
    dropdownClass: 'form-control'
});

And in the plugin:
buildBaseDropdown: function(type) {
	return $("<select></select>", {
		class: type + ' ' + this.config.dropdownClass,
		name: this.config.submitFieldName + "_[" + type + "]"
	});
}

+1
Have just made the same manual adjustment (thanks @darkalor), but definitely a requirement for anyone using any front end framework like bootstrap.


ability to save ChangeTracker in table for audit tracking

I've had change tracking in earlier Postulate versions, but it was never documented, and wasn't fully implemented. I think this would be a good feature for Dapper.CX, but I'm concerned about adding ModelSync dependency. I'm not sure how I want the inline table creation to work.
I think there should be a ChangeTracker.SaveAsync(IDbConnection cn) method that's called by all the Crud methods where a ChangeTracker is passed as an argument. But should probably require explicit opt-in like ChangeTracker.SaveInTable bool.
Note also this will need a way to dereference foreign keys like older versions of this did, which involves some fancy reflection and/or new attributes perhaps.

this is done with https://www.nuget.org/packages/Dapper.CX.ChangeTracking/


Fix Bootstrap overlay covering wiki modals

I'd love a screenshot, but I think I trust you enough to have fixed this.


Getting "can't have a plugin without specifying file operations"

(⎈ |dev-1:default)➜  ~ kubectl krew install tree
Updated the local copy of plugin index.
F1030 15:38:17.757783   13221 root.go:52] failed to load plugin "tree" from the index: platform ({Head: URI:https://github.com/ahmetb/kubectl-tree/releases/download/v0.4.0/kubectl-tree_v0.4.0_darwin_amd64.tar.gz Sha256:c90dd260212b7da7163f12a27269923dedaeb17667616d990aa7ddbee31d2364 Selector:&LabelSelector{MatchLabels:map[string]string{arch: amd64,os: darwin,},MatchExpressions:[],} Files:[] Bin:kubectl-tree}) is badly constructed: can't have a plugin without specifying file operations

What's your krew version? Could it be too old?

I suppose so :)
(⎈ |dev-1:default)➜  ~ kubectl krew version
OPTION          VALUE
IsPlugin        true
ExecutedVersion dc2f2e1ec8a0acb6f3e23580d4a8b38c44823e948c40342e13ff6e8e12edb15a
GitTag          v0.2.1

I guess it would have warned me, but it was too old for that too. Closing. Thank you @ahmetb


Problem Statement Documentation Review

Describe the request
@smiths, Problem statement is ready for review.
List the files

Problem statement pdf
Problem statement tex

Feedback:

excellent use of citation to credit Bing Chat
the notation for your equation looks a little busy.  You might consider using a bold font to indicate a vector, rather than the arrow overtop.  You might also want shorter names, like a for accel.  Having said that, you should follow the conventions of the community.
there isn't any theory given for the output.  It would be nice to see something of the math that connects the inputs to the output, or at least to see a link or citation for that information.  It is difficult to judge whether the scope of the project is appropriate without that information.  However, we can adjust the scope as we go along, so this isn't a problem at the moment.
Ideally your software will work on a Mac, since that is my preferred testing environment.  :smile:

Your project looks great.  I'm looking forward to it.
Your project is approved.


DSA <IP_ADDRESS> Arrays: Standard Problems (Problem 2)

Description
Find largest sum contiguous subarray.
Task

[x] Documentation
[x] Audio
[x] Video

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
In case you see that the issue has already been assigned, try to request for a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

/assign

Harshil Jani
DSA batch-2
I would like to work on documenting this !!

I would be glad to work on this issue through documentation, Please assign this to me!!
Name - Sakshi Sharma
Batch no. - 5

\assign Video

\assign

Siddhi Bhanushali
DSA BATCH 1
DOCUMENTATION

can I work on this issue?
Documentation

\assign

Will make sure to provide the documentation within a short period of time and with utmost accuracy.
Harsh Chaudhary
DSA Batch 1
Documentation

\assign

/assign

assign this issue @Subhradeep10

/assign

/assign

@ujju20 You have not yet submitted any PR. The issue will be unassigned if you do not submit PR by tomorrow.

@ujju20 You have not yet submitted any PR. The issue will be unassigned if you do not submit PR by tomorrow.

Please Review my PR for this issue
#3984

@goelesha Can i work on this for Video??
DSA Batch 2

Stale issue, so closing it.


Add license headers

related to https://github.com/lagom/akka-grpc-lagom-quickstart-scala/pull/26 and https://github.com/lagom/akka-grpc-lagom-quickstart-java/issues/9

@ignasi35 yes that's what I meant

Makes sense to me, and makes it less of a pain.

see https://github.com/lagom/akka-grpc-lagom-quickstart-scala/pull/28


Add preparation instructions

We need to add a "how to prepare your inputs" instruction file that contains: https://docs.google.com/document/d/1UOIt2bv2MLvxuHZ-ZvZcruRvmVW2hSt_SVni6mCFT0I/edit?usp=sharing
This file should be continually updated based on participant feedback.

Also need to link to contributing guide + tell folks to contact us if they need our help with anything


refactor(header): add new flag to videos in header resources

Overview

Add 'New' badge to videos in the header resources list.
Related to the gamut feature to add the 'New' label: https://github.com/Codecademy/gamut/pull/2181

PR Checklist

[x] Related to designs: https://www.figma.com/file/YKo1KmtLMm2iZjfV4dcBsX/Video-Library-MVP-v1?node-id=239%3A15937
[x] Related to JIRA ticket: Reach-1423
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.33-alpha.1536a1.0@codecademy/gamut-labs@28.4.2-alpha.1536a1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://61b8e21353778f0b2f2a1fd3--gamut-preview.netlify.appDeploy Logs


Support ReactNode in ActionMenu.Overlay

Created from https://github.com/primer/react/pull/2168 by @jdrush89
Describe your changes here.
Add support for ReactNode as the child type in ActionMenu.Overlay so that conditional children can be rendered within an overlay.
Closes #2067
Screenshots
No visual changes
Merge checklist

[ ] Added/updated tests - current testing doesn't seem granular enough to warrant testing every possible prop type, I can add a test if it seems necessary though.
[x] Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[x] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@jdrush89 A canary version is published for each commit

you can install this one by running npm install<EMAIL_ADDRESS>in the repo you want to install like memex

@siddharthkp I tested in memex codespace and all looks good, I'm able to specify false and null as Overlay children and everything's working as expected.

That's perfect! I'll merge this tomorrow and add it to the next release :)


how to display timezone abbriviation ?

Hi,
I was wondering if there was a way to display the timezone. I was using this moment format MM/DD/YYYY hh:mm A z.
PS: I know that moment deprecated the use of z without the moment-timezones, so essentially we would have to do moment().tz(timezone).format('MM/DD/YYYY hh:mm A z') and that would display the timezone abbreviation.
Thanks!

Until this gets official support, you can always set format: "MM/DD/YYYY hh:mm [" + theActualTimeZone + "]" in your options object.  That's what I'm doing now.


The results of using the provided code are very different from the results of the article

I use the official code to run the carpet class in the MVTec (only change the -o: python3 train_mvtec.py -s Shift-Intensity-923874273 -d '/path/to/mvtec_ad/images/' -o "./output" -n "carpet"), the result is AUROC 0.58, sample AP: 0.74, pixel AP: 0.1, this is very different from the original result. Please let the authors provide the correct setups for different objects in the MVTec dataset.

Quoting from the supplement of the paper:

For NSA, we use mixed gradients for all rCXR data and for MVTec AD texture classes. For
MVTec AD object classes, we find that OpenCV’s [3] seamless cloning method
causes artifacts when there are sharp contrast changes (e.g., at the boundary
from the object to the background) near the edges of the patch boundary more
frequently when using mixed gradients than source gradients. Thus, we only use
source gradients for these classes for NSA.

Carpet is a texture class, so a setting matching the paper would be Shift-Intensity-M-923874273.
I'll add an example to the README to include a texture example command in addition to the current object example.


Open Weather Map API httpRequest issues when used with codepen

Challenge Name

http://codepen.io/Lihkinrian/pen/evOgVr?editors=0010
Issue Description

When i use http://codepen.io  i am getting an error "getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."  i am using http for both the request url and request origin url. But when i use https for the request origin url i.e the https://codepen.io//Lihkinrian/pen/evOgVr?editors=0010   and http for the api   i get "Mixed Content: The page at 'https://codepen.io/Lihkinrian/pen/evOgVr?editors=0010' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.openweathermap.org/data/2.5/weather?lat=10.0090639&lon=76.3614448&&appid=39809327b8276ac16891fe71210a0291'. This request has been blocked; the content must be served over HTTPS.".
Browser Information

Browser Name, Version: Chrome v56
Operating System: windows 10
Mobile, Desktop, or Tablet: laptop

Your Code

function getWeatherData() {    navigator.geolocation.getCurrentPosition(function(position) {
        var lat = position.coords.latitude,
            lon = position.coords.longitude,
            url = 'http://api.openweathermap.org/data/2.5/weather?lat=' + lat + '&lon=' + lon + '&&appid=39809327b8276ac16891fe71210a0291';
      $.getJSON(url, function(data) {
          console.log(data);
      });
    });
}

$(document).ready(function() {
    getWeatherData();
});

Screenshot

Duplicate of #9079 , please refer workarounds.

Recommending someone look at the workarounds does not resolve the bug.


Fix bind group binding ID validation.

Use the binding, not the iterator index.

LGTM, there's a formatting error.


[Feature Request] Autocomplete section suggestions

Overview
Expand the autocomplete graph to suggest sections.
Proposal
Increase the allowable formats the autocomplete graph suggests from (note spaces and that brackets represent optionality):
<prefix>[<number>| <number>[ <professorLast>|(<professorFirst> <professorLast>)]]
<professorLast>|(<professorFirst> <professorLast>)[ <prefix>[<number>| <number>]]

to:
<prefix>[<number>| <number>[.<section>][ <professorLast>|(<professorFirst> <professorLast>)]]
<professorLast>|(<professorFirst> <professorLast>)[ <prefix>[<number>| <number>[.<section>]]]

This change would be implemented in the generateAutocompleteGraph.ts file under the addPrefixFirst and addProfFirst functions.

Turns out we do not actually want sections in the autocomplete as they're just an ambiguous subset of the grades for a course. Since professors change for sections.
This does still however include exclusive sections like .HON and may end up including .HNx and .0Lx
This also optimizes the autocomplete system by implementing a radix tree and limiting the number of responses returned.


Create a KafkaBrokerWrapper to use java reflection for kafka backward compatibility

Create a KafkaBrokerWrapper to use java reflection to create host() and port() function.
This is for kafka8 and kafka9 compatibility issue:
To get leader from PartitionMetadata,
In kafka8 the object type is kafka.cluster.Broker;
In kafka9 the object type is kafka.cluster.BrokerEndPoint.

Current coverage is 63.95% (diff: 62.50%)

No coverage report found for master at 1701019.

Powered by Codecov. Last update 1701019...12eec0f


Project Feedback!

Week 1
<img alt="+1" title="+1" src="/images/emoji/unicode/1f44d.png"}" style="vertical-align:middle" width="20" height="20" /> One of the most important part of these projects is that you add additional features and tweak the UI / UX because that will provide many more learning opportunities. I would encourage you to complete the projects each week with required stories early and then spend time adding your own UI elements and experimenting with optional extensions that will improve the user experience.
I have provided a detailed Project 1 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission. You should consider going back and implementing applicable feedback as well. Keep in mind that one of the most important parts of Android development is learning the correct patterns and conventions.
Hopefully this has given you a first sense of the RelativeLayout which is a very powerful layout system, probably one of the best responsive-first layout systems available across web and mobile platforms.
I would encourage you to also spend more time in future assignments improving the UI / UX as well by reviewing examples of good UI design.
If you have any particular questions about the assignment in general or on any of the feedback, post on the discussion forum or email us at<EMAIL_ADDRESS>

Nice work! The point of this homework was to get familiar with the Android intent navigation system. It also provided a chance to extend your Flicks app in new ways.
We have a detailed Project 2 Feedback Guide which covers the best practices for implementing this assignment. Read through the feedback guide point-by-point to determine ways you might be able to improve your submission. While we won't be reviewing further revisions to this unit's submission anymore, you should consider going back and implementing these improvements as well.
If you have any particular questions about the assignment in general or on any of the feedback, feel free to post on the discussion forum.
If you have any technical questions about the project or concepts covered this week, post a question on our Discussions Forum and mark the question as type, "Curiosity". For general questions around grading scores email us at<EMAIL_ADDRESS>/cc @codepathreview


CakeResque in Heroku

I'm trying to use CakeResque to make some background process in my application.
I got run in my local server and now i'm trying to run at Hekoku.
I added the addon Redis Cloud and put the connection variables in my config but doesn't work!
Could help me with this issue?There is a way to do this?
Thanks a lot

What is the error ? Does the Heroku instance have the php pcntl installed ?

don't shows any error, just doesn't connect, i'll check this pcntl extension


graphql blocks skipped when passing --ext argument

Describe the bug
GraphQL blocks are ignored when running eslint from the command line, and an --ext argument is passed.
To Reproduce
Just the most basic setup, using eslint's --ext CLI argument. Unfortunately I don't think the issue can be reproduced in codesandbox because it needs the CLI.
https://codesandbox.io/s/vigilant-rgb-p6uv4
Expected behavior
Expected graphql lint rules to work in the CLI.
Environment:

OS: MacOS 11.3.1 (20E241)
@graphql-eslint/...: 1.0.1
NodeJS: 12.10
yarn 1.22.5

Additional context
Rules work in Atom and VSCode, I guess because they ignore npm scripts and lint everything.

Some sample eslint debug output
eslint:cli-engine Lint /.../src/test.js +0ms
eslint:linter Linting code for /.../src/test.js (pass 1) +0ms
eslint:linter Verify +0ms
eslint:linter With ConfigArray: /.../src/test.js +0ms
eslint:linter Apply the processor: '@graphql-eslint/graphql' +0ms
eslint:linter A code block was found: 'document.graphql' +14ms
eslint:linter This code block was skipped. +1ms

You don't have to provide max-len, no-multiple-empty-lines for all files, only for js


Oversized application.js

Question
After initiating the website via "hugo server" command, the ESBuild and npm module would generate oversized application.js files (appx. 18mb).
Situation
I have tried it on my personal laptop (macOSx) and a Linux Ubuntu VM on it. The results remain the same.

The screenshot above is a repo I directly forked from the original one without any modification.

The screenshot above is the one I derived the SourceMap via ESBuilder's option, it shows the SourceMap occupied approximately 10MB.
I followed the instructions from both your GitHub README.md and "tour-guides" from Netlify. However, the oversized js situation still occurred.
Also, if any of you don't mind, feel free to check the js file on my github fork.
Thank you for any kind of help and assistance.

I tried again on a Windows VM. The result remains the same

On example site, it is only 1.3MB.


microwave can be turned on with signal

About the PR
title
Why / Balance

lets you automate kitchen a little bit, e.g. with #20026 have a 15s timer control a clock that activates a 10s microwave to get an efficient breab pipeline, 5s window to put in new dough rinse and repeat
let sussy/rev make remotely activated microwave bombs real

Technical details
simple
Media
hampter roulette + battery bomb
https://github.com/space-wizards/space-station-14/assets/39013340/b1c53475-3ada-4f8d-9739-2a07c3a2109a

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
no cl no fun

Man... Microwaving hamlet has never been easier...

 Especially since the microwaves aren't really "high tech" (they look like they were stolen out the back of a church kitchen), it doesn't make sense that you could do any kind of advanced linking with them.

in the future it should require gluing a signal trigger to any random device yes

i don't think this makes much sense and remotely detonating bombs in microwaves is kinda a dumb powergamey feature. Especially since the microwaves aren't really "high tech" (they look like they were stolen out the back of a church kitchen), it doesn't make sense that you could do any kind of advanced linking with them.

i want to make people terrified of microwaves


User agent of the app is Dart/DART_VERSION, making it impossible to have API stats or debug

What

As reported by @raphael0202, User agent of the app is Dart/DART_VERSION, making it impossible to have API stats or debug
I believe this to be a regression
https://github.com/openfoodfacts/smooth-app/blob/7e861f569ebe91d5580b794566c25b81e0a0e513/packages/smooth_app/lib/helpers/network_config.dart

Fixed in the new off-dart version with an hyphen between User and Agent.


Delete the shaders after the shader program Creation

After successfully creating the shader program, the shaders should be deleted since they're probably not needed anymore.
the leaks where discovered in #125

It should indeed be deleted as the shader (and the id) is only present inside the scope of theOpenGLShader::Compile(...) function.


Can we run lazydocker in a container?

I don't see anything about this in the read me.
Thanks!

It's a work in progress: https://github.com/jesseduffield/lazydocker/pull/36

Thank you!


fix: Re-add initDataTransform config

Some FairPlay providers still need this part, so we should never have removed it.
The default is to do no transformation.

I'll wait for the test pass to complete, then merge.  Thanks, @avelad!

Thanks @joeyparrish !


Adding missing workflow_step

Motivation
Which issue does this fix? N/A
If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?

adding in workflow_step field as part of System class

Documentation here lists workflow_step in the response, but Java SDK has no field to access this data on an initialized System Object.

Checklist

[X] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[X] Tests are passing
[ ] Docs have been updated (if applicable)
[X] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?
Step 1:

Tip: lines 11 and (28-42) can be commented out.

In the Main.java file, edit the DeliveryOptions on line 13 to target a test Kontent Project and to look like this:
DeliveryOptions options = DeliveryOptions.builder()
                .projectId("<YOUR-PROJECT-ID>")
                .retryAttempts(2)
                .waitForLoadingNewContent(true)
                .previewApiKey("<YOUR-PREVIEW-API-KEY>")
                .usePreviewApi(true)
                .build();

Step 2:
Rename client to client2 on line 23, then remove the .getName() from line 25, and reference an item in the test Kontent Project like so:
        client2.getItem("<KONTENT-ITEM-CODENAME>")
                .thenAccept(item ->
                        System.out.println(item.getItem().getSystem()));

Expected Results:
When targeting a test project with an unpublished element you should see a System object printed out displaying the workflow_step as one of the fields like so:
System(id=<SOME-ID>, name=<SOME-NAME>, codename=<SOME-CODENAME>, language=default, type=<SOME-TYPE>, collection=default, sitemapLocations=[], lastModified=<SOME-TIMESTAMP>, workflowStep=draft)

Hello @JerRMartin,
thanks for the PR. The change itself seems fine. But the tests are not fully updated and I would love to have this information also in the readme.
According to the changes, it is conceptually the same as in including collection to the SDK:

https://github.com/Kentico/kontent-java-packages/pull/119/files

So please adjust all JSON mock files, extend the binding test and filtering test and extend readme and the PR should be ready to go!

The workflow_step is only being set for all content items - for rich text components it is not: https://kontent.ai/learn/reference/delivery-api/#section/Content-item-object, but I haven't found any components in testing data. It would be great to extend the SampleContentItem.json's description element with one component without having workflow steps and test if it is correctly being set. I would keep this one optional and we can submit a separate issue if not included in this PR.

Once these are in place, I can publish a snapshot to the maven central.

Thank you for your edits!
Could you reformat README.md to keep its shape and just leave the Workflow step part addition?

I'm sorry, I don't know that I understood what you meant by this. Would you mind rewording it?

Thank you for your edits!
Could you reformat README.md to keep its shape and just leave the Workflow step part addition?

I'm sorry, I don't know that I understood what you meant by this. Would you mind rewording it?

Sure, In commit https://github.com/Kentico/kontent-java-packages/pull/139/commits/0567fb2ebddb5ef12b10ee38b2d80079c53042f2 you adjusted the readme with these changes  which are completely correct.

But there are other changes that are changing the format of the README, like this one:

So I would like to have these other changes reverted.

Thank you for your edits!
Could you reformat README.md to keep its shape and just leave the Workflow step part addition?

I'm sorry, I don't know that I understood what you meant by this. Would you mind rewording it?

Sure, In commit 0567fb2 you adjusted the readme with these changes which are completely correct.

But there are other changes that are changing the format of the README, like this one:  So I would like to have these other changes reverted.

Sorry about that, it seems like the Markdown editor I used auto formatted the file without me noticing. Good Catch!

Hello @JerRMartin,
I have merged the PR and released 4.6.0-SNAPSHOT.
Could you test out, if everything works as expected on your particular project (the guide is here)?
Once confirmed, I can promote the snapshot to the production version.

Hello @JerRMartin,
I have merged the PR and released 4.6.0-SNAPSHOT.
Could you test out, if everything works as expected on your particular project (the guide is here)?
Once confirmed, I can promote the snapshot to the production version.

Looks, Great! I'd say its ready to be promoted!

Version 4.6.0 is out!
https://repo1.maven.org/maven2/com/github/kentico/kontent-delivery/


Refactor bounds search to be part of Store Search API instead of Bounds API

This endpoint belong to the Store Search API

Issue

Describe your changes

How to test

Checklist:

[x] My code follows the style guidelines for this repo
[x] I have performed a self-review of my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings/errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] I don't require ops changes for this PR to go to prod
[x] This change does not include a migration

Comments

/update-dist

:tada: This PR is included in version 1.15.0 :tada:
The release is available on:

v1.15.0
GitHub release

Your semantic-release bot :package::rocket:


Update to cartopy

Basemap is now deprecated in favor of cartopy.

I've started to looked into this since support for basemap is officially vanishing in 2020 along with the deprecation of Python 2. Some issues (of widely varying severity):

The structure of cartopy is quite different, returning various objects that are passed into matplotlib axis. This will require some fairly major restructuring.
Development of cartopy seems a bit scattered. It is unclear how stable it is.
Cartopy doesn't have the McBryde-Thomas projection that we've come to know and love in DES.


Evan buzzfeed quiz edits

Bunch of changes in preparation for project walkthrough with the kids.
Main focuses

Encapsulate as much jQuery code as possible into helper functions with appropriate (English readable) function signatures

Part of the lesson will focus on the power of modularization and encapsulation as a tool to reduce complexity

Descriptive (English readable) variable names
Reduce the number of lines in script.js to make reading it less overwhelming for students
Refresh / Introduce dictionaries

Minor focuses

Whitespace and formatting changes
Readiness for codepen

Awesome work!


Fixing compilation for std < c++17

static_assert requires a message argument in versions before c++17 (https://en.cppreference.com/w/cpp/language/static_assert).
The code was not compiling for me (using platformio and NimBLE).
So, i fixed it, introducing a message for the static_assert calls.

Nice! Thanks for fixing


[Feature Request] Reverse-ordering of columns

Using a technique similar to what has been implemented here: http://responsiveemailpatterns.com/patterns/layout/source-order-shift.html
I suspect it will be difficult because of the way the entire table must be constructed. Might it be possible though to create a group:
<mj-section>
    <mj-column-group shift-direction="standard">
        <mj-column><mj-text /></mj-column>
        <mj-column><mj-text /></mj-column>
    </mj-column-group">

    <mj-column-group shift-direction="reverse">
        <mj-column><mj-text /></mj-column>
        <mj-column><mj-text /></mj-column>
    </mj-column-group">

</mj-section>

This would allow the compiler to know which set of HTML etc to use when creating the container table?

Hello !
We're now supporting in MJML 3 direction="rtl"on mj-section. It will reverse column order in a section when displayed in desktop mode.


[Feature Request] New Settings Options

I have recently run into an issue where I have a passive effect on a token and I want to display it on the token, using the force display option added by DAE or by using a Macro. This changes the effect into a temporary effect without a duration.
Having setup the currents option with different right click behaviours, delete for temporary effects and disable for passive effects, I'm running into an issue where I need the effect to remain on the token and is also displayed on the token while also being able to easily disable it.
The specific effects I'm working with are flanking, half cover, and three-quarters cover.
I posted a question into the foundry discord in an attempt to get a passive effect that displayed on the token but was eventually directed to submit a feature request for a new option - Shift Right Click Behaviour.
That way people can easily disable and delete effects using the Effects Panel without having to go into the sheet.

I guess I'm a little confused on this. You can change the behavior for passive or active effects to be disabled/deleted on right click. Is this asking for both behavior to be available based on if the shift modifier is used?


Millstone does not like certain .gb template files, throws "next iteration" error

If you can share these .gb template files (e.g. Dropbox link) that would be awesome.

https://www.dropbox.com/s/twvjut0heiadmtq/yeast_all.gb?dl=0


Allow components outside 'components' directory in astro

I would like to be able to have bookshop search in other folder too, not online the components directory.
The reason for this is that I define some components .bookshop.yml files in my astro content collection, so I can easily import them using astro's builtin functions and then render a page for each component displaying the component.

Would it be possible to define .bookshop.yml files in a package, so in the node_modules folder?


Connect to postgres sql.

The ability to connect to a pg/m*Sql database to snapshot data on page build.
Data as events, 3rd party data.

This could actually be an extremely interesting feature, if someone could also build a frontend to edit this SQL database that statik would read data from. In that case, running statik would be like taking a Django application and freezing it to a set of static files.

If anyone wants a more django-esque version of this, try https://github.com/mgrp/django-distill
@coala is using it for https://github.com/coala/community

Two easy approaches that I can see to achieve this, and both useful.  Other approaches also useful, but maybe not as easy.
For both, I would expect that there would be a mapping from external data sets hosted in a database to the statik models.

Add a data import phase early in the process, with a complete precise mapping to the statik model, and the import serialises the imported data as yaml files , after which statik continues as normal, loading generated yaml files into sqlite, etc.

Add a mechanism to define an external dataset in the view configuration, where joins can be used to correlate the external dataset to the statik data, or template logic can be used to do the joining.

The former is better for 'small' datasets where statik needs to be kept in sync with a database.  Especially reference data.  And probably the generated yaml would be checked in.  Effectively this is just standardising a db->yaml process so it can be maintained with statik instead of various users all building their own hacks.
The latter is better where the external data is unsuitable for sqlite, due to size or datatypes, etc.


[Swift] Test that we print an array of Any.Type(s) correctly.

This was a bug in type reconstruction, but I'm adding a test on
the lldb side to make sure this doesn't regress here.

@swift-ci test and merge


Test terminal performance and Windows support improvements

Testing #13625, #17875

[ ] Linux @roblourens
[x] OSX @bpasero
[ ] Windows @dbaeumer

Complexity: 4 (ideally someone fairly familiar with terminals and curses apps)
Much of the terminal frontend xterm.js was rewritten for performance this version, here is a summary of what happened:

The parser was rewritten for performance
A catch up mechanism was added which utilizes XOFF/XON signals to tell the pty process to stop while the parser and renderer catch up
Rendering is now done asynchronously in an animation frame callback
Additional frame skipping was added to prevent printing to the viewport when the result would change 20ms later anyway
A circular list is now used to manage the buffer, promoting memory reuse, reducing GCs and automatically handling trimming of the buffer to conform with the scrollback value (amount of lines kept in the buffer)
General rendering performance improvements

Additionally on Windows the library used to simulate pseudoterminals has been upgraded several versions and cleaned up which was a huge change that should fix many bugs such as:

Arrow keys wording in Bash on Windows https://github.com/Microsoft/vscode/issues/10163
Git Bash, Bash on Windows prompt and other shells having their prompt getting out of sync when using backspace https://github.com/Microsoft/vscode/issues/7345
Prompt screwing up when using tab https://github.com/Microsoft/vscode/issues/16914
Many other issues https://github.com/Microsoft/vscode/issues/14613

As a result a fairly broad test would be ideal. Here are some areas to focus on:

Running commands that generate a lot of output, I used ls -lR extensively to test during development
Applications such as less, vim, nano, git, etc. act as expected
The scroll bar accurately represents the current viewport
The terminal behaves when the terminal buffer is not full (new terminal) and full (buffer length = scrollback)
Test with different shells

Linux/OSX: bash, zsh
Windows: cmd, powershell, Git Bash, Bash on Windows (may require Windows Insiders)

Tested with PowerShell & cmd.exe. I tested it with Bash from the Windows Subsystem started from a PowerShell command prompt. Couldn't get it to work using bash natively.

Did get bash to work using "terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\bash.exe"


Update meta.yaml

The original recipe was based on a very old mechanism. This PR updates this. Should also take care of #32.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

❌ Non noarch packages should have python requirement without any version constraints.

For recipe/meta.yaml:

ℹ License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12467466699. Examine the logs at this URL for more detail.

@conda-forge-admin, please rerender


Don't install helm charts with hooks

If a helm hook is encountered in a file in a helm chart's templates
directory, return an error.
Fixes #700
Signed-off-by: bryanl<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1140

7 of 9 (77.78%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 70.868%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/registry/helm.go
7
9
77.78%

Totals

Change from base Build 1139:
0.02%

Covered Lines:
11453

Relevant Lines:
16161

💛  - Coveralls

@underrun There is no way to know unless you render the file. I checked the existing charts in stable and incubator, and none of them do that.


[TiKV-BR] BR failed to restore when restored V1TTL data, with Error: [BR:KV:ErrKVKeyNotInRegion]key not in region

Bug Report
1. Describe the bug
BR failed to restore when restored V1TTL data, with Error: [BR:KV:ErrKVKeyNotInRegion]key not in region

2. Minimal reproduce step (Required)

Deploy V1+TTL Cluster v6.1.0
Import some data
Backup -dst-api-version V1TTL
Backup -dst-api-version V2
Restore V2 data on the same cluster, expect to fail
Restore V1TTL data on the same cluster, expect to success

3. What did you see instead (Required)
Failed to restore V1TTL data
4. What did you expect to see? (Required)
Should restore V1TTL data successfully.
5. What is your migration tool and TiKV version? (Required)

TiKV:  ./tikv-server -V
TiKV
Release Version:   6.1.0-alpha
Edition:           Community
Git Commit Hash:   50c2abf87fd144a739ba7ccb70b4100f2c0d92f9
Git Commit Branch: heads/refs/tags/v6.1.0-alpha
UTC Build Time:    2022-05-25 14:54:48
Rust Version:      rustc 1.60.0-nightly (1e12aef3f 2022-02-13)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release

TiKV BR: ./tikv-br --version
Release Version: 7f90200
Git Commit Hash: 7f90200c6d4db411910887a15751ac1da76017cc
Git Branch: pr103
Go Version: go1.16.5
UTC Build Time: 2022-05-26 01:59:28
Race Enabled: false

This issue is fixed in 156210b451918f439d817c1cc56f114a20f15c28 of pr #107


Crash when Augment interacts with Botany Pots

Describe the bug
Botany Pots and Botany Hopper Pots will connect with Refined Pipes but nothing will happen.
If an extractor pipe is added the game will crash.
The pots don't need to be setup with farmland/seeds for the crash to happen.
Not sure if this should be here or on Botany Pots, and I don't think they can interact either way, Botany Hopper Pots behavior is to push items to a storage below it.
https://pastebin.com/LVB5re9Z
Version:
Refined Pipes: 0.5.1
Botany Pots: 7.1.23
How can we reproduce this bug or crash?
Place a Botany Pot on top of an item pipe and insert an augment.
What Minecraft version is this happening on?
Minecraft 1.16.5
What Forge version is this happening on?
36.2.20
What Refined Pipes version is this happening on?
0.5.1
Relevant log output
https://pastebin.com/LVB5re9Z

same here!

This is fixed for 1.18.1 in 1224833c7728c338e47e0acd1c6079e013e90dc2. The fix won't be backported for 1.16.5.

Actually, let's try to get this on 1.16.5. This issue is quite annoying as it makes the world inaccessable.

Fixed in 996593375eccbc78685fd8005ebd96ae45b130cb for MC 1.16.5


There is another filter option for closed

I thought the only closed filter header keyword would be 'CalClosed', but as I found in<PHONE_NUMBER> (an XXL observation), it can also just be 'Closed'.
Because nothing is ever simple.
I'm going to run through our entire archive, extract the filter keyword, and then make a unique set to check to see if there are any other nasty surprises.

Until this is solved and incorporated into the census builder in utils.py, I'll just manually edit the census to exclude that ObsID. Though I have to use it to debug another issue I may have introduced by using local copies of region files first.

For PN there are these:
{'CalClosed',
'CalMedium',
'CalThick',
'CalThin1',
'Closed',
'Medium',
'Thick',
'Thin1',
'Thin2'}

MOS1:
{'CalClosed',
'CalMedium',
'CalThick',
'CalThin1',
'Closed',
'Medium',
'Thick',
'Thin1',
'Thin2',
'UNDEFINED',
'Unknown'}
MOS2:
{'CalClosed',
'CalMedium',
'CalThick',
'CalThin1',
'Closed',
'Medium',
'Thick',
'Thin1',
'Thin2',
'UNDEFINED',
'Unknown'}

This is tied in with another issue that I opened in the past, issue #636 which I am now closing and absorbing into this issue.


Test/2022 UI api plans run e2e

Issue
https://gravitee.atlassian.net/browse/APIM-2022
Description
Plans page tests for APIs in APIM.
Splitting out my General and Plan commits, with updated code and faker details.
I will squash commits etc. after review comments & changes.
Additional context

📚  View the storybook of this branch here

@kkibbey1996 I don't think you made 113 commits 😅. Could you please rebase your branch to keep only the commits you've done for this PR? 🙏🏻


allow casting schema

var Point = t.struct({
  x: t.Number,
  y: t.Number
});

validate({x: 0, y: 0, z: 0}, Point)
Validation Result will skip z: 0 right now. Which is exactly what i want but without running the validations. given an input and a schema, cast the input based on schema.
tcomb-validations is already doing the casting when validating the input. If we can expose this casting as a function which would just cast and not run the validations.
Something like cast({x: 0, y: 0, z: 0}, Point) ruturns the { x: 0, y: 0 } and not run the validations.

tcomb-validation builds on tcomb, just call the Point constructor
import t from 'tcomb-validation'

const Point = t.struct({
  x: t.Number,
  y: t.Number
})

console.log(Point({x: 0, y: 0, z: 0})) // Struct {x: 0, y: 0}

nice. that mostly works but it's not actually casting tho. if my x,y are t.String, i still get them as Number. so it's not really casting the input (number) to schema type (string).
import t from 'tcomb-validation'

const Point = t.struct({
  x: t.String,
  y: t.String
})

console.log(Point({x: 0, y: 0, z: 0})) // Struct {x: 0, y: 0}

Ah, so you mean cast in that sense. Actually you get a type error
TypeError: [tcomb] Invalid value 0 supplied to Struct{x: String, y: String}/x: String

Casting values to different types is against the very rationale of these libraries


Feature/Dialogue submit on pressing Enter key

Fixes #154
Please Review

Hey @alanjsph, it might be good to extract
($event.keyCode == 13)?addNewColumn(newColumn):null

out to a function. One reason is that you're using it 3 times. Another better reason is that it's better to give a name to that action.
How about something like
$scope.submitForm = function(event) {
  (event.keyCode == 13)?addNewColumn(newColumn):null
}

and call it like
ng-keyup="submitForm(e)"

Sure, Ill work on it

How about this commit? @Roshanjossey

@alanjsph: Looks good. We'll wait for @glauberramos to have a look at this.

@Roshanjossey  Sounds good.

Hey guys,
I just tested the PR it looks good. But I have a couple of comments:

We need to add some unit tests to test this new method.
Also why are we keeping the console.log into the code? Production code should not have console.log since it is not doing anything actually.

All right I'll fix them all

@Roshanjossey @glauberramos  please review the code and see if the tests are good enough.

@glauberramos I've removed the spaces for IF and removed null. please review the new commit

jsHint is breaking on travis:
js/mainController.js: line 239, col 29, Expected '===' and instead saw '=='.
js/mainController.js: line 241, col 34, Strings must use singlequote.
js/mainController.js: line 243, col 42, Missing semicolon.
js/mainController.js: line 246, col 32, Strings must use singlequote.

All done. @glauberramos

@glauberramos When would this feature reflect in the app running in github.io?

@alanjsph very soon, I must need to do some tests and I will deploy it. Probably in the end of the day today (brazil time)

It is on production

Yay! My first contribution. Thank you @Roshanjossey @glauberramos


Automating re-runs

Much of my workflow is: run __main__, edit .py files, restart kernel, repeat. The "restart kernel" + "run" or "debug + continue until breakpoint" steps typically elapse 10 seconds, which really adds up over time; it'd be nicer if I could issue a single command to do all these steps and force window focus back on Spyder (like it already does when continuing until breakpoint) when finished, while I tab to other windows.
Is there something like this already in Spyder (if not, I suggest it as a feature), or does anyone happen to know how to macro such a thing? Thanks

Note: while  a kernel restart isn't required to refresh .py files, I found the autoreload feature to be not reliable at times, so a kernel restart is the only way to be sure.

@OverLordGoldDragon Have you tried your scripts without restarting the kernel in Spyder 4? I ask because by default Spyder 4 runs scripts in a new namespace which might help with troubles you may have had in previous versions.

@bcolsen Yes, issues encountered up to Spyder 4.0.1. To clarify, I'm not entirely certain the issue has ever occurred outside of and unrelated to TensorFlow sessions, which are difficult to clean up without a kernel restart (and a new namespace surely doesn't do it). But this doesn't help, since I work with TensorFlow extensively.

We don't have time to implement this, sorry. So unless you send us a pull request for it, I'm afraid it's not going to happen.
Please report back if you'd like to do that and need some guidance for it. Else, I'm afraid I'll close this issue.

@ccordoba12 Understandable, thanks.

Thanks for understanding!


move partisan to applications from included_apps

I think you need to bump partisan in the rebar.config, right?

Argh, this is what I get for merging without enough morning coffee.

Once this passes, I'll verify the runs still complete on Amazon before we merge it.

Change the target branch to unstable when you have a moment.

See #210.


Remember workspaces

tab -l should only list tabs in your current workspace (or ones already launched).
But if you ask for a tab by name that doesn't exist in this workspace, but exists in another workspace, that tab should be selected.

One way to do this would be to give the workspace a name.  Then, you'd tab to the workspace, then tab to the repo.


minor changes noaa-c-cap colormap

Description
Minor changes to noaa-c-cap colormap.

Classification 0 and 1 represent no data or undetermined data. I've changed them to be transparent to allow base map to be visible.
Classification 24 and 25 changed to match NOAA CCAP specified color scheme (See https://coast.noaa.gov/data/digitalcoast/pdf/ccap-class-scheme-regional.pdf).

Type of change
How Has This Been Tested?
Checklist:
Please delete options that are not relevant.

[X ] I have performed a self-review

cc @gadomski


@conda-forge-admin, please add user @orbeckst

Additional comment:
@conda-forge-admin, please add user @orbeckst

@conda-forge-admin, please add user @orbeckst

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @orbeckst in conda-forge/alchemlyb-feedstock#4.

Thanks @jan-janssen ... this probably a better place for this message.


Updates for the New Year

...or really from the past year.
This updates the project to handle NodeJS 8.x (npm 5.x) and its package-lock.json issues.
Also cleaned up the help text, and switched the project from jsHint to Cesium's esLint.  Fixed (or added exceptions for) all eslint warnings and errors.

In spite of the number of lines touched, the code changes here are just simple eslint fixes and should not affect operation.  I'm going to merge this as I don't think there's anything substantial here.  Feel free to comment if you think otherwise and we'll revisit.

Very nice, happy new year @emackey!


How to get the compiled library

Hi team,
we need to to run the cdm_reference_player_ios project with the new version of the library that is now published in github, this is, the changes you did on the universal-dash-transmuxer. Since we are not able to compile the github code for generating the oemcrypto_tfit2-eit_dev_dylib and oemcrypto_tfit2_dev_dylib_sim libraries we would need the compiled version, is it possible? (the current code has external references we cannot solve on our end)
Thanks!

Hi guys, has anyone had a look at this would be amazing if we could get some guidance.
Thanks,
Andy

Hello,
You may need to get rid of DashToHLSResourceLoader for this to work (I did it with an older version that lacked that class; if you do get rid of it don't forget to disable HLS encryption when generating the manifests), but testing the updated UDT should be doable if you rename all of UDT's external symbols (basically the dash2hls namespace and the functions marked as extern "C") and change the code in cdm_reference_player_ios to reference the renamed symbols instead. AFAIK, the crypto side does not directly reference UDT.

We are still identifying how to best accomplish this. Our primary solution would be to have the iOS reference application interact directly with this repo, but it would need to be clear content and have no DRM involved.