Switch to monthly

Would love a toggle button that says "switch to monthly" and changes all of the figures to monthly figures :)

This is probably covered by #26 , what do you think?


vulnerability [CVE-2022-27191]

Versions
1.34.1

Sarama
Kafka
Go

Configuration
What configuration values are you using for Sarama and Kafka?

Logs
https://github.com/advisories/GHSA-8c26-wmh5-6g9v
logs: [CLICK ME](https://github.com/advisories/GHSA-8c26-wmh5-6g9v)

Problem Description
Bumping up golang.org/x/crypto dependency version removes this vulnerability

Sarama doesn’t pull x/crypto as a direct dependency. We get it as an indirect dep via https://github.com/jcmturner/gokrb5 and so as a library we can’t control its version. We either need gokrb5 to tag a new release with a suitable bump in x/crypto or you as a consumer of us can add a replace directive in your application go.mod to force a new version to be used

This was already resolved


If the heredoc changes state and enters a variable parsing state (for example), when it comes back to continue parsing the heredoc, it no longer has any reference to the indentation type and amount.
I think PHP's own parser uses some variables on the state itself to store this information, we might need to do the same.

I think I'm just going to re-write the whole thing.


2 newlines added at the end of .bumpversion.cfg file when bumping

Whenever you bump the .bumpversion.cfg file ends up with 2 newlines at the end

Since I don't want to fork I suggest the following patch as a fix:
Index: bumpversion/__init__.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- bumpversion/__init__.py	(date<PHONE_NUMBER>000)
+++ bumpversion/__init__.py	(date<PHONE_NUMBER>000)
@@ -860,7 +860,7 @@

         if write_to_config_file:
             with io.open(config_file, 'wb') as f:
-                f.write(new_config.getvalue().encode('utf-8'))
+                f.write((new_config.getvalue().strip()+'\n').encode('utf-8'))

     except UnicodeEncodeError:
         warnings.warn(

It just strips and appends a single newline at the end of the file, perhaps a better solution would be checking at the _write_section method of the RawConfigParser class, but this does the trick.

See this fork https://github.com/c4urself/bump2version/


Log waasagent stdout and stderr to logging infra

Enable off the VM troubleshooting of Solution bringup

this issue was resolved as port of: https://github.com/SolaceProducts/solace-azure-quickstart-template/commit/4715d72f63c6b98b206550200f78fa828fc0f3ac


Make enum members a map like other member containers

I am often annoyed that members is a plain array. I think getting the type of an enum member by name will be fairly common? But would also be ok with adding an API to get a member by name.

as the name are unique, feels like it make sense to do that

one issue with this one is that for versioning we do want to keep the order of members a map would technically hide that

@bterlson @timotheeguerin marking as 'blocked' until we get an agreement and an estimate.

Map according to the es spec does keep the order of members and this is something we are counting on for properties as well #948
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map


Implement filtering CF entities with mta_namespace label

Description:
Implement filtering using the mta_namespace label on CF resources (apps and service instances).
Issue:
Fixes https://github.com/cloudfoundry/multiapps-cli-plugin/issues/189

Looks like it does not filter correctly yet when namespace is not set, I'll see if I can fix that as well

Hi @schulzh,
Thank you very much for the contribution, but I'd suggest instead of so many checks on whether there is a namespace or not to check whether the 'mta_namespace' is empty you could use '!mta_namespace' thus filtering only these apps/services without mta_namspace:
Example:
cf curl 'v3/apps?label_selector=mta_id=595b4fc924d1b0615b395b2dad14f950,!mta_namespace&space_guids=5c52910a-4072-4b3a-b5b2-bc9497f63aa7' -v
You can calculate the URL based on whether there is or isn't a namespace then just execute 1 call and return the results instead of filtering already filtered results.
Thanks and best regards,
Ivan

Thanks @IvanBorislavovDimitrov , I searched for a way to filter on the absence of a label but did not find it.
I'll update the PR.

Thanks again for the contribution


Ideas for design/game

Hey this is Kelsey from the Lantern event last night! I recognize that this is obnoxious Github etiquette, but I didn't want to drop a whole slew of ideas issues, so please feel free to ask me to break out the ideas you like as their own issues.

For the commute overlay, I think what I was expecting to see was not just to/from, but a set of colored paths coming out of the hovered area: not just destination, but how people get there.
If you were to do ^, it would be useful to color the paths not just by absolute number, but by e.g. waiting time—implying an objective of reducing commuter frustration
And/or ^ color by transportation type, with an objective to reduce car traffic. Ofc this starts to get very handwavey since it means diverging from the existing sim model, but I think it would be not-crazy to build in an assumption that a given commuter would make a switch to whatever gets them to their destination fastest. This is probably my favorite part of playing Cities Skylines: I'm always trying to build a design that maximizes pedestrianism by building up transit. This would massively change the game—but I think per your objectives? After all, a big part of the appeal of improving transit is that it should change people's behavior; it's not going to make much difference in your sim to improve transit if nobody gives up the car commute to ride it.
Since it is turn-based, I'd imagine being able to see the whole day all at once in simulations like ^. Of course, you'd immediately want to change your streets and rerun to see the whole-day difference, which gets compute-intensive pretty fast, but perhaps since it's game-based there's a way to design around that, e.g. in a challenge you have X budget corresponding to X # changes? (Thinking that in games, frustration can be part of the design)
Just to document it here, color gradients might be more helpful if absolute, if what the player is trying to do is identify problem areas. Instead of a transparent-to-red gradient, maybe more of a blue-to-red, so it doesn't just wash out in low areas? Or since you already have various map subsections, maybe the scale sets by map
For survival mode, instead of playing from midnight, what about slicing the day into X-minute chunks and rearranging them in order of difficulty (# of wait times above 12 minutes across the city in the vanilla sim?) (no idea how hard it is from your end to set initial state, but seems plausible to save it at intervals?). This lends itself to levels: you survived the morning commute! (Also avoids the mini metro sour feeling of: you lose every single time)
In general instead of playing from midnight, maybe make the day start at 4am? This is a more human-oriented cutoff point; I'd assume that midnight to 3 is people still awake from the previous night. Would also let you get to the more interesting commute hours faster.

Might have some more ideas, will add if I think of them. Thanks for the demo, obviously you have me hooked on the concept!

Hi Kelsey, thanks for stopping by and providing these ideas!
The commuter patterns layer
For reference, this thing:

a set of colored paths coming out of the hovered area: not just destination, but how people get there.

This could indeed be a useful dataviz. Originally this layer was meant to solve the problem that just showing every single trip as a straight line or a route would be absolutely overwhelming. But if we're just considering a pair of "neighborhoods" or a single start/end, we could probably try doing this. I don't have examples handy, but I've seen visualizations where a route starts very thick near the source, then as people take different paths to different destinations, the line thickness thins out.

it would be useful to color the paths not just by absolute number, but by e.g. waiting time

We've got some layers that show delay at any particular moment in the simulation, and maybe we've tried coloring intersections/roads by the aggregate delay experienced over the whole day... but this would be even more focused. Between Ballard and the Udistrict, where are people waiting the longest? And since we measure stuff like risk exposure, we could also show the most dangerous (or at least stressful) parts of the routes.

Instead of a transparent-to-red gradient, maybe more of a blue-to-red, so it doesn't just wash out in low areas? Or since you already have various map subsections, maybe the scale sets by map

Was this just in context of the commuter patterns layer, or also stuff like instantaneous delay?

Mode shift

I think it would be not-crazy to build in an assumption that a given commuter would make a switch to whatever gets them to their destination fastest

Yes! This is the elusive mode shift. The thing stopping us from trying this so far is not being confident about calculating which people actually would switch modes, given changes to the map. One idea is to just estimate total travel time by all the modes and pick the fastest, but...

I think this doesn't match people's real behavior -- sense of safety/comfort and trip purpose (bringing kids to school vs going out for a coffee) probably factor in too. Defining how a utility function should combine these different factors is unclear so far.
Estimating those times by static pathfinding will usually mean driving comes out the winner. But maybe if we measure real times from the "previous day's" simulation before the map edits, we have more info about the time it takes to park, get past traffic signals, etc.
We have to figure out how to initially calibrate the travel demand model we're bringing in from Soundcast. Before any map edits, what if we run this "mode shift" process and find that the original mode that Soundcast predicted for a bunch of people doesn't match what we think? Maybe this mis-match could help us parameter tune our end.

We do have some existing controls to manually perform mode shift, but it's a blunt hammer of percentage of trips:

Gameplay

Since it is turn-based, I'd imagine being able to see the whole day all at once

There could be two types of scores that we give the player in response to map edits.

a mode shift prediction, which could be fast to recalculate, since it might just use pathfinding and pick the "best" mode
the actual per-trip travel time, delay, risk exposure, etc measurements, from the slower simulation

in a challenge you have X budget corresponding to X # changes

I think this is a great way to scale the game's challenge modes. We need more progression from easy to hard "levels", and picking much smaller maps and limiting edits is probably a way of defining those levels.

For survival mode, instead of playing from midnight, what about slicing the day into X-minute chunks and rearranging them in order of difficulty

This is brilliant! It simplifies some real-world issues -- a certain traffic signal has multiple plans through the day (morning rush, slo weekend night), but we don't support that yet. Just focusing the sim on certain time periods would dodge this. Also, some strong feedback about things like the traffic signal survivor challenge that we've gotten is that the feedback loop is way too slow -- you change a signal, then have to start the simulation over to see the full effects. We've tried to mitigate by changing the signal "instantly" without reseting to midnight. But still, the score function of "survive the whole day" is too monolithic. Chopping up into smaller pieces spreads out the reward and makes it more obtainable.
The technical challenge here... We can "savestate" the simulation and start from any time, at the expense of downloading more larger files. But the simulation state that we start from would be pre-calculated probably, and based on the unedited map, not incorporating the player's changes. In many cases, that'll just gridlock / totally break by 6am or really early. So we'd start people off with impossible traffic jams.
.... Maybe we've been overcomplicating this. We could break up the day into different time chunks, and just initially seed the simulation with trips starting from then (or a bit earlier). If one level starts at noon, we spawn all trips beginning at 11:45 and... maybe just simulate 15 minutes without any player edits, then drop them in.

In general instead of playing from midnight, maybe make the day start at 4am?

This gets at the same problem as above. I've been trying to keep things too "realistic." Our travel demand model input roughly describes a typical weekday, so how do you initially seed the simulation? If you just start all trips at 4am, what about the ones that are still ongoing by 4am? Midnight is a convenient number and usually has low traffic, so that's why we've been choosing that start point. But I think indeed we could start anytime of the day, and just seed trips from 15-30 minutes before that moment.
Thanks a ton for all of the ideas! It's massively helpful to have a fresh perspective on things.


Incorrect responses to SISMEMBER command request

We've been encountering some weird behaviour with SISMEMBER queries.
To give context, we're using 0.8.3, and it's being utilised in a library called "chassis.io" here: https://github.com/axisto-live/chassis.io
The library is a wrapper to engine.io, and handles supporting RPC/PubSub with an express app. The line to SISMEMBER is called here:
https://github.com/axisto-live/chassis.io/blob/master/lib/pubsub.js#L129
We have this dataset in that set:
smembers chassis_51d1342347618a7120002412

1) "gqpiuA0e1PFl8-aHAAL6"
2) "h3xzHb0a7YwPT51YAG3Y"
3) "a_AJeBrYepWHpoZDAAFR"
4) "gbJMUM_rIUCyg-YkAAAA"
5) "SH6uQ_ISoncuX2pCAGvp"
6) "uQVMuKh35GlYlXYDAABj"
7) "ZY08C2iRaT0G1al-AAFJ"
8) "I5S4a1wjYM0MOcaNADBs"
9) "Bg1Xqx82SyOEPo_DAAAm"

"seREqLFC394vlxcXAAAM"

And if we perform this query in redis-cli, we get this result:
sismember chassis_51d1342347618a7120002412 XH_6OKzZ2Nn5HjktAAAj
0

However, the node-redis npm response logged out from Redis (err, result values from line 129 mentioned above) is this:
err: null , result: [ 'CaEyCwR56Yhg5JW1AAAB',
  'H58nute2c9hbeJnSAC_r',
  'ODMVcs9xIKGn2wNYAAFI',
  '68S4sm9p28GxnZfiAAAN',
  'QQaqEUZ3gpJs3MJFAAAg',
  '3BeEepIoCHzWPE06AAAC' ]

The values are not found in the set list, and interestingly, subsequent queries to SISMEMBER with different variations of "chassis_***" return the same response.

as no one has ever responded so far: This should not be an issue in newer versions but I can't verify this as the mentioned library is using a outdated node_redis version.
There is definitely no issue with sismember in node_redis as it just returns the result as it is.


Bump yarn from 4.0.2 to 4.4.1

Summary
This PR bumps Yarn from 4.0.2 to 4.4.1 (the latest stable version)

Superseded by #6164


Best practices rules suggestions: handle-callback-err, enforcing new line after declarations

Hello, it would be good to have these:

Enforce Callback Error Handling
http://eslint.org/docs/rules/handle-callback-err

Enforce the consistent use of either function declarations or expressions
http://eslint.org/docs/rules/func-style

require an empty line before return statements
http://eslint.org/docs/rules/newline-before-return

Enforce new line after variables declarations (not each declaration, but after the last of a consecutive group of declarations)

Would love to see them in tslint. Thanks for the great work.

FWIW, 2 and 3 are in now, so it looks like just 1 and 2. Editing the title to make this more discoverable.

Closing this formatting rule request per #4534. Thanks!


Introduce proper env-var based token behavior

Allow token and username to be set in RH_TOKEN and RH_USERNAME env vars
Fix bug where tokens being set in env vars or directly in python are being written to config file
Fix TEST_ACCOUNT token setting behavior to flow through new rh.configs.token flow

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #294

PR #318   👈

This stack of pull requests is managed by Graphite.


unhandled exception from TimeoutError originating from MITM Socket

My app which wraps both the Hero client and server crashes now and then with the TimeOut Error that seems to not be handled and which seems to originate from:
node_modules/mitm/lib/MitmRequestAgent.ts in MitmRequestAgent.createSocketConnection at line 172:5

While time out errors can bubble up from goto statements, I do not expect to see them for XHR calls that I do not even make, neither do I expect it to be unhandled and crashing my app.

@blakebyrnes this one does happen now and then, usually related to analytics (e.g. google or bing).
I also think it needs to move to an unblocked repo, as it's from there (agent I think?)

@GlenDC Do you have a full stack trace and/or session database for this? I'm not reproducing it in tests.

I'll send you the information over on Discord!

I suppose your fix will be available in next release. As this is currently the only bug that occurs frequently and the only one crashing my process, I am looking forward to test it and give you feedback @blakebyrnes.
Please let me know if there's anything more you need from me!

@GlenDC this is in the latest version. Let me know if we can close this out.

Can be closed (for now).
It seems to be fixed.
I am now at alpha-14.


Idiomatic way to combine channels with different data

For example, i have a blog with posts and comments.
After a comment is created an event is published to "posts" channel (index page) and to "posts/id" channel (specific post page).
To "posts/id" channel full comment data is sent, it is used for showing new comment.
In "posts" channel i want to inform a client that a comment counter needs update, i do not need comment text or other info.
It is possible to do by requiring and using CombinedChannel directly:
const CombinedChannel = require('@feathersjs/transport-commons/lib/channels/channel/combined');

comments.publish('created', (comment, context) => {
  let postId = comment.postId;
  let postsChannel = context.app.channel('posts').send({event: 'comment', data: {postId}});
  let postChannel = context.app.channel(`posts/${postId}`).send({event: 'comment', data: comment});
  return new CombinedChannel([postsChannel, postChannel]);
});

Is there a better solution?

Found that i just can return array of channels. Issue can be closed.

Yep that is it. As a side note, it shouldn't be necessary to use undocumented internal modules directly. For channels, the documented API should give you all the functionality you need.


Get latest version of plugman (1.0.3 with cordova-lib 5.3.2)

I've rebased our build-3.0.0+ branch onto tag 1.0.3
@Icenium/core

:+1:


Incorrect behavior of widget, while trying to remove all items from arrayfield

Django better admin ArrayField version: 1.0.2
Django version: 2.2.3
Python version: 3.7
Operating System: python:alpine (from Dockerfile)

I have found incorrect behavior of widget, while trying to remove all items from arrayfield.
Description
Assuming that:

I already have some items in arrayfield widget
I want to have None

How to replicate incorrect behavior?
I click "x" button next to item for every item. Widget show no items. I click save and continue editing. Page is reloaded. The items are still there.
How to achieve correct behavior?
I click "x" button next to item for every item except last one. For the last item I clear the input field. Click save and continue editing. All items are gone.

Reproduced this as well. As a user, I expect array to be saved as empty when I remove all items.


Update ParaSpell to v7.2.0

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[ ] Closes #<issue_number>
[ ] Requires deployment <worker/stick/speck>

The following PR features the latest version of ParaSpell XCM SDK.
We introduced many new features since v6 such as:

Multilocation asset selection
Advanced symbol selection
Support for new nodes and new complex scenarios
Support for PAPI version (You do not need to install both packages. Just one package of your choice.)

And many more. Feel free to explore changelogs:
https://github.com/paraspell/xcm-tools/releases
Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings

[x] I've merged recent default branch -- main and I've no conflicts

[x] I've tried to respect high code quality standards

[x] I've didn't break any original functionality

tested and all works on dev version in localhost.

Optional

[ ] I've tested it at </ahp/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?
Community participation

[x] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Support for PAPI version (You do not need to install both packages. Just one package of your choice.)

How is it handled on the side of your package?
is it checked on the install ?

@vikiival, both PJS and PAPI are an optional peer dependency. They are then imported under different paths:
///PJS
import {Builder} from '@paraspell/sdk'
///PAPI
import {Builder} from '@paraspell/sdk/papi'

Everything is 1:1 otherwise.
With kind regards,
Team ParaSpell✨


How can I install Tensorflow Lite 2.5.0?

Hello,
I can't fugure out how exactly to install Tensorflow Lite 2.5.0 from the repo for Ubuntu 20.04:
https://github.com/tensorflow/tensorflow/tree/v2.5.0/tensorflow/lite
Any help will be greatly appreciated!

You mean for building this repository? Or from the packages in your distro?

Ah, it seems it's included in the project, thanks :)


Remove credits used information from DPM page as we do not display it…

… yet.
Purpose of this pull request
This pull request...
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

@sukhhanda1 , thanks for submitting! Is this ok to merge?

@sukhhanda1 , thanks for submitting! Is this ok to merge?

Yes this is ok to merge.


Support Table view

Tabletreeview adds unnecessary broilerplate code when one only wants simple table.

Can you provide more details about this issue, a sample code that demonstrates this issue.

Hi,
I meant that I haven't found javafx.scene.control.TableView<S> compatible JFX equivalent, only the treetable one. Have I overlooked something? I don't need treetable, but would very much like a table that is styled to the material design spec.

I support this suggestion. We need a simple TableView too.

Any news regarding jfoenix supporting TableView?

Hello currently there is no plan, as you can create a material design TableView using simple css.
Later, it might be added with some delete/filter/edit features following the material design guidelines.
In the mean time, feel free to add your own contribution to JFoenix.
Regards,

If it's simple to add TableView using css, could instructions perhaps be posted here?
Is it best practise to copy the CSS for the tree table? Or do something to rename the style classes for TableView or other. It's probably simple if you know how it works, but not so simple if you were expecting a drop in class replacement.

I am currently building an application in which I've implemented a Material-ish TableView.
Here's my current table:

I could change some CSS and make it adhere better to the Material Design guidelines and make a PR for JFXTableView. Should I go ahead?

I took a good look at JFXTreeTableView's CSS and this is my best attempt at replicating the style. Forgive me for my CSS-noobhood. Can anyone help me fine-tune it?

Any updates on this? It's been over a year, and I'd love to see a TableView material design without having to use TreeTableView.

@davidkoplik, have you tried this CSS stylesheet?


Suspected timing issue in aft_account_provisioning_framework_account_metadata_ssm task

Terraform Version & Prov:
AFT Version:
1.4.0
Terraform Version & Provider Versions
Please provide the outputs of terraform version and terraform providers from within your AFT environment
terraform version
0.15.5

terraform providers
hashicorp/aws

Bug Description
Task aft_account_provisioning_framework_account_metadata_ssm in workflow aft-account-provisioning-framework fails with error message
An error occurred (AccessDeniedException) when calling the PutParameter operation:
User: arn:aws:sts::(new account number):assumed-role/AWSAFTService/AWSAFT-Session is not authorized to perform:
ssm:PutParameter on resource: arn:aws:ssm:ap-southeast-2:(new account number):parameter/aft/account-request/custom-fields/env_name
because no identity-based policy allows the ssm:PutParameter action

The new account is created, the IAM role mentioned is created (step aft_account_provisioning_framework_create_role succeeded and I manually verified) and it has AdministratorAccess permissions. I suspect it was a timing issue as the lambda has a 60 second sleep in
the logs (Sleeping for 60s to ensure Role exists) and I suspect it wasn't enough on this occassion.
Resubmitted new account creation file with minor change in audit fields, account creation completes and execution of workflow goes through fine.
To Reproduce
Cannot reproduce on demand, but steps done to create initial issue and investigate it

Submit usual new account request via file to repo
Wait and see new account created but no customisations added
Open Step Functions and look at Failed column, see aft-account-provisioning-framework has failed status
Open aft-account-provisioning-framework state machine and see Failed execution
Open failed execution and see step aft_account_provisioning_framework_account_metadata_ssm is failed with error message above

Expected behavior

Submit usual new account request via file to repo
Wait and see new account created and customisations added
Check state machines for AFT and see no failures

Related Logs
Additional context
Stack Trace
File \"/var/task/aft_account_provisioning_framework_account_metadata_ssm.py\", line 73, in lambda_handler\n    create_ssm_parameters(target_account_session, custom_fields)
File \"/opt/python/lib/python3.8/site-packages/aft_common/account_provisioning_framework.py\", line 227, in create_ssm_parameters\n    response = client.put_parameter(
File \"/opt/python/lib/python3.8/site-packages/botocore/client.py\", line 415, in _api_call\n    return self._make_api_call(operation_name, kwargs)
File \"/opt/python/lib/python3.8/site-packages/botocore/client.py\", line 745, in _make_api_call\n    raise error_class(parsed_response, operation_name)

Hey @terencewhitenz,
We added some improvements to how the IAM roles are created & used in 1.4.2 - are you able to upgrade your version and let us know if you see this issue again?

Hi @terencewhitenz ,
I'm going to close this issue due to inactivity. Please let us know if you experience this issue again after upgrading to the newest version of AFT.


Create a way to handle brand new (valid) variables in smtlib2 strings.

Right now, we can handle smtlib2 strings with variables like registers, memory, certain suffixes and prefixes, etc. However, we don't have a way to handle newly defined variables. For example, we maybe want to create a brand new variable x to create a stement like
(assert (and (bvule x RDX) (= (select mem (bvadd x RSI)) (select mem (bvadd x RDI))))

Right now this just throws a Z3.Error since x isn't recognized.
To address this issue, @codyroux recommended we try one of the following:

We allow wp to recognize all syntactically valid new-variable inputs.
We create a flag that specifies all new variable names (like --new-vars="x", for example).
We create a fresh special prefix that the user can user and be assured creates a new, valid variable name (like wp_fresh_x, where wp_fresh is the special prefix).

Other ideas are welcomed.

Each of the three mentioned ideas for handling this issue have drawbacks:
(1) can lead to typos being turned into new fresh variables without the user intending it. For example, writing rax when you meant to write RAX would now result in a new variable called rax.
(2) is a little heavy, and requires the user to include a new flag every time they need to add a new variable.
(3) would require the user to have to remember the special new variable prefix every time they need to make a new smtlib statement.
Of the three options though, I think (3) is the best and has the fewest drawbacks.

One other thing to consider is how to specify the type of the new variables we create. As far as I've looked into it, it looks like we need to declare a type when we create a variable, though if anyone knows more, please tell.
We can make this anywhere as complicated as infering the type that the user inputs, to as simple as having the user specify what type they want a variable to be.
If we go with the latter, then some ideas for working this into the implementation are:
(A) If we use a flag, just allow the user to specify the type along with the name of the variable. For example --new-vars="x:reg64_t.
(B) If we use a variable prefix, we can add the type to the name of the variable. For example (assert (= RAX wp-fresh-reg64_t-x)).
Neither of these ideas are very elegant or simple, so I'm open to other ideas.

apparently you can declare variables right into the smt-lib string you're passing, e.g. '(declare-const x Int) (assert (= RAX x)) (thanks @philzook58 )

@gltrost is this resolved?

@gltrost is this resolved?

Yes. At least in practice this is no longer an issue, since we can declare new variables as either forall ((x sort)) or declare-const x sort.


Update COVID19_Fallzahlen_Kanton_TI_total.csv

Minor update from the cartina aggiornamento while waiting for the more detailed situation update.

Closing as it seems to have attracted automated conflicting updates and there are other non-conflicted pull requests with the TI data I was trying to add.


Document connecting via the NGINX Ingress Controller

copy-paste description from high-level research
NGINX
NGINX Ingress controller works with both NGINX and NGINX Plus and supports the standard Ingress features - content-based routing and TLS / SSL termination. Additionally, several NGINX and NGINX Plus features are available as extensions to the Ingress resource via annotations and the ConfigMap resource. In addition to HTTP, NGINX Ingress controller supports load balancing Websocket, gRPC, TCP, and UDP applications.
Note that NGINX closely follows the k8s ingress specification and does not expose feature-rich configuration for TCP based protocols (like CQL). It is possible to our preferred methods for deployment, but the configuration is less user-friendly compared to other approaches. These implementations are annotated appropriately below.
Sample Implementations

Port-based load balancing TBD
TLS based load balancing with mTLS TBD warning advanced implementation
TLS based load balancing with SNI & mTLS TBD warning advanced implementation

Closing here - will revisit as park of k8ssandra.


Code blocks are visually broken in the recent update

The recent update has made it so some of the code in a code block gets clipped out of the box (for example: >>>).
Additonally, when a code block ends, the following line of text doesn't have enough padding and as a result, gets slightly overlapped on the code block box.

Without theme:

One more thing:
When the fold heading or fold indent option is turned on in editor settings, the clipping stops but the code goes out of the margin on the left.

This theme is so beautiful, and I personally want to thank you for your hard work :)

Thanks for the support, I will look into this issue. <3

Thanks for the support, I will look into this issue. <3

For this part I made it so it wont flow out of the code block, but due to the formatting of Codemirror, it gave this type of marking a natural text indentation, It's hard to make it inline of the rest of the line. (Well I gave each line a padding so ... got to find another way to fix this in the future.) For now I will leave it as this for now. @kursorbyte

For this part where the heading goes into the code block, I designed it to be like that, I figure it's natural to leave a new line infront and behind the code block that wait this will look natural. like this:

For this part I made it so it wont flow out of the code block, but due to the formatting of Codemirror, it gave this type of marking a natural text indentation, It's hard to make it inline of the rest of the line. (Well I gave each line a padding so ... got to find another way to fix this in the future.) For now I will leave it as this for now. @kursorbyte

For this part where the heading goes into the code block, I designed it to be like that, I figure it's natural to leave a new line infront and behind the code block that wait this will look natural. like this:

@TriDiamond Alright, thank you!

@TriDiamond Alright, thank you!


I get a "something went wrong" every time I use the extension [Sonos] ... (But it still works though) 😄

Extension
https://www.raycast.com/AntonNiklasson/sonos
Raycast Version
1.76.0
macOS Version
14.5
Description
Error:
Error: listen EADDRINUSE: address already in use :::6329

Server.setupListenHandle:node:net:1872:16
listenInCluster:node:net:1920:12
Server.listen:node:net:2008:7
a.StartListener:decrease-volume.js:12:3517

The extension actually works fine, but every time I use it there´s a "Something went wrong promt" same place where the volume indicator is but in red saying there´s a problem.

And when I activate Raycast after using it, Ihave to esc out of it (see pic):

Steps To Reproduce
I´m using e extension with hotkeys if that any help :)

Current Behaviour
.
Expected Behaviour
.

Thank you reporting this. That sounds very annoying, I'll try to get to this soon. Does it happen every time? Or when you trigger via shortcut many times in quick succession?

Actually yes.. It only happens when I do it in quick sucsession. :)
Med venlig hilsen | Best Regards
Anders Lorentsen
+45 3131 4715
Skrædergyden 6
9000 Aalborg
Denmark
On 10 Jun 2024 at 21.28 +0200, Anton Niklasson @.***>, wrote:

Thank you reporting this. That sounds very annoying, I'll try to get to this soon. Does it happen every time? Or when you trigger via shortcut many times in quick succession?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


add support for the aks 1.16/1.17 in "aks browse" command.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

/assign zqingqing1

Small nit

add to S164.


Restructure project to use maturin to build pyo3 bindings

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
Motivation for the Change
Objective
Adopt maturin as the build system for surrealdb.py.
Background
The primary goal behind this change is to streamline the build process for Rust's pyo3 bindings within surrealdb.py. maturin stands out as a robust and reliable build system, a fact well-documented by its successful adoption in projects such as pydantic-core and ruff. Its integration into surrealdb.py is expected to significantly enhance the development workflow, alongside improving testing and release processes.
Type of Change

[x] 🥂 Improvement (non-breaking change which improves an existing feature)

What does this change do?

Adds maturin as a build-system.
What is your testing strategy?

Is this related to any issues?

Have you read the Contributing Guidelines?

[ ] I have read the Contributing Guidelines

@maxwellflitton, what do you think about this change? I still need to adjust the CI jobs to install surrealdb.py with maturin. Linters, formatters, and static type-checkers should also be added. I can whack it all in one PR, or split it up. Thought I would get your opinion first. I probably should have made an issue... but it has nevertheless been fun to explore maturin.

@maxwellflitton, what do you think about this change? I still need to adjust the CI jobs to install surrealdb.py with maturin. Linters, formatters, and static type-checkers should also be added. I can whack it all in one PR, or split it up. Thought I would get your opinion first. I probably should have made an issue... but it has nevertheless been fun to explore maturin.

I fix the GitHub Actions. I have not changed the "cross-build" workflow. Some improvements could be made using maturin something like the below to build the distribution artefacts:
jobs:
  linux:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.10'
      - name: Build wheels
        uses: PyO3/maturin-action@v1
        with:
          target: ${{ matrix.target }}
          args: --release --out dist --find-interpreter
          sccache: 'true'
          manylinux: auto
      - name: Upload wheels
        uses: actions/upload-artifact@v4
        with:
          name: wheels-linux-${{ matrix.target }}
          path: dist

  windows:
    runs-on: windows-latest
    strategy:
      matrix:
        target: [x64, x86]
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.10'
          architecture: ${{ matrix.target }}
      - name: Build wheels
        uses: PyO3/maturin-action@v1
        with:
          target: ${{ matrix.target }}
          args: --release --out dist --find-interpreter
          sccache: 'true'
      - name: Upload wheels
        uses: actions/upload-artifact@v4
        with:
          name: wheels-windows-${{ matrix.target }}
          path: dist

  macos:
    runs-on: macos-latest
    strategy:
      matrix:
        target: [x86_64, aarch64]
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.10'
      - name: Build wheels
        uses: PyO3/maturin-action@v1
        with:
          target: ${{ matrix.target }}
          args: --release --out dist --find-interpreter
          sccache: 'true'
      - name: Upload wheels
        uses: actions/upload-artifact@v4
        with:
          name: wheels-macos-${{ matrix.target }}
          path: dist

  sdist:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Build sdist
        uses: PyO3/maturin-action@v1
        with:
          command: sdist
          args: --out dist
      - name: Upload sdist
        uses: actions/upload-artifact@v4
        with:
          name: wheels-sdist
          path: dist

  release:
    name: Release
    runs-on: ubuntu-latest
    if: "startsWith(github.ref, 'refs/tags/')"
    needs: [linux, windows, macos, sdist]
    steps:
      - uses: actions/download-artifact@v4
      - name: Publish to PyPI
        uses: PyO3/maturin-action@v1
        env:
          MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
        with:
          command: upload
          args: --non-interactive --skip-existing wheels-*/*

I did want to add the ability to test the package on Windows and MacOS. However, there seems to be an issue between GitHub, requests, docker, MacOS, and Windows. I have managed to run the tests locally on my Mac so I am not sure what the issue is. Maybe one for another PR. See the below for more details:

https://github.com/surrealdb/surrealdb.py/actions/runs/8224867401/job/22489200769
https://github.com/docker/docker-py/issues/3113

I appreciate this is a big change, with a lot of clean up. If I got time, I will add in some standardisation with linters, formatters, and static type-checkers.
Let me know what you think!

@Ce11an thanks for this amazing work. it was on my to-do list and you've knocked it out of the park. Can you make the pull request to the test-deployment branch so I can start checking out the CI for deployment builds?

@Ce11an thanks for this amazing work. it was on my to-do list and you've knocked it out of the park. Can you make the pull request to the test-deployment branch so I can start checking out the CI for deployment builds?

Thanks, I had good fun doing it! I have updated the branch. Let me know if there is anything else I can assist with 👍🏻


Desync .m3u8 for Shakaplayer

What version of Shaka Player are you using?
I am using version 4.6.18
Can you reproduce the issue with the latest code from main?
Can you reproduce the issue with our latest release version?
I can also reproduce the issue in the latest version
What are the manifest and license server URIs?
I will send the url of the manifest in private
What did you do?
Trying to play a .m3u8 video stream
What did you expect to happen?
Video is played back without problems
What actually happened?
If I try to play a playlist with multi audio I will see a desynchronisation between audio and video
If I try to play a playlist without multi audio I will see correctly

**What are the manifest and license server URIs?**
<!-- NOTE:
  You can send the URIs to<EMAIL_ADDRESS>instead,
  but please use GitHub and the template for the rest.
  A copy of the manifest text or an attached manifest will **not** be
  enough to reproduce your issue, and we **will** ask you to send a
  URI instead.  You can copy the URI of the demo app to send us the
  exact asset, licence server, and settings you have selected there.
  Avoid geo-blocked content if at all possible, as the contributors who diagnose
  Shaka Player issues may not be able to access it.
  If you send the URIs to email, the response time and resolution
  will be much higher.
-->

Your content requires a VPN to Italy so we can't access it, we'd be happy to review your PR in case you'd like to fix this issue.


PPO2 Atari cannot reproduce paper results

I'm trying to reproduce the reported PPO2 results on the Atari environments.
My script looks like this:
from baselines.run import main

args = [
    '--env', 'BreakoutNoFrameskip-v4',
    '--alg', 'ppo2',
    '--num_env', '16',
    '--log_interval', '1',
    '--seed', '0',
]

main(args)

It basically uses the default Atari parameters for PPO which match those from the paper (in ppo2/defaults.py), but after 10M steps, my final reward was ~20 with a peak at 30. This doesn't come close to reported performance which was ~300.
What am I missing here?

It would be more useful if you could provide more information as well as log files. Without further information it's like guessing of the possible problems.

I ran
python -m baselines.run --alg=ppo2 --env=BreakoutNoFrameskip-v4 --network=cnn --num_timesteps=1e7 --ent_coef=0.01 --num_env=8

On master and got to 400+ points at the end.

@abhinavsagar I realise that my issue is not very detailed. I was hoping that someone either observed similar learning behaviour or reports a successful training that confirmed the paper results so I can compare hyperparameter.
@DanielTakeshi I'll start the training today and will report the results once it is finished.

I've ran several trainings on the current master and all achieved rewards between 240 and 400. During these tests, I could not reproduce my initial training that failed to learn.
Anyway, as the results are satisfactory I suspect I had something messed up in my previous setup. Next time, I'll run the trainings on a clean environment before posting an issue. Thanks for your support!


Add support for Apugli

https://apugli.readthedocs.io/en/latest/types/entity_condition_types/

I'd ultimately wait until the documentation is complete, which I'll try to get to soon.

Documentation has been updated to match latest version and I don't plan on updating outside of patches for a while, so you can now go ahead.


Updated OCS telemeter rule name to match with OCP pattern

Signed-off-by: Anmol Sachan<EMAIL_ADDRESS>

Is there any specific need to do this or is it just a cosmetic change?

/retest

Is there any specific need to do this or is it just a cosmetic change?

This is a cosmetic change, but it's good to follow convention.

/lgtm


Question: you can generate javascript code. "peg.js to code javascript"

I'm learning to use Peg.js. and when I already have an AST tree, I do not know how to convert it into javascript code.
thanks for helping

Having an AST, you can:

use a template Engine, f. e. StringTemplate.org, or
Use the visitor pattern to traverse the AST generating chunks per node aggrgating the result in an stringbuffer.

Maybe this is something you are looking for: https://github.com/jupe/puml2code


[Bug]: Websocket create_connection invalid extra_headers param

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
While reproducing the API-doc example:
from alpaca.data.live import StockDataStream

wss_client = StockDataStream('api-key', 'secret-key')

# async handler
async def quote_data_handler(data):
    # quote data will arrive here
    print(data)

wss_client.subscribe_quotes(quote_data_handler, "SPY")

wss_client.run()

The following appears:
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
error during websocket communication: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'

Expected Behavior
No response
SDK Version I encountered this issue in
alpaca-py version: 0.33.0
websockets version: 14.1
Steps To Reproduce
Run the following example:

from alpaca.data.live import StockDataStream

wss_client = StockDataStream('api-key', 'secret-key')

# async handler
async def quote_data_handler(data):
    # quote data will arrive here
    print(data)

wss_client.subscribe_quotes(quote_data_handler, "SPY")

wss_client.run()

### Filled out the Steps to Reproduce section?

- [X] I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

### Anything else?

Latest websockets versions https://github.com/python-websockets/websockets/pull/1332 do not handle extra_headers, instead additional_headers is the expected parameter:

https://github.com/python-websockets/websockets/blob/59d4dcf779fe7d2b0302083b072d8b03adce2f61/src/websockets/asyncio/client.py#L278C1-L279C1

This issue must be related to this closed issue https://github.com/alpacahq/alpaca-py/issues/527

@hiohiohio  we either pin the websockets version (to version < 13) or update alpaca-py codes and restrict websockets >= 13. I can do the fix, please let me know what you think.


fix: save button on confirm close popup not working

Description
Save and Save all not working while there is unsaved json body fixed
resolves: #2130
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

before:
https://github.com/usebruno/bruno/assets/76877078/1e273d6b-da3e-4af1-ae56-41ed7a65f7ea
after:
https://github.com/usebruno/bruno/assets/76877078/d2c05aab-d0c9-454a-914a-902bd29d3881

Hey man, you just beat me to this pull request. Will close mine. Feel free to take a look at mine about converting the body into an object to ensure it's always mutable.
#2157

I tested this PR, it fixes the problem.
Could you please merge it, thanks.

Thanks @therealrinku !
Merged. Will be in the next outgoing release v1.16.0


Fix: display flat-button's background correctly when focused

Fixes #625.

@pomerantsev Can you resolve conflicts please?

@hai-cea Done.

Thanks @pomerantsev !


feat: add servicemonitor additonal labels

what
Add additional Kubernetes labels to the ServiceMonitor as this is often required by the Prometheus operator to identify the Service and pod(s).
why
The current configuration does not support adding labels to the Service Monitor. To add these labels in the case of adding a label for the Prometheus Operator, kustomize can be used or maintaining a separate resource for ServiceMonitor which is unnecessarily complex.
tests
Helm templates with servicemonitor.enabled set to true with test additionalLabels
servicemonitor:
  # to enable a Prometheus servicemonitor, set enabled to true,
  #   and enable the metrics in this file's repoConfig
  #   by setting a value for metrics.prometheus.endpoint
  enabled: true
  interval: "30s"
  path: /metrics
  # Prometheus ServiceMonitor labels
  additionalLabels:
    test-label: test

---
# Source: atlantis/templates/servicemonitor.yaml
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: release-name-atlantis
  labels:
    app: atlantis
    chart: atlantis-4.21.0
    helm.sh/chart: atlantis-4.21.0
    release: release-name
    heritage: Helm
    test-label: test
spec:
  selector:
    matchLabels:
      app: atlantis
      chart: atlantis-4.21.0
      helm.sh/chart: atlantis-4.21.0
      release: release-name
      heritage: Helm
  namespaceSelector:
    matchNames:
     - default
  endpoints:
  - port: atlantis
    interval: 30s
    path: /metrics

references
https://github.com/runatlantis/helm-charts/issues/353 -> Link to a Issue :)

Thanks @cblaindnsf !


Update react-fela peer dependency react to support v17

Type: Bug

Packages
Version

react-fela
11.5.2

Description
The react-fela package only declares support for react v16, and not v17, in peer dependencies:
https://github.com/robinweser/fela/blob/1f360024e2109f55b531817f334d3da402003366/packages/react-fela/package.json#L34
Steps to reproduce
With npm v7+:

Run npm install react to install react v17.
Run npm install react-fela.

Expected Behavior
A successful npm installation.
Actual Behavior
npm install errors:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [redacted]@[redacted]
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-fela
npm ERR!   react-fela@"*" from the root project

It's not an option to downgrade either npm or react (v17 has been out for over 3 months). This is a lot of friction in the first few seconds of trying fela :(

Hmm, I've never ever seen issues with peerDependencies at all. It is new to npm? I only use Yarn so I'm not sure. All I get is a warning for unmet peers, but I can still use React 17 just fine. Anyways, will make it a wider range with the next update.

Handled in #857.


DXCDT-416: Add tests for updating universal login branding

🔧 Changes
Adds tests that exercise the auth0 ul show and auth0 ul update commands with the provided long hand flags. Also fixes some issues identified whilst writing these tests (will be pushed after PR has been opened)
The first test sets the expected values just incase they are not what is expected, these are also reset in the cleanup script.
📚 References
🔬 Testing
This PR mostly adds tests and the changed code is exercised by the added tests
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage has no change and project coverage change: +0.70 :tada:

Comparison is base (016b232) 56.23% compared to head (9db44e2) 56.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #692      +/-   ##
==========================================
+ Coverage   56.23%   56.93%   +0.70%
==========================================
  Files          89       89
  Lines       11506    11506
==========================================
+ Hits         6470     6551      +81
+ Misses       4595     4509      -86
- Partials      441      446       +5

see 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


The negative strength of objects in slice and splice

Is there an existing issue for this?

[X] I did not find any existing issues.

Current Behavior
During the use of an axe and scissors, their strength becomes negative, but they continue to function.

Meta:
'enderio:slice_and_splice' - slice and splice
Item.of('minecraft:shears') - shears
Item.of('minecraft:stone_axe') - stone axe
Expected Behavior
Items have to be brocken after reaching zero strength.
How to Test
No response
Local Environment
- **Operating System**: Windows
- **Java version**: -
- **Minecraft Version**: 1.20.1
- **Version**: 6.1.10
- **Other Mods**: -

Any Additional Information?
No response

Oops, thanks for reporting this!


Codespaces: Prebuilding codespaces for multi-repo and monorepo projects

Summary
Prebuilds enable fast codespace creation experience for large and/or complex projects by performing all the heavy-lifting tasks required to build your development environment beforehand. Think of a prebuild as a 'ready-to-go' template where your source code, editor extensions, project dependencies, commands, or configurations have already been downloaded, installed, and applied so that you don't have to wait for these tasks to finish in real-time every time you create a new Codespace.
With this work-item, teams will be able to take advantage of prebuilt codespaces for monorepos as well as for multi-repo/microservices where projects may require accessing additional resources (ex. repo, packages) while configuring a codespace.
Intended Outcome

For multi-repo or projects that require accessing additional resources to build a development environment, repository administrators can specify those permissions in the dev container configuration and the prebuild workflow will identify and respect those while creating a prebuild.
For monorepos, repository administrators can select a specific devcontainer configuration to be prebuilt based on a subset of the project that requires faster environment creation.

How will it work?
Multi-repo projects

For multi-repo projects, required permissions can be specified in the dev container configuration for that repository.

During prebuild configuration creation, if the selected devcontainer configuration for a branch includes requested permissions, the admin will be prompted to accept required permissions upon creation of the prebuild configuration

Monorepo projects

For monorepos, repository admins can select a specific devcontainer configuration within their repo to be prebuilt while creating a prebuild configuration:

Once the prebuild is ready, developers will be able to create prebuilt Codespaces by selecting the appropriate dev container configuration during creation.

🚢 This has shipped: https://github.blog/changelog/2022-07-28-prebuilding-codespaces-is-now-supported-for-multi-repository-and-monorepo-projects/.


Random Crashes in BOB

In vanilla, I sometimes play a long time tryna do some speedrun strats. But sometimes I crash randomly. it's only in the BOB-OMB battlefield cuz when I crash in SSL, it's due to the falling in the quicksand (Which is also another bug I have[And sometimes when I grab a ledge in the part where those blocks would usually be moving at, idk what its called]).

And i think someone (Probably Agent 11) banned me from the discord server, as he said i was "Racist". I cant join the server

You said the N word on November 3rd and your account was banned because of that.

You said the N word on November 3rd and your account was banned because of that.

Couldn't you atleast given me a warning first or like a 1d temp-mute? That was the first time i did something bad enough to get perma-muted. You gave no second chances. I feel like thats a tiny bit much for a starter mute.

You said the N word on November 3rd and your account was banned because of that.

Couldn't you atleast given me a warning first or like a 1d temp-mute? That was the first time i did something bad enough to get perma-muted. You gave no second chances. I feel like thats a tiny bit much for a starter mute. I get that word is bad, but did it have to be that much?

I'll consider unmuting you with the mod team

@PSIPowerhouse Alright, we've decided we'll give you a second chance, you're unmuted now.


EC/Compact/compress actions lead to lose files temperature.

For example, we read the file "/test/3.txt" three times. The fid of thi file is 17013.After I read this file three times, the count number and fid are inserted in the table. When ec/compact/compress actions are used, the file fid is changed. But the accessCount table still have the old fid about this file. So the temperature information of this file is lost in some way.

Same in the rule, the file "/test/2.txt" fid is 17010. The rule is "file:every 5s | path matches "/test/*" and accessCount(1hour) > 5 | ec -policy XOR-2-1-1024k". After I read this file six times, the count number and fid are inserted in the table. But the file fid is changed to 17015. The hot file page can‘t show the count and the temperature information of this file is lost.

EC/compact/compress related actions will create new files, so I suggest that the fid in these table should be updated after these actions.

Let me try to fix this issue.

Fixed by #2182.

Closing this issue, thanks @lipppppp for reporting this critical issue!


Updated start page created out of the template

This PR updates the start page created out of the template.
This is the previous page:

The new start page looks like this:

I'm not a graphic artist but I wanted to run the text by the team and get any opinions.

Kailan suggested adding margins. I like it, it looks like this now:

@chrispoole643 Thanks for suggestions, they make sense and I've incorporated them.


Show "implementations" code lens for TypeScript "virtual"/overridden methods

I find the "implementation" code lens feature very useful and I am looking forward to #136282.
Since TypeScript has no "virtual" keyword to explicitly state that a method can and should be overridden, it is not possible to know if a method is overridden in a derived class.
I have an abstract class A with the methods foo() and bar().
class B extends A and overrides foo().
class C extends A and does not override foo().
Looking at a parent class, I'd like to see if a method is overridden in a derived class and quickly navigate there.
The "implementation" code lens should basically display the result of "Find All Implementation" command.

Hi maintainers, I would like to work on this issue. Please let me know if I could pick this as a good first issue

@htho to be clear, this is the case where class A is abstract, but methods foo and bar aren't abstract. If class B extends A and overrides foo() with the overrides keyword it seems like you won't be able to see that implementation from the code lens in your foo definition in class A

@austinchen12 well, I expect this to work even if class A is not abstract.

@offensive-vk thanks for the recap?

[...] But TypeScript doesn't provide a direct tool or functionality to automatically identify method overrides like a code lens.

Just because I typically have to do something, it doesn't mean it can't be automated.
In fact I suggested a simple solution:

[...] The "implementation" code lens should basically display the result of "Find All Implementation" command.


Add default null value

Thanks for a great plugin!
Would love to see the possibility to set a default value for NULL values, i.e. to display a message when there is nothing to display in a textbox.

I feel like this would be better handled on the server side? Kip displays whatever it gets from the server. What is your specific use case?
Thanks

fyi, a PR for nmea0183-signalk RMC decoder was just merged which now returns NULL for empty values such as lat/lon/sog/cog/variation (instead of incorrectly returning a zero or -1).  It's a start as many of these sentences return zero or empty string for missing data instead of null as per the specification.
I was just looking into storing localtime on the server and some think that the server should hold only UTC and clients should do the calculation for localtime (or any tz eg. signalk/instrumentpanel).  Might localtime be added to KIP?  Under settings or units? (btw, great plugin, well done all around, thanks)

A new Date value Widget will be released in V2 allowing you to set timezone and date/time format. To be released soon! Have fun!


scrape: Optimize protobuf scrape parsing

Fixes https://github.com/prometheus/prometheus/issues/14668
Depends on https://github.com/prometheus/prometheus/pull/15720

prompb: Generate client proto using Opaque API, for parsing only.. This also removes all uses of gogo for both client_model and prompb generated Go code for Prometheus proto exp format.

Just OpaqueAPI (no lazy decoding, no string reuse) results.
benchstat -filter="/fmt:PromProto" scrape-loop-v1.txt scrape-loop-v2.txt
goos: darwin
goarch: arm64
pkg: github.com/prometheus/prometheus/scrape
cpu: Apple M1 Pro
                                 │ scrape-loop-v1.txt │         scrape-loop-v2.txt         │
                                 │       sec/op       │   sec/op     vs base               │
ScrapeLoopAppend/fmt=PromProto-2          54.48µ ± 8%   66.39µ ± 2%  +21.88% (p=0.002 n=6)

                                 │ scrape-loop-v1.txt │         scrape-loop-v2.txt          │
                                 │        B/op        │     B/op      vs base               │
ScrapeLoopAppend/fmt=PromProto-2         75.58Ki ± 1%   57.03Ki ± 3%  -24.55% (p=0.002 n=6)

                                 │ scrape-loop-v1.txt │         scrape-loop-v2.txt         │
                                 │     allocs/op      │  allocs/op   vs base               │
ScrapeLoopAppend/fmt=PromProto-2           810.0 ± 0%   1110.0 ± 0%  +37.04% (p=0.002 n=6)

Just OpaqueAPI (no lazy decoding, no string reuse) results.
benchstat -filter="/fmt:PromProto" scrape-loop-v1.txt scrape-loop-v3.txt
goos: darwin
goarch: arm64
pkg: github.com/prometheus/prometheus/scrape
cpu: Apple M1 Pro
                                 │ scrape-loop-v1.txt │         scrape-loop-v3.txt         │
                                 │       sec/op       │   sec/op     vs base               │
ScrapeLoopAppend/fmt=PromProto-2          54.48µ ± 8%   68.65µ ± 4%  +26.02% (p=0.002 n=6)

                                 │ scrape-loop-v1.txt │         scrape-loop-v3.txt          │
                                 │        B/op        │     B/op      vs base               │
ScrapeLoopAppend/fmt=PromProto-2         75.58Ki ± 1%   58.47Ki ± 3%  -22.64% (p=0.002 n=6)

                                 │ scrape-loop-v1.txt │         scrape-loop-v3.txt         │
                                 │     allocs/op      │  allocs/op   vs base               │
ScrapeLoopAppend/fmt=PromProto-2           810.0 ± 0%   1211.0 ± 0%  +49.51% (p=0.002 n=6)

Getting worse so far (:

Ok, I will proceed with the experiments further, but this path of hacking registries is dangerous and difficult. You pretty much have to have only one generated Go code for one proto file, even if some dependency vendors one. e.g. I can't pass custom registry to unmarshallers without changing globals. We got away with this in the past as we used both new proto API and gogo proto, each having separate registries. See https://protobuf.dev/reference/go/faq/#namespace-conflict
Generally all APIs will be opaque by default, so it's going to be fun for client_golang which returns client_model dto as an API cc @ArthurSens @kakkoyun
I think I will try similar approach but with a separate proto file in the next PR.


Production information are not stored between game saves/loads

Repro:

Start game
Load save
Pick up item
Check if it was added to this year's productions
Sleep (save)
Check if it was added to this year's productions
Exit save
Reload the same save
Check if item is still in this year's productions

Fixed in d76ba03


[jwt-cpp] port update to add version 0.5.1

Describe the pull request
Port update

Does your PR follow the maintainer guide?

I am still working on this PR

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

This is the greatest thing ever! It makes it so much easier to contribute now 🎉

The 'paraview' breaks due CI basline error,just wait CI error fixed.

/azp run

Thanks for the version update!

This broke the build because of an out of date hash value - #19837


certificate-acl is not working in v0.8.0 release candidate

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The IoT Agents aren't able to authorize the devices due to a problem in the certificate-acl service.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Just try to publish some data using the MQTT or HTTP protocol.

What is the expected behavior?
Authorized devices must be able to connect to dojot.

What is the motivation / use case for changing the behavior?
NA

Please tell us about your environment:

Version: 0.8.0 RC1

MQTT

mosquitto_pub -h localhost -p 8883 -t admin:c2a26c/attrs --cafile ca.crt --cert admin_c2a26c.crt --key admin_c2a26c.key -m '{"chuva": 12}'

persister_1                   | [27/05/22 - 16:54:41] |persister| INFO: Received data: {'metadata': {'tenant': 'admin', 'deviceid': 'c2a26c', 'timestamp':<PHONE_NUMBER>351}, 'attrs': {'chuva': 12}}

HTTP

curl -X POST https://localhost:8080/http-agent/v1/incoming-messages -H 'Content-Type: application/json' -H "Authorization: ${JWT}" -d '{"data":{"chuva":15}}'  --cacert ca.crt --cert admin_c2a26c.crt --key admin_c2a26c.key

http-agent_1                  | 2022-05-27T17:00:12.739Z -- http-agent:express -- debug: Incoming request: {"id":"4bfdc62c-70e9-4496-8b7c-ca545f381ca3"}
http-agent_1                  | 2022-05-27T17:00:12.742Z -- http-agent:Producer -- debug: Trying to send message to kafka topic admin.device-data...
http-agent_1                  | 2022-05-27T17:00:13.808Z -- http-agent:Producer -- debug: Successfully sent message to Kafka in admin.device-data
http-agent_1                  | 2022-05-27T17:00:13.809Z -- http-agent:Producer -- debug: Published message {"metadata":{"deviceid":"c2a26c","tenant":"admin","timestamp":1653670812742},"attrs":{"chuva":15}} to admin/device-data
http-agent_1                  | 2022-05-27T17:00:13.811Z -- http-agent:express -- debug: request has been finished: {"id":"4bfdc62c-70e9-4496-8b7c-ca545f381ca3"}
http-agent_1                  | 2022-05-27T17:00:13.812Z -- http-agent:express -- info: 4bfdc62c-70e9-4496-8b7c-ca545f381ca3 "HTTP/1.1 POST /http-agent/v1/incoming-messages" "204 -bytes 1073ms" "<IP_ADDRESS> - curl/7.58.0"

persister_1                   | [27/05/22 - 17:00:13] |persister| INFO: Received data: {'metadata': {'deviceid': 'c2a26c', 'tenant': 'admin', 'timestamp':<PHONE_NUMBER>742}, 'attrs': {'chuva': 15}}

history

curl -X GET "localhost:8000/history/device/c2a26c/history?attr=chuva&lastN=2" -H "Authorization: Bearer ${JWT}"  -H 'Content-Type:application/json' 2>/dev/null | jq
[
  {
    "attr": "chuva",
    "value": 15,
    "device_id": "c2a26c",
    "ts": "2022-05-27T17:00:12.742000Z",
    "metadata": {}
  },
  {
    "attr": "chuva",
    "value": 12,
    "device_id": "c2a26c",
    "ts": "2022-05-27T16:54:41.351000Z",
    "metadata": {}
  }
]


Update to be able to use v0.4.0 releases of serving and build

There are some significant changes for the latest release artifacts

build and serving are now completely decoupled and require aggregated ClusterRole configuration to "glue" them together

the build release artifact is renamed to build.yaml

make sure the uninstall deletes all resources that install creates - also see #1102

Fixed in #1106 and #1116


✅✅Improved Home page with new eco-friendly design🚀 -  #1063

This pull request is regarding the issue number : #1063
Closes #1063
Changes proposed
i improved whole home page with eco friendly theme   according new Figma design in react-js ,in which all products are hand made  then  according your requirements   i have made below changes in home page. And  also make it responsive for all devices.

Screenshots
Before Changes Home page looks like this :

After the Changes Home page looks like this :

Please merge this pull request

Hello @codervivek5 ,
please check out  this pull request.

Hello @codervivek5 ,
please check out this pull request.

Hello @codervivek5 ,
please check out this pull request.

@dhruv389 sorry for late responce.
you design is perfect but there is a little bit changes we planned for resigning this with other tech stack like React Js so if possible try to re-code it in react
you can check the folder structure I have added a folder front-with-react. you can get a sample code structure and start working on there
If you have any issue or query then feel free to ask me

Hello @codervivek5 ,
I Written whole Code in react js in  folder of  front-with-react.  , and i have also made Best  folder structure in  front-with-react and routes and many more in that folder , So just checkout my changes in front-with-react folder.
And Merge this Pull request.

You Can start new website in  react js  from  that folder . I have done all Set up whole  structure in front-with-react Folder.


upgrade <IP_ADDRESS> to <IP_ADDRESS>

how to upgrade?
there are known problems?

Hello @bazuka-joe ,
This is a major elasticsearch upgrade with a change in the internal lucene version. Your elasticsearch mappings may not be compatible. In case downtime it's not a problem, you should recreate all you indices manually.


Handle \n in graph string inputs to CausalModel

Hi! In the docs, it looks like I should be able to just import DOT or GML strings, but when I tried to do this, generating the strings from networkx graphs, it kept failing.
I found the way to resolve it buried in an example, namely the need to .replace("\n"," ") in the graph string before feeding it to CausalModel.
Would it not make more sense for CausalModel to do that replace itself, in its __init__,  instead?

Ah, that's a good point. Does networkx output a graph with \n by default?
In any way, it's good to handle this case in the CausalModel. Will be added to the next release.

#352 addressses this. Hope it works for you now.


ValueError: ~2.0.1 is not valid SemVer string

Is this module not up to the latest standard of semver?

I'm not aware of any test-set to check compatibility with latest standard.
Bug-teports and pull-requests are welcome!
18 вер. 2015 22:27 "Brian J. Murrell"<EMAIL_ADDRESS>пише:

Is this module not up to the latest standard of semver?
—
Reply to this email directly or view it on GitHub
https://github.com/k-bx/python-semver/issues/19.

Yeah.  I think the problem is that ~ is not actually part of semver but just part of npm's implementation.  Sorry for the noise.

No problem. I don't mind adding npm version tools if none exists and
someone will make a nice PR :)
18 вер. 2015 22:50 "Brian J. Murrell"<EMAIL_ADDRESS>пише:

Yeah. I think the problem is that ~ is not actually part of semver but
just part of npm's implementation. Sorry for the noise.
—
Reply to this email directly or view it on GitHub
https://github.com/k-bx/python-semver/issues/19#issuecomment-141550339.


No op named DecodeWav in defined operations.

Hi Naveen
First of all I like to thank you for uploading this nice set of example networks for keyword spotting. It is a great help and good starting point for many people like me.
I am a newbie to TensorFlow and while trying to load the models I get an error. Here is the code that I am using to load the model
import tensorflow as tf
from tensorflow.python.platform import gfile
with tf.Session() as sess:
    model_filename ='./Pretrained_models/DNN/DNN_S.pb'
    with gfile.FastGFile(model_filename, 'rb') as f:
        graph_def = tf.GraphDef()
        graph_def.ParseFromString(f.read())
        g_in = tf.import_graph_def(graph_def)

and here is the error
g_in = tf.import_graph_def(graph_def)
  File "/home/users/stageg4m/venv/pynn/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 285, in import_graph_def
    raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named DecodeWav in defined operations.

While searching for the solution online I found out that one of the reasons for this error can be the usage of a different versions for freezing and loading the models. If this is the reason can you please tell me the version of tensorflow you used for creating the models? If not can you please help me to solve this problem? I will be grateful.

@Shahnawax , it seems you are using an older version of tensorflow. Please use TF 1.4 for loading the trained models.

Dear Naveen, thank you for quick reply.
I tried tensorflow version 1.0.1, 1.4.0 and 1.4.1. With all versions I am getting the same error. :(

Hi @Shahnawax, it may be related to this: https://github.com/tensorflow/tensorflow/issues/12657. Also, can you try generating the .pb file on the same machine as you are testing it. (Training shouldn't take very long, ~1hr on a decent GPU).

Thanks @NanWang0024 .
Closing the issue as it is fixed in TF 1.5.

Thank you :)

@Shahnawax
In the quantization process, how to get the value of the quantization ranges -- act_max in quant_test.py .
how to set the specific value of the parameter act_max ( x 0 0 0 0 0 0 0 0 0 0 0 ) ?


Patch CACTUS AMC13 Makefiles to work on Debian/Ubuntu

The --as-needed linker flag (enabled by default on Ubuntu 18.04) breaks
compilation. Fix it by reordering -l flags.
Tested by doing the following:
$ rm -r thirdparty/cactus/amc13/
$ XDAQ_PLATFORM=x86_64 XDAQ_ROOT=$(readlink -f install/xdaq/x86_64/) make

Compilation succeeds.

Rebased, added asyncresolv patch, tested clean build.
Make commands used:
XDAQ_PLATFORM=x86_64 make # I'm afraid of setting XDAQ_ROOT when building xDAQ
XDAQ_PLATFORM=x86_64 XDAQ_ROOT=$(readlink -f install/xdaq/x86_64/) make

Ok, thank you for addressing my concerns.

XDAQ_PLATFORM=x86_64 make # I'm afraid of setting XDAQ_ROOT when building xDAQ
XDAQ_PLATFORM=x86_64 XDAQ_ROOT=$(readlink -f install/xdaq/x86_64/) make

You are right, setting XDAQ_ROOT during the build of xDAQ might failed the compilation.

Fixes #3.


Added SSO functionality

Added sso functionality to app. Contact me for any questions regarding code.

Please add all variables defined in capitals to .env
2 in auth.ts
1 in app.ts


Add contribution guidelines

Add documentation on how to write a code, what code to write and additional changes.

What does this library do: no dependencies. It does not test django/flask compatibility matrix.
Code should be covered with tests and documentation written for function as well as in docs/ if appropriate. If commit breaks test I would not merge.
If you want to improve, good way is to ask questions first and then submit pull request.
On your contribution add you name to AUTHORS list
Make commits flat. All of the fixes should be squashed and formed into clear release. Majority of this library's history it was not the case, changing now.

Could adopt one from Atom: https://github.com/atom/atom/blob/master/CONTRIBUTING.md

Extra info on contributing guidelines from GitHub: https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Done.


Missing packages

Affected Packages

@changesets/cli
Problem

Missing packages when running changeset add.
I'm in a pnpm workspace where I have packages under packages/ and libs/, but the packages inside libs/ aren't picked up by changsets.
Proposed solution
Changesets should either infer my package paths from pnpm-workspace.yaml or allow me configure this in the config.

IIRC this should already work OK - could you check what happens here in your case?

Thanks for the stear, it appears that I have a leftover workspaces key in my package.json that doesn't include libs/, this was causing getPackages to think I was using yarn workspaces, which I'm not. Removing the workspaces key in package.json fixes the issue.
I suppose (if anything) this is a bug with the heuristics in getPackages, not changesets. I'll raise an issue of there.


Query cache interface implementation for timeseries

cc @AdityaHegde

I've added caching for metrics view queries. It's complete. cc @AdityaHegde


cmd/compile: FuncForPC not returning correct function

package main

import (
	"reflect"
	"runtime"
)

func f(n int) int {
	return n % 2
}

func g(n int) int {
	return f(n)
}

func name(fn any) (res string) {
	return runtime.FuncForPC(uintptr(reflect.ValueOf(fn).Pointer())).Name()
}

func main() {
	println(name(f))
	println(name(g))
}

Prints
main.f
main.f

where it should print
main.f
main.g

This happens because the first instruction of g is an instruction inlined from f.
This came up recently because the scheduler change https://go-review.googlesource.com/c/go/+/270940 subtly changes the ordering, and line numbering, of assembly instructions at the start of functions.

FuncForPC is documented as "If pc represents multiple functions because of inlining, it returns the *Func describing the innermost function, but with an entry of the outermost function."
So if the PC of the first instruction is from an inlined function, returning the inner function seems reasonable?

Yes, it is reasonable. But people are using FuncForPC(reflect.ValueOf(fn).Addr()) to get from a function closure to the name of the function it implements. It's unfortunate, but that's what people are doing, and marking the first instruction as from an inlined callee makes that pattern not work.
I think we can make sure the first instruction is not from anything inlined. For most cases, it's easy - it is only leaf functions calling inlined leaf functions where it matters. All others have a prologue with the right function name. So we just need to do something for this particular case. The obvious choices are to either lie about the function name for the first instruction, or add a nop before the body labeled with the right function name.

Out of curiosity: what is the correct way to handle the result returned from FuncForPC in such inlining situations?

@thediveo You could use it for, e.g., a sampling profiler. Just take the result of FuncForPC and increment a counter somewhere based on the results.
I think the more relevant question here is, what is the correct way to handle the result returned from refelect.Pointer when passed a func type. Currently the answer to that is, "compare to 0" and not much else.

@randall77 I probably didn't pose my question well: I wasn't asking for what I would need this information, as I've used it several times in the past in my own projects, such as a simplistic plugin-manager that derives package names from the caller's PC. What I was trying to ask is: is there a way to correctly detect the situation brought up in this issue in existing code and to properly handle it as to not take the inlined code as source, but the function where the inline code was put at the beginning?

@thediveo  Not with FuncForPC. At least until/if this issue is fixed.
You can get the right answer, even in the presence of inlining, by using runtime.Callers + runtime.CallersFrames. It sounds like if you're using the caller's PC, that's the right strategy for you. And by that I mean, don't get the caller's PC some other way (runtime.Caller? Not sure how you're getting caller PCs) - it is provided implicitly in the result of runtime.Callers.
This issue is about getting the name of a function from a func that has not yet been called, which if I understand correctly is not your issue.


touch-dnd not working on Iphone

I uploaded the latest version of touch-dnd so as to remove a previous issue of it not working on Internet Explorer. It works perfectly on every desktop browser now including IE. But the new issue is that previously it used to work on Iphone devices, but after this switch to a newer version it has stopped working.

What version of IE was the script not working in? Any update on this. It seems iOS would be a much larger audience segment.


Select all / unselect all

Hello. Is there a way to make select all / unselect all options in MultiSelect on current API?

I would be interested in this! Something like what gh CLI supports:


"Șirna" is listed in the drop-down menu

The commune is  listed in the drop-down menu alongside its corresponding county, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Șirna"
Expected results
The location appears in the drop-down menu as "Comuna Șirna, PRAHOVA"


unexpected return (LocalJumpError)

With the latest I get:
.git/hooks/pre-commit:50:in `block in <main>': unexpected return (LocalJumpError)
	from .git/hooks/pre-commit:46:in `each'
	from .git/hooks/pre-commit:46:in `<main>'

This should hopefully be fixed now thanks to @bauruine


Build of custom tensorflow fail

The build of the custom tensorflow according to the README is failing because noignite is not defined in any .rc file if we remove --config=noignite from here then it will throw another error about nokafka, then removing --config=nokafka will make the build process to continue, however, I'm not sure if removing those config values is the best way to solve the problem.
Below is the full error from the build process.
cd tensorflow-c-17 && echo -e '\n' | TF_ENABLE_XLA=0 TF_NEED_CUDA=0 TF_SET_ANDROID_WORKSPACE=0 \
 TF_CONFIGURE_IOS=0 TF_NEED_OPENCL_SYCL=0 TF_DOWNLOAD_CLANG=0 \
 TF_NEED_ROCM=0 TF_NEED_MPI=0 ./configure
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.26.1 installed.
Please specify the location of python. [Default is /home/youben/anaconda3/envs/tfseal/bin/python]:

Found possible Python library paths:
  /home/youben/anaconda3/envs/tfseal/lib/python3.7/site-packages
Please input the desired Python library path to use.  Default is [/home/youben/anaconda3/envs/tfseal/lib/python3.7/site-packages]
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]:

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.
	--config=mkl         	# Build with MKL support.
	--config=monolithic  	# Config for mostly static monolithic build.
	--config=ngraph      	# Build with Intel nGraph support.
	--config=numa        	# Build with NUMA support.
	--config=dynamic_kernels	# (Experimental) Build kernels into separate shared objects.
	--config=v2          	# Build TensorFlow 2.x instead of 1.x.
Preconfigured Bazel build configs to DISABLE default on features:
	--config=noaws       	# Disable AWS S3 filesystem support.
	--config=nogcp       	# Disable GCP support.
	--config=nohdfs      	# Disable HDFS support.
	--config=nonccl      	# Disable NVIDIA NCCL support.
Configuration finished
cd tensorflow-c-17 && bazel build --config=opt --config=c++17 --config=noaws --config=nogcp \
	--config=nohdfs --config=noignite --config=nokafka --config=nonccl \
	//tensorflow/tools/pip_package:build_pip_package
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=150
INFO: Reading rc options for 'build' from /home/youben/git-repo/tf-seal/tensorflow-c-17/.bazelrc:
  'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone --strategy=Genrule=standalone -c opt --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --announce_rc --define=grpc_no_ares=true --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include
INFO: Reading rc options for 'build' from /home/youben/git-repo/tf-seal/tensorflow-c-17/.tf_configure.bazelrc:
  'build' options: --action_env PYTHON_BIN_PATH=/home/youben/anaconda3/envs/tfseal/bin/python --action_env PYTHON_LIB_PATH=/home/youben/anaconda3/envs/tfseal/lib/python3.7/site-packages --python_path=/home/youben/anaconda3/envs/tfseal/bin/python --action_env TF_CONFIGURE_IOS=0
INFO: Found applicable config definition build:opt in file /home/youben/git-repo/tf-seal/tensorflow-c-17/.tf_configure.bazelrc: --copt=-march=native --copt=-Wno-sign-compare --host_copt=-march=native --define with_default_optimizations=true
INFO: Found applicable config definition build:c++17 in file /home/youben/git-repo/tf-seal/tensorflow-c-17/.bazelrc: --cxxopt=-std=c++17
INFO: Found applicable config definition build:noaws in file /home/youben/git-repo/tf-seal/tensorflow-c-17/.bazelrc: --define=no_aws_support=true
INFO: Found applicable config definition build:nogcp in file /home/youben/git-repo/tf-seal/tensorflow-c-17/.bazelrc: --define=no_gcp_support=true
INFO: Found applicable config definition build:nohdfs in file /home/youben/git-repo/tf-seal/tensorflow-c-17/.bazelrc: --define=no_hdfs_support=true
ERROR: Config value noignite is not defined in any .rc file
make: *** [Makefile:52: tensorflow] Error 2

What operating system is this on?

$ uname -a
Linux ym 4.19.79-1-MANJARO #1 SMP PREEMPT Fri Oct 11 19:57:09 UTC 2019 x86_64 GNU/Linux

Interesting they must've just removed those options at some point. We can probably just remove them from the script.


Prevent user to set a event with last then a hour of duration

Because of the way we construct the grid, if we get less the 1 hour for a event, the hour titles will not be displayed.

Hello @jrogatis , can I contribute with this issue=

Yes! @ksn0w Any contribution will be appreciated! Please, just take your time to read the contribution guide! And welcome aboard!

Ok, I will send my PR ASAP! thanks @jrogatis


Unable to remove active customizations when only 1 is listed

Hi ! Thank's for this really useful tool :-)
As I use it more and more, I am very annoyed by the following malfunction when I use the "Remove Active Customizations" button:

It is impossible to remove the active customizations when only one item is listed.
When I select all the elements that have active customizations and click "Remove Active Customizations", there is always one remaining element that has not had the layer removed.

Thx in advance, best regards.

Hi @JMG74.
Thanks for these comments, I was able to reproduce all issues, and I will try to work on them in the coming week 🙌

Hi aboodh95, do you have any news concerning this bug ?

Hi @JMG74, finally, the issue has been resolved 🥳🥳🥳, please install the latest update

Hi aboodh95.
I confirm that I'm now able to delete the last element in the list 🥳🥳🥳
Many thanks !! and all the best.


Create multiple masters, only one can be queried through “kubectl get no”

K3s Version: v1.18.8+k3s1 (6b595318)
Node(s) CPU architecture, OS, and Version:
Linux test-k3s-master-1 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Via curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -s-server
--datastore-endpoint="mysql://root:123@tcp(ip:3307)/k3s" command created two services,
But kubectl get no sees only one master。
For example, there are two servers A\B, first execute curl -sfL on server A http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -s-server
--datastore-endpoint="mysql://root:123@tcp(ip:3307)/k3s" then execute it again on server B, wait for A\B to succeed, execute kubectl get no to view,
There is only one master, which is the A server。
Who joins first shows who the master is。
The virtual machine I built (centos7) will not have this situation.
Please help to see if the server configuration is wrong, is there a way to track logs

Can you confirm that both nodes have unique hostnames? You can get the logs from journalctl:
journalctl -u k3s --no-pager

The second server to join the cluster, through the journalctl -f -u k3s --no-pager query has been outputting the information in the figure, this server kubectl get no has been able to display the first server node information

What do you get from hostname -f on both nodes? Can both nodes reach each other on port 6443?

The picture shows that there are two servers, and they can be connected, and the host names are also different

There are a lot of errors and warnings here but it's hard to tell what's going on with just small screenshots of the logs. Can you upload the full k3s logs from each server?

I know the reason. The server has two network cards: private network and public network. The public network security group does not open port 6443. After configuring the parameter "appeal address", it will work normally. Thank you.


Active cases trend line

I would like to see active cases trend line

Why "Cases" chart does not have a line for "Active cases" with daily values?

Can add this in, shouldn't be a problem, sorry have been so slow with updates, but I will try to get to it. If someone wants to take the initiative it would be appreciated.

There is an option to generate the number of potentially infective people.
As I was interested on regions, I estimated it from cumulative estimates. But you can use also daily positives.
There is clever to add also an selectable option for different infectivity periods. I made it for 10 and 14 days.
There you see that Harjumaa has constant level, others improve or have recovered from infectivity
koroona_14p_haiged.xlsx
koroona_10p_haiged.xlsx

Hi @m6tlik I actually thought about doing it the same way, but we decided against it ultimately. If we were to do this, we should use the ResultTime variable instead of StatisticsDate from TEHIK, but there is an issue also that this 14 day period is from when symptoms start rather than when the test is confirmed. There is still quite many unknowns and while it may provide a good estimation, we didn't feel comfortable putting it up at the moment. Though this may change in the future if new data is available or we can find some scientific papers backing up active case estimation.

Hi,
Epidemic is based on noisy data anyway, and one has to deal with the data available (not having information is even worse, as in present in many discussions). Measurement error as the infection-time vs positive-test-time are correlated proxies, the best what one can ever get. The current relaxation discussion is about, whether the status is dangerous or not, but presently available graphics do not help. The probability of infectivity would be the best, however, this has too many unknown parameters. The # of potentially still infective or being-sick persons from their positive-test date is good-enough proxy. To make sure that users of the graph would not stick to precise input data, therefore there is need for this extra selection of day 5, 10, 14, 20. Then every body can take its own decision based on available literature, and also test for the sensitivity/quality.issues of the estimate.

We have now added in a rough estimate to the site. It pretty much works as you wrote, just take todays date and remove all cases that occured fourteen days before it. It is a rough estimate, but since Postimees also put it up and that was signed off on some of the scientists advising gov we decided to put it up as well.

Great! Apologies, I had a formula error in these files anyway - two ideas in one (as there were source options). Could you consider to produce the same prediction figure per county (after cumulative version), as then one can see that in present moment, Tallinn and Pärnu and Tartu are problematic ones, other improved or in progress.

We have added in now also an estimate for daily county active cases.

Thanks! There is to think about now ;)


I was running my tests in Chromium version 39.0.2171.65 Ubuntu 14.04 64-bit. Everything was served from localhost (by simple express server) over HTTP, except Chai which was served from CDN. I had same symptoms. Accessing Chai via HTTP or HTTPS made no difference. Downloading it and serving from localhost server fixed the problem.

Perhaps that applies differently to http://localhost and file://.

I'm not an expert, but it seems that sometimes browsers treat two files loaded via file: scheme as having different origin. For Firefox it's discussed here: Same-origin policy for file: URIs. There's also this StackOverflow answer which quotes HTML5 spec, but provided link is broken, so I'm not sure if it's up to date.
@nilbus It's very easy to serve local files with ad hoc server though. Check out this Big list of http static server one-liners. That might be the easiest workaround for you.


No names for people without names

Should probably fall back to something, otherwise the list looks weird: https://view.matrix.org/room/!zxWLnBMJtBomyQlnRV:tang.ents.ca/members?page=1 (see bottom or page 2)

Yeah the table layout is temporary, I can see it in the future being Display Name if one with a subtext of the MXID, or just MXID if no Display Name


change executable names to popping-dikr and popping-dikr-settings

بسم الله الرحمن الرحيم
for better intregration with packages it is better to change the binary names to something more specefic

fixed by pull #23


Zero Address returned after account deployment

In permissionless 0.2.x,
await smartAccount.getAddress() returns a zero address after the smart account is deployed.
This happens for Biconomy and Trust Smart Accounts.
Source code: https://github.com/shahbaz17/w3a-aa-gasless-demo
Hosted Link: https://w3a-aa-gasless-demo.vercel.app/

Biconomy is now fixed. Thanks for that.
@plusminushalf The trust smart account is still not fixed.