 I've noticed that importing githubkit takes about a 1-1.5 seconds on my machine due to all the pydantic models that need to be parsed. Is this what this issue is talking about? If it is, I wouldn't mind looking into it (the slow import times take up a good chunk of my test suite).

GitHub REST API now supports versioning, models may be generated for every version to support this. So, we should find a way to load models only when we using them, including rest api and webhooks.

If the type checking code is only needed in a TYPE_CHECKING context, then it sounds like an easy win to just move it into an if statement.
With the lazy loading side of things, there are lots of different ways you could go about importing the models, depending on how granular you want things to be. Some of the approaches I can think of:

Load everything once one model is used. This means we still have to load all the models, except now we just delay the loading until later (probably not ideal)
Load REST/Webhook models when used. If you don't use REST (or Webhooks), then you shouldn't need to pay for both. Still, if you are only calling a few endpoints, loading all the REST models is slow
Load models that are in the same "group". For example, when calling a user endpoint, load all the user models. This might require some extra work, but would require much less importing (assuming you're only use a portion of the GitHub API at any given point in time).
Load each model as-needed. This is probably overkill, but essentially we would only load the specific models needed to call the endpoints we need, nothing more. This sounds like a lot more work for little benefit.

Each one of these have their pros and cons. I would say the more granular the better, though per-model importing is probably too-granular to be useful.

As for API versioning, that will be it's own set of issues regardless of whether lazy loading is implemented or not. I would say lazy loading should be implemented before API versioning, otherwise we will be parsing multiple different versioned APIs, further compounding the loading time issue. Also, there only seems to be one API version that GitHub supports at the moment, version 2022-11-28. I don't know when they will be coming out with a new version, but for now it seems like we only need to support the current version, is that correct?
Also, how will API versioning work with the type information? I assume we would need different types and classes for each API version, or somehow find a way to share the core logic between the different API versions.


Merlin Inference Container Build

Currently getting an error when building inference in internal CI system because of nvml.
[ 99%] Linking CUDA device code CMakeFiles/inference_test.dir/cmake_device_link.o
[100%] Linking CXX executable ../../../bin/inference_test
[91m/usr/bin/ld: warning: libnvidia-ml.so.1, needed by ../../../lib/libhugectr_inference.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: ../../../lib/libhugectr_inference.so: [0m[91mundefined reference to `nvmlErrorString'
/usr/bin/ld: ../../../lib/libhugectr_inference.so: undefined reference to `nvmlInit_v2'
[0m[91mcollect2: error: ld returned 1 exit status
[0m[91mmake[2]: *** [test/utest/inference/CMakeFiles/inference_test.dir/build.make:219: bin/inference_test] Error 1
[0m[91mmake[1]: *** [CMakeFiles/Makefile2:1195: test/utest/inference/CMakeFiles/inference_test.dir/all] Error 2

HugeCTR put a fix in internal repo. Need to check that it works and modify CI process.

Fixed by hugectr team


Bug - geographic names maximum query length

Describe the Bug
if the spreadsheet contains too many geographic locations the api request fails
Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: uploader

upload the suvi dataset from teams
See error
the backend shows this error: Client Error: Request-URI Too Long for url

this indicates we need to change the way the request is sent, eg batches

PR up for this does address the maximum query length, but I found when testing on a huge file it takes FOREVER to load. Maybe we should discuss this api call further.


Labeling fixes, Use Concurrency to cancel workflows

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] CHANGES.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Fixes a bug that was recognizing all PRs as though they were coming from forks of Ouranosinc/xclim
Removes credentials from the actions-version-updater.yml so that I don't get the commit credit (and cannot approve the resulting PR)
Replace the styfle/cancel-workflow-action with concurrency

Does this PR introduce a breaking change?
No.
Other information:

coverage: 90.409%. remained the same when pulling 318e2931c9087f728919c7aa2e2e517803c8b162 on labeling_fixes into 0ce4d30000a820578483400a5bfe1e68beb7254c on master.


Suggestions for datastore bloat (self-hosting)

I've noticed after using goread for a year or two (thank you, BTW!) that I am seeing some datastore bulk in my app engine account, causing small, but regular charges.  As someone who isn't super familiar with go or with the architecture of the app, any suggestions for clearing out old items and keeping the app under the free app engine quota?
Thanks!

For me it worked pretty well, until someday I ran out of Datastore space because of hundredthousands of entries in the log table. And then I found out that you can't simply clear a lot of entries without paying a lot.
That could probably be handled better, but I simply added a cronjob that slowly purges the table, 500 log entries per hour. After some months, all log entries were gone :)


Update welcome.md

What changed? Why?
Notes to reviewers
How has it been tested?
Does this PR add a new token to the bridge?

[ ] No, this PR does not add a new token to the bridge
[ ] I've confirmed this token doesn't use a bridge override
[ ] I've confirmed this token is an OptimismMintableERC20

Please include evidence of both confirmations above for your reviewers.

@MohammedJasimCJ looks like this is missing the changes?


hk.multi_transform and jax.grads

I'm curious how using hk.multi_transform affects grads tracked by the jax.grad function.
Using the example provided in the documentation for hk.multi_transform, say that you only wanted to update the encoder params.
You do something like
'''
encoder_apply, decoder_apply = f.apply
def encoder_loss(params, inputs, labels):
pred = encoder_apply(params, rng, inputs)
return ((preds - labels)**2)
grads = jax.grad(encoder_loss)(params, inputs, labels)
apply grads and get new params
'''
my question is: what are the grads for the decoder params (inside of the params variable, i.e. name='params/decoder/...')? My hope is that they are all zeros (params + lr * grads) has no affect on params.
At the end of the day my goal is to have one unified network with sub-architectures (e.g. encoder-decoder) and on some training iterations only update the encoder params, and on other only update the decoder params.
Is hk.multitransform the right way to go about partitioning the params while still maintaining the ability to use the network as a whole? If not any suggestion on what might be a better route.
Thank you in advance

Minimal example below. The grads for the subarchitecture not being used are indeed zero. Makes perfect sense being that the decoder wouldn't be tracked on the computation graph used by jax.grad
`def f():
encoder = hk.Linear(1, name="encoder")
decoder = hk.Linear(1, name="decoder")
def init(x):
z = encoder(x)
return decoder(z)
return init, (encoder, decoder)
f = hk.multi_transform(f)
rng = jax.random.PRNGKey(42)
x = jnp.ones([1, 1])
params = f.init(rng, x)
encoder_apply, decoder_apply = f.apply
def loss(params, inputs, labels):
preds = encoder_apply(params, rng, inputs)
loss = (preds - labels)**2
return loss.mean()
loss, grads = jax.value_and_grad(loss)(params, jnp.full([1,1], 1), jnp.full([1,1], 10))
grads`

{'decoder': {'b': DeviceArray([0.], dtype=float32),
'w': DeviceArray([[0.]], dtype=float32)},
'encoder': {'b': DeviceArray([-17.485035], dtype=float32),
'w': DeviceArray([[-17.485035]], dtype=float32)}}


adding a scroll to alert sign up

if you link to /alert from the homepage it will take you to the alert signup section

@mikelehen - Correct, we'd like a place to link to sign up (emails, tweets, etc)


help: Update exports documentation.

#31989

@prakhar1144 Could you please fix up this PR with whatever changes are appropriate for the anchor tags I replaced?

Self-review checklist

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

Communicate decisions, questions, and potential concerns.

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

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

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

Completed manual review and testing of the following:

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

See https://github.com/zulip/zulip/pull/31989 for screenshots.

Merged, thanks @prakhar1144!


Update dotnet-ef to target netcoreapp2.1

Port #11807 to 2.1

This is approved for RTM, but please wait for the branch to open for RTM before merging.


[ new, wip ] implement different types of queries on graphs

The goal of this PR is to add several kinds of queries such as depth-first search and breath-first search to this library. This will also require the addition of one or more types for keeping track of the nodes we visited so far during a query.
TODOs:

[x] Implement a linear Visited type based on mutable byte arrays to be used with large graphs
[ ]  Thoroughly test Visited to work correctly
[x]  Profile Visited to determine the number of nodes for which Visited starts to beat Integer
[ ]  Implement several generalized DFS algorithms (taken from Haskell's FGL library)
[ ]  Same as above but for BFS

Profiling results are as expected (on the Chez backend): For graphs of up to 64 nodes, using a raw Integer to keep track of the visited nodes clearly beats the mutable byte array in terms of performance. At 64 nodes, they show similar performance, but already at 128 nodes, the byte array is three times faster than the Integer.
For very large graphs (65k nodes), the byte array is a full 200 times faster than the Integer.


typo fix monitor alert doc start grafana err

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Zf -  The city of the job is "Budapest" instead of "Bucharest"

ENVIRONMENT: production
URL: solr.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Execute Query for "Zf" Company
Check the city of the job "Sales Engineer (Romania)"

EXPECTED RESULTS:
The city of the jobs is "Bucharest" as on the company's website
ACTUAL RESULTS:
The city of the job is "Budapest" instead of "Bucharest"
On scrapers.peviitor.ro the message  "Budapest is not a city in Romania" is displayed

Fixed!


Fix SR-8570 by allowing existential metatypes for empty type-list attributes

Fix SR-8570 by allowing existential metatypes for empty type-list attributes.

@swift-ci please test tensorflow

Ah, sorry @m3bm3b, I didn't mean to conflict with your work.


Update "ember-cli-mocha" to v0.13.1

/cc @acburdine

@acburdine @kevinansfield any reason for not merging this? do you have questions?

No, it's just that development has just been paused momentarily to focus on some internal projects, everything looks good here and it's in line to be merged soon 😄

@Turbo87 LGTM, thanks for the PR :)


Update README.md

Portfolio Author
aisgdel29
Portfolio Link?
https://anubhavsigdel.vercel.app/
GitHub Link:
https://github.com/asigdel29/portfolio
Tech Stack
HTML, CSS, Javascript

Apologies I thought the link was working


How about SPM support?

Maybe next week.
| |
LEE
<EMAIL_ADDRESS>|
Signature is customized by Netease Mail Master
On 06/13/2020 00:09, Ivan Vorobei wrote:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Supported in version 1.3.3. 🎉

Great, thanks!
All work)


Support multiple events

Right now it's a weird hardcoded mess

This feels like it is an umbrella task for several minor tasks or is this only referring to the back-end ability to support more than one event? I think I'd in any case suggest listing the different aspects needed to resolve this so it is easier to help out.

#784

Hoping it will help:

[ ] shrub/tools/theme/theme.php uses $EVENT_NODE which is set from $SH['ludumdare-event'] (should be called $EVENT_ID to match most common naming

[ ] shrub/tools/grade/grade.php uses $EVENT_ID set from same above.

[ ] shrub/src/theme/theme_list_vote.php uses $event_id in functions:

[ ] themeListVote_CalculateScores (not used in function)
[ ] themeListVote_Add
[ ] themeListVote_GetByNodeUser

[ ] shrub/src/theme/theme_list.php uses $event_id in functions:

[ ] themeList_Add

[ ] shrub/src/theme/theme_idea_vote.php uses $event_id in functions:

[ ] themeIdeaVote_GetIdeas (comment: This calls themeIdea_GetOriginal with user-id as 0)
[ ] themeIdeaVote_GetMy
[ ] themeIdeaVote_Add
[ ] themeIdeaVote_Remove

[ ] shrub/src/theme/theme_idea.php uses $event_id in functions:

[ ] _themeIdea_GetRandom
[ ] _themeIdea_Add
[ ] _themeIdea_AddWithLimit
[ ] themeIdea_GetStats
[ ] themeIdea_SetParent
[ ] themeIdea_Add
[ ] themeIdea_GetOther
[ ] themeIdea_GetDetail
[ ] themeIdea_CountUsers
[ ] themeIdea_CountOriginal
[ ] themeIdea_Count
[ ] themeIdea_GetOriginal
[ ] themeIdea_Get

[ ] shrub/src/note/note_love.php mentions $event_id in comments but never uses in code

[ ] shrub/js/theme/theme_list_vote.js uses event  variable in GetMy in request to api using that event.

[ ] shrub/js/theme/theme_list.js uses event  variable in Get in request to api using that event.

[ ] shrub/js/theme/theme_idea_vote.js uses event  variable in:

[ ] Get in request to api using that event.
[ ] GetMy in request to api using that event.

[ ] shrub/js/theme/theme_idea.js uses event  variable in:

[ ] GetMy in request to api using that event.
[ ] Add in request to api using that event.
[ ] Remove in request to api using that event.

[ ] shrub/js/theme/theme.js uses event  variable in:

[ ] GetStats in request to api using that event.

[ ] com/header-whatsup/whatsup.js Has hardcoded a bunch of event references

[ ] com/dialog-create/create.js

[ ] Could have text using the actual name of the current event, not just "Create a game for the active event?"
[ ] Uses event_id set rather mysterically as var event_id = this.props.extra.length ? Number.parseInt(this.props.extra[0]) : 0;

[ ] Has hard-coded title:  new_props.title += ' '+ShowType+" for Ludum Dare 38";

[ ] com/content/item/item.js

[ ] Uses hardcoded link to event post /events/ludum-dare/38/ludum-dare-dot-com
[ ] Has a todo:  // TODO: Re-enable this to allow event selection

[ ] com/content-event/event.js has // NOTE: THIS IS WRONG! We should be asking the event node (i.e. this) forwhat. Alas, with 1 event we can cheat

[ ] com/content-event/event-list has var event_id = this.props.node.id;

[ ] com/sidebar-upcoming/upcoming.js has hardcoded commented out event info.

[ ] com/header-clock/clock.js has an hardcoded EventDate commented out

[ ] com/contents-event/event.js

[ ] has a bunch of  EventBody set using a node.
[ ] onJoin doesn't care what event you are looking at, it joins the featured event.
[ ] render has ShowJoin not check first if node == root.featured or maybe that is part of node_CanCreate but then I don't get the featured checks later...

[ ] com/contents-event/event-theme.js has a bunch of  ShowBody set using a node.

[ ] shrub/src/jammer/constants.php has const SH_NODE_OTHER_DEMO = 37 and const SH_NODE_OTHER_CRAFT = 38;

[ ] internal/autoembed/twitter.txt references LD38

I'll edit this with more, it feels like there are some files that should have used the word event or used them more times but these are all the events there are in www/src

If this is to support multiple events such as LD38/LD39/LD40 then this can be closed.
If this is to support multiple events such as LD/miniLD/october-challenge then were no where near.

Sound like the latter should have its own issue "support mini LD"

Yes.


[playground|@oxc/oxc_wasm] Some code break the REPL

I'm not sure which layer is the root cause, so I report things as they are.
To reproduce:

Visit https://oxc-project.github.io/oxc/playground/

Private mode recommended

Remove placeholders and paste these lines

function foo() {}
declare function foo() {}

See REPL stop working

Devtools console reports:
update listener: RuntimeError: unreachable
    at oxc_wasm_bg-DeC5fkkx.wasm:0x1bbc2f
    at oxc_wasm_bg-DeC5fkkx.wasm:0x25337f
    at oxc_wasm_bg-DeC5fkkx.wasm:0x232c4b
    at oxc_wasm_bg-DeC5fkkx.wasm:0x97eca
    at oxc_wasm_bg-DeC5fkkx.wasm:0x1a9f45
    at Ew.run (playground-fNXad_Yn.js:25:3578)
    at ui.run (playground-fNXad_Yn.js:44:3867)
    at ui.updateView (playground-fNXad_Yn.js:46:355)
    at ui.runOxc (playground-fNXad_Yn.js:44:1696)
    at playground-fNXad_Yn.js:44:1776

Uncaught Error: recursive use of an object detected which would lead to unsafe aliasing in rust
    at Mw.i.wbg.__wbindgen_throw (playground-fNXad_Yn.js:25:9271)
    at oxc_wasm_bg-DeC5fkkx.wasm:0x28856d
    at oxc_wasm_bg-DeC5fkkx.wasm:0x28857b
    at oxc_wasm_bg-DeC5fkkx.wasm:0x254224
    at oxc_wasm_bg-DeC5fkkx.wasm:0x24e98d
    at oxc_wasm_bg-DeC5fkkx.wasm:0x1bdbcc
    at Ew.getDiagnostics (playground-fNXad_Yn.js:25:3246)
    at ui.updateDiagnostics (playground-fNXad_Yn.js:44:2477)
    at Vc.delay (playground-fNXad_Yn.js:44:1541)
    at playground-fNXad_Yn.js:11:46833

Once this happens, this code is saved to LocalStorage... which means the REPL can never be used again.
To workaroud,

Open DevTools > Applications > Storage > Local storage
Remove playgroud.code key
Re-visit REPL URL without ?code=...

@Dunqing crashing on this line
https://github.com/oxc-project/oxc/blob/d9cc429d4a23c55330dbee0f7d353a3195737156/crates/oxc_linter/src/rules/oxc/only_used_in_recursion.rs#L141


fix: Newly added tailwind classes disable the possibility to display regular HTML lists in Text-widgets

Fixes #9583
Description
Remove the reset on text widget imposed by tailwind.
Type of change

Bug fix

How Has This Been Tested?

manually

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/text-widget-tailwind-conflict

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
55.13 (0)
37.16 (-0.01)
33.97 (0)
55.64 (0)

:red_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.71 (-0.23)
40.83 (-0.84)
36.21 (0)
56.74 (-0.25)

/ok-to-test sha=02005d5

/ok-to-test sha=02005d5

/ok-to-test sha=42758e0


BBOX renders slowly on Windows OS

When we hover over the text, BBOX renders normally in Ubuntu, but takes little bit time to move in Windows OS.

Fixed,

Refer 174e9b57b84e5e93f56b1b95f77ffa3e4bd683e3


Don't do div by 0 checks for constant divisors

https://github.com/dplassgit/d2lang/blob/trunk/src/com/plasstech/lang/d2/codegen/ILCodeGenerator.java#L553

For some reason it isn't detecting zero divisors in the ILCodeGenerator...


Use rayon instead of explicit threading for codegen.

Testing a theory for our builds, especially Appveyor: spinning out 42 threads for the services we currently generate is causing our CI instances to thrash between threads.  Rayon does smarter threading and does it for us.
If this makes compilation/test runs faster on CI builds we should ensure codegen exits properly if it can't complete.  Example: https://github.com/rusoto/rusoto/pull/520 ensures codegen errors out if the service definitions aren't in the expected place.
References: https://github.com/rusoto/rusoto/issues/495 and https://github.com/rusoto/rusoto/pull/520 .

Please leave PR open until new Rusoto release.

Exits as expected:
argo build --features s3
   Compiling rusoto v0.22.0 (file:///Users/matthew/Documents/rusoto)
error: failed to run custom build command for `rusoto v0.22.0 (file:///Users/matthew/Documents/rusoto)`
process didn't exit successfully: `/Users/matthew/Documents/rusoto/target/debug/build/rusoto-741c7d923e3f0e37/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at '"/Users/matthew/Documents/rusoto/codegen/botocore/botocore/data/s3/2006-03-01/service-2.json" not found: Error { repr: Os { code: 2, message: "No such file or directory" } }', ../src/libcore/result.rs:799
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Rebased the branch, I think it's good if it passes CI.

lgtm


Remove extraneous column in ALTER DATABASE MAXSIZE for DTU pricing

@tompostler : Thanks for your contribution! The author(s) have been notified to review your proposed change.


broot: fix install check

Description
broot uses: ~/.config/broot/launcher/installed-v1
not (or no longer, I don't know): ~/.config/broot/launcher/installed
Checklist

[ ] Change is backwards compatible.

[ ] Code formatted with ./format.

[ ] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[ ] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

If this PR adds a new module

[ ] Added myself as module maintainer. See example.

[ ] Added myself and the module files to .github/CODEOWNERS.

Thanks! Rebased to master in 0ee5c9536ba599af6728c7e9ec3219df3fb66feb.


Create qqplots

Hey @argenisleon are you currently working on this? I may have a solution but I can run it past you before hand. Thanks!

I'm using a pointing to a pandas dataframe for this so maybe not what you guys are looking for. Happy to help though.

Hi @aviolante.
We need to ensure that plotting the point is scalable. Maybe some sampling can help? @FavioVazquez  what do you think?

Thats a good point @argenisleon. I can limit it. I'm trying to figure out how to do the exact approach above using an optimus dataframe versus a pandas one. Sorry for the early excitement haha.

Added in a sample size param for percent to sample.
plot_qqplots(dataframe=data, grid_rows=3, grid_cols=3, sample_size=0.4)

Sounds great,
Can you make a PR so we can view the code you are working? 😁

Sure thing @argenisleon . functions.py file?

Here you go @argenisleon
https://github.com/ironmussa/Optimus/pull/574

Hi @aviolante,
Thanks for your contribution. qqplots are now available in Optimus


⚠ Bofrost.lu has degraded performance

In f9e8f71, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: Bofrost.lu performance has improved in ce3dc63 after 6 minutes.


Upgrade to time v0.2 and put it behind a feature flag

This also removes the usage of time in the crate's top-level
documentation example, as was done for the README in #625.
Fix #653.

This seems like it causes coverage generation to fail.
Apparently this is fixed in the 0.3 branch (https://github.com/time-rs/time/issues/267), so maybe we'll wait on that...
That or you could do the legwork to exclude time from the feature-set we use to generate coverage, but that seems like it might be more trouble than it's worth...

@gwenn I think it would be better to have some fix for the coverage issue, even if that's just "remove it from bundled-full until time 0.3 is out". I'd rather not take this as-is...

Ugh, rock and a hard place. We're only just getting the Rust ecosystem onto time v0.2—I still have a few other transitive dependencies that need to upgrade. It's too bad they've already ceased development on time v0.2.
If it's alright with you folks, I'll drop it from bundled-full and leave a comment about adding it back on v0.3?

If it's alright with you folks, I'll drop it from bundled-full and leave a comment about adding it back on v0.3?

This is fine by me.

Ok, pushed. 🤞

And it's green!


Add input parameter validation

It might be good to support constraints validations for input parameters.
It would allow the fluentapi to fail fast.
Those constraints should be defined via annotation on the backing bean field to remove redundancy in fluent api interfaces.
A basic set of constraints annotations should be provided:
this could be for example

not empty/null constraints, min/max legth or regex constraints for Strings
min,max constraints

It should be able to define multiple constraints at once.

This has been added, including some core validators provided by fluapigen.
Also added a logic that allows overruling of validators. (Currently just used for NotNull and and Nullable)


Add helpers.NormalizeHugoFlagsFunc() to handle flag name changes

It currently handles --baseUrl to --baseURL, and --uglyUrls to --uglyURLs.
Special thanks to Eric Paris (@eparis) for writing the "normalized name" support in Cobra, and for showing us how it is used in Kubernetes.
See Issue #959

Merged as d05b297e61774a4ad09e5f9720d21a8dbd373cd7.


Return JSON array in query

Table structure
session_id String
details String (with JSON)
RAW data example
1;{"a": 2}
1;{"b": 2}
2;{"d": 2}
2;{"b": 2}
Expected result
1;[{"a": 2}, {"b": 2}]
2;[{"d": 2}, {"b": 2}]
Have any way?

Solution:
select session_id, groupArray(details)
from (
select
session_id,
details as details
from rt_analytics.user_responses
)
group by session_id


Consumers get stuck in Key_shard mode and delayed messages

Pulsar version : 2.7.3
Pulsar Client version: 2.7.1
I have a topic that sends delayed messages, and consumers use Key_shard mode, and whenever consumers make changes (batch reboots or adding machines) messages start to pile up and deliveries stop. Here are the topic statistics when stuck
"persistent://infra/es-channel/coupon_activity-partition-0": {
      "msgRateIn": 99.32590087869627,
      "msgRateOut": 0,
      "msgThroughputIn": 81197.97397460767,
      "msgThroughputOut": 0,
      "averageMsgSize":<PHONE_NUMBER>89125,
      "storageSize": 28423651,
      "publishers": [
        {
          "producerId": 1,
          "msgRateIn": 1.3998954266917099,
          "msgThroughputIn":<PHONE_NUMBER>355218,
          "averageMsgSize": 461,
          "metadata": {}
        },
        {
          "producerId": 2,
          "msgRateIn": 97.92600545200456,
          "msgThroughputIn": 80552.13888567215,
          "averageMsgSize": 822,
          "metadata": {}
        }
      ],
      "subscriptions": {
        "exp-es-sync_order_sms_send_info_sub": {
          "blockedSubscriptionOnUnackedMsgs": false,
          "isReplicated": false,
          "msgRateOut": 0,
          "msgThroughputOut": 0,
          "msgRateRedeliver": 0,
          "msgRateExpired": 0,
          "msgBacklog": 31594,
          "msgDelayed": 136,
          "unackedMessages": 0,
          "type": "Key_Shared",
          "activeConsumerName": "",
          "consumers": [
            {
              "blockedConsumerOnUnackedMsgs": false,
              "availablePermits": 957,
              "unackedMessages": 0,
              "msgRateOut": 0,
              "msgThroughputOut": 0,
              "msgRateRedeliver": 0,
              "consumerName": "exp-es-sync_consumer_<IP_ADDRESS>_0",
              "metadata": {}
            },
            {
              "blockedConsumerOnUnackedMsgs": false,
              "availablePermits": 836,
              "unackedMessages": 0,
              "msgRateOut": 0,
              "msgThroughputOut": 0,
              "msgRateRedeliver": 0,
......
......
.....

Note: unload topic can solve the problem
Steps to reproduce the behavior:

a producer keeps sending delayed messages

Producer<String> producer = client.newProducer(Schema.STRING)
                .topic("persistent://public/default/3p")
                .enableBatching(false)
                .create();
producer.newMessage().key("" + index).value("a message : " + (index))
                        .deliverAfter(3, TimeUnit.SECONDS)
                        .sendAsync()

start several consumers in Key_shard mode

IntStream.range(start, end).forEach(index -> {
            AtomicInteger i  = new AtomicInteger();
            client.newConsumer(Schema.STRING)
                    .topic("persistent://public/default/3p")
                    .subscriptionName("test_sub")
                    .consumerName("c_" + index)
                    .subscriptionType(SubscriptionType.Key_Shared)
........
.......

and then add or restart consumers
you'll see consumers get stuck

The expectation that no matter how consumers change, they won't get stuck

Delayed messages can only be used with shard mode

We are facing the same issue at the moment. I think at a minimum, the docs could be a bit more clear. Here is what they currently say:

Delayed message delivery only works in Shared subscription mode. In Exclusive and Failover subscription modes, the delayed message is dispatched immediately.

Exclusive and Failover modes are explicitly mentioned, but nothing says that KeyShared subscriptions will be stuck, which is quite an important detail.
But it would be nice if it was impossible to encounter this problem in the first place. Since delayed messages do have some caveats, one way to address this would be to require them to be explicitly enabled for a topic. Once this feature is enabled you would not be able to create unsupported subscription types on that topic. Without the feature enabled all delayed messages would be rejected.


refactor(metal-ast)!: Reimplement AST in accordance with the new grammar.

Fixes #19

#21  👈
main

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

Join @elenakrittik and the rest of your teammates on  Graphite

Merge activity

Nov 3, 10:25 AM EST: A user started a stack merge that includes this pull request via Graphite.


Not supported SystemVerilog bit vector functions

Repro
module count_ones (
  input  logic [4:0] in,
  output logic [4:0] out
);
assign out = $countones(in);
endmodule : count_ones

UHDM converter doesn't seem to support SV bit vector functions: https://circuitcove.com/system-tasks-vector/
Not sure if it's intended.

hi @iv2nl0b9v the systemverilog plugin has been moved to https://github.com/chipsalliance/synlig repository. Can you check if the issue you're reporting is present there? If, please report this problem there


[Issue] ERROR: error happened in your connection DEPTH_ZERO_SELF_SIGNED_CERT self signed certificate

Bug Description
My server is self signed, this is the reason of the described error.
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue

Defined the required variables
Ran couchbackup

2. What you expected to happen
Create a dump of the database.
3. What actually happened
================================================================================
Performing backup on https://****:****@domain.tld:port/bbrf using configuration:
{
  "bufferSize": 500,
  "log": "/tmp/tmp-17014-Z7GXsVucU730",
  "mode": "full",
  "parallelism": 5,
  "requestTimeout": 120000,
  "resume": false
}
================================================================================
  couchbackup:backup Fetching all database changes... +0ms
ERROR: error happened in your connection DEPTH_ZERO_SELF_SIGNED_CERT self signed certificate

Environment details

Version(s) that are affected by this issue.

2.6.0

Node.js version

8.10.0

Hello @pdelteil, you will need to configure node.js to trust your self-signed certificate.  Click here for details on adding your own certification authority file.  Closing issue, please re-open if you have any additional questions.

Hello @pdelteil, you will need to configure node.js to trust your self-signed certificate. Click here for details on adding your own certification authority file. Closing issue, please re-open if you have any additional questions.

Thanks.
I only needed to set this variable:
export NODE_TLS_REJECT_UNAUTHORIZED='0'


front end issue

file: runtime.fc1eeb77f673cd71.js
TypeError: v[e].call is not a function
angular v18.2.11
return v[e].call(f.exports, f, f.exports, a),

hi. it must be angular v17. i will update it up to 18 version later. @Globalebill

i have tried Angular CLI: 17.3.10 and Node: 18.20.5
same error and the login page wont load, the server is up and running

full error is
Uncaught TypeError: v[e].call is not a function
at a (runtime.fc1eeb77f673cd71.js:1:143)
at main.0886a8157c2b0672.js:1:1222859
at r (runtime.fc1eeb77f673cd71.js:1:4470)
at main.0886a8157c2b0672.js:1:59

Well I just built it with command:
sudo make install

and everything works with no error.
my setup by command:
sudo make show

sudo make show
Timestamp: Fri Nov 15 01:24:02 CET 2024
Node Version: v23.2.0
Npm Version: 10.9.0
os: Linux
user: root
go_bindata: go-bindata: /usr/bin/go-bindata /usr/share/man/man8/go-bindata.8.gz

@Globalebill check if path correct for your setup and all js files were downloaded without any errors. If in your setup custompbx  is behind proxy under specific location in path - you probably need to change base-href(baseHref/APP_BASE_HREF) or deploy-url in angular(angular.json and app.module.ts) to have correct path to static files.

used v0.0.106a and error no longer showing


Added constants for WebSocket close code

Things to check:

I could not determine where (if anywhere) constants are usually placed so I added a new class.

I copied the documentation from Java Websockets:
https://github.com/TooTallNate/Java-WebSocket/blob/master/src/main/java/org/java_websocket/framing/CloseFrame.java . This is why I did (not yet) add the copyright and license to the beginning of WebSocketStatusCode.java

@TooTallNate As author of the awesome Java Websockets library, is it okay for you to place the file WebSocketStatusCode.java from this pull request under okhttp's license? I figured that this should be okay as it is just a copy of the RFC plus some additions but I wanted to ask you first :-)

Please reopen if you’re still into this!


[TO MAIN] DESENG-510 - Engagement Translation model and API

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-510
Description of changes:
Feature PR
[#2412 ] - Approved
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report
Attention: Patch coverage is 93.92713% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 74.90%. Comparing base (8366029) to head (7699442).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2415      +/-   ##
==========================================
+ Coverage   74.65%   74.90%   +0.25%
==========================================
  Files         537      541       +4
  Lines       18555    18802     +247
  Branches     1349     1349
==========================================
+ Hits        13852    14084     +232
- Misses       4496     4511      +15
  Partials      207      207

Flag
Coverage Δ

metapi
85.88% <93.92%> (+0.21%)
:arrow_up:

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

Files
Coverage Δ

met-api/src/met_api/models/__init__.py
100.00% <100.00%> (ø)

met-api/src/met_api/resources/__init__.py
100.00% <100.00%> (ø)

...-api/src/met_api/schemas/engagement_translation.py
100.00% <100.00%> (ø)

...pi/src/met_api/resources/engagement_translation.py
98.76% <98.76%> (ø)

...t-api/src/met_api/models/engagement_translation.py
96.49% <96.49%> (ø)

...met_api/services/engagement_translation_service.py
86.51% <86.51%> (ø)


Copy edit component descriptions

Copy editing can be found in Notion and will be exported to Markup

@wenzowski I've added all my suggestions so it's over to you now for review.
I was probably relatively consistent with my language in suggestions, but took some notes as I think we could probably use some brief language style guidelines for reviewing contributions to our external documentation (which is ultimately promotional material for the package itself).
ex: definite tone, passive voice, etc.


MusicGen Error

I installed this using the one-click installer. Gradio opens without a problem but I can't use MusicGen. 4-5 seconds after I press the generate button it gives this error:
(Log of the first opening):

Env file not found. Creating default env.
Config file not found. Creating default config.
Loading extensions:
Loaded extension: callback_save_generation_ffmpeg
Loaded extension: callback_save_generation_musicgen_ffmpeg
Loaded extension: empty_extension
Loaded 2 callback_save_generation extensions.
Loaded 1 callback_save_generation_musicgen extensions.
2023-10-22 01:01:43 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-10-22 01:01:43 | WARNING | xformers | WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 2.0.0+cpu)
Python  3.10.11 (you have 3.10.13)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
2023-10-22 01:01:44 | WARNING | xformers | Triton is not available, some optimizations will not be enabled.
This is just a warning: No module named 'triton'
Failed to load rvc demo
No module named 'rvc_beta'
Starting Gradio server...
Gradio interface options:
inline:               False
inbrowser:            True
share:                False
debug:                False
enable_queue:         True
max_threads:          40
auth:                 None
auth_message:         None
prevent_thread_lock:  False
show_error:           False
server_name:          <IP_ADDRESS>
server_port:          None
show_tips:            False
height:               500
width:                100%
favicon_path:         None
ssl_keyfile:          None
ssl_certfile:         None
ssl_keyfile_password: None
ssl_verify:           True
quiet:                True
show_api:             True
file_directories:     None
frontend:            True
Running on local URL:  http://<IP_ADDRESS>:7860
Loading model facebook/musicgen-small
Traceback (most recent call last):
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\transformers\tokenization_utils_base.py", line 2004, in from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\transformers\models\t5\tokenization_t5.py", line 190, in init
self.sp_model.Load(vocab_file)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\sentencepiece_init.py", line 905, in Load
return self.LoadFromFile(model_file)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\sentencepiece_init.py", line 310, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
OSError: Not found: "C:\Users\Özkan PC/.cache\huggingface\hub\models--t5-base\snapshots\fe6d9bf207cd3337512ca838a8b453f87a9178ef\spiece.model": No such file or directory Error #2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\routes.py", line 437, in run_predict
output = await app.get_blocks().process_api(
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py", line 1352, in process_api
result = await self.call_function(
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\blocks.py", line 1077, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Audiocraft\one-click-installers-tts-6.0\tts-generation-webui\src\musicgen\musicgen_tab.py", line 146, in generate
MODEL = load_model(model)
File "D:\Audiocraft\one-click-installers-tts-6.0\tts-generation-webui\src\musicgen\musicgen_tab.py", line 125, in load_model
return MusicGen.get_pretrained(version)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\audiocraft\models\musicgen.py", line 117, in get_pretrained
lm = load_lm_model(name, device=device)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\audiocraft\models\loaders.py", line 111, in load_lm_model
model = builders.get_lm_model(cfg)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\audiocraft\models\builders.py", line 97, in get_lm_model
condition_provider = get_conditioner_provider(kwargs["dim"], cfg).to(cfg.device)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\audiocraft\models\builders.py", line 137, in get_conditioner_provider
conditioners[str(cond)] = T5Conditioner(output_dim=output_dim, device=device, **model_args)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\audiocraft\modules\conditioners.py", line 415, in init
self.t5_tokenizer = T5Tokenizer.from_pretrained(name)
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\transformers\tokenization_utils_base.py", line 1841, in from_pretrained
return cls._from_pretrained(
File "D:\Audiocraft\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\transformers\tokenization_utils_base.py", line 2006, in _from_pretrained
raise OSError(
OSError: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.

The path is a bit unique, is it really C:\Users\Özkan PC/.cache\huggingface. I can't imagine the reason for one slash being the other way around. Also, is there enough space on C disk for the models? You might want to use a different location for the model weights cache. (but changing it without manually copying would mean they download again.)

Is there a chance that space or non-English characters in the folder name causing this? It didn't cause any problems in the past for other programs though...
C has 87 GB of space, is enough I think? The installer is in D, is it normal for it to store caches in C? I can change and try again if you want, though I don't know how to do it.
Downloading again is no problem really if it can solve this. I already did several times.
By the way, are these errors(?) a problem?

2023-10-22 01:01:43 | WARNING | xformers | WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 2.0.0+cpu)
Python 3.10.11 (you have 3.10.13)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
2023-10-22 01:01:44 | WARNING | xformers | Triton is not available, some optimizations will not be enabled.

Yes, by default everything on Windows gets stored on C as long as it's a cache, temporary files. This cache is cross-project so there are downsides - space and file download - to not having it on a "global" level. As suggested in a different thread, a better solution would be a nice "cache manager". Just FYI - if you install another bark, tortoise TTS project, several gigabytes of model weights will be shared and will take up less space!
87 is more than enough space.
One error suggests that you have CPU torch installed, is this intentional, or do you want to be using CUDA?
As far as the path - I don't know with absolute certainty, it might but usually shouldn't be a problem in 2023.

I will try my luck with a cache manager then. I checked the weird address and the file actually exists in that folder. Audiocraft just can't access it for some reason (I also tried launching the bat file as administrator). I will try to change the cache folder and update it here.

OSError: Not found: "C:\Users\Özkan PC/.cache\huggingface\hub\models--t5-base\snapshots\fe6d9bf207cd3337512ca838a8b453f87a9178ef\spiece.model": No such file or directory Error https://github.com/rsxdalv/tts-generation-webui/pull/2

Torch version wasn't intentional. I used the one-click installer so it installed everything automatically in its folder in D. I tried changing global Python and torch versions manually but it stayed the same. My global Python is 3.10.11, here it's 3.10.13.
I tried uninstalling global PyTorch and installing the required CUDA version manually using this code:

pip install torch==2.0.0+cu118 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Manual PyTorch installation log:

Successfully installed torch-2.0.0+cu118
WARNING: Ignoring invalid distribution -pencv-python (c:\users\özkan pc\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\özkan pc\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\özkan pc\appdata\local\programs\python\python310\lib\site-packages)
[notice] A new release of pip is available: 23.0.1 -> 23.3
[notice] To update, run: python.exe -m pip install --upgrade pip
C:\Users\Özkan PC>pip show torch
WARNING: Ignoring invalid distribution -pencv-python (c:\users\özkan pc\appdata\local\programs\python\python310\lib\site-packages)
Name: torch
Version: 2.0.0+cu118
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email<EMAIL_ADDRESS>License: BSD-3
Location: c:\users\özkan pc\appdata\local\programs\python\python310\lib\site-packages
Requires: filelock, jinja2, networkx, sympy, typing-extensions
Required-by: accelerate, audiocraft, audiolm-pytorch, demucs, dora-search, ema-pytorch, encodec, fairseq, flashy, julius, lion-pytorch, local-attention, openunmix, rotary-embedding-torch, suno-bark, torchaudio, torchmetrics, torchvision, vector-quantize-pytorch, vocos, xformers

But it still stays the same in the WebUI console. I don't know how to change venv versions inside that folder but I can try it if you need me to do?
I will try changing the cache folder for now. Thanks for the help!

The project uses it's own python, pip versions and runs in its own virtual (conda) environment. You can access the consule with the cmd_windows. There you can try to install whichever pytorch you want etc. It's a bit strange that it installed CPU, might mean that some project is causing a problem or a breakage in a new way (some patches already prevent this from happening).

 Yeah, the problem seems to be the name of the cache folder. I changed it inside Gradio settings for Hugging Face and it works perfectly now. Also tried to install the correct Python and PyTorch versions with cmd, but I think it broke after I uninstalled Python to install the correct version. update_windows.bat didn't solve it either so I need to redownload it again.
For some reason, PyTorch error resolved by itself after reinstalling the entire thing. It works perfectly now.
Thank you so much.

 Yeah, the problem seems to be the name of the cache folder. I changed it inside Gradio settings for Hugging Face and it works perfectly now. Also tried to install the correct Python and PyTorch versions with cmd, but I think it broke after I uninstalled Python to install the correct version. update_windows.bat didn't solve it either so I need to redownload it again.
For some reason, PyTorch error resolved by itself after reinstalling the entire thing. It works perfectly now.
Thank you so much.

These things tend to break in countless strange ways.


src/Makefile: make 'make clean' clean all produced files

TL; DR: make make clean clean all produced files.
Steps to reproduce:

run build: $ make
clean produced files: $ make clean

What should happen:

usually, it's a common practice when after make clean all produced files are deleted

What actually happens:

src/common/hydrafw_version.hdr kept as "leftover"

At first I was thinking about adding a separate clean target into Makefile but since internal variables of rules.mk from ChibiOS support "custom enhancements", just adding command rm -f src/common/hydrafw_version.hdr to special variable do the trick.
I did successfully test it myself on Ubuntu 18.04. But I did not test it on Windows/mingw unfortunately.
P.S. Happy New Year! :)

Thanks for your contribution


[Tickets] Modal creation min/max comparison error

Describe the bug
Looks to be an issue with the comparison between the minimum character and maximum character value
Cog Version*
2.9.6
To Reproduce

Create a modal for a panel
Set minimum characters req to 10
Set maximum characters req to 30

Expected behavior
Command should continue and set character requirements properly
Screenshots
[2024-11-08 13:58:29] [ERROR] red: Exception in command 'tickets addmodal'
Traceback (most recent call last):
  File "/home/red/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
    ret = await coro(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/red/.local/share/Red-DiscordBot/data/zm/cogs/CogManager/cogs/tickets/commands/admin.py", line 419, in addmodal
    await self.create_or_edit_modal(ctx, panel_name, field_name)
  File "/home/red/.local/share/Red-DiscordBot/data/zm/cogs/CogManager/cogs/tickets/commands/admin.py", line 631, in create_or_edit_modal
    if max_length < minlength:
       ^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'int' and 'str'

Additional context
I reported this via DMs a while ago but had no proof as it never produced an error in the console, now it finally has.

Fixed with version 2.9.8


useJsonForm w/ nested objects breaks gatsby build

Description
On the info page of my starter blog, the data is sourced from this json file. The contact object seems to be the main culprit. The useJsonForm hook works fine in development, and the contact and its children are rendered as a Group Field. When running gatsby build however, it seems the children of contact are undefined. I played around with it and can confirm that moving the contact object from info.json or flattening the json object into only one level deep makes the build succeed.
Steps to reproduce
git clone git@github.com:kendallstrautman/brevifolia-gatsby-tinacms.git
yarn install && yarn build
Checkout src/pages/info.js where the hook is used.
Expected result
The build succeeds.
Actual result
You should see this error
Building static HTML failed for path "/info/"

See our docs page for more info on this error: https://gatsby.dev/debug-html

  51 |

  52 |

> 53 |               <a href={`mailto:${infoData.contact.email}`}>Email: {infoData.contact.email}
     |                                                   ^
  54 |

  55 |

  56 |

  WebpackError: TypeError: Cannot read property 'email' of undefined

  - info.js:53 Info
    src/pages/info.js:53:51

Environment

MacOS Mojave 10.14.6
Firefox 70.0
"gatsby-tinacms-git": "^0.2.5",
 "gatsby-tinacms-json": "^0.5.0",
 "gatsby-transformer-json": "^2.2.16",

This is the culprit
That should be:
  if (!jsonNode || process.env.NODE_ENV === 'production') {
    return [jsonNode, null]
  }

I'm going to test this change in demo-gatsby and create a PR if it works.

Confirmed that this fixes the issue, PR created.


Not compiling after latest commit.

Hi, compiling on Windows using mingw64 broke after 1a64cbff67a3058311315d014b22ccf8bab46c3c

The previous version works fine.

Same in Fedora 36


Search Doesn't Include Color/Material

This came up in testing.  I think its something to be aware of, but I don't think we should take the time to fix it at this point, since search works well.
Search

Result

@mferrall Yeah, unfortunately this is a known issue.. I originally thought that if I didn't have time to address it, we could include the limitations of the functionality in the documentation. But I'm also willing to look into this if we think it's worth while - Just let me know!

I think better to limit functionality and document. No new features.
Thoughts?
On Thu, Dec 13, 2018 at 8:21 PM Kendra Bach<EMAIL_ADDRESS>wrote:

@mferrall https://github.com/mferrall Yeah, unfortunately this is a
known issue.. I originally thought that if I didn't have time to address
it, we could include the limitations of the functionality in the
documentation. But I'm also willing to look into this if we think it's
worth while - Just let me know!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KendraMBach/CIS556_Project/issues/21#issuecomment-447180134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiJ2HcQmUrGxE4zn6wH-npa5srKKvz7Zks5u4v0AgaJpZM4ZQ6iq
.

--
Cooper M. Stansbury
University of Michigan - Dearborn
College of Engineering and Computer Science
M.S. Data Science Candidate
(734) 274-1053

I think better to limit functionality and document. No new features. Thoughts?
On Thu, Dec 13, 2018 at 8:21 PM Kendra Bach @.***> wrote: @mferrall https://github.com/mferrall Yeah, unfortunately this is a known issue.. I originally thought that if I didn't have time to address it, we could include the limitations of the functionality in the documentation. But I'm also willing to look into this if we think it's worth while - Just let me know! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#21 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AiJ2HcQmUrGxE4zn6wH-npa5srKKvz7Zks5u4v0AgaJpZM4ZQ6iq .
-- Cooper M. Stansbury University of Michigan - Dearborn College of Engineering and Computer Science M.S. Data Science Candidate<PHONE_NUMBER>

I like how you think.

Agreed, just wanted to note it here so we are aware during demo and testing


Fuzzy search across repositories

The search bar in the UI currently searches by exact string matches from the beginning of the repository name. Fuzzy matching would make it easier to find repositories through the UI. This is especially useful when we have hundreds of repositories.

Resource:
https://staging.us-east-1.lakefscloud.ninja/api/v1/repositories?prefix=nada&after=&amount=100

The following search fields would also benefit from the ability to fuzzy search:

Administration > Groups > [Select Group] > Group Memberships > Add Members > Find User
Administration > Groups > [Select Group] > Attached Policies > Attach Policy > Find Policies

I'd like to sanity test this a bit in staging...

To be explicit: We implemented substring search.  We do not have current plans to perform a "fuzzy" search.


Profile page icons on mobile

Refactor suggestion
The icons for the different sections on user profile is too small when the text is too long on mobile. These icons and maybe text should be smaller on mobile.

@MadsNyl Is anyone working on this issue?


Support for Switch Stacks

Issue type: feature request
I tried to find this in past issues, sorry if this is a duplicate. I would like support for physical switch stacks (virtual chassis in juniper world). A stack made is up of several physical devices but managed as one device. The current parent/child device construct for internal bay based chassis device types will not suffice. I want to be able to rack the stack members independently (beyond the obvious here, another use case is for extended stacks that span more than one rack). This should also not require the creation of another special "stack member" role as this would lead to duplication of device types that are also allowed to be stand alone devices. I will begin implementing this to see what it would take.

There was a previous issue #99 that was created for this same request. The conclusion wound up being closing the ticket due to the complexities of creating a viable way of illustrating the interconnections of a stack as a single logical device in Netbox. This is a topic that may get revisited in the future.
That being said here's how I documented the virtual chassis's in my environment. This is an example of a Juniper EX4550 virtual chassis. Each member will be a separate device but the switches all show relationship with each other by being connected by the vcp ports. This would also allow you to extend the virtual chassis across racks easily.

Create a device for each FPC in the stack with the appropriate interface names including the vcp ports.

FPC 0 - xe-0/0/0 thru xe-0/0/31; vcp-255/2/0, vcp-255/2/3
FPC 1 - xe-1/0/0 thru xe-1/0/31; vcp-255/2/0, vcp-255/2/3

Connect the vcp ports from each switch to the corresponding port on the other switch. ex. vcp-255/2/0 on fpc0 goes to vcp-255/2/3 on fpc1.

I found this method to work pretty well and makes it easy to reconfigure my virtual chassis stacks in Netbox if I ever have to add/remove a switch from the virtual chassis.

For my Cisco stacks, I create the individual switches name them all as SWITCHNAME (SW1), SWITCHNAME (SW2), etc... and then on each of those device you create 2 interfaces that are stackwise or flexstack ports depending on your device and interconnect them. On the master switch is where I assign the IP address or any other stack specific info. That's the best way I have been able to do this.

I have been working on a PoC for this. Will update when I have a viable, long term model for it.

I've reopened #99 due to the renewed interest in this feature. Marking this one as a duplicate and closing it out, but please feel free to continue the discussion in #99.


Handle case access camera setting whe have no account on the wallet

Describe the bug
Handle case access camera setting whe have no account on the wallet
Actual: After installed SubWallet successfully, user choose import by QR code or attach Qr-signer account
-> Do not navigate user to the Setting screen to Access Camera access
Expect: navigate user to the Setting screen to Access Camera access

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1402-build-1.0.5-2-2023-05-20T10-30-52UTC.zip
Validation passed.


DataProduct is not displayed

Affected module
It impacts the UI
Describe the bug
DataProduct is not displayed on services, databases and schema pages
To Reproduce
Create domain add assets(services, databases, schemas). I create DataProduct in a domain and add domain assets to DataProduct.
When going to the services, databases and schemas pages
DataProduct is not displayed
Expected behavior
DataProduct is displayed on services, databases and schema pages
Version:

OpenMetadata version: [1.2.5, 1.3.2 maybe another versions]

This has been fixed recently. Reference PR - https://github.com/open-metadata/OpenMetadata/pull/15730
Changes are available on beta now.
Closing this issue, @Alexandr-Nedomets if you can still reproduce on beta, you can reopen this one.


chore: more consistent CLI flags' descriptions, improve generation of cli-arguments.md

What this PR does / why we need it:
This PR makes more consistent CLI flags' descriptions, ensures that each starts with a capital letter and ends with a period, etc. not only in cli-arguments.md, but also in the help, by providing validation in scripts/cli-arguments-docs-gen/main.go to enforce consistency.
In scope of this PR is to remove obsoleted/deprecated flags too, after examination nothing seems suitable for removing/deprecating (please double-check).

Which issue this PR fixes:
Closes https://github.com/Kong/kubernetes-ingress-controller/issues/4729

Special notes for your reviewer:
Deprecating flags, etc. is not in the scope of this PR.

Do you suggest reverting this change to get rid of 2*time.Minute and 10*time.Hour and replace it with 0? I put default values from controller-runtime explicitly to not have zeros in docs and --help, to show a user how big values in the ball park are considered as default (sensible). Other option is get rid of Leave this empty to use default from controller-runtime. because a user may not be even aware what is controller-runtime so it seems a little to detailed. Or just accept your suggestion 🤔 WDYT @pmalek

With second thought I think that the sweet spot is to accept your CR suggestions and 🚢


insert vertex if not exists

depend on https://github.com/vesoft-inc/nebula-common/pull/473

We don't have a good read-modify-write api (asyncAtomicOp could do it, but not so friendly) in storage, what is the decision about this if_not_exists?

some community users need this feature ,please refer to https://jira.nebula-graph.io/browse/NG-420

Good job, Three questions：
1，insert vertex t1(c1) values 1:(1), 1(2), 1(3)... , what is expected to be inserted?
2, Do we need to consider the index?
3, How about performance?

Good job, Three questions：
1，insert vertex t1(c1) values 1:(1), 1(2), 1(3)... , what is expected to be inserted?
2, Do we need to consider the index?
3, How about performance?

1 .  only 1:(1) should be inserted
2. Yes, But the processing of the index is after this logic, so it does not affect the index
3.  In this scenario, performance will inevitably decrease, especially when there is no index.


When I use the DeleteQuery, it is not using my custom delete resolver

When I instead get the database items and do .delete().objects() it uses my custom delete resolver

Sure, because DeleteQuery is kind of raw operation over db, you're not working with type mapping in this case :)


ECDSA_SIG: restore doc comments which were deleted accidentally

amends 0396401d1c3f
(These two lines were deleted accidentally in #6290. Sorry for the inconvenience.)

Merged, thanks!


[GLUTEN-3826][CH] Fixed data lost in shuffle

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Fixes: #3826
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
unit tests
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

LGTM

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_11_27_2023_time.csv
log/native_master_11_26_2023_f456a7e86_time.csv
difference
percentage

q1
33.96
34.38
0.422
101.24%

q2
24.50
24.62
0.122
100.50%

q3
36.70
37.74
1.042
102.84%

q4
36.44
36.67
0.231
100.63%

q5
70.50
68.82
-1.681
97.62%

q6
7.29
7.12
-0.177
97.58%

q7
83.48
82.01
-1.468
98.24%

q8
88.10
87.72
-0.376
99.57%

q9
122.04
120.79
-1.245
98.98%

q10
46.95
44.22
-2.729
94.19%

q11
19.82
19.96
0.136
100.69%

q12
26.08
28.56
2.482
109.52%

q13
48.07
46.61
-1.461
96.96%

q14
15.26
14.35
-0.916
94.00%

q15
28.91
29.15
0.240
100.83%

q16
15.89
15.41
-0.486
96.94%

q17
103.54
100.98
-2.556
97.53%

q18
151.52
145.61
-5.912
96.10%

q19
12.96
12.88
-0.077
99.40%

q20
28.70
27.79
-0.908
96.84%

q21
226.06
223.56
-2.503
98.89%

q22
13.19
13.03
-0.159
98.80%

total
1239.96
1221.98
-17.980
98.55%


Applying splices containing add-before-remove changes (i.e. move) breaks Collection

Minimum repro:
http://jsbin.com/jocowevohi/edit?html,output (add before remove: bad)
vs.
http://jsbin.com/lenapi/edit?html,output (remove before add: good)
More complicated sort:
http://jsbin.com/sofejo/edit?html,output

Fixed complicated sort repro using fix branch: http://jsbin.com/tajeda/edit?html,output


Possibly wrong model name for 3.5 turbo

Nice job on this, thanks for doing it!
The one thing I noticed is that the model name for the gpt-35-turbo model shouldn't have the dot in it. That is, everywhere else it is used (that I'm aware of) it is "gpt-35-turbo", not "gpt-3.5-turbo" as in line 12 of Model.cs. I have an easy-enough work-around by testing for the value in my code and making the switch, but I suspect that you'll want to get that fixed before there is truly widespread adoption of this port.
Again, thanks for putting this together. I think it will be valuable.

FYI - It looks like TikToken added it as an Azure deployment name:
    "gpt-3.5-turbo": "cl100k_base",
    "gpt-35-turbo": "cl100k_base",  # Azure deployment name

The official name of the model from OpenAI's API does include the period, e.g.:

gpt-3.5-turbo
gpt-3.5-turbo-0301
gpt-3.5-turbo-16k-0613
etc...

@winzig Is there a reason the Azure deployment name would be included in TikToken but not here? I thought this was intended as a port of that library.

I've edited the original comment so it is clear that the Azure Deployment name was added after the original creation of TikToken.

We can add gpt-35-turbo as well. I do not see any problems with it


sudo crontab -e doesn't work.

Issue description
When I run `sudo crontab -e", I get
no crontab for root - using an empty one
/bin/sh: /usr/bin/vi: No such file or directory
crontab: "/usr/bin/vi" exited with status 127

Now I agree that I probably shouldn't do that (I should keep my crontab in configuration.nix), but a better error message would probably be better.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 4.14.95, NixOS, 18.09.1985.749a3a0d00b (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-18.09.1985.749a3a0d00b"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I also have this issue. Current work around is sudo EDITOR=vi/nano/whatever crontab -e but this needs to be fixed.
See https://github.com/NixOS/nixpkgs/issues/7730#issuecomment-384589262

@allowthere Please feel free to close as this issue has been fixed.


Improve weights conversion to ONNX

Our ONNX converters could be improved.
To convert from pytorch ONNX dynamo looks promising.

I would also like to add that if you convert to ONNX, please set the input shape, on the x, y dimension to -1, currently it causing issue for the BioEngine to support arbitrary input size.


Adding new-line bind in keymap.cson not working

I've added a bind for shift+enter in my keymap.cson, but when I press shift+enter in my code files nothing happens. Added it like so:
'atom-text-editor':
  'shift-enter': 'editor:new-line'

I checked the "Key Binding Resolver" (ctrl+.) and pressed shift-enter and it says:
editor:new-line, atom-text-editor, /home/me/.atom/keymap.cson
The line is green, has a tick beside it, and it says "No issues".
Any ideas?

@pobri19 Can you share the full contents of your keymap.cson file, a screenshot of what the keybinding resolver shows when you hit shift+enter, the version of Atom you are using, and the OS+version you're on? Also, just to make sure, reloading Atom after you've modified keymap.cson doesn't change anything? Thanks

@izuzak No problem, full contents is exactly what's above, I haven't got any other binds. Screenshot:

I'm using Atom 1.2.4 and Linux Mint 17 Cinnamon 64-bit
Thank you :)

Does using newline instead of new-line help? :smile: There's no editor:new-line command, only editor:newline.

That did it!  Appreciate your help.

Ha, no worries -- it's really hard to spot problems like these. I think there's an open issue somewhere to improve that (so that you're warned that the command doesn't exist) but can't find it right now.


Release 1.0.0 rc.2

We can hold off on merging this if you have other stuff that needs to be merged into RC, @Blackbaud-BobbyEarl.

Codecov Report

Merging #196 into rc-ng4-upgrade will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           rc-ng4-upgrade   #196   +/-   ##
=============================================
  Coverage             100%   100%
=============================================
  Files                  39     39
  Lines                 947    947
  Branches              144    144
=============================================
  Hits                  947    947

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
100% <ø> (ø)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Best way to sort deep form array

On the example http://erikras.github.io/redux-form/#/examples/deep it's possible to create an array of children. What's the best way to sort or change the order of the children?

Man, you give your followers some bread, and they ask for butter to spread on it. :smiley:
At the moment, all you have is the ability to remove elements from a specific index and add them at a specific index. So you could remove them all and add them back in order, but that's pretty inelegant.
Sorting will have to be a future feature.

Bread without easy butter spreading abilities? I love me some fresh bread and butter. :bread: :yum:

Currently the only available option is to implement a quicksort using swapArrayValues which would be really expensive. v6 may include a moveArrayValue. It would allow you to move a record to another index. Thus a possible way to sort the fields would be:

create a new list of sorted records containing their indices
call moveArrayValue to move each record to their new position

I don't think a sorting API would be added to Redux Form.

@erikras @ooflorent What is the recommended way to perform sort/reorder large lists when

just for the purpose of display (not setting dirty state), or
updating the order in the store

We've come up with a number of different approaches but they each have various limitations. For example, sorting in the store by dispatching a large number of actions to move each element in the array. We also tried sorting the elements as they're being rendered and struggling to keep the index of each element in sync with the store. Is it not possible to have an action creator like fields.sort(callback) or something?

I solved my issue with this using the redux-form change action. Get the current array, sort it in your code, and dispatch the change action on the field, passing it your sorted array.

Also, to address #1 in @grovesNL's post above, for display purposes, had to jump through a few hoops but came up with this...
    componentDidUpdate = (prevProps, prevState) => {
        // sorts tags for presentation
        const {isDirty, valuesTags, setTags} = this.props;
        if (valuesTags.length > 0) {
            const sortedTags = valuesTags.slice(0).sort(alphabetical);
            if (!_.isEqual(valuesTags, sortedTags) & !this.state.tagsSorted) {
                setTags(sortedTags);
                this.setState({
                    tagsSorted: true
                });
            }
        }
    }

    render() {
        const {isDirty, initialTags, valuesTags} = this.props;
        const isDirty_TagsAlso = isDirty && !_.isEqual(initialTags.slice(0).sort(alphabetical), valuesTags.slice(0).sort(alphabetical));

        .... remaining code not pertinent
    }

function mapStateToProps(state) {
    const form = state.form && state.form['my-form'];
    return {
        isDirty: form && form.values && form.initial && form.values !== form.initial,
        initialTags: (form && form.initial && form.initial.tags) || [],
        valuesTags: (form && form.values && form.values.tags) || []
    };
}

@mikeinsf Is the existing state of the fields maintained when you dispatch the new sort order? E..g, if I enter values in various tags, then sort; does it preserve the values after re-rendering with new order?

What about when you require the same thing for a fieldarray .. ?
@mikeinsf would you please happen to have a codepen/jsfiddle showing the same in action with a fieldArr?
new to react/redux and redux-forms .. constantly facing batchnumber/reference/mutation errors trying to sort the fieldArray

I was able to do it outside of redux form - it re-renders the form when sort order changes - but redux-form is smart enough to preserve the state (or maybe its a side effect as I'm just changing the order and not destroying/mutating anything that would cause the state to change).
https://codesandbox.io/s/6zxjpv31pn

Redux form maintains the state and preserves the values .. but detects the state mutation when rendering the fields of the fieldArray giving those errors i mentioned..
one of the suggestions based on the above inputs from mike could be to removeAll and reassign the 'values.fieldArrayNameProperty' in reduxform .. but thats again a mutation. the methods dont allow for a setstate without a breakage either : (
My case :
I was actually attempting this in the redux-form wizard .. say im on step2 where i have dynamically added the fieldArrays .. and on step3 render a list with those added field arrays from step2..
Sorting in step3- after the addition of fields-  fails the step3 form miserably :D
Sorting in step2 while the dynamic field arrays are still getting added one by one beautifully re-renders the screen ... but its sadness in user experience due to the focused field getting lost
And ofcourse smart redux-forms detect what you are doing and console error it out too 🗡
I feel like its ember all over again


Upgrade PyYAML disutils

Dear all,
I am sorry for this question that may be trivial, but I have been struggling a lot to solve it.
I am trying to run some code on a cluster with polyaxon. However, I get this error:
‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
I tried:

conda update PyYAML
pip install --ignore-installed PyYAML
pip install --upgrade --force-reinstall pip==9.0.3, then pip install PyYAML --disable-pip-version-check
and finally pip install --upgrade pip

but neither of these approaches solved my problem.
I am working on a MacBookPro. The version of my PyYAML is 5.3.1 and it is stored in /anaconda3/lib/python3.6/site-packages.
Do you have any suggestion?
Thanks a lot!

Are you sure pip, PyYAML and markdown are all associated with the same Python install? Running pip --version will tell you which Python it is associated with. You have indicated that PyYAML is associated with conda, but if markdown is not, then that won't matter. How are you calling Markdown?

Due to the lack of response and inadequate information to assist, I am closing this. It can be reopened if/when the information requested is provided.


Generalize --path, --format and --album options

This PR improves --format, --path and --album options, which are provided by easy-to-use methods of the new default option parser, CommonOptionsParser. It reduces the redundancy of options specification for many commands, while offering the same interface: there is no difference for the user. --format-item and --format-album are also new top-level options.
The list_format_{item,album} have turned into format_{item,album} and using the former in the configuration sends a warning.
Some incorrect help strings have been fixed as well, such as --format for the convert plugin (sets the target format of the music).
This fixes #1271.

Very cool! I really like this CommonOptionsParser idea—it makes it very elegant to add the flags and even to support them in a backwards-compatible way. Extremely nice work. This turned out much cleaner than I expected the task to be, thanks to the base-class idea for adding the flags optionally.
I've done a full review and this looks ready to me—please feel free to merge at will. :sparkles: :boat:

Thanks :-) That's result of several previous tentatives. I'll wait for your opinion on the commented pieces and then I'll merge it.

FYI I was getting a traceback when running beet import:
Traceback (most recent call last):
  File "/home/djl/prj/beets/beet", line 20, in <module>
    beets.ui.main()
  File "/home/djl/prj/beets/beets/ui/__init__.py", line 1080, in main
    _raw_main(args)
  File "/home/djl/prj/beets/beets/ui/__init__.py", line 1066, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/home/djl/prj/beets/beets/ui/__init__.py", line 945, in _setup
    plugins = _load_plugins(config)
  File "/home/djl/prj/beets/beets/ui/__init__.py", line 931, in _load_plugins
    plugins.send("pluginload")
  File "/home/djl/prj/beets/beets/plugins.py", line 445, in send
    for handler in event_handlers()[event]:
  File "/home/djl/prj/beets/beets/plugins.py", line 428, in event_handlers
    for plugin in find_plugins():
  File "/home/djl/prj/beets/beets/plugins.py", line 276, in find_plugins
    _instances[cls] = cls()
  File "/home/djl/prj/beets/beetsplug/missing.py", line 103, in __init__
    self._command.add_format_option()
AttributeError: 'Subcommand' object has no attribute 'add_format_option'

Fixed in ee6fba1e821792112ddaf9c891b05572c1012fc3 :)

Good catch, @djl.


Provide a migration page from the old single page to new split reference pages format

Since Rust Reference underwent the split by chapters, all the links in the wild, like in answers on StackOverflow, are effectively dead, because they don't lead to the relevant parts of Reference anymore.
I realise the problems of handling url fragments, but couldn't a migration page be generated? Like http://doc.rust-lang.org/reference.html#tuple-types should go to a place in the page which says "This section has been moved to https://doc.rust-lang.org/reference/types.html#tuple-types", and so on for every anchor in the old reference page.
This would be much more helpful, as searching whatever chapters possibly contain the relevant data manually isn't quite easy.

Which Markdown -> HTML generator is used to generate the site?

Which Markdown -> HTML generator is used to generate the site?

This page is generated by rustdoc.


Sort filetree in alphabetical order

Showing the filetree in alphabetical order on the "See Filetree" page would make it more readable and easier to navigate.

Fixed as a side-effect of 7484fb61b9f4c004736d45c88f472d8cbcda6f6b (fixing issue #12).


Rewrite &= -> = and simplify the initial blocking phase.

@fenrus75 it looked to me like the initial read spin could be combined in the loop with the write, since it was actually checking more values than it needed to, but correct me if my logic is wrong.

@martin-frbg it's up to you.  Worst case we can have a local patch on our side that adds the annotations.
@fenrus75 The &= 0 has been there for some time, I actually assumed you had put it in there knowing some secret Intel sauce!  If the right thing to do here is not have the annotations but still move the loop and eliminate the &= 0 I can do that here, instead.

That &=0 line seems to come from the original GotoBLAS code...
(Undecided about the annotations, but in their current form they fail all CI tests

&= 0 is basically equal to = 0
but because of the atomics /volatile I think it'll make the compiler
generate worse, less atomic code.
so I did not touch it before, but I think it should be = 0 so that we don't
have read-modifiy-write just write.
On Mon, Jun 25, 2018 at 6:57 AM Martin Kroeker<EMAIL_ADDRESS>wrote:

That &=0 line seems to come from the original GotoBLAS code...
(Undecided about the annotations, but in their current form they fail all
CI tests
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/pull/1642#issuecomment-399961038, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABPeFR0oEGrDGiCbRKzEu-fBfk_BvMW_ks5uAOxRgaJpZM4U2GKp
.

Alright this is now the bare minimum.  I'll set up a local process for adding the annotations.


Incomplete type checking for objects property

Hi,
It looks that the type checking seams really loose when it comes to object properties.
For instance with type annotation :
/*
 * @flow
 */
function test1(obj: {a: boolean; b: string}){
  return 4 + obj.a; // 4 + boolean is unsafe
};
test1({a:true,b:""});

function test2(obj: {a: boolean; b: string}){
  if(obj.a){
    console.log("True");
  }
};
test2({a:42,b:""}); //obj.a is not a boolean

No errors!

Some validation is performed though:

function test3(obj: {a: number; b: string}){
  return 4 + obj.a;
};

test3({a:null,b:""}); //obj.a is null

The validation is properly done in that situation:
 testFlow/scratchpad.js:25:10,13: null
This type is incompatible with
  testFlow/scratchpad.js:21:25,30: number
Found 1 error

The situation is even worst with type inference without annotation:
function test4(obj){
  return 4 + obj.a; //obj has no property a
};

test4({b:4}); //obj has no property a

function test5(obj){
  return 4 + obj.a; //obj.a type is wrong
};

test5({a:""}); //obj.a type is wrong

No errors!

I love this project though ;)

You're hitting 4 separate cases, of which three are expected behaviors and one is a known feature/bug.
In your first code snippet:
(a)
number + boolean = number. This is according to JS semantics of + (boolean gets converted to number).
(b)
Second, anything is convertible to a boolean. This is why anything can be used in an if. In particular, a number is convertible to a boolean.
In your third code snippet:
(a)
See issue #106 (and other related ones merged into that issue), along with the explanation of why Flow behaves the way it does with object properties.
(b)
number + string = string (again, following JS semantics of +)


None of this makes any sense without a competent example.

"The specified x:Name becomes the name of a field that is created in the underlying code when XAML is processed, and that field holds a reference to the object. "
Wonderful. So how the hell do I actually use it? Why would I use it?

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

ID: 3e7082b2-4aa7-52ec-b00f-3c206eb5f6df
Version Independent ID: 3b44b2a8-50db-6413-b3b5-00064e2457cd
Content: xName attribute - Windows UWP applications
Content Source: windows-apps-src/xaml-platform/x-name-attribute.md
Product: uwp
Technology: platform
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

@fabiant3 who can help improve the docs here? Or suggest a link to docs about the codegen stuff?


add hover effect to navbar

Description
Added hover effect to navbar buttons on Augmented Reality Meditation page.
Issue number #992

add a screenshot and issue number

Issue number #992

Issue number #992

Hey you were not assigned this issue so I can't merge it


Doesn't work on macOS Sierra?

Won't open on Sierra. Known issue?

"Spotify.app is damaged and can't be opened. You should move it to the Trash."
Cancel / Move to Trash

Nope, that doesn't work. Even by right clicking it and selecting open.
Removing signature using codesign --remove-signature works, but still can't be opened. I can't seem to be able to resign it using the adhoc profile

My 'fix' / workaround for this issue was this:
https://github.com/devinhalladay/spotio/issues/3#issuecomment-241570828

Works for me on Sierra PB7 (also worked on PB6 before I updated today). I have "Allow apps downloaded from" set to "App Store and identified developers" under Security & Privacy.

@swrobel You probably have to re-run sudo spctl --master-disable. This command will disable GateKeeper, because most likely GateKeeper was enable after the update in Sierra.

To anybody reading this, this is a really bad idea. It's stuff like that that allowed Xcodeghost to spread. Ideally we should figure out a way for everybody to self-resign the app

I think think THINK that if we rebuild the .spa files on Mac properly that everything will return to normal and the certificate will not break. I wasn't sure how until @sandervankasteel submitted his Linux PR so I'm going to reuse your repackaging code and see if it helps. Will publish a new release in a few minutes and I could use as much help Mac testing as possible to ensure this works (with "Allow from anywhere" turned OFF/Gatekeeper turned ON)

Will it? Every file is checksummed
What I have no idea, is why codesign fails to resign it manually, even if the signature is stripped

@devinhalladay I doubt that it will.. Because your changes to the contents of the spa file changed the checksum of the .spa file and that in turn changes the checksum of the complete .app. So you need to re-checksum the complete Spotify.app. To do that codesign uses 2 parts, the checksum of the files and the developers certificate. You can always resign it with your own local certificates, that should atleast prevent OS X from saying "The app is damaged".
The only reason I could resign the .deb file on Linux is because the inside the .deb file, there is a in the control.tar.gz which in turn contains a md5sums file, and that just contains the hashes of all files. And as long as the hashes that are in the md5sums file, match the actual file. No worries, the OS will install it!

You can always resign it with your own local certificates, that should atleast prevent OS X from saying "The app is damaged".

That's the stuff that needs to be figured out. Sadly, even with the beta Xcode, codesign says that spotify is corrupted when trying to resign it :/

That's the stuff that needs to be figured out.

Yes. also tried codesign --remove-signature

Have you tried an application like: https://github.com/steakknife/unsign yet?

Nope, but the description says " (note: unsigned binaries cannot currently be re-codesign'ed. Patches welcome!)", which explains a lot :)

Yeah but technically our binary is a
signed with a certificate from Spotify, albeit invalid after our modifications

Yes, I mean that since this app prevents re signing, it won't help

@abarisain Have a look at my last comment in #23 ;)
happy dancing


Get the room name

Hi,
I am looking for a way to get the room name (for Roomba's supporting rooms) when the Roomba is running.
Is there is any MQTT status (I didn't found) or an function to get the room name?
Use case is simple: I integrated with Domoticz and have some camera's sending warnings in case of movement... Of course if the roomba is passing, alarms are sent out. So want to automatically switch of the camera alarm when the roomba is cleaning in the room.
Thanks,
Filip

No, sorry,
The only thing Roomba reports when running is the x,y co-ordinates (and things like 'bin full', 'docking' etc).
The only way to figure out what room the Roomba is in is to compare the x,y co-ordinates with a floor plan, and translate that into a room name yourself. Not easy, but doable.

Thanks, Nick,
I know it is doable, but wanted to work with the room names to avoid having to calculate also the coordinates of the floor plan myself.
Thanks for your answer. You confirmed that I need to implement it myself... Will give it a try when I have a bit of time.
Btw: you did a great job with the implementation.
Filip


Add user roles to JWT in Password Grant [Question]

Hello, is there a way to add user roles to JWT generated through Password Grant?
I mean, I know I need to pass username, password, consumer-key and consumey-secret. Is it possible to add account's roles to generated JWT?
Thanks

Hi @emiliobristech ,
Can you specify which API Manager version you wish to cater this requirement?

Hello, got the answer in StackOverflow! In summary, Just need to configure Claims in Service Provider and request token passing parameter "scope=openid". More details is in this answer. Thank you!


Contribution to FAQ061

FAQ061
source/FAQ/Part4.md
No answer to the first question
I can add the answer to the relative question

Buon lavoro!


Invalid JWT check

In the file: cmd/webhook/init/dnsprovider/dnsprovider.go
You are checking for iss = ionoscloud.
That check is not valid. We get a jwt issued by bechtlecloud when we getting a ionos-cloud jwt.
Could you please correct the problem so we can use your webhook?
Kind regards
Hans Fischer

@hans-fischer thanks for your feedback, currently we are checking this issue, i will keep you up to date regarding this, i am quite sure that we have a solution for you very soon.

using image v0.6.1 should fix the problem


TER-85 Use new form of share/link command

Jira: TER-85
update Share/Link handlers based on https://github.com/keboola/php-storage-driver-common/pull/18

davam na CR i Romana bo vi jake se udelaly upravy na Commandech

rebase + fix xdebug


Event handling related memory leak

If you go run minimal.go and keep resizing the window for a while, you'll see that the memory usage goes up.

Can anyone confirm this behavior or is it just a random thought?
I have tried doing that and see no consistent memory leak, just tiny random increases and decreases, pretty much the same number after a while.


Add python3 support

This set of changes supersedes #195.
It includes changes required to run pyradiomics on Python 3. To gracefully handles the different between py2 and py3, it introduces the dependency on six. See https://pythonhosted.org/six/
Notes:

instead of switching to using dict.items() (which is less efficient in py2), it uses six.iteritems
since MacOSX SimpleITK python wheels are not (yet) available for Python 3.x, corresponding TravisCI builds haven't been enabled.

@jcfr, last build of CircleCI failed, python 3.x couldn't find venv in some commandline argument, I suspect this has something to do with the virtual environment. Can you look into it?

python 3.x couldn't find venv in some commandline argument, I suspect this has something to do with the virtual environment. Can you look into it?

I noticed. I will be looking at this later today.

last build of CircleCI failed, python 3.x couldn't find venv in some commandline argument, I suspect
this has something to do with the virtual environment. Can you look into it?

I identified the problem and submitted a fix to upstream setuptools. See https://github.com/pypa/setuptools/pull/971
In the mean time, I will add a workaround.

Et voila. As soon as, Travis returns green. Will be integrating :fireworks:


Update Readme: Mention docker image

To make running the tests easier, we can mention our docker image.
(Also suggests to run tests in verbose to see more output.)

We now mention the docker images in the node repo, so this PR is not really needed anymore -> closing


what is the different between' type:new SimpleSchema({})',and 'type:Object'

hello,i am student of chinese this is my question @dburles
defined an object of Communication
Communication = new SimpleSchema({
  callSignal: {
    type: String
  },
  frequency: {
    type: String
  },
  fixedPhone: {
    type: String
  }
});

  communication: {
    type: Communication,
    optional: true
  },

however,when i use autoform to create,communication is invaid,then i defined as follows:
  communication: {
    type: Object,
    optional: true
  },
  "communication.callSignal": {
    type: String
  },
    "communication.frequency": {
    type: String
  },
    "communication.fixedPhone": {
    type: String
  }

it can be created

Either one should work as long as Communication is defined before you use it (in a file that loads before the file in which it's used, or closer to the top of the file).


Switch to synchronous I/O (for GPIO and I2C)

Might help with #15 and #17 - needs testing.
Can be tested via: npm install sandeepmistry/node-chip-io#sync-io
cc/ @nkolban @rwaldron @ugate @sumarouno @ericterpstra

Hi @sandeepmistry , thanks you for mentioning me. I tried your PR.
npm install sandeepmistry/node-chip-io#sync-io
And then, try previous code #15 and try some code for my lcd 1602 with pcf8374T i2c backpack. Here the code I have tried:
lcd_hello_world.js:
"use strict";

var five = require('johnny-five');
var chipio = require('chip-io');

var board = new five.Board({
	io: new chipio()
});

board.on('ready', function() {
	let lcd = new five.LCD({
		controller: "PCF8574A",
		address: 0x27,
		bus: 2
	});
	lcd.cursor(0,0);
	lcd.print("Hello World");
	lcd.cursor(1,0);
	lcd.print("1234567890");
	console.log("Percobaan hello world!");
});

lcd_custom_char.js:
var five = require("johnny-five");
var chipio = require('chip-io');

var board = new five.Board({
  io: new chipio()
});

board.on("ready", function() {
  var l = new five.LCD({
        controller: "PCF8574T",
        address: 0x27,
        bus: 2,
        rows: 2,
        cols: 16
  });
	l.useChar("heart");
	l.cursor(0, 0).print("hello, I :heart: JS");
	l.cursor(1, 0).print("NodeJs is great");

});

All above code work well after using sync-io. Run the code, stop the code, run again, stop again. And no more garbage text as discussed #15 .
I can confirm, no more garbage text again in my lcd.
Your work is great, thank you very much.

@sumarouno excellent thanks for trying out the changes!
I'll hold off merging for a week or so, so most testing can be done.

I will try more code as soon as possible.
Fyi, this PR still not solve for #17

Reading needs to be async
Writing can be async, but only if order can be guaranteed and there is no dependency on a callback before the next operation—otherwise just make the write sync (generally this is faster anyway)

@rwaldron thanks for reviewing and providing your feedback. I think everything is up to spec now.

@sandeepmistry you're the best!


"Today" and "Yesterday" not starting at 00:00 on counterscale.dev

In this screenshot, I'm on GMT, and with "Today" selected the end/current time is correct (10:00), but the start time is 05:00 when it should be 00:00.
This seems like a situation where the server believes I am on EST, even though my computer's local timezone is on GMT. At the time I was connecting via Air Canada wifi mid-flight, which I believe was routing through Toronto/EST.
I've also verified this was not introduced in #98 (the bug is visible in 0f9e96018f728c73ee0dd11c48f4f27bbef1f05a before that PR was merged).

Fixed via #109