wrong time on chart component

Introduction
There is a gap in the time in SQLITE, and "chart" component ( True as TIME ).
To Reproduce
List of steps to reproduce the behavior. Include the sql file you are using and the eventual relevant parts of your database schema
select
dt                      as date
FROM balance
ORDER BY balance.dt DESC LIMIT 1;
-- RETURN
-- 2024-05-20 08:26:49

others component works  (timeline component) :
select
    'timeline' as component,
    TRUE       as simple;
select
    'Last Update at ' as title,
    dt                      as date
FROM balance
ORDER BY balance.dt DESC LIMIT 1;

Actual behavior
chart component display wrong time :
select
    'chart'             as component,
    'Balance History' as title,
    'area'              as type,
    'indigo'            as color,
    5                   as marker,
    TRUE                as time;

select
    dt as x,
    balance                     as y
FROM balance
ORDER BY balance.dt DESC LIMIT 60;

Expected behavior
The time displayed by "chart" component should be the same as SQLITE and others components.
Version information

OS: NixOS
Database :  SQLite
SQLPage Version : 0.20.5

Additional context
Local Time: GMT +1 (Paris) + Summer.
more
Thanks for this amazing tool!

Bonjour,
You need ISO datetimes who are parsed and displayed in a readable format.
I use this expression : strftime('%Y-%m-%dT%H:%M:%fZ',date_created) as x
select
    'chart' as component,
    'Historique du solde' as title,
    'area'  as type,
    'red'   as color,
    1 as marker,
    TRUE as time,
    1000 as ymax;
select
    strftime('%Y-%m-%dT%H:%M:%fZ',date_created) as x,
    printf("%.2f",(SUM(prix) OVER(order by date_created))) as y
    FROM finances;

Thanks, this hack works!

But the documentation should be updated if not internally fixed in sqlpage it self.

Re,
C'est dans la documentation de SQLPage comme suggéré avec l'exemple 1.

Mais cela nécessite quelques connaissances dépassant SQLpage pour s'adapter  le cas échéant au format des données de sa base. Cela pourrait être rappelé avec un autre exemple.

Hello @guiguid, and welcome to SQLPage !
Out of curiosity: what is the application you are building ?
The provided datetime string does not have timezone information, and SQLPage interprets it as a local datetime, but displays it as UTC on the x axis by default. I do agree that this behavior is surprising and should be changed.
The default behavior should be to display the data in the user's local timezone when no timezone info is provided. I will change that for the next version of SQLPage.
However, if I may give a piece of unsolicited advice: you probably should not store local datetime strings without timezone information in your database. Such strings are inherently ambiguous. You may want to store either a datetime string with timezone information (such as 2024-05-20 08:26:49+02:00), or a much more concise unix timestamp (unixepoch(),<PHONE_NUMBER>)

Hi @lovasoa ,
I write a little web frontend for a mining wallet.
remote host <-> ssh <-> periodic nuShell scripts for data processing (in and out) <-> SQLITE DB <-> SQLPage as Gui frontend.
As all my users are ( for now) in the same TZ, I basically store datetime in local time in SQLITE db (Yes, KISS for now...)
CREATE TABLE balance (
    dt DATE DEFAULT (datetime('now','localtime')),
    ....

Thanks

The behavior of SQLPage concerning x axes in time series plots was changed.
You can have a look at the next (unreleased) version in lovasoa/sqlpage:main on docker.

Your app sounds cool! Do you have a link? Have you written about it?

Not now. It's a private usage only, but I could write something about, that's a good idea.

I would love to read about it. And if you have pain points while learning SQLPage, I'm very interested in that too, I'm currently trying to simplify and clarify the website and documentation.

I've point some unclear things:

How to draw a multilines charts (the purpose of "series" is un clear for me , and I have not found examples.
Is it possible to add a "cron" feature in order to execute a .sql at given time or delay? (Perhaps in the file stored inside the DB with an additional column ?)
make  file stored inside the DB compatible with sqlar native format. It makes easy to store sql file in db with no extra cost. Thanks SQLite ! ( just rename sqlpage_files to sqlar, and add 2 columns) . So update sql file in main SQLite DB will be as easy as : sqlite3 sqlpage/sslpage.db -Au *.sql
May I have to open issue for each items above ?


Revert "dpkg-divert" and change PATH instead

Reverting and changing #131 which was the fix for #129.  Also fix some spaces to tabs like the rest of the file.
Fix #133, fix #134.

FWIW, these images already have /usr/local/bin in their PATHs before /usr/bin. debian:jessie, buildpack-deps:jessie and buildpackdeps-wheezy all have a (very standard) PATH of /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin. But I guess you're wanting to make that explicit...

@JayH5 indeed, the point is to be 100% explicit to ensure that by default, python resolves to what we've created/added no matter what happens :+1:
LGTM

Would it make sense to add automated tests for this issue? Python is one of the most popular images: an issue like this has a fairly large impact.

@darabos, that sounds like a great idea. Do you have an idea of what would be the best indicator?  Maybe just test that /usr/bin/python --version is Python 2.7.9?  I am not sure what we are trying to test for so I am unsure where the test needs to fail.
We do have tests that we run from travis that are also part of accepting it into official-images for building and pushing to the hub: https://github.com/docker-library/official-images/tree/master/test.

Sorry, I'm just a clueless user with no deep understanding of the issue. We just experienced that apt-get install -y openjdk-7-jre was failing.
Thanks for the link, I never knew about those tests! It looks like debian-apt-get/container.sh already tests apt-get install with a toy package. Would it be crazy to test with a more substantial package, like openjdk-7-jre?
Just testing /usr/bin/python --version like you propose would definitely be faster and more reliable. :+1:


Initial Trinity Implementation

STUB

@gsalgado I want to go ahead and merge this into master and continue work from there.  Everything in here was reviewed at some point, but I think another pass would be good before it gets merged.

Going to merge and then clean up individual things in smaller subsequent pull requests.  This Pr is too big.


Specify a requirement for customize support

We need to have a standardized way to make user-defined objects 🐳 (layers, models, optimizers...) to cover many possible use-case.
Requirements
1. ini(serialization) support 🌲
:whale: should be able to be loaded from an ini description.

This means that nntrainer should know about type=my_custom_layer before calling loadFromConfig.

eg)
[custom_layer]
type=my_custom_layer
custom_prop1=value1
custom_prop2=value2

2. runtime support 🌴
:whale: should be able to be loaded runtime with create*.  with callback api?
just like databuffer from callback?
Possible approaches
Inject a library before running
How it is done[nntrainer side]

Read a config file that has path of all subplugin
Register it to LD before start(??)

How it is done[user side]

User creates a library, register the path of .so in the nntrainer config..
nntrainer read the library.

Evaluation

It is fairly complicated.
Regarding 🌴,  🐳 has to inherit the api. Api has enum which can't be touched by user.
So it can only be done like..

layer = ml::train::createLayer(ml::train::LayerType::LAYER_CUSTOM,
                                                 {"custom_layer_type="my_custom_layer",
                                                  "..."})

or
[my_layer]
type=custom
custom_layer_type=my_custom_layer

Thinking that the layer we provide can be viewed as also a custom layer, we will have a separate interface for user-defined layer and our layer..
Provide an api to register a class on runtime
How it is done[nntrainer side]

prepare a register :whale: set of api
or arguably there is no need for an api set... but removing enum type is enough but in this case, 🌲 can be a problem

How it is done[user side]

User creates 🐳 inheriting API, inside user's application code,
User register it to NNtrainer.

class CustomLayer : public Layer {

};
int main() {
  NNTrainer nntr = new NNTrainer();
  nntr.register_layer(CustomLayer);
}

or
class CustomLayer: public Layer {
};

int main() {

  std::unique_ptr<Layer> layer = std::make_unique<CustomLayer>();
  model.addLayer(layer);
}

Evaluation

Is this approach possible to incorporate with capi? (It might not be needed though...)

:octocat: cibot: Thank you for posting issue #673. The person in charge will reply soon.

Sharing the decision made through offline discussion

Decouple Typebased enum from interface and use type name as string in the api
Custom Object is registered through *.so with or through global application context manager

[ ] getGlobalContext
[ ] allow user to create a new context  as well (later...)

Add a sample library to find out if it is working fine

Closing this as specification is done, implementation issues are handled in #716

Closing this as specification is done, implementation issues are handled in #716


Heartbeats being missed in clustered RabbitMQ

Not sure if clustering has anything to do with this, but Daphne stops being able to receive messages at some point.  If I bump all the services and the applications things seem to run fine for a while, but at some point I start receiving "Error trying to receive messages:"
And see this in the log along with the stacktrace:
Closing channel (320): 'Too Many Missed Heartbeats, No reply in 120 seconds' on <LayerChannel number=1 OPEN conn=<LayerConnection OPEN socket=('<IP_ADDRESS>', 60362)->('<IP_ADDRESS>', 5672) params=>>
Closing channel (320): 'Too Many Missed Heartbeats, No reply in 120 seconds' on <LayerChannel number=2 OPEN conn=<LayerConnection OPEN socket=('<IP_ADDRESS>', 60362)->('<IP_ADDRESS>', 5672) params=>>
Closing connection (320): Too Many Missed Heartbeats, No reply in 120 seconds
Connection.close is waiting for 2 channels to close: <LayerConnection CLOSING socket=('<IP_ADDRESS>', 60362)->('<IP_ADDRESS>', 5672) params=>
Disconnected from RabbitMQ at conversions-web0:5672 (320): Too Many Missed Heartbeats, No reply in 120 seconds
Error trying to receive messages:
Traceback (most recent call last):
File "manage.py", line 26, in
execute_from_command_line(sys.argv)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/django/core/management/init.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/channels/management/commands/runworker.py", line 83, in handle
worker.run()
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/channels/worker.py", line 184, in run
super(WorkerGroup, self).run()
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/channels/worker.py", line 87, in run
channel, content = self.channel_layer.receive_many(channels, block=True)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/asgiref/base_layer.py", line 43, in receive_many
return self.receive(channels, block)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/asgi_rabbitmq/core.py", line 822, in receive
return future.result()
File "/opt/python3.4/lib/python3.4/concurrent/futures/_base.py", line 402, in result
return self.__get_result()
File "/opt/python3.4/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
pika.exceptions.ConnectionClosed
Exception in thread Thread-2:
Traceback (most recent call last):
File "/opt/python3.4/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/opt/python3.4/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/channels/worker.py", line 87, in run
channel, content = self.channel_layer.receive_many(channels, block=True)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/asgiref/base_layer.py", line 43, in receive_many
return self.receive(channels, block)
File "/opt/application/releases/r105.34.20586.887/env/lib/python3.4/site-packages/asgi_rabbitmq/core.py", line 822, in receive
return future.result()
File "/opt/python3.4/lib/python3.4/concurrent/futures/_base.py", line 402, in result
return self.__get_result()
File "/opt/python3.4/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
pika.exceptions.ConnectionClosed

Duplicate of https://github.com/proofit404/asgi_rabbitmq/issues/17


components.parameters.region.schema.enum does not contain 'en' which is the default value in openapi3 spec

components.parameters.region.schema.enum does not contain 'en' which is the default value
located in the openapi3 spec
/dist/google-maps-platform-openapi3.json
Seems I can't link directly to the file for ease of use, because Github thinks the file is too big.
Should be around line 28303-28558

Thanks for catching this! I'll get a fix out right away. Do you mind sharing how you are using the Open API spec or the various outputs that lead you to this bug? Thanks again!

Ran it against https://github.com/ferdikoomen/openapi-typescript-codegen
it tried to do region = 'en' but 'en' was an invalid input

Got it. Any other issues with codegen? I'm looking to eventually generate and publish some libraries from this.

But.... I actually had to fix a bug in the repo, since their version couldn't handle the ~1 for path argument in references... so see https://github.com/ferdikoomen/openapi-typescript-codegen/issues/824 for my hack/fix

I could add a dereferenced (resolve all $ref) spec if that seems to be an issue with codegens.

Could do. I personally think the codegens should be able to deal with the spec correctly.. I've found others which can..
The only issue is that the naming of the endpoints were really bad.. Like.. REALLY bad.. after it got spit out of the codegen.
End endpoints ended up being like
getPlacesApiService()
getPlacesApiService1()
getPlacesApiService2()
getPlacesApiService3()
getPlacesApiService4()

instead of something useful like
getPlacesTextSearch()
getPlacesDetails()

etc etc
I am unsure if that is an issue with the openapi-typescript-codegen or the spec file though. I would have to check that particular issue with other tools and see what they spit out..
Since you correctly tagged similar apis such as places/roads/streetview.. I know it handles our own api correctly, but I have not done a side by side to know 'how' these codegens decide the names of the functions

Seems I could improve that with operationId although the fallback in the could also be improved. https://github.com/ferdikoomen/openapi-typescript-codegen/blob/830b317d0a0f6aaa97dba43818ce6d1ccc109be2/src/openApi/v3/parser/getOperation.ts#L22-L23

It would seem you hit it perfectly..
our API has "operationId": "Card_CardAccessAdvisorByRole", and the function does seem to indicate this is what it would output if you remove non alphanumerics and run a run camelcase on it would result in cardCardAccessAdvisorByUser
the cardCard in our codebase is a little undesirable, but nothing to cry too much about...
Good spot with getOperation


error pages added, error handling in progress

plz don't break project.
merge these two branches and see changes.

Tread carefully. Make a local copy of your version, then merge this plz.


support for MINUS

could you add support for "minus " -> "- "?

Thanks for pointing this out. I will look into this ASAP.

Thanks for pointing this out. I will look into this ASAP.


bug: block buttons should not be full width

They should look like they are in a content with padding w/o adding padding to content

Don't block buttons already have the desired behavior, to expand to the entire width of their parent container? Like full buttons except with borders.

According to @bensperry block buttons should never touch the side of the container even if there is no padding on the container.

@brandyscarney how much margin are we looking for on each side?

@jgw96 I haven't discussed this with Ben yet but I'll let you know when I have more info! :smile:

16px

Putting this on hold to discuss with @adamdbradley tomorrow.

@adamdbradley and I agree that this should stay the same as v1 which took up the entire width. So this is working as intended!

Thanks for the update. Sounds like the right call!


the Right Way to extend getTableNamesAsync ?

as a non-developer - what's the right approach to extend getTableNamesAsync to treat it as config instead of code?
It seems like updating it in src/Provisioner.js gets the job done - but will make merging in upstream changes painful through the lifetime of support.
If there's a config oriented mechanism for extending this i'd love to hear about it and see some examples of it.   exploring forks of the project mostly seems to point to just changing the code in Provisioner.js is the common solution (for branches based off something like the current version, anyway)

There's no real single right way, you could modify the code direct or store the config in a db or in a separate .js file.  I totally agree with your points but I don't have a better solution currently.


Period selector displays '1 Hour' for every selection

Regression at c56caaa
Changing period using period selector successfully sets the chart's period, but the selector itself always displays '1 Hour'. Expected the selector to show the updated period when '5 minutes' or '1 minute' is selected.

Ok great - I hadn't seen selectedProduct.


Migration Problems: ExposeProxy interactions with Vue2 VueRouter

Version
3.1.4
Reproduction link
https://tinyurl.com/4hewu2k6
Steps to reproduce

Open the SFC Playground link
Read the content in rendered app in the SFC playground.
Click the button to see that it breaks
Consider removing the 'expose()' call in parent and retriggering the button.

What is expected?
The Vue2 router to work during the migration process, which it does for the most part. ExposeProxy runs amuck on the VueRouter.
What is actually happening?
The ExposeProxy (correctly) prevents internal information from being exposed, but the Vue2 based VueRouter depends on this functionality to properly function, so parent components using ExposeProxy will break the VueRouter during migration.

This is not a functionality bug in Vue2 nor Vue3. This is exclusively a behavior "problem" visible when migrating Vue2 code to Vue3. I'm surfacing this because it bit me pretty hard when suddenly after upgrading a library from Vue2 to Vue3 (that was rewritten to use the composition api   expose) portions of my App's component tree no longer had access to the VueRouter (which was still on the Vue2 based VueRouter).

I would suggest not using expose (which isn't even a merged RFC yet) before you migrate to Vue Router 3. This is unfortuanately a wontfix.

To be clear, this issue is not opened with the hope that something will be fixed. It is opened to help explain this functionality problem for other users that are upgrading.
Technically, something like https://github.com/vuejs/vue-next/pull/4055 could be placed behind a __COMPAT__ flag + warning to indicate what is happening while preventing weird errors from cropping up.

As a note, this was originally noticed in focus-trap-vue after it started using expose({ ... }) to expose some methods since it was returning a render function from the setup function.
The workaround to handle this (at least for now while the userbase is migrating) involves exposing a renderImpl function publicly along with the methods we actually wanted to reveal via the object returned by setup
https://github.com/posva/focus-trap-vue/pull/376
This work around works to not break users, but it isn't fantastic.


Add target source repo info as first-class task/job metadata

In the OneFuzz data model, jobs and tasks are not necessarily linked to source code repositories. This can/must always be added using the general metadata tagging mechanism, or encoded in the project/name/build job metadata.
In practice, real jobs and tasks are always associated with source code in version control. Data we might want to support tracking in as a first-class part of our job data model:

Repo name and/or ID
Repo URI
Branch name
Commit hash

We need a broader discussion about extending the job data model.


Test Issue created at Mon, 07 Jun 2021 08:42:23 GMT

Test issue body  Mon, 07 Jun 2021 08:42:23 GMT

Comment on issue at Mon, 07 Jun 2021 08:42:25 GMT


chore(pkg,docs): use a working mirror for archlinux arm64.

What type of PR is this?
/kind cleanup
/kind documentation
Any specific area of the project related to this PR?
/area pkg
/area docs
What this PR does / why we need it:
See https://github.com/falcosecurity/kernel-crawler/pull/196.
Also, updated builders documentation after recent changes.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold
The mirror went down right after i opened the kernel-crawler + this PR :/ https://github.com/falcosecurity/kernel-crawler/actions/runs/8566017164/job/23475016449

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/unhold
the mirror is back up!
/cc @LucaGuerra

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


/block endpoint returning incorrect related operations

There are 2 issues I am seeing with the /block response using the latest release. These 2 issues were not seen from the previous release.

the related_operations field is populated incorrectly. The 2 send operations are supposed to be related, and the fee operation is not related to the send operation

the transaction_identifier.hsh is inconsistent with block explorer. Not sure which one is correct and which is not. /block endpoint shows bafy2bzaceazqvy2eudmkvch4noyzqdj55k65phxsstbemitzisw7diqqjw324 whereas block explorer shows bafy2bzaceasogrhjxosqmdjyp6lcfhiu2eg24twfszhmvrslg7hesc3ozkrmi.

curl --location --request POST 'http://<IP_ADDRESS>:8080/block' \
--header 'Content-Type: application/json' \
--data-raw '{
    "network_identifier": {
        "blockchain": "Filecoin",
        "network": "ignition"
    },
    "block_identifier": {
        "index": 106233
    }
}'

Current response
{
    "block": {
        "block_identifier": {
            "index": 106233,
            "hash": "0171a0e402209c6327544e2b193538e769282609d06393a5e4b4c7de5565af47cfc9c813ee25"
        },
        "parent_block_identifier": {
            "index": 106232,
            "hash": "0171a0e40220b77b44510e74a9e01522f41fae400d8b9ba2ec1b05ff55f5d67c6900490b1c93"
        },
        "timestamp":<PHONE_NUMBER>000,
        "transactions": [
            {
                "transaction_identifier": {
                    "hash": "bafy2bzaceazqvy2eudmkvch4noyzqdj55k65phxsstbemitzisw7diqqjw324"
                },
                "operations": [
                    {
                        "operation_identifier": {
                            "index": 0
                        },
                        "type": "Send",
                        "status": "Ok",
                        "account": {
                            "address": "t1zdqprv6ryul3md3xiqpsczpui7xmqwjztvhirsy"
                        },
                        "amount": {
                            "value": "-10000000000000000",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 1
                        },
                        "type": "Send",
                        "status": "Ok",
                        "account": {
                            "address": "t1u232mkcpzm2souuvx6s7unlvi2vrt6satkf6ssi"
                        },
                        "amount": {
                            "value": "10000000000000000",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 2
                        },
                        "related_operations": [
                            {
                                "index": 1
                            }
                        ],
                        "type": "Fee",
                        "status": "Ok",
                        "account": {
                            "address": "t1zdqprv6ryul3md3xiqpsczpui7xmqwjztvhirsy"
                        },
                        "amount": {
                            "value": "-434268",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    }
                ]
            },
            ...
        ],
        "metadata": {
            "blockCIDs": [
                "bafy2bzacedcabkf4eoxcusla6eqah45t6nl2xvkxgcg2lyazobibpkaw5r2hu",
                "bafy2bzacebkwu2eewwqk2fk5okzkyumhgihlosjblmbgq4rof2tzcrtbu6isy",
                "bafy2bzacebvzxcfjlxmeqjtlwvphzzpy2gxto4dedc5bkemubff4rxowhu5ca",
                "bafy2bzaced7wtjq3v5e676bu6yny2d652pvh3tyopx66kzmsp766yzqisxgmk",
                "bafy2bzaceaujxcsty5qeiclapea2eo6pw2hkb5mog4bcm23tuzt2pydgsx5ki"
            ]
        }
    }
}

Correct response
...
"transactions": [
            {
                "transaction_identifier": {
                    "hash": "bafy2bzaceazqvy2eudmkvch4noyzqdj55k65phxsstbemitzisw7diqqjw324"
                },
                "operations": [
                    {
                        "operation_identifier": {
                            "index": 0
                        },
                        "type": "Send",
                        "status": "Ok",
                        "account": {
                            "address": "t1zdqprv6ryul3md3xiqpsczpui7xmqwjztvhirsy"
                        },
                        "amount": {
                            "value": "-10000000000000000",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 1
                        },
                        // This is related to the other Send Operation
                        "related_operations": [
                            {
                                "index": 0
                            }
                        ],
                        "type": "Send",
                        "status": "Ok",
                        "account": {
                            "address": "t1u232mkcpzm2souuvx6s7unlvi2vrt6satkf6ssi"
                        },
                        "amount": {
                            "value": "10000000000000000",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 2
                        },
                        "type": "Fee",
                        "status": "Ok",
                        "account": {
                            "address": "t1zdqprv6ryul3md3xiqpsczpui7xmqwjztvhirsy"
                        },
                        "amount": {
                            "value": "-434268",
                            "currency": {
                                "symbol": "FIL",
                                "decimals": 18
                            }
                        }
                    }
                ]
            },
...

@jleni can we reopen this? The second issue I reported is not resolved.

the transaction_identifier.hsh is inconsistent with block explorer. Not sure which one is correct and which is not. /block endpoint shows bafy2bzaceazqvy2eudmkvch4noyzqdj55k65phxsstbemitzisw7diqqjw324 whereas block explorer shows bafy2bzaceasogrhjxosqmdjyp6lcfhiu2eg24twfszhmvrslg7hesc3ozkrmi.

Done. I opened an issue specific for this investigation. We will document the problem


Suggestion: remove the default parameter of ShufflerIterDataPipe

IIUC, the default parameter of ShufflerIterDataPipe is intended to allow users to disable shuffling and potentially re-enable it manually later.
This seems to be supported already through the set_shuffle_setting(False) method, namely:
dp = ShufflerIterDataPipe(dp, default=False)

# is equivalent to

dp = ShufflerIterDataPipe(dp)
dp.set_shuffle_setting(False)

So I would suggest to remove the default parameter so as to simplify the interface of ShufflerIterDataPipe, as its use-case is already natively supported in a simple way. Going further, perhaps we could also let set_shuffle_setting return self, so that one can just do the following one-liner:
dp = ShufflerIterDataPipe(dp).set_shuffle_setting(False)

Happy to submit a PR for this if you're OK with the proposal.
CC @pmeier with whom I just discussed this offline.
EDIT: another suggestion from Philip:

Maybe also rename to set_shuffle since the settings part sounds like I'm able to set multiple things

Sounds great to me. Eliminating this argument would also help us unify the API with TorchArrow's shuffle.

Maybe also rename to set_shuffle since the settings part sounds like I'm able to set multiple things

Great.
And, for DataLoader, we still need to modify the default argument to None to prevent overriding if users don't provide such shuffle argument.

I think the docstring is also slightly out of date. We should update those as well.

Thanks for the feedback, I opened https://github.com/pytorch/pytorch/pull/74370

Closed with pytorch/pytorch#74370.


Dir.create should have recursive=TRUE option when it's called in get_bbs_data()

I'm using R 4.1.1 and the most recent version of bbsAssistant as of 10/09/2021 in Windows 10. The get_bbs_data function kept failing every time I called it with the following code:
devtools::install_github("trashbirdecology/bbsAssistant", ref="main", force=TRUE)
library(bbsAssistant)
sb_id = "5ea04e9a82cefae35a129d65"
data2 = get_bbs_data(sb_id)

Resulting in:
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Failed to open file C:\Dev\Classes\Spatial Ecology\HW2\data-raw\5ea04e9a82cefae35a129d65\50-StopData.zip.
Digging into things a little bit more, it was simply because it was failing to create the directory to dump the data into (the default behavior is to create a 'data-raw' folder, then a folder based on the sb_id inside of that, but by default dir.create() cannot create directories recursively in this manner).
The error message came a bit later because suppressWarnings() wrapped up the actual point of failure:
# Create sb_dir -----------------------------------------------------------
suppressWarnings(dir.create(sb_dir)) # create directory for data associated with the sb item (sb_id) if it does not already exist.

This fixed it for me:
dir.create(sb_dir, recursive=TRUE)

@brendanwallison , I am so sorry for some reason my notifications were turned off for this repository and I have missed....quite a few.

I've ameliorated this in the most recent 50-stop-data branch update.
This will, hopefully, be pulled into the main branch by the weekend.


RANGER-3231 Ranger should use kafka Authorizer from KIP-504

issue: https://issues.apache.org/jira/browse/RANGER-3231

Link #133


New command: aad user license remove

Usage
m365 aad user license remove [options]
Description
Removes a license from a user
Options

Option
Description

--userId [userId]
The ID of the user. Specify either userId or userName but not both.

--userName [userName]
User principal name of the user. Specify either userId or userName but not both.

--id <id>
A comma separated list of IDs that specify the licenses to remove.

--confirm
Don't prompt for confirmation.

Examples
Remove specific licenses from a specific user by UPN
m365 user license remove --userName<EMAIL_ADDRESS>--id "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"

Remove specific licenses from a specific user by ID
m365 user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --id "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"

Default properties
No response
Additional Info
API docs: https://learn.microsoft.com/en-us/graph/api/user-assignlicense?view=graph-rest-1.0&tabs=http

I'd say: let's make the option name singular, eg id. Just as with the options in this command where multiple values can be added..

@martinlingstuyl I'm not quite sure about the singular naming convention. If an option name is singular, I wouldn't expect that the option input can receive multiple values. spo group member add may use the singular form for the option names but that isn't the case for all our commands. I even think more commands make use of the plural form. e.g. teams chat message send, planner task add, spo listitem list

Maybe we should check per command what would be the most logical. It kind of depends on the command I guess.
spo listitem list --fields ""
I'd say in this case plural is the correct way, as you'd typically want to refer to multiple fields.
spo group member add --userName ""
In this case I'd say singular is the correct choice. You'd typically want to add one (or more) users.
teams chat message send --userEmails ""
This one is doubtful. I'd say it would make slightly more sense if singular would have been used here.
planner task add --assignedToUserIds "" --assignedToUserNames ""
Same here, what happens more often, that you assign a task to a single person or to multiple people? Normally you'd assign a task to one person, so it would have been more logical if the options where singular.
aad user license add/remove --id ""
For this one I'd say singular is the more logical choice. as you're typically adding/removing one license for a user. Adding/Removing multiple licenses in one go is a road less traveled.

Tbh I would also put it in plural if it accepts multiple values. Why? Now I have to specifically check the documentation to know that I can specify multiple values for 1 option.
So for example spo listitem list --fields I can immediately see that I can specify multiple values.
However when the command would use spo listitem list --field, I'd expect that I can only specify 1 field value unless I check the docs.

If we check this per command, it would become too messy I think. In one command we would have an option name in plural form and in the other command it would be in singular form but also accept multiple values.

Tbh I would also put it in plural if it accepts multiple values. Why? Now I have to specifically check the documentation to know that I can specify multiple values for 1 option.

I agree with this reasoning. If an option name is in plural, users will note at a glance that it accepts multiple values.

OK, I see your point as well.
Any other opinions on this @pnp/cli-for-microsoft-365-maintainers?

+1 for using plural for --ids to make it explicitly obvious that it accepts one or more values.

Can I work on this one? 🤩

Sure!


Add support for MSG_DONTROUTE

From Kernel Documentation:

MSG_DONTROUTE: set when the received frame was created on the local host.

Addressed in this commit: https://github.com/derek-will/SocketCANSharp/commit/e48c685fa7e52878c8ccb3b451aa0cc401c6ffa5


Make it possible to 'completely' launch the scheduler from terminal

In case of crashes, automatic windows updates and so on, it would be nice to be able to create an automation that relaunches the scheduler using environment variables for the connection string and encryption key, maybe something like:
python -m OpenOrchestrator -s "%ConnectionString%" "%EncryptionKey%" -run
It would also be nice to have the same for the orchestrator, but not necessary at all.

Great idea. I had considered opening the exact same issue.

Connection string and encryption key can already be set via the environment. We could add an autorun function


[ZCO-350] Test issue for checking Linear connection

Test issue for checking Linear connection #3
From SyncLinear.com | ZCO-350

moo


Live Share: Error List doesn't display errors or warnings in VS client

Environment

Steps to Reproduce
1.Create a Python Application.
2.Open Live Share, make connection between host and client.
3.Write some problematic code in VS clien
4.Check green wave-underline is expected under problematic code
5.Check the errors and warnings should display in the Error List Window
Expected behavior
Green wave-underline is under problematic code and the errors and warnings should display in the Error List Window in VS client
Actual behavior

Additional context and screenshots
The Error List Window works well in VS Host

This issue is also being tracked here: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1743214, so close it as duplicate.


Song repetition overrides skipping

Describe the bug
When skipping a song that is on "single"-repeat, it plays the song again.
To Reproduce
Steps to reproduce the behavior:

Play song
Set to repeat the song

Skip to the next (or previous) song

Expected behavior
The next (or previous) song should play.
System Information:

OS: Windows 10
Affected App Version: =<0.8.1-alpha

Oh my bad.
I thought it should repeat the same song even if you try to skip that song.


Implemented Fixed length random generator

Implements #245
As well as few improvements :

Removed duplicate testCaseTokens for efficiency
Every occurrence of a RANDOM.NUMBER will be
replaced with a unique number

Tests are yet to be added. Looking for suggestion/improvements.

@santhoshTpixler looks good mate
Cheers for picking up the PR 👍
@authorjapps @santhoshTpixler suggest that this PR and PR #273 be merged at the same time as they both benefit from the updated Wiki pages.

@authorjapps @santhoshTpixler suggest that this PR and PR #273 be merged at the same time as they both benefit from the updated Wiki pages.

Thanks. Understood.

PR looks good.
Added some very minor cosmetic comments, if you could take care please @santhoshTpixler .
Sorry again for the late replies as we all were occupied a bit with other jobs.

This branch has conflicts that must be resolved
Use the web editor or the  to resolve conflicts.
Conflicting files
core/src/test/java/org/jsmart/zerocode/core/utils/TokenUtilsTest.java

When you get chance please @santhoshTpixler .
Also, Can you take care of these minor comments?

I have made minor changes. There could be some formatting changes. I am not sure of the code style #280. So kindly take care of it.


Tips

Adds some light tips in the using ngrok with section for things like node, python, flask, django, and wordpress

Hi @avb-is-me . Closing this because we're going with more granular updates.


Make klone more atomic

Don't remove full destination directory at start of sync, instead update the destination in place.

The following issues should be solved with this PR:

when running klone sync files are removed momentarily even when the destination is up-to-date
when running klone sync the git diff explodes for a couple of seconds, causing vscode slow down

/approve


TinyMCE causes Text on Cards to become HTML code

Looks like this might be relevant.
https://stackoverflow.com/questions/27934238/rendering-raw-html-with-reactjs
Seems like you have to dangerouslySetInnerHTML to get it to render raw HTML. Looking into replacing the code with this since this is all from a trusted source.


Benchmarks?

How fast is the layout compared to XML layout inflation? Can you do some benchmarks to show the improvements?
Thanks!

https://cloud.githubusercontent.com/assets/5869863/14607128/f77fa9b4-0588-11e6-9fcc-4884ad6d709a.png
Source: https://nethergrim.github.io/performance/2016/04/16/anko.html

It's not exactly what the library is but probably similar.

The benchmark result should be the same.

Maybe a little bit better, because im caching converted pixels from dps.


Profile Shop tab still there

I also don't see this on my profile page

I just tried to block everything in the class before this ad. It currently work, i hope it will still when new ad banner come out (it should), For now im gonna close this issue


Rename FirestoreErrorCode to just Error

Note: the Swift changes I mentioned were due to an error on my part.


Make shim paths relative

Shim paths are now relative when created, and scoop-which was modified to work within this as well.
/cc #427

I am not sure it is related but would it be possible to allow manifests with relative paths to sources? Right now, if I am not mistaken, only full paths are supported.
Use case: I have some local tools with known locations and all I want is to install and uninstall them easily with scoop. It would be nice if I can keep a scoop manifest together with a tool archive (hence a relative path is needed).


Postgres Integration Test is Flaky

I want to rework this test into separate test cases. Have a look at the rstest crate and the #[fixture] macro

Im just going to bump this to wait for 2 seconds to try and curv any flakiness as we are not able to wait for the required log line twice and the container seems to restart on boot


Datafreetracker

Description
https://github.com/ietf-tools/datatracker/labels/enhancement

Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

If any one see any points of not suppose to .let me know


docs: add missing closing tag in combobox docs

Noticed there was a missing  in the docs while copy pasting it over.

@dca123 This was fixed in https://github.com/shadcn-ui/ui/pull/4301. Thank you.


Is there a headless client?

I am trying to test connection from a headless machine, without browser. Is there any way to run a test by console, and get stats like average upload/download speed and ping printed?

https://github.com/openspeedtest/Speed-Test/issues/83 Not yet. Planning to write a client in C/C++/Rust in near future. Now I am busy with few other jobs.

Thanks for your reply!

Is this still on the plan?

@Brandonza Unfortunately, yes. However, I have started working on a new version, which should be ready soon. That said, I can't commit to a specific timeframe because I'm working on this part-time, and I want to ensure everything is done right, which requires extensive testing. The current web version is functioning well in the meantime.


[BEAM-11809] Support COVAR_SAMP function in Beam ZetaSQL

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

hi @sonam-vend ! is ths ready to be reviewed? thanks for your contribution!

Hi @pabloem, this task is done but blocked by BEAM-11808. We can merge it once BEAM-11808 is resolved.

BEAM-11808 is still unresolved. I will close this PR for now - we can always reopen it if progress is made on that issue.


[View] Make a request form

This is implemented. See #30 for feature review and links to any additional work.


Errors with syncing Besu Client

Problem description

Hello, I get this error while syncing the besu client Error: no container with name or ID "b0ba2ca39ade........." found: no such container
And sometimes the max peer count command that doesn't work
Unknown option: '--Xp2p-peer-lower-bound=25'
For NiceNode developers Unknown option: '--Xp2p-peer-lower-bound=25'
Platform:  win32
PlatformRelease:  10.0.22631
Distro:  Microsoft Windows 11 Home
Release:  10.0.22631
Arch:  x64
TotalMemory:<PHONE_NUMBER>0
PodmanVersion:  5.2.1
NiceNodeVersion:  6.4.0-alpha

@qwert123677 Thank you for reporting this! I just pushed a fix for this. You just need to Stop Besu, Check for Updates, and Install the update to fix this.


Need help in understanding error

Hello, this is not an actual bug per say, but I need help in understanding this error I get from using the csv-lookup plugin
Description of the Error
I'm trying to get the TDP of azure instances using the CSVLookup plugin. This error is thrown:
error:     Error happened while parsing given CSV file: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
InputValidationError: One or more of the given query parameters are not found in the target CSV file column headers.
Expected Behaviour
Instance class is taken, the value is looked up upon in the CSV and the corresponding TDP should be returned.
Actual Behaviour
Error states that query parameters (only the "instance-class" column in the CSV) is not found in the CSV file.
Here is the link to the CSV: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
Steps to Reproduce
Run the IF normally with a manifest similar to the one below
Manifest File That Generated the Error
I can't provide the entire manifest file, but here is the "initialize" part
initialize:
  plugins:
    cloud-metadata:
      method: CSVLookup
      path: builtin
      global-config:
        filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
        query:
          instance-class: cloud/instance-type
        output:
        - cpu-tdp
        - cpu/thermal-design-power
    teads-curve:
      method: TeadsCurve
      path: '@grnsft/if-unofficial-plugins'
    e-mem:
      method: EMem
      path: '@grnsft/if-plugins'
      global-config:
        energy-per-gb: 0.000392
    sci-e:
      method: SciE
      path: '@grnsft/if-plugins'
    sci-m:
      method: SciM
      path: '@grnsft/if-plugins'
    sci-o:
      method: SciO
      path: '@grnsft/if-plugins'
  outputs:
  - yaml

And here are the instance-classes of my inputs:
Standard_B2as_v2
Standard_B2ms
Standard_D2s_v3
Standard_B1s
Standard_DS2_v2

They were all present in the instance-class column of the azure instances CSV.
Runtime Info
package.json:
{   "dependencies": {     "@grnsft/if": "0.5.0",     "ts-node": "10.9.1",     "luxon": "3.4.4"   } }

Missed a line the last time I corrected the dataset: https://github.com/Green-Software-Foundation/if-data/pull/2

@adamhafiz427  Did you solve it?

Looks like you are querying using two column names: cpu-tdp and cpu-thermal-design-power. Only the first one is present in the target csv file. Maybe you are actually trying to grab the former and rename it to the latter in the manifest file?
Check the docs here for instructions for how to configure this correctly:
https://github.com/Green-Software-Foundation/if/blob/main/src/if-run/builtins/csv-lookup/README.md

Yes, I'm trying to grab and rename the cpu-tdp column as cpu/thermal-design-power as in this example:
The plugin also supports data renaming. This means you can grab data from a named column but push it into your manifest file data under another name, for example, maybe we want to grab data from the `processor-name` column int he target csv and add it to the manifest file data as `processor-id` because this is the name expected by some other plugin in your piepline. You can do this by passing comma separated values in arrays.

```yaml
output:
  ["processor-name": "processor-id"]

but my IDE formats it into a list form like in my manifest. I don't think this is the problem as when I put a fake column name, the error thrown is different:

Error happened while parsing given CSV file: https://raw.githubusercontent.com/adamhafiz427/if-data/main/cloud-metdata-azure-instances.csv
InputValidationError: There is no column with name: fake-column-name.

I'm think my problem comes from certain azure instance classes not being available in the dataset, such as Standard_E64-16ds_v5 from constrained vCPU sizes

ah I see, yes I think you are right. We'd love for the dataset to get updated - it's unlikely to get addressed in the next few weeks to be honest as we have lots of higher priority tasks, but I'll happily make an issue for it and maybe someone from the community will pick it up in the meantime.

Yes that would be great! In the PR you merged into the data repo I have added the entries of some instance families, I will continue to update with the data that I need in the meantime

Closing as complete - thanks @adamhafiz427


max_token limit is not followed when using chain

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
import os
from langchain_core.prompts import PromptTemplate, ChatPromptTemplate
from langchain_nvidia_ai_endpoints import ChatNVIDIA, NVIDIAEmbeddings
from langchain_core.output_parsers import StrOutputParser

os.environ["NVIDIA_API_KEY"] = "nvapi-*"

prompt_template = "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Please ensure that your responses are positive in nature."
llm = ChatNVIDIA(model="mixtral_8x7b", max_tokens=32)
pt = PromptTemplate.from_template(prompt_template)
chain = pt | llm | StrOutputParser()
resp = chain.stream({"context_str": "", "query_str": "What is nvlink"})
count = sum(1 for _ in (print(chunk) for chunk in resp))
print("Token count:", count)

Error Message and Stack Trace (if applicable)
No response
Description
I am using ChatNvidia to build a chain. I have specified max_tokens to 32 and trying to generate response. But number of tokens generated are more than that. In above example it's around 78, even though max_tokens limit is already set.
Point to note is when I simply create object of ChatNvidia and invoke it works as expected.
llm = ChatNVIDIA(model="mixtral_8x7b", max_tokens=32)
llm.invoke("Hi")

System Info
Version details are added below
$ pip3 freeze | grep langchain
langchain==0.0.352
langchain-community==0.0.7
langchain-core==0.1.3
langchain-nvidia-ai-endpoints==0.0.1
langchain-nvidia-trt==0.0.1rc0

I am using ubuntu 22.04

i can reproduce this with langchain-nvidia-ai-endpoints==0.0.1, token count of 50
i cannot reproduce this with langchain-nvidia-ai-endpoints==0.0.6
@pranjaldoshi96 will you confirm this is fixed?

Thanks.. yes it seems to be resolved with latest version.


#[UIC-1380]: Show timestamp column with formatter in table

UIC-1380
CATEGORY
Choose one

[ ] Bug Fix
[x] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Currently in tableViz no provision to show time column with formatter. To support this feature, We have to add custom column in table with name "show_timestamp" to show timestamp with formatter.
Note-:
I found, we forcefully deleting this column from df. we don't know the purpose behind not showing __timestamp column in tableViz. I have asked this question on superset channel. After getting appropriate answer from them, we will take next action accordingly.
       fd = self.form_data
       if (
               not self.should_be_timeseries() and
               df is not None and
               DTTM_ALIAS in df
       ):
           del df[DTTM_ALIAS]```

### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
NA

### TEST PLAN
NA

### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Changes UI
- [ ] Requires DB Migration.
- [ ] Confirm DB Migration upgrade and downgrade tested.
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API

### REVIEWERS
@bipinsoniguavus

table.js was not using that's why i delete it. we can refer this PR to refer old table.js code. But keeping again in branch.

Can we quickly copy button render code. It has similar formatter implementation?
If that is not feasible we need to create bug.
Also any native components changes has to be automated. Weneed to collate all this for automation

Please create the defect

As per my view, this is not bug. This is the behaviour of tableViz. We will convert task to defect after getting response from superset community.


[BUG] Fix: resolve issue with HTTP headers may lost some cookies

Motivation
I use a custom ClientMiddleware to inject cookie for some APIs, but I found the final Request always lost some cookies.
https://github.com/apple/swift-http-types/blob/e6359663d11a5c7d2340ac81f2e025d5c5fb0e14/Sources/HTTPTypes/HTTPFields.swift#L190
The reason is that there may be more than one cookie in the HTTPRequest's headerFields. Before setting them to the URLRequest, you must join them together. Otherwise, only the last cookie will be effective due to simple overwriting.
Modifications
Check header.name before setting it to the URLRequest
Result
All cookies now work well.
Test Plan
Not yet.

@anotheren let's close this and use #51, thanks for pushing for this fix! 👏


Error "Connection not allowed by ruleset" with sock5 proxy

sudo pip freeze | grep -iE 'sock|req'
PySocks==1.6.8
requests==2.18.4
requests-oauthlib==0.6.2
requests-toolbelt==0.8.0

python zbxtg.py "99-999" "ololo" "{{OK}} ololo" --group
Traceback (most recent call last):
File "zbxtg.py", line 890, in
main()
File "zbxtg.py", line 802, in main
tg.send_message(uid, zbxtg_body_text)
File "zbxtg.py", line 90, in send_message
answer = requests.post(url, params=params, proxies=self.proxies)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: SOCKSHTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot${API_KEY}/sendMessage?text=ololo+%E2%9C%85+ololo%0A--group&disable_notification=False&chat_id=${Private_chat_id}%0A&disable_web_page_preview=False (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f4739a11510>: Failed to establish a new connection: 0x02: Connection not allowed by ruleset',))

curl -sL --socks5-hostname cc.bb.aa:9999 --proxy-user uuu:pppp https://api.telegram.org | wc -l
431

curl -sL --socks5-hostname cc.bb.aa:9999 --proxy-user uuu:pppp https://api.telegram.org/bot${API_KEY}/getupdates
{"ok":true,"result":[]}

curl -sL --socks5 cc.bb.aa:9999 --proxy-user uuu:pppp https://api.telegram.org/bot${API_KEY}/getupdates | wc
  0       0       0

-- coding: utf-8 --
tg_key = "${API_KEY}"  # telegram bot api key
zbx_tg_prefix = "zbxtg"  # variable for separating text from script info
zbx_tg_tmp_dir = "/var/tmp/" + zbx_tg_prefix  # directory for saving caches, uids, cookies, etc.
zbx_tg_signature = False
zbx_tg_update_messages = True
zbx_tg_matches = {
"problem": "PROBLEM: ",
"ok": "OK: "
}
zbx_server = "http://<IP_ADDRESS>/zabbix/"  # zabbix server full url
zbx_api_user = "TelEm"
zbx_api_pass = "password"
zbx_api_verify = False #True  # True - do not ignore self signed certificates, False - ignore
#zbx_api_verify = True  # True - do not ignore self signed certificates, False - ignore
zbx_basic_auth = False
zbx_basic_auth_user = "TelEm"
zbx_basic_auth_pass = "password"
proxy_to_zbx = None
proxy_to_tg = "socks5://uu:ppp@cc.bb.aa:9999"
proxy_to_zbx = "http://proxy.local:3128"
proxy_to_tg = "https://proxy.local:3128"
proxy_to_tg = "socks5://user1:password2@hostname:port" # socks5 with username and password
proxy_to_tg = "socks5://hostname:port" # socks5 without username and password
google_maps_api_key = None  # get your key, see https://developers.google.com/maps/documentation/geocoding/intro
zbx_tg_daemon_enabled = False
zbx_tg_daemon_wl_ids = [-999999999, ]
zbx_tg_daemon_wl_u = ["99-999", ]
zbx_db_host = "localhost"
zbx_db_database = "zabbix"
zbx_db_user = "zbxtg"
zbx_db_password = "zbxtg"
emoji_map = {
"OK": "✅",
"PROBLEM": "❗",
"info": "ℹ",
"WARNING": "⚠",
"DISASTER": "❌",
"bomb": "💣",
"fire": "🔥",
"hankey": "💩",
}

@rustavy "Connection not allowed by ruleset" shows that your proxy server doesn't allow you to use it for such domain

Strangely, the curl claims the opposite and the telegram too

@rustavy I don't know what is uuu ppp and cc bb aa, so it's not the bot problem, and it's better to find out what is wrong with your proxy by yourself

I think it's not related to script or python, something strange with proxy, nothing to fix


mangling: take the constness of function parameters into mangling

Taking the constness of parameters into mangling allows us to support overloads of
functions vary on the constness of specific parameters.
rdar://87954644

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@eeckstein code review feedbacks addressed.

lgtm, thanks!


About-like pages with nested structure

It's more Hugo related stuff, but maybe you could advice me how to achieve it in the simpler way with Hugo and ZZO.
Currently I have the content/training.md page (with a type about) which is accessible as /training/. It is fine. However, ultimately, I would like to have /training/ as the base page for training and some subpages with specific programs: /training/program1/, /training/program2/. Therefore, it would be best to put there into content/training/program1.md, content/training/program2.md, ... with content/training/index.md serving as /training/. The page type could be about, but it could be also the new one training with the partial taken after about. However, currently, other elements, expect for index.md, are not visible (not generated at all).
What would be the easiest to bring it to life? What else would be needed to configure to play it nicely with the ZZO theme?

thats due to difference of _index.md and index.md, so do training/_index.md, training/program1.md

Maybe, I do not fully understand what you mean.
The about page is designed to use single page.

If you want to add more files using type=about, you need to add  list.html file in layouts/about/list.html
But I didn't make list.html file so that happened.
Do you have a specific UI design(about page listing) in mind?

thats due to difference of _index.md and index.md, so do training/_index.md, training/program1.md

Thanks @rgr19. It worked. It started to use default list.html which would be nice to list all of programs, etc (in the similar way to talks). However, in my case, I would like to just simplify where to put those files and have nice links. However, it give me a conception, extended by zzossig...

If you want to add more files using type=about, you need to add list.html file in layouts/about/list.html

Yes, having a dedicated list.html for about pages allows me to decide what to display on the main training page. Having the same content of list.html as about.html is sufficient for me. I still have nice "about page", sublink and I can manually (with ref) link to those subdocuments from the main page. Currently, I don't see a need to create a dedicated page type training for that. Thanks.


Unrecoverable error if peer[0] is unavailable

Expected behaviour would be to gracefully roll over to another peer, but app throws an unhandled error event.
debug: [fcw] Querying Channel Stats:
info: [Chain.js]:  Primary peer was not set, using %s grpc.primary_user_agent=grpc-node/1.2.0, _url=grpcs://peer-us-east-2a.example.com:7051, addr=peer-us-east-2a.example.com:7051, , , _name=null, _roles=[]
info: Fetching block height...
debug: [fcw] Querying Channel Stats:
info: [Chain.js]:  Primary peer was not set, using %s grpc.primary_user_agent=grpc-node/1.2.0, _url=grpcs://peer-us-east-2a.example.com:7051, addr=peer-us-east-2a.example.com:7051, , , _name=null, _roles=[]
events.js:160
>>>>> Peer manually terminated here <<<<<
      throw er; // Unhandled 'error' event
      ^

Error: Endpoint read failed
    at ClientDuplexStream._emitStatusIfDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:201:19)
    at ClientDuplexStream._readsDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:169:8)
    at readCallback (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:242:12)

Also if orderer[0] becomes unavailable, the app does not crash, but it does not attempt to connect to orderer[1].
debug: [fcw] Successfully obtained transaction endorsement
error: [Orderer.js]: sendBroadcast - on error: "Error: Connect Failed\n    at ClientDuplexStream._emitStatusIfDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:201:19)\n    at ClientDuplexStream._readsDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:169:8)\n    at readCallback (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:229:12)"
error: [fcw] Error in invoke catch block object Error: SERVICE_UNAVAILABLE
    at ClientDuplexStream.<anonymous> (/var/hyperledger/marbles/node_modules/fabric-client/lib/Orderer.js:117:21)
    at emitOne (events.js:96:13)
    at ClientDuplexStream.emit (events.js:188:7)
    at ClientDuplexStream._emitStatusIfDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:204:12)
    at ClientDuplexStream._readsDone (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:169:8)
    at readCallback (/var/hyperledger/marbles/node_modules/grpc/src/node/src/client.js:229:12)
error: [fcw] could not format error

Yes, this is a known limitation.  I should be able to enhance this in the coming weeks.

last week I've finally added changes that will retry on multiple peers for querys/invokes.  This also works for CAs during enrollment.  There is a high_availability.js file that performs the actual switching of peers/CAs.
An example of it in use is during invoke


A few Exciting Announcements

A couple updates and announcements:
It seems like there's been a spike in interest, so hello to all you new people! Most discussion takes place on the Discord server (https://discord.gg/XQfxBcHnJj), so drop by there if you want to say hello!
Now, on to the big news:
Towards a Production-Ready Compiler
There has been a lot of interest around Passerine recently. The compiler currently in use, and the D compiler, have proven that the language is easy to compile and readily maps to existing architectures. (here's a toy self-hosting version of Passerine in about 600 lines of Passerine).
Despite this, he current architecture of the Rust Passerine compiler is not flexible to support generalized features, like an effect system and a better VM, without a lot of additional work. For this reason, we're rewriting the Passerine compiler, from start to end, with support for these systems in mind. Because the compiler isn't that large, this shouldn't be that big of an undertaking, and gives us a fresh start.
Get Involved!
If you would like to be responsible for a portion of this new pipeline, send a message to let me know. Whatever your experience with Rust or compiler engineering may be, I'd happy to get you up to speed. (And if you are experienced, please help get us up to speed!) This compiler will be developed until it matches feature-parity with the existing compiler, after which it will replace the existing compiler, being licensed under the same permissive MIT terms. Here are the people who are already involved:

@slightknack (myself): Design of the type system and compiler middle end, as well as general organization and aspen.
@Plecra: Design of the new generalized token-based macro scheme and compile-time evaluation.
@ShawSumma: Implementation of backends, namely C, Wasm, and minivm. Shaw is also working on the D compiler.
You?

We're still looking for people to:

Help write language servers and syntax highlighters to improve editor integration.
Implement additional backends, like LLVM IR and so on.
Write a standard library for Passerine and extend the language core.
Improve the website and documentation, including writing a Rust-style The Book based on the existing README.

If you have experience in any of these areas and would like to pitch in, reply to this thread. Now, onto the topic meetings:
Consistent Monthly Meetings
We currently have weekly meetings on Discord in the discussion channel, whose contents are documented in the vrtbl/meta repository. (This repository will be updated soon, it's slightly out of date.) These meetings are usually inconsistent and unplanned though, and not many people can make them.
To make meetings more accessible while still allowing more structure, Weekly Meetings are moving to be Monthly Meetings, and will have more structure. This is not to diminish the pace of development, it's to improve it. More specifically, we'll start by reviewing the changes made to the compiler that month, have an optional speaker, then have a normal discussion as per usual: more information to come.
Of course the discussion channel will still be open to discussion any time. I'm hoping that by spacing out meetings some more, more people will be able to attend. If you would like to present on a project you've been working on at the next weekly meeting, please send a message to let me know.
Sponsorship
Some people (@Kethku :P #54) have expressed interest in sponsoring the development of Passerine. We're still working out what sponsorship will look like, but it will a viable option if you're looking to speed up the development of the language in the future. Cool beans!
Random last thing
If you write a toy project that uses Passerine, please put it up on GitHub! If we reach 200 repositories, Passerine will be an official language on GitHub, which would pretty neat!
Thank you!
I would like to thank everyone who has been involved in the development of the language thus far. Everything, from discussing traits and effect systems, to rolling up your sleeves and slinging some code, is immensely helpful: I really appreciate it. Thank you!
(By the way — If you have made a contribution to Passerine, please feel free to open a PR adding yourself to the README.)

I'm sure you're aware, but I saw the project through https://lobste.rs/ where its currently top link. Cool stuff

I was wondering why there was a spike in interest, thanks for pointing that out! I'd like to respond to some of the questions there, but it seems I'd need an invitation to be able to reply 🤔

I sent you an invite! Be nice, cause I can get kicked if you do :P

Thanks for the invite, I appreciate it! I'll be sure to play nice :P
On Thu, Jul 29, 2021 at 10:28 AM Keith Simmons @.***>
wrote:

I sent you an invite! Be nice, cause I can get kicked if you do :P
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/vrtbl/passerine/issues/56#issuecomment-888914252, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANCIUGSLEHGWORLLVGICC3DT2EGMRANCNFSM5BF432XQ
.


Vectorized inputs for Protocol and Options panels

In most cases all protocol inputs are either a single vector, or they build up a matrix where each entry holds a single value that makes sense for a certain pair.
If an entry is meaningful as a vector, such as image resolution res = [.5 .5 .5], then I don't think there is a way to combine this with other single value entries (TE [1x1], imRes [1X3], FieldStrength [1x1]). A work around is to give a separate label per each vector element such as res1 res2 and res3. This is still OK for Protocol panel.
Same goes for the Options panel. If not a button or dropdown, each option attains a single inputbox for a single entry. In the presence of multiple vector-form entries, all these inputboxes are top-bottom aligned and the panel gets quite crowded. It would be still elegant if there was a way to align them next to each other instead of bottom-top alignment. Is there ?

You can add tables in the option part. See mppca denoise model (in PR).
Also, you can have multiples protocols. Example:
Prot.Timing.Te.mat
Prot.Space.Resolution.Mat
Sorry for the typos, writing from my phone

@tanguyduval thank you!
I see what you mean. I was trying to relate prots to the image types instead of proliferating new Prot Types. I guess changing the way I parse params is easier :)

@tanguyduval is it possible to make options conditional? For example, show dropdown menu if the checkbox is selected?

@agahkarakuzu could you just always show the option, but disable it if the checkbox is/isn't selected?

@mathieuboudreau do I need to tackle with this in 'Custom_OptionsGUI' ?

@agahkarakuzu you can disable an option using ### in the button name.
Please see qmt_spgr UpdateFields function
Best

@tanguyduval I was about to paste that into new class def :D Thank you!

It seems that I will add some Wiki documentation after finishing qsm model :)

@mathieuboudreau @tanguyduval I ended up writing more GUI tricks instead of focusing on qsm module, because if I cannot come up with a good options panel design, the rest just won't be OK. Below are what I've added, let me know if you don't like:
i) Added a new joker for visibility property '####' @ GenerateButtonsWithPanels.m
ii) Added getButtonIdx(obj,button), setButtonInvisible(obj,button,bool), and setButtonDisabled(obj, button, bool) functions to the AbstractClass as private member functions.
iii) Also added linkGUIEvents(obj, checkBoxName, targetObject, eventName) to make other objects visible/invisible or enabled/disabled with respect to the checkbox state.

Taking some notes here:

Since  one of the options for qmt_sirfse has less than 4 chars (T2r), a joker with more than 3 chars breaks loading it.

Jokers for GUI object manipulation should not include underscore, because it is used as a location flag somewhere in the code.

Taking some other notes,
Another GUI related issue that may be problematic in the future:
SetOpt function under Custom_OptionsGUI is called by GUI opening function as long as the buttons property of the object is not empty. Although this function appears to have a generic purpose, it mostly serves for curating FitOptions panel for qmt_spgr without any conditional statements that indicates Model in the appdata scope is qmt_spgr. Instead inference was  based on the existince of R1MAP in FitOptTable.  This seems like a hack.
The more I dig deeper in the GUI codes, the more such hacks I find. Don't remember if we have an issue to list similar notes, if there is I will move above one there.
I will keep working on bringing more modularity to the GUI management for easier model additions whilst working on qsm_sb.

@agahkarakuzu
Comment 1/3 above
i - Could you clarify what you mean by a "joker"?
ii - Cool! Since you added these to abstract class, will do we need to add anything to the Model functions? Or are these optional methods to be used as we want.
iii - Ok! That sounds like it makes sense.
Comment 2/3 above

This point isn't clear to me, maybe because I don't understand what a "joker" is yet.
Ok! Add this to the wiki!

Comment 3/3 above
(Set Opt function ... paragraph)
This isn't too surprising to me. qMRLab started off as qMTLab, and all the GUI was built around the qMT models (even though they weren't models at the start).
(The more I dig deeper in the GUI codes, the more such hacks I find. )
Again, not surprising. GUI development is notoriously difficult, and there has never been a clear design plan during most qMRLab development – things are just added as needed, which has also lead to an extremely cluttered GUI (adding button every time we need something new, instead of thinking of bigger design principles, i.e. don't add a handle to the side a door if you can only push it).
(I will keep working on bringing more modularity to the GUI management for easier model additions whilst working on qsm_sb.)
Ok! Keep in mind if you want to change any of the *.fig files, you need to check(and reserve) if someone is on hold here: https://github.com/neuropoly/qMRLab/issues/258

@mathieuboudreau
i) Joker here is three letter special chars ('###') that are prepended to the button names. '###' signals that the UIObject belonging to that button will be disabled. Now I also added  '***' (I initially tried to make it '####' but was not OK) as another joker for show/hide buttons, which are not scoped by a frame.
ii) This addition is not going to break anything, but for the sake of clarity, we may. UpdateFields is the related member function.
As for GUI, I will start off by writing a wiki doc. Added bunch of in line comments, already. Clarifying what is under the hood should be a good start towards creating a design plan I believe.


graphhopper maps should support current location

Describe the bug
When planning a route via graphhopper.com/maps, it should be possible to select the current location (possibly via https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition).
Possibly related: #1433.

Works for the new UI https://github.com/graphhopper/graphhopper-maps


Ubuntu 24.04 Noble Numbat ROS1 build

Upgrade 23.10 to 24.04
Follows #39
Wasn't able to apt upgrade at first
The following packages have been kept back:
  liblog4cxx-dev liblog4cxx15 libruby3.1 ruby3.1

sudo apt purge liblog4cxx-dev
sudo apt purge libaprutil1
sudo apt autoremove

That seemed to clear out the conflicts (by uninstalling most of the debian ros packages and others), now this is running
sudo do-release-upgrade -d  # update- don't do this, wait for it to work without -d

-> That didn't work too well, didn't have working audio and the networking seemed off- did a full fresh install instead and now looks to be fully working.

  Maybe try again in a few days.

Starting  >>> catkin_tools_prebuild
_____________________________________________________________________________________________________________________________________________________________________________________________________________________________
Errors     << catkin_tools_prebuild:cmake /home/lucasw/ros/ros1/ros_from_src_2404_ws/logs/catkin_tools_prebuild/build.cmake.000.log
CMake Error at CMakeLists.txt:12 (message):
  The catkin CMake module was not found, but it is required to build a linked
  workspace.  To resolve this, please do one of the following, and try
  building again.

Errors     << vdb_mapping:cmake /home/lucasw/ros/ros1/ros_from_src_2404_ws/logs/vdb_mapping/build.cmake.002.log
CMake Error at CMakeModules/FindTBB.cmake:270 (file):
  file failed to open for reading (No such file or directory):

    /usr/include/tbb/tbb_stddef.h
Call Stack (most recent call first):
  CMakeLists.txt:17 (find_package)

A built from source rospack doesn't work for anything except system installed packages, after building and source deve/setup.bash it can't find anything in workspace
rospack list
octomap /usr/share/octomap
osrf_pycommon /usr/share/osrf_pycommon
urdfdom /usr/share/urdfdom

The rospack failure causes this to fail
Errors     << nmea_navsat_driver:make /home/lucasw/ros/ros1/ros_from_src_2404_ws/logs/nmea_navsat_driver/build.make.001.log
[rospack] Error: package 'catkin_virtualenv' not found
find: ‘’: No such file or directory
WARNING: cannot load logging configuration file, logging is disabled

Can skip for now by not enabling testing
catkin config -DCATKIN_ENABLE_TESTING=False

https://launchpad.net/ubuntu/+source/ros-metapackages  - no noble entries
https://tracker.debian.org/pkg/ros-metapackages
Migration status: Blocked. Can't migrate due to a non-migratable dependency. Check status below.
Blocked by: [ros-rviz](https://tracker.debian.org/pkg/ros-rviz)

This leads to https://tracker.debian.org/pkg/ros-ros-comm
Blocked by: [boost1.83](https://tracker.debian.org/pkg/boost1.83)

That's the boost I have installed though

Look around in recent versions of debian docker images, and make some Dockerfiles here for installing other ros packages
https://hub.docker.com/_/debian
Start with debian:trixie

Current process to get base ros running using https://github.com/lucasw/ros_from_src/tree/ubuntu2404:
mkdir -p ~/ros/ros1/full_ros_from_src
cd ~/ros
git clone https://github.com/lucasw/ros_from_src --branch ubuntu2404
cd ~/ros/ros1/full_ros_from_src
~/ros/ros_from_src/git_clone.sh
~/ros/ros_from_src/build.sh

source ~/ros/ros_from_src/env.sh
source install/setup.bash

After that roscore, rostopic etc. will work

Add these repos to the ros_from_src git_clone.sh
repositories:
  actionlib:
    type: git
    url: git@github.com:ros/actionlib.git
    version: noetic-devel
  angles:
    type: git
    url: git@github.com:ros/angles.git
    version: master
  bond_core:
    type: git
    url: git@github.com:ros-o/bond_core.git
    version: obese-devel
  geometry:
    type: git
    url: git@github.com:ros-o/geometry.git
    version: obese-devel
  interactive_markers:
    type: git
    url: git@github.com:ros-visualization/interactive_markers.git
    version: noetic-devel
  kdl_parser:
    type: git
    url: git@github.com:ros/kdl_parser.git
    version: noetic-devel
  nodelet_core:
    type: git
    url: git@github.com:ros/nodelet_core.git
    version: noetic-devel
  resource_retriever:
    type: git
    url: git@github.com:ros/resource_retriever.git
    version: kinetic-devel
  rosconsole_bridge:
    type: git
    url: git@github.com:ros/rosconsole_bridge.git
    version: kinetic-devel
  urdf:
    type: git
    url: git@github.com:ros/urdf.git
    version: melodic-devel

Update git_clone.sh with ros-o repos, roscpp_core is the ros/ one

https://discourse.ubuntu.com/t/changes-to-ros-debian-science-support-packages/44497

With the upcoming Ubuntu 24.04 LTS release, we’re adjusting our approach to the ROS Debian Science packages. Specifically, we will no longer include these packages in the Ubuntu Universe repository, starting with 24.04.

Looks like they are taking those packages out because some of them aren't compatible with the ROS2 installation.

[E] [1716418271.777 /terrain/pcl_manager ...uginlib/./class_loader_imp.hpp:262]: Skipped loading plugin with error: XML Document '/home/lucasw/ros/ros1/install/overlay_2404_ws/install/share/test_nodelet_topic_tools/test/test_nodelets.xml' has no Root Element. This likely means the XML is malformed or missing..

Exception in callback _UnixReadPipeTransport._read_ready()
#23 3.546 handle: <Handle _UnixReadPipeTransport._read_ready()>
#23 3.546 Traceback (most recent call last):
#23 3.546   File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
#23 3.546     self._context.run(self._callback, *self._args)
#23 3.546   File "/usr/lib/python3.12/asyncio/unix_events.py", line 532, in _read_ready
#23 3.546     self._protocol.data_received(data)
#23 3.546   File "//ros/local/lib/python3.12/dist-packages/osrf_pycommon/process_utils/async_execute_process_asyncio/impl.py", line 109, in data_received
#23 3.546     protocol.on_stderr_received(data)
#23 3.546   File "//ros/local/lib/python3.12/dist-packages/catkin_tools/execution/io.py", line 256, in on_stderr_received
#23 3.546     self.log_file.write(data)
#23 3.546 ValueError: write to closed file
#23 3.556 Failed <<< build_type_condition                 [ 0.6 seconds ]

resource_retriever isn't linking in curl properly:
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_global_init'
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_easy_cleanup'
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_global_cleanup'
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_easy_perform'
/usr/bin/ld: /home/lucasw/ros/ros1/install/underlay_ws/install/lib/libresource_retriever.so: undefined reference to `curl_easy_init'
collect2: error: ld returned 1 exit status

rosfmt was downloading a binary instead of actually getting built?  :-1:
Removing it entirely, wasn't actually using it.

Need to make jsk_rviz_plugins build in 24.04, some ogre calls need updating


Restore style checking on travis

Travis style checking was broken in #3020. This PR does a proper fix. See tests in pb-tmp* in recent runs at https://travis-ci.org/firebase/firebase-ios-sdk/builds.
It may be helpful to see the delta from before #3020  git diff bad992edb3cbb4295d216941cb2571961b2a1da0 -- scripts/check.sh

Style checking restoration confirmed in https://travis-ci.org/firebase/firebase-ios-sdk/jobs/536972856

@wilhuff All comments should now be addressed. Thanks!


Make content type an actual type

For now we only deal with strings, but it would be nice to make them actual types to make it less error prone. This issue is to track the progress in https://github.com/finagle/finch/pull/329.

I'm working on this right now. Hopefully can put something together over the weekend.

I guess this has been fixed in #541. The next step would be to make content negotiation (#510) and make it possible to use different configurations (eg: all as JSON, each as X) when converting an endpoint to a service.


Top Nav bar is jumpy when Slick is on

So I have this problem where my fixed top: 0  bar moves away from top: 0 and goes to something like top: 20px for an instant then returns to 0. This only happens when slick is started.
Here's a sample of the structure:
HTML
 Content here

   This is used to just make the next section further down the page

 Lorem

 <button> Button </button>

 Lorem

 <button> Button </button>

JS
$('.articles').slick({
     arrows: false,
     swipe: true,
});

Here are some details about the problem:

Slick is targeting .articles
When scrolling up from the bottom of the page, the  bar "jumps" from top: 0 to a small random positive number. console.log( $('nav').css('top') always says 0 though.
The jumping problem can be reproduced by scrolling up past the bottom of #section1 at a fast pace.

My code reproduces this problem EVERY time I scroll up. However with a simple design like the above example, it happens rarely. If someone knows what I'm talking about and might be able to solve it, tell me and I'll try to give a more robust example.

Can you create a jsfiddle with that problem?

Closing due to not following CONTRIBUTING.md


mis-used variable in x509_crt_verify_top()

it should be  child->subject_raw.len but not  child->issuer_raw.len in the following code piece:
   if( child->subject_raw.len == trust_ca->subject_raw.len &&
        memcmp( child->subject_raw.p, trust_ca->subject_raw.p,
                        child->issuer_raw.len ) == 0 )
    {
        check_path_cnt--;
    }

ARM Internal Ref: IOTSSL-1678

Hi @luocm,
thanks alot for reporting this :+1:, and apologies for the late response. We are working on the issue.
Kind regards,
Hanno


subtract account minimum balance when getting locked account balance

Looks good! If possible, maybe try the contract update on e.g Canary first


Settings synchronization

Pls, make a tool that allows to synchronise settings and extentions when installing vs code on a new machine

/findDuplicates

/duplicate #2743


support for dataview task view

Given that the latest beta support alternate checkboxes https://github.com/blacksmithgu/obsidian-dataview/issues/812, would it be possible to change their status via this plugin's right click menu ?

I'll have to try it.

I'm wondering about the same thing! I can put in some of the work to make this happen, I think, with some guidance...
It seems like it's not super straightforward. If I'm reading the TC code right, the plugin picks up the task to complete by reading the line that's activated by the right-click action (line 112):
https://github.com/ebullient/obsidian-task-collector/blob/75640e7ec5a2d3b1232cedf8a23693cab2d26fb5/src/taskcollector-Plugin.ts#L103-L116
Dataview items, though, aren't really on "lines," are they?
And yet, when I look under the hood at the HTML in Reading mode, I can't see a difference between Dataview Tasklist-generated checkboxes and "regular" checkboxes. Why is Task Collector adding this menu to a regular checkbox....

... but not this dataview-generated checkbox?

Dataview tasks are not added using the markdown renderer, so the markdown post-processor doesn't see them. Dataview creates the input boxes directly, and has its own click handler for them (which I would be in a race with, effectively).
In the end, I need some help from dataview to get this to work. I added some comments here: https://github.com/blacksmithgu/obsidian-dataview/issues/812

How funny that that conversation happened less than a day ago. Serendipity! I had no idea anyone else was thinking about this 'til I started poking around this morning.
It looks like @blacksmithgu might get it the rest of the way. Fingers crossed. 🤞

I was playing with it yesterday. Great minds... ;)

This is .. a way: https://github.com/blacksmithgu/obsidian-dataview/pull/1048

I think the outstanding user question is which way it should go. I have a BRAT release with a Task Collector API (so things can invoke the modal w/ complete/incomplete task completion characters defined), that's how the above PR works.
Alternately, Dataview could provide a hook so that I can override the event listener. The advantage there is that Task Collector can consolidate marking tasks (complete/reset, etc), which would make things more consistent across Dataview and elsewhere.
Not sure which is better or which makes more sense.

I'm adding the ability for plugins to override or extend the default dataview task hook in the next beta :)


Multiple worker with Group Blueprint doesn't work due to pickling issue on windows 10

Found similar fixed issue: https://github.com/huge-success/sanic/issues/1392
However, it still doesn't work with group blueprint
from sanic import Sanic
from sanic import Blueprint
from sanic.response import text

bp1 = Blueprint('bp1', url_prefix='/bp1')
bp2 = Blueprint('bp2', url_prefix='/bp2')

@bp1.middleware('request')
async def bp1_only_middleware(request):
    print('applied on Blueprint : bp1 Only')

@bp1.route('/')
async def bp1_route(request):
    return text('bp1')

@bp2.route('/<param>')
async def bp2_route(request, param):
    return text(param)

group = Blueprint.group(bp1, bp2)

@group.middleware('request')
async def group_middleware(request):
    print('common middleware applied for both bp1 and bp2')

app = Sanic()
app.blueprint(bp1)

if __name__ == '__main__':
    app.run(workers=2)

Error:
[2019-05-17 10:20:26 +0800] [21508] [ERROR] Experienced exception while trying to serve
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\site-packages\sanic\app.py", line 1098, in run
serve_multiple(server_settings, workers)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\site-packages\sanic\server.py", line 847, in serve_multiple
process.start()
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function group_middleware at 0x000001A180A8B620>: it's not the same object as main.group_middleware
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev\pydevd.py", line 1741, in
main()
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev\pydevd.py", line 1735, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev\pydevd.py", line 1135, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Segantii/heimdall/app6.py", line 31, in
app.run(workers=2)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\site-packages\sanic\app.py", line 1098, in run
serve_multiple(server_settings, workers)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\site-packages\sanic\server.py", line 847, in serve_multiple
process.start()
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "C:\ProgramData\Anaconda3\envs\heimdall\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function group_middleware at 0x000001A180A8B620>: it's not the same object as main.group_middleware

This is going to affect MacOS too with Python 3.8+. I plan to change it so that only the listening sockets are pickled and everything else is normally initialized separately in each worker.


corona_data_collector: module 'telegram' has no attribute 'Bot'

flow: Traceback (most recent call last):
flow:   File "/usr/local/lib/python3.6/dist-packages/datapackage_pipelines/specs/../lib/flow.py", line 13, in
flow:     flow = flow_module.flow(parameters, datapackage, resources, ctx.stats)
flow:   File "/pipelines/avid_covider_pipelines/corona_data_collector_flow.py", line 9, in flow
flow:     main({'source': 'db'})
flow:   File "/pipelines/corona_data_collector/main.py", line 78, in main
flow:     db_to_file_writer = DBToFileWriter(os.path.join(os.path.dirname(__file__), f'corona_bot_answers_{day}_{month}_2020.csv'))
flow:   File "/pipelines/corona_data_collector/DBToFileWriter.py", line 68, in __init__
flow:     self.bot = telegram.Bot(token=telegram_token)
flow: AttributeError: module 'telegram' has no attribute 'Bot'

Have you installed python-telegram-bot?

fixed by removing telegram dependency


Compare data from JHU and Germany

overview
extend existing study with additional new plots

Completed with https://oscovida.github.io/2020-germany-reporting-delay-meldeverzug.html

Completed with https://oscovida.github.io/2020-germany-reporting-delay-meldeverzug.html


Run first pass using lookahead rather than two separate passes

Buffer up enough frames in the encoder that we have a decent amount of lookahead for the first pass, and store the first pass options in memory rather than on disk.

There is a wip PR that does that, probably we could freshen it.


Using seps by default when converting timestamp to secs

It was noticed, that sometimes Robot fails with the following trace:
...snip...
  File "/usr/local/lib/python3.7/site-packages/robot/reporting/jsmodelbuilders.py", line 66, in <genexpr>
    model = tuple(self._build_keyword(k) for k in kws)
  File "/usr/local/lib/python3.7/site-packages/robot/reporting/jsmodelbuilders.py", line 140, in build
    self._get_status(kw),
  File "/usr/local/lib/python3.7/site-packages/robot/reporting/jsmodelbuilders.py", line 53, in _get_status
    self._timestamp(item.starttime),
  File "/usr/local/lib/python3.7/site-packages/robot/reporting/jsbuildingcontext.py", line 58, in timestamp
    millis = int(timestamp_to_secs(time) * 1000)
  File "/usr/local/lib/python3.7/site-packages/robot/utils/robottime.py", line 301, in timestamp_to_secs
    raise ValueError("Invalid timestamp '%s'." % timestamp)

Logging shows timestamp that cannot be parsed: '2020-02-26 16:34:28.227'
So we use default seps to avoid such failure

How does this happen? Those items should have timestamp in format like "20200226 16:34:28.227" i.e. without hyphens. Have you created/modified output.xml programmatically or possibly modified results with pre-Rebot modifiers or otherwise?

How does this happen? Those items should have timestamp in format like "20200226 16:34:28.227" i.e. without hyphens. Have you created/modified output.xml programmatically or possibly modified results with pre-Rebot modifiers or otherwise?

Nope, I did not created/modified output.xml/result programmatically or otherwise.
I noticed several places with format like:
'%Y-%m-%d %H:%M:%S.%f'

, so one of such place may cause issue. Issue is very elusive and does not reproduce often, but sometimes happens.

I'd need to know a bit more about the problem. Preferably there should be a test that demonstrates it and is fixed by this change.

A problem with the proposed change is that seps not being None would mean that code would normalize all timestamps. This code is run very often so any such extra work would slow down execution. We simply cannot do it just in case it would avoid problems in some strange case. Much better to analyze why that problem occurs and fix the root cause.


Fix for #819, take two

A simple fix for #819. It can probably be made in a more elegant way, but this one seems to work well.
It just checks that the string in 'displayName' is not empty, because if it is, activities descriptions regarding the "null-named" object get broken.
Up to date version, instead of PR #1126.

@jankusanagi the code looks good. Nice!
The one concern I have is that I'm not sure if this is a violation of the spec. If it is, we'd need to get Evan's input.
/me checks

So! Apparently what is happening here is if there's not a displayName property (which, by the way, MAY be included according to the spec) we're making one up. So it's totally reasonable to just ignore a displayName with a null string.
Cc'ing @evanp for posterity, but LGTM.


⚠ Bofrost.es has degraded performance

In 3423a8f, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2733 ms

Resolved: Bofrost.es performance has improved in afbd782.