Mains info not showing over MQTT

Running 1.7.3, the mains info seems to not get published for some reason. I am feeding the mains details over API (http post).

Mqtt explorer shows that the data isn't published to the broker:

Raw JSON:
{
   "version":"SERKRI-1.7.3",
   "mode":"OFF",
   "mode_id":0,
   "car_connected":true,
   "wifi":{
      "status":"WL_CONNECTED",
      "ssid":"xxx",
      "rssi":-53,
      "bssid":"D8:47:32:F4:08:AC",
      "auto_connect":false,
      "auto_reconnect":true
   },
   "evse":{
      "temp":30,
      "temp_max":65,
      "connected":true,
      "access":false,
      "mode":1,
      "loadbl":0,
      "pwm":1024,
      "solar_stop_timer":0,
      "state":"Ready to Charge",
      "state_id":0,
      "error":"None",
      "error_id":0,
      "rfid":"Ready to read card"
   },
   "settings":{
      "charge_current":0,
      "override_current":0,
      "current_min":6,
      "current_max":32,
      "current_main":25,
      "solar_max_import":0,
      "solar_start_current":5,
      "solar_stop_time":3,
      "enable_C2":"Not present",
      "modem":"Not present",
      "mains_meter":"API",
      "starttime":0,
      "stoptime":0,
      "repeat":0
   },
   "mqtt":{
      "host":"192.168.xx.xx",
      "port":1883,
      "topic_prefix":"SmartEVSE-11469",
      "username":"xxx",
      "password_set":true,
      "status":"Connected"
   },
   "home_battery":{
      "current":0,
      "last_update":0
   },
   "ev_meter":{
      "description":"Eastron3P",
      "address":11,
      "import_active_power":0,
      "total_kwh":543,
      "charged_kwh":0,
      "currents":{
         "TOTAL":0,
         "L1":0,
         "L2":0,
         "L3":0
      },
      "import_active_energy":543,
      "export_active_energy":0
   },
   "mains_meter":{
      "import_active_energy":0,
      "export_active_energy":0
   },
   "phase_currents":{
      "TOTAL":10,
      "L1":10,
      "L2":0,
      "L3":0,
      "last_data_update":1691516795,
      "charging_L1":false,
      "charging_L2":false,
      "charging_L3":false,
      "original_data":{
         "TOTAL":10,
         "L1":10,
         "L2":0,
         "L3":0
      }
   },
   "backlight":{
      "timer":0,
      "status":"OFF"
   }
}

Yep, look at the release notes of 1.7.3: currents fed via EM_API are no longer republished.

Ah, I did not link that to this issue.
But... Why? I am http-posting them to the SmartEVSE, not to any other system. Now I am lacking this info, and particularly: I'd like to see what the evse is working with.

In addition to the above question: the topics still get announced anyway (discovery).
But I actually hope that you want to reconsider the removal, I don't understand why it was removed in the first place?

I asked for a use case here  #192 and  nobody responded.
So I would expect, once you transistion to MQTT, you would feed your SmartEVSE though MQTT too; and then your clients can subscribe to the source directly, without delays, and without burdening the SmartEVSE with relay tasks....

Never saw your edit there, only the original message (email updates only send the original).
But publishing them over MQTT would mean that I need to add MQTT to the esp device plugged into the P1 port, burdening that device again.
And the use case wouldn't be strictly relay by the way, it's simply keeping track of what the smartevse is using for its SMART mode calculations. But I guess I could do that on the device as well.
(Still wondering why the data is being consumed by the HA integration then?)

Oh, and the reason for feeding over http.post instead of MQTT: it's one link in the chains less. Http.post goes directly from P1 esp to SmartEVSE, for MQTT there's the broker in between (which impacts SmartEVSE workings if I restart/update the broker during charging for instance).


refactor: print error msg if excelize occurs an error

Codecov Report
Attention: Patch coverage is 2.04082% with 48 lines in your changes missing coverage. Please review.

Project coverage is 85.95%. Comparing base (7e31bb7) to head (6ac8aa7).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

pyfastexcel/core/writer.go
2.17%
33 Missing and 12 partials :warning:

pyfastexcel/core/chart.go
0.00%
2 Missing and 1 partial :warning:

:exclamation:  There is a different number of reports uploaded between BASE (7e31bb7) and HEAD (6ac8aa7). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (7e31bb7)
HEAD (6ac8aa7)

6
1

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #164       +/-   ##
===========================================
- Coverage   96.75%   85.95%   -10.80%
===========================================
  Files          27        7       -20
  Lines        3079      997     -2082
===========================================
- Hits         2979      857     -2122
- Misses         77      106       +29
- Partials       23       34       +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Publish to NPM

Adds NPM publishing to the release workflow in order to publish @digicatapult/components

There are a couple of files/deletions that crept in. I'll deal with those seperately

The READMEs at root and in packages/components (they're weirdly similar) still refer to @digicat rather than @digicatapult. In index.d.ts the namespace is @digicat which could be confusing

I've started the process of renaming


md5() crashes with Cannot unbox negative bigint...

Looks like smth was broken with https://github.com/grondilu/libdigest-raku/commit/289a042ec2e7e556dc73780b58ed99362055de77:
Digest:ver<0.8.2>:auth<Lucien Grondin>
[kostas@webtech-omen core-perl6]$ zef install "Digest:ver<0.8.2>"
===> Searching for: Digest:ver<0.8.2>
===> Testing: Digest:ver<0.8.2>
===> Testing [OK] for Digest:ver<0.8.2>
===> Installing: Digest:ver<0.8.2>
[kostas@webtech-omen core-perl6]$ raku -MDigest -e "md5('158.389').say";
Blob:0x<1D 83 F5 B9 D9 6A F1 A2 5F 36 38 42 31 03 BE 1B>
[kostas@webtech-omen core-perl6]$ zef uninstall Digest
===> Uninstalled from inst#/opt/rakudo/rakudo-star-2022.04/share/perl6/site
Digest:ver<0.8.2>:auth<Lucien Grondin>

[kostas@webtech-omen core-perl6]$ zef install "Digest:ver<0.9.0>"
===> Searching for: Digest:ver<0.9.0>
===> Testing: Digest:ver<0.9.0>
===> Testing [OK] for Digest:ver<0.9.0>
===> Installing: Digest:ver<0.9.0>
[kostas@webtech-omen core-perl6]$ raku -MDigest -e "md5('158.389').say";
Cannot unbox negative bigint into native unsigned integer
  in sub infix:«<<<» at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/08D38337202051EEADB24BAFC11F43DA5C064BAA (Digest) line 6
  in sub md5-block at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/08D38337202051EEADB24BAFC11F43DA5C064BAA (Digest) line 35
  in sub md5 at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/08D38337202051EEADB24BAFC11F43DA5C064BAA (Digest) line 47
  in sub md5 at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/08D38337202051EEADB24BAFC11F43DA5C064BAA (Digest) line 43
  in block <unit> at -e line 1

Looks relevant to #27 and #28.
It crashes on latest version as well:
[kostas@webtech-omen core-perl6]$ zef install Digest
===> Searching for: Digest
===> Testing: Digest:ver<0.23.1>
===> Testing [OK] for Digest:ver<0.23.1>
===> Installing: Digest:ver<0.23.1>
[kostas@webtech-omen core-perl6]$ raku -MDigest::MD5 -e "md5('158.389').say";
Cannot unbox negative bigint into native unsigned integer
  in block  at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/09B6112E2626A59F08A91D5D4762CC9F145C0515 (Digest::MD5) line 15
  in sub md5 at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/09B6112E2626A59F08A91D5D4762CC9F145C0515 (Digest::MD5) line 10
  in sub md5 at /opt/rakudo/rakudo-star-2022.04/share/perl6/site/sources/09B6112E2626A59F08A91D5D4762CC9F145C0515 (Digest::MD5) line 4
  in block <unit> at -e line 1

It crashes on latest version as well:

Indeed it does on my machine too.  Not sure why the tests don't crash.

:rocket:  update, let me check on my test base...


Found some bugs while opening links.

We got some 404 code while opening the dashboard links as we have created a duplicate repo.

Done changes and sent files locally to other colabirator.

Bugs fixed


Having trouble getting batter voltage to show for Lilygo TTGO T-Beam T22 v1.1

I have a Lilygo T-Beam T22 v1.1 . I've tried compiling for v1 and version v1_2 and v1, and also v1_sx1268 . It always displays No Battery Connected. Any ideas how to get this working?
Thank you,
Walter

Hi Walter,
the TTGO_T_Beam_V1 configuration will definitly work on your T-Beam T22 V1.1. I use the same board, had same trouble and get rid of it, after PIO, Platform, Erase Flash and upload again V1.
Good luck.
73 de Josef

That fixed it, thank you!


Uncaught Error: Cannot find module '@tanstack/query-core'

Describe the bug
My NextJS app won't load after installing<EMAIL_ADDRESS>This is the exact error:
index.js:338 Uncaught Error: Cannot find module '@tanstack/query-core'
    at webpackMissingModule (call.js:6:50)
    at eval (call.js:6:145)
    at<EMAIL_ADDRESS>(index.js?ts=1705971056596:14203:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (query.js:76:72)
    at<EMAIL_ADDRESS>(index.js?ts=1705971056596:14181:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (useBalance.js:5:75)
    at ./node_modules/wagmi/dist/esm/hooks/useBalance.js (index.js?ts=1705971056596:29273:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (index.js:96:78)
    at ./node_modules/wagmi/dist/esm/exports/index.js (index.js?ts=1705971056596:29240:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (EvmWalletSelectorContextController.tsx:12:63)
    at ./src/context/evm/wallet-selector/EvmWalletSelectorContextController.tsx (index.js?ts=1705971056596:6371:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (DashboardLayout.tsx:21:121)
    at ./src/layouts/dashboard-layout/DashboardLayout.tsx (index.js?ts=1705971056596:6492:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (index.tsx:10:98)
    at ./src/pages/index.tsx (index.js?ts=1705971056596:6503:1)
    at options.factory (webpack.js?ts=1705971056596:688:31)
    at __webpack_require__ (webpack.js?ts=1705971056596:37:33)
    at fn (webpack.js?ts=1705971056596:343:21)
    at eval (?67b5:5:16)
    at eval (route-loader.js:215:51)

This is the link to the file EvmWalletSelectorContextController.tsx mentioned in the error, it does the main wagmi config and the Web3Modal with the alpha version as suggested here.
This is the package.json with the latest versions as described in the Wagmi docs.
Lastly, the Wagmi config is loaded as a React context here.
Link to Minimal Reproducible Example
https://github.com/Udit-takkar/pulsemarkets/blob/feat/typescript-interface/app/src/context/evm/wallet-selector/EvmWalletSelectorContextController.tsx
Steps To Reproduce
No response
Wagmi Version
^2.3.1
Viem Version
^2.4.1
TypeScript Version
^5.2.2
Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Anything else?
"@tanstack/react-query": "^5.17.19", should include "@tanstack/query-core", right? I also tried adding this package with yarn add @tanstack/query-core but still got the issue.

Please add a minimal reproduction. The current linked reproduction is not minimal.


Create config tables

We use MSX for our environment having a config table so we can customize the jobs per server would be nice.

Plus then we can change the jobs to T-SQL jobs and it run in Linux.

I also use MSX.  I have one job that is used to deploy Ola's script to all targets.  Then I have several other jobs that run Ola's procedures, but with several possible schedules.  I avoid running the same job on all servers at the same time.  I use separate jobs because MSX does not allow customization of the schedule by target.
I have attempted unsupported methods via a MSX job that converts the maintenance MSX jobs to local jobs and then customizes the schedule based on server name.  It worked, but I choose to replicate the job using different schedules because it is supported.
I was considering adding code before the maintenance call that sets the parameters based on the server name.  This could be put into a stored procedure that can be deployed via MSX.  If using MSX, I would want the configuration table source on the master so that it can be deployed to the servers.  I would not want to configure a table on each server.  This means hard coding the table or writing code to script the table data so that it can be deployed.  Even so, it would not be able to alter the schedule of the job.
It would be possible to define a sleep that stagers the jobs.  One job can have different sleep times based on server name.  I don't like this method because it affects the job run time and the start time is not obvious.  However, perhaps a first step can do the sleep and a second step be the actual maintnence.  It's more work to get the "real" time the job started and ran, but it would be the time of the second step.

I think local jobs are the way to go because they can then have custom schedules.  However, there is no reason not to control the local jobs using one master job that insures all objects are present and local jobs are defined.  The script could define parameters and schedules that depend upon the server, instance, and job name.  The script could be manually applied if the server cannot be specified as a target.  (The script does not depend upon MSX.)  For management, it might be easier to start with the original script as a first step.  Then apply second script that customizes the jobs.  Both should be adjusted to make changes only if required.  (Perhaps test an extended item that holds a version number.)
If Ola's solution supported configuration tables, then the script to customize the jobs would only need to adjust the configuration table data based on server, instance, and job name.  I would want the job schedule to also be a configuration item.
A second master (or local) job could log back to the master server the time it took to run the jobs.  The information could be used to adjust schedules to limit the number of jobs using a single SAN simultaneously.  The "Master" CommandLog table would need columns for the server FQDN and instance name.

If you combined multi-step jobs configured by config tables, this might deliver the mechanism to have the job steps wait for each other:
https://www.mssqltips.com/sqlservertip/2167/custom-spstartjob-to-delay-next-task-until-sql-agent-job-has-completed/


HTTP sse v4

from v3:

Fix doc
Better usage description
Handle Ctrl-d properly

fixes on https://github.com/solettaproject/soletta/pull/1794


Bug in method isCompatible of SequenceRepresentation

The method isCompatible of SequenceRepresentation wrongly checks whether the given representation is an instance of TreeRepresentation.
As a matter of fact, it's not possible to properly use sequence representations and, thus, sequence kernels right now.
Would be great if this could be fixed soon!
Thanks,
Henning

Hi Henning,
In about one week we will release a new version of KeLP where the bug will be fixed. In the meanwhile you can use the development branch, where the bug has been already solved.
Best,
Simone

Awesome, thanks!

Am 10.03.2017 um 11:35 schrieb Simone Filice<EMAIL_ADDRESS>Hi Henning,
In about one week we will release a new version of KeLP where the bug will be fixed. In the meanwhile you can use the development branch, where the bug has been already solved.
Best,
Simone
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SAG-KeLP/kelp-full/issues/4#issuecomment-285635387, or mute the thread https://github.com/notifications/unsubscribe-auth/AZGrASD8b9iVpem7c3NNoq1viXF3aeynks5rkSdygaJpZM4MZMuK.

--
Henning Wachsmuth
Researcher
Bauhaus-Universität Weimar
Bauhausstr. 11
99423 Weimar
Germany
+49 3643 58 3566
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://www.webis.de http://www.webis.de/


[docs] Add icons to headers in docs

Describe changes
I added icons to headings in our doc pages.
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

I love this so much ill merge it!


WFLY-5186/WFLY-5158 Fix TimeoutExceptions in failover testing scenarios

This PR splits the SessionFactory abstraction (which abstracts the cache mapping strategy for a session) into 2 sub-components: SessionMetaDataFactory and SessionAttributesFactory.
The reason for this is twofold:

Session expiration/passivation schedulers do not need actually need the entire session (i.e. including the attributes), just the session's meta data.  I've modify the cache topology change listener to use SessionMetaDataFactory to lookup newly owned sessions, instead of using the SessionFactory (which requires the processing of session attributes, potentially deserializing them!).  This significantly reduces the amount of work performed following a cache topology change, the extended duration of which results in lock timeout exceptions and outdated cache topology exceptions.
The mapping strategy for a session's meta data is common to both coarse- and fine-grained replication, only the mapping strategy for the session's attributes is different.  Thus, we now have a single SessionFactory implementation which delegates to a common SessionMetaDataFactory and either a CoarseSessionAttributesFactory or FineSessionAttributesFactory, depending on configuration.  The resulting code is smaller and simpler.

@pferraro Does it have any bearing on arbitrary caches or is it merely incidental that I keep hitting the timeout problems?

This fix only addresses the cache used for web sessions. I would need to find out more about your use case to figure out why you are seeing replication timeouts.  See my jira comment.

retest this please


Assemblies are not signed

Hello,
I am trying to use the EF6 package with a solution that requires all of our assemblies to be signed.  I am unable to build my solution with this package referenced because the assembly it adds is not signed.  Is it possible for that to be added?
Thanks,
Ryan

Hey Ryan,
Unfortunately i don't have any future plans to sign the assemblies.
Kind Regards,
Mike


Update old European airports?

I have been going through many european airports today and I realised, most of them are pretty outdated and don't live up to our standards (stars/transitions, terrain,...). I currently don't have time to work on them but if anyone has, I think EGLL, EDDF and EHAM should be updated first.
Maybe we should start a checklist or something similar to rework some airports.

EBBR needs to be finished too.
On Mon, Aug 22, 2016 at 1:13 PM, Jakob<EMAIL_ADDRESS>wrote:

I have been going through many european airports today and I realised,
most of them are pretty outdated and don't live up to our standards
(stars/transitions, terrain,...). I currently don't have time to work on
them but if anyone has, I think EGLL, EDDF and EHAM should be updated
first.
Maybe we should start a checklist or something similar to rework some
airports.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zlsa/atc/issues/650, or mute the thread
https://github.com/notifications/unsubscribe-auth/ASgmWKmlVmE1xLiZOG-sFWa5rYDIZnHWks5qiZJ-gaJpZM4JpzWm
.

It's not just EBBR, I think it's basically all the European airports but Vienna

EBBR still has NORTH, SOUTH, EAST, WEST SIDs though :p

I'll start with EHAM now

I think we should do this in 3-4 stages being 1: sids and stars currently in use (depending on the wind) 2. transitions 3. FIR zone & terrain 4. whatever is left
I think only 1 and 2 should be done at the moment because they cover the basics and as the wind doesn't change, we don't technically have the need for all transitions

Here's a list of the changes that have to be made to European airports:
EBBR:

Update SID's + STAR's (SID's are not RNAV which makes it difficult to recreate in the game)
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EBBR)
Reallistic airspace
Charts can be found here

EDDF:

Update STAR's
Terrain
Charts can be found here

EDDH:

Update STAR's
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EDDH)
Charts can be found here

EDDM:

Update STAR's
Terrain (Close to the Alps, should be interesting)
Charts can be found here

EDDT:

Update STAR's
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EDDT)
Charts can be found here

EGCC:

Update STAR's
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EGCC)
Reallistic airspace
Charts can be found here

EGGW:

Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EGGW)
Charts can be found here

EGKK:

Update SID's + STAR's (All procedures were recently changed)
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EGKK)
Charts can be found here

EGLC:

Update STAR's
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EGLC)
Charts can be found here

EGLL:

Update STAR's
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EGLL)
Improve traffic
Charts can be found here

EHAM:

Update SID's + STAR's (There's 80 SID's!!!!!!)
Terrain? (I don't think there's any terrain higher than 1000ft in the area surrounding EHAM)
Reallistic airspace
Charts can be found here

EIDW:

Update STAR's
Terrain
Charts can be found here

EINN:

Update STAR's
Terrain
Charts can be found here

ENGM:

Update STAR's
Terrain
Charts can be found here

ESPA:

Update STAR's
Charts can be found here

LKPR:

Terrain
Charts can be found here

LTBA:

Update (Add) SID's + STAR's
Terrain
Reallistic airspace
Charts can be found here (charts from 2015)

I'm definitely willing to help on some of these airports, but it's gonna take a while. Additionally, these are only the European airport, there's still many other airports not on this list which also require updating.

@Fechulo Some of the Scandinavian airports may have interesting terrain. For EGCC, there are the Pennines. I can't contribute much to terrain contribution as the natural neighbour part just freezes up my PC ;c

@indianbhaji That's no problem, I'm willing to help out with the terrain. :smile:

Thank you for doing that! @Fechulo In case of EDDM, terrain isn't that much of problem because I don't think it affects the airport. The alps are rather far way. And adding transitions will be a lot of work as well!
@indianbhaji one of the most interesting airports for terrain is LOWI! We should add that :D

Definitely LOWI! Missed that out :p

I love LOWI :D such a beautiful and complicated airport

EGNM is also European @Fechulo

@indianbhaji I don't think it needs any updating. SID's are up to date, there's no STAR's in real life either and I don't think terrain is needed.

@Fechulo EGNM is the highest airport in the UK at around 600ft, if anything
we could just try using the EGCC terrain as it's not that far out.
On Mon, Aug 22, 2016 at 3:11 PM, Fechulo<EMAIL_ADDRESS>wrote:

@indianbhaji https://github.com/indianbhaji I don't think it needs any
updating. SID's are up to date, there's no STAR's in real life either and I
don't think terrain is needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zlsa/atc/issues/650#issuecomment-241424918, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASgmWB6IwsoHDkysT2k-8Vke9Vz9JEBiks5qia4QgaJpZM4JpzWm
.

@indianbhaji You're right, there is terrain, my bad. I'll update the list.

I'll start Heathrow.

I'll take Hamburg (EDDH).

I'll start München (EDDM). If someone could assist with terrain, it'll be greatly appreciated!

Hi All,
Don't know if this thread is still active, but I wonder if anyone still plans to review EGKK (Gatwick)?  I think there is something wrong with the LAM SID, because when I clear those departures (caf cvs) they just keep circling & climbing forever (maybe around KKN43?).  See screen shot:

I looked through the EGKK JSON file without really knowing what I'm doing, and here is what I found for the SID:
"sids": {
"LAM": {
"icao": "LAM",
"name": "Lambourne",
"suffix": {"08R":"1Z", "26L":"1X"},
"rwy": {
"08R": [["KKE02", "A20+|K250"], ["KKE12", "A30+"]],
"26L": [["KKW04", "A25+|K220"], ["KKN06", "A30+|K220"], ["KKE14", "A40-|K250"]]
},
"body": [["SUNAV", "A5000"], ["KKE35", "A5000"], ["KKN43", "A5000"], ["KKN48", "A6000"], ["LAM", "A6000"]],
"draw": [["KKE02", "KKE12"], ["KKW04", "KKN06", "KKE14", "SUNAV", "KKE35", "KKN43", "KKN48", "LAM"]]
},
It appears they should climb from FL50 at KKN43 to FL60 at KKN48 and continue to LAM and depart, but they aren't doing that?  Not sure if I'm reading it correctly though.
Thanks,
Scott

Most of us are still waiting for V3 to come out. Gatwick seems to have the circling bug, @erikquinn?

@scott-j-smith @indianbhaji the circling bug at EGKK is due to my stupidity. The restrictions aren't written correctly. They're correct but the way I wrote them isn't. Instead of K250 it should be S250 and instead of A6000 it should be A60. As @indianbhaji said we're all waiting for v3 but I'll fix it as soon as it's out.

Thank you for the responses and explanations.  Happy to hear that
development and improvements are still ongoing to this sim.
Scott
On Sun, Oct 9, 2016 at 4:43 AM, Fechulo<EMAIL_ADDRESS>wrote:

@scott-j-smith https://github.com/scott-j-smith @indianbhaji
https://github.com/indianbhaji the circling bug at EGKK is due to my
stupidity. The restrictions aren't written correctly. They're correct but
the way I wrote them isn't. Instead of K250 it should be S250 and instead
of A6000 it should be A60. As @indianbhaji
https://github.com/indianbhaji said we're all waiting for v3 but I'll
fix it as soon as it's out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zlsa/atc/issues/650#issuecomment-252473347, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVXawFTLhFo9SSiGUIDu8A53N-nFUiaKks5qyKlBgaJpZM4JpzWm
.

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


!tex error handling fix #186

Fixes #186
Handles invalid equations

CI is bugged, this is good. Thank you!


display(image) not working in Colab

hi Phil.  i freakin love your simplified notebooks!
in the big-sleep notebook, the last line of the cell is supposed to show the most recent iteration image on the screen, but for me it doesn't work.
i don't have this issue with your deep-daze notebook, where nearly identical code displays the images fine.  the only difference i can see is that deep-daze uses .jpgs while big-sleep uses .pngs.
any thoughts what might be causing this?

i think i solved my own problem here... my prompt had a comma in it ("a paperclip, made of peanut butter").  once i removed the comma, the image displays fine.  apologies for the waste of time, but at least got to thank you for your excellent work!

I have this issue as well

You could use my colab notebook. I made a pull request for it.
https://colab.research.google.com/drive/1zVHK4t3nXQTsu5AskOOOf3Mc9TnhltUO?usp=sharing


asdf 2.4.2 dependency on pytest

Running python 3.6.3:
>>> import asdf
>>> asdf.__version__
'2.4.2'
>>> tree = {'test': 1.0}
>>> af = asdf.AsdfFile(tree)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/asdf/asdf.py", line 122, in __init__
    self._process_extensions(extensions)
  File "/usr/local/lib/python3.7/dist-packages/asdf/asdf.py", line 206, in _process_extensions
    self._extensions = default_extensions.extension_list
  File "/usr/local/lib/python3.7/dist-packages/asdf/extension.py", line 233, in extension_list
    self._extension_list = AsdfExtensionList(self.extensions)
  File "/usr/local/lib/python3.7/dist-packages/asdf/extension.py", line 226, in extensions
    self._load_installed_extensions()
  File "/usr/local/lib/python3.7/dist-packages/asdf/extension.py", line 197, in _load_installed_extensions
    ext = entry_point.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.7/dist-packages/astropy/io/misc/asdf/extension.py", line 17, in <module>
    from .tags.coordinates.skycoord import *
  File "/usr/local/lib/python3.7/dist-packages/astropy/io/misc/asdf/tags/coordinates/skycoord.py", line 9, in <module>
    from astropy.table.tests.test_operations import skycoord_equal
  File "/usr/local/lib/python3.7/dist-packages/astropy/table/tests/test_operations.py", line 6, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'

Installing pytest solves this issue.

Thanks for the report.  This is the same issue reported here
https://github.com/astropy/astropy/issues/9099
for which a fix is almost done.
That said, this only shows up if astropy is installed and provides its ASDF extension, which is not required for your test case above.
So 2 ways to deal with this are

install pytest
or
uninstall astropy

Does that work for you?

Our project depends on astropy so I can't (permanently) get rid of it, but installing pytest solves it indeed.

Makes sense.  I suspect the fix on the astropy side will be out within a month.  Unfortunately nothing we can do in this repo, so I will close this issue and allow the linked issue above in the astropy repo to track progress on the fix.
Thanks!


Fixing typing mistakes for cpu and memory request and multiplier.

Pull Request Test Coverage Report for Build 6753

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 45.19%

Totals

Change from base Build 6751:
0.06%

Covered Lines:
18012

Relevant Lines:
39858

💛  - Coveralls


Replace WIN32 -> PLATFORM_WINDOWS

I was trying to make cmake build on Linux (#12018/#13061) but noticed that WIN32 was used in tensorflow/core/lib/jpeg/jpeg_mem.cc.
I don't know enough history with TensorFlow's code base though I assume WIN32 should only be inside tensorflow/core/platform?
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

With #13145 merged this PR is not needed. Closing.


docs: Added my Profile for Interested Technical Writers for GSOD'24

Added my Profile for Interested Technical Writers for GSOD'24

Please make sure your entry has only three cells (remove the extra | between your links). Thank you!

@emckean I made the suggested changes.


Adding FreeBSD capabilities support.

Thanks!
This looks pretty bare. Does it actually pass tests?

Similarly as OpenBSD on this matter.

Any chance those BSD PR got merged ? :-)

sorry for the long wait! This finally went into the 'next' branch. What versions of FreeBSD does this work on? My builder doesn't currently work so it's not easy for me to test myself.

FreeBSD capsicum is even supported by FreeBSD 9.3 which is no longer supported since 2014 so it is pretty safe :-)

out in 1.5.14


refactor(autoware_behavior_velocity_planner_common,autoware_behavior_velocity_planner): separate param files

Description
Previously, behaviour_velocity_planner/config/behaviour_velocity_planner.param.yaml was used in autoware_behaviour_velocity_planner and autoware_behaviour_velocity_planner_common.
In this PR, behaviour_velocity_planner.param.yaml is split into behaviour_velocity_planner.param.yaml and behaviour_velocity_planner_common.param.yaml. behaviour_velocity_planner.param.yaml is only used in behaviour_velocity_planner and behaviour_velocity_planner_common.param.yaml  is only used in behaviour_velocity_planner_common .

Before
behavior_velocity_planner/config/behavior_velocity_planner.param.yaml
/**:
ros__parameters:
    forward_path_length: 1000.0
    backward_path_length: 5.0
    behavior_output_path_interval: 1.0
    stop_line_extend_length: 5.0
    max_accel: -2.8
    max_jerk: -5.0
    system_delay: 0.5
    delay_response_time: 0.5
    is_publish_debug_path: false # publish all debug path with lane id in each module

After
behavior_velocity_planner/config/behavior_velocity_planner.param.yaml
/**:
ros__parameters:
    forward_path_length: 1000.0
    backward_path_length: 5.0
    behavior_output_path_interval: 1.0
    stop_line_extend_length: 5.0

behavior_velocity_planner_common/config/behavior_velocity_planner_common.param.yaml
/**:
ros__parameters:
    max_accel: -2.8
    max_jerk: -5.0
    system_delay: 0.5
    delay_response_time: 0.5
    is_publish_debug_path: false # publish all debug path with lane id in each module

Why do I need this change?
The file behavior_velocity_plannner/config/behaviour_velocity_planner.param.yaml was needed to create unit tests for behavior_velocity_plannner_common. However, if behavior_velocity_plannner_common depends on behavior_velocity_plannner, it causes circular references. Therefore, I came up with the idea of creating this PR.
Related links
https://github.com/autowarefoundation/autoware_launch/pull/1254
How was this PR tested?
Tested on psim.
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@yhisaki
In the autoware_static_centerline_generator package, the tests are failing because it tries to reference behavior_output_path_interval defined in behavior_velocity_planner_common.param.yaml, whereas it should be referencing behavior_velocity_planner.param.yaml instead.

For this PR's change, it would be more appropriate to verify that colcon test executes without issues, rather than checking psim results.


Getting distortion on import

Using Daz Studio Beta v4.20.1 with plugin version v2.0.2 and UE5 v5.0.2 with plugin v2.0.1b.  I am getting this distortion in UE5 when importing Genesis 8 and 8.1 male. Thank you for any help!

@mostlyhuman I have tested Daz Studio Beta <IP_ADDRESS> + UE 5.0.2 + latest plugin v2<IP_ADDRESS> with G8 male and am not getting this issue.  Please try downloading and installing the latest version here: https://github.com/daz3d/DazToUnreal/releases
If you are still getting distortion, then please include the following information:

What exact steps do you perform in Daz Studio to export?
What exact steps are you doing in UE after import completes?
Please include full screenshot of the entire UE window, and include information related to any preview animation or pose that is currently being applied to the figure.

Evidently it was something with my UE5 project, I created a whole new project and it is working fine.  Any ideas what might be causing that in my main project?

Hmm, that sounds similar to the problem here: https://github.com/daz3d/DazToUnreal/issues/3
I don't know if they ever found a solution, but it might be worthwhile for you to ask them.
Another thing to try is to disable all plugins from your bugged project and see if the problem is still there.  If it isn't, then slowly add back plugins one-by-one until you identify a plugin causing the issue.


Research and size the work required Forseti to by default use only Private IPs

Related to: Implement Forseti by default with Private IPs#2946
Goal is to understand the required changes to both GKE/VM deployments
[ ] What changes are required to installers (Terraform/DM)
[ ] What changes are required to proxy
[ ] Are there changes to IAM
[ ] How to enable Private IP Access for Forseti project (likely related to installers)

Can we push this to 2.22?

Helm Charts: No changes required.
Terraform Module: https://github.com/forseti-security/terraform-google-forseti/issues/254


docs: fix broken timeml link

Codecov Report

Merging #4 (f6e7890) into main (818a46d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   81.35%   81.35%
=======================================
  Files           8        8
  Lines         177      177
=======================================
  Hits          144      144
  Misses         33       33

Continue to review full report at Codecov.

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


create-react-app: fails to minify

When using facebookincubator/create-react-app to create an optimized web build for my application, I get the following error:
Failed to minify the code from this file:
   ./node_modules/react-onclickoutside/index.js:92

Any chance for this to be resolved by having the package be published pre-compiled?

The package is published pre-compiled down to cjs and es modules formats (both being es5, except es modules ofc in the latter), there are also umd bundles available in the ./dist directory (this also gets published.
I suspect this is some configuration problem, you would have to share repository with the issue reproduced if you want to get some help, otherwise we can't do much.

Hm, well one thing worth noting is that I'm not requiring this manually. I'm actually requiring the react-datepicker package (https://github.com/Hacker0x01/react-datepicker) which then depends on onclickoutside - so I'm not sure how much control I have over how its loaded.

@ChristianTheMinery
From the react-onclickoutside Readme:

This HOC is a pure ES6 implementation as of v6.x - if you need ES5 code you can either use 5.x or below, or set up your build system so that it does ES5 conversion for you, at whatever is the most logical point in your build chain.

I had a similar problem. My workaround (not recommended) was to install 5.x (npm install<EMAIL_ADDRESS>and copy it into the /node_modules/react-datepicker/node_modules folder. This resulted in an awfully large build size, but I needed this update tonight, and it wasn't that big of a problem for my project.
This project is not at fault for the error, it seems to be based on the dependencies for react-datepicker
Perhaps a contributor over there could get it moved back to 5.x?

Our Readme is a little bit outdated. We have decided to bring back transpilation to es5 after many voices from the community. Need to update this part later.
react-datepicker has exact version of react-onclickoutside specified in the package.json - newer versions should work ok for you. I've sent PR with the change - https://github.com/Hacker0x01/react-datepicker/pull/1091


Removed duplicated null conditional index access

This operator was listed twice. I left the first copy (near member access) and removed the 2nd.
Title
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Insert a short (one or two sentence) summary here.
Fixes #Issue_Number

Note: The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove that line if you don't have issues associated with this
PR. Click on the Guidelines for Contributing link above for details.

Details
Explain your changes, and why you made them. If that
information is already available in the issue referenced
above, just referencing the issue is preferred to copying
the text.
This may not be necessary depending on the scope of the PR
changes. For example, "fix typo in introduction.md" is
sufficient to describe that PR.
Suggested Reviewers
If you know who should review this, use '@' to request a review.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


tangent and curvature

Hello i am trying to use the library to fit splines on some data. It looks like the derivatives are not working properly.
Maybe i am using the library in the wrong way.
From what i can see the time is not exactly related to the x of each point.
I compute the first derivative at time t :  auto d1 = ucbs.getTangent(u).tangent;
I compute the second derivative at time t :  auto d2 = ucbs.getCurvature(u).curvature;
then i extract x and y and plot them.
The data are really simple:
(x,y);
(1, 30);
(2, 29);
(3, 27);
(4, 24);
(5, 20);
(6, 16);
(7, 9);
here the curve fitted with an uniform bspline and the two derivatives from the library:

can you help me? Am i using the lib in the wrong way?

Without digging too deep into the numbers, I think this is working as intended. The tangent is the rate of change of the spline -- but it's the rate of change with respect to T, not with respect to X.
Your X values increase by 1 for each point, and this library gives one unit of T for each input point, so I would expect the X component of the tangent to always be 1. Eyeballing the graph, it looks like all the points have X=1
The curvature is the rate of change of the tangent, again with respect to T. Because the tangent is 1 at every data point, it is not changing, and its rate of change is 0. And eyeballing the curvature graph, all the points have X=0

It sounds like you have an independent variable and a dependent variable, and you want to use a spline to relate them? Right now the library is only supporting cases where the independent variable is a fixed interval, but it wouldn't be too hard to add a constructor to the spline type you want to use, which takes T values and their corresponding data points

Yes actually you are completely right. I am in the case you mentioned. Thank you for the answer.

Hello, can you please tell me which of the classes i should modify in order to handle my case of indipended variable not at fixed interval? thank you.

You can use UniformCubicBSpline
Note that the T values will start from 0, instead of from 1

But if i have point in x y and my x data are not equally distributed and not equally spaced how can i relate those points with t? because then i would like to evaluate the spline as f(x) f'(x) and f''(x)
Is there an easy way to implement it in the library?
Thank you

Ah, I missed that your X values weren't evenly spaced.
The is is an interesting problem. There isn't really a mathematically correct way to solve this.
One possible idea is having two parallel UniformCubicBSplines - one containing your X values and one containing your Y values.
UniformCubicBSpline<float> xValues = ....;
UniformCubicBSpline<float> yValues = ....;
Then, in order to look up the y value at X=1.25f, create a SplineInverter
`SplineInverter<float, float, 1> xInverter(xValues);
float t = xInverter.findClosestT(1.25f);
float yResult = yValues.getCurvature(t);`

Another option is to add a constructor to GenericBSpline: https://github.com/ejmahler/SplineLibrary/blob/master/spline_library/splines/generic_b_spline.h#L189
The existing constructor takes a list of points and auto-computes the knots. The new constructor could take both the points and knots. It could look something like this:
GenericBSpline(std::vector<floating_t> knots, const std::vector<InterpolationType> &points, size_t degree)
        :SplineImpl<GenericBSplineCommon, InterpolationType,floating_t>(points, points.size() - degree)
    {
        assert(points.size() > degree);
        assert(knots.size() == points.size() + degree - 1);
        assert(knots[degree - 1] == 0.0f) // Make this a fuzzy compare, and put "knots[degree - 1] = 0.0f" on the next line?

        for(size_t i = 1; i < knots.size(); i++)
        {
              assert(knots[i] >= knots[i - 1]);
        }

        this->common = GenericBSplineCommon<InterpolationType, floating_t>(points, std::move(knots), degree);
}

Note that you actually need more knots than you do points. Specificially, you need an extra degree - 1 knots, added to the beginning so that knots[degree - 1] == 0. This is just a consequence of the Deboor algorithm used to compute the Generic B Spline.
Since we're talking about cubic splines, I would start by setting degree = 3. So you need to insert 3 - 1 = 2 "dummy knots" at the beginning of the knot array. There's no mathematically correct way to choose these, but here are some options:

Repeat 0.0f 3 times. IE, knots[0] = 0 and knots[1] = 0 and knots[2] = 0.
Increment by 1, so knots[0] = -2 and knots[1] = -1andknots[2] = 0`.
Compute the average difference between X values, and increment by that. If the average difference is 0.6, then knots[0] = -1.2 and knots[1] = -0.6andknots[2] = 0`

Once you do all of this, then you can pass your X values as T values. If I had to guess, I'd say this approach is goingto be easier than the double-spline suggestion I made above, so start with this. Good luck :)

I am going to try.
I tried to use those formula:  http://www.qc.edu.hk/math/Certificate Level/Parametric differentiation.htm
but i always get the second derivative scaled of some factor. I dont know the reason. Do you know id those are suitable for the problem? I mean computing the t for a certain x then using the getTangent and the get Curvature and applying those formula?

Maybe i am getting something wrong but i think you cant use as InterpolationType something that is not an array unless changing the templates and also the SplineInverter plus some other utils classes. Am i wrong?

I created the Generic spline with your idea. The position work but if i plot the derivatives it is completely wrong. Do you have an idea of the reason?
Here the plot of the arc fitted first and second derivative

each plot is representing getPosition(x) x,y
getTangent(x).tangent  x,y
getCurvature(x).curvature x,y
Do you have an idea?

`
void GenericSpline::Fit(const std::vector& X, const std::vector& Y)
{
assert(X.size() == Y.size());
assert(X.size() > 2);
std::vector knots;
knots.push_back(-2.0);
knots.push_back(-1.0);
knots.push_back(0.0);
data_.push_back(QVector2D(X.at(0), Y.at(0)));
for(auto i = 0; i < X.size(); ++i)
{
knots.push_back(X.at(i));
data_.push_back(QVector2D(X.at(i), Y.at(i)));
}
p_toSplineT_.reset(new GenericBSpline<QVector2D, double>(knots, data_, size_t(3)));
auto last = X.at(X.size()-1);
for (auto i = 0.0; i < last; i += 0.25 )
auto p = p_toSplineT_->getPosition(x);
auto dx1 = p_toSplineT_->getTangent(x).tangent;
auto dx2 = p_toSplineT_->getCurvature(x).curvature;
`
So the two vectors contain the X and Y data
Maybe i create the knots in the wrong way.  But when i plot p.x(), p.y()
d1x.x(), d1x.y()
d2x.x(), d2x.y(); i get not correct values.
Can you please help me?
Thank you

The problem could be that you're treating your X values as dependent variables. In this loop
for (auto i = 0.0; i < last; i += 0.25 )
auto p = p_toSplineT_->getPosition(i);
auto dx1 = p_toSplineT_->getTangent(i).tangent;
auto dx2 = p_toSplineT_->getCurvature(i).curvature;
}```
instead of plotting

p.x(), p.y()
d1x.x(), d1x.y()
d2x.x(), d2x.y();

What happens if you plot

i, p.y()
i, d1x.y()
i, d2x.y();
Think of the input into the spline as your X value (in this case, the variable `i` is the input that we pass to getPosition() etc), and the output of the spline as the Y value. Does that improve your results?

From where it come from this auto knots = std::vector{-2,-1,0,0.75,1,5,3,4,5,6,7};

They're just arbitrary numbers I chose for my x values. Let me rename some variablesto make it more similar to your setup and see if that helps:
void makeSpline(void)
{
    float degree = 3;
    std::vector<float> X = std::vector<float>{-2,-1,0,0.75,1,5,3,4,5,6,7};
    std::vector<Vector<1>> Y = generateTriangleNumberData<1>(knots.size() - (degree - 1));

    GenericBSpline<Vector<1>> spline(X, Y, 3);

    float interval = 0.5f;

    for(size_t i = 0; i < 10; i++) {
        float x = i * interval;
        auto computedData = spline.getCurvature(x);
        float y = computedData.position[0];
        float dy = computedData.tangent[0];
        float d2y = computedData.curvature[0];
    }
}

and why do you use a variable interval?

It's just a different way of writing the same thing that you wrote.
This:
for(float x = 0.0; x < max; x += 0.5) {
    //loop code
}

is the same as this:
float interval = 0.5;
for(int i = 0; i * interval < max; i++) {
    float x = i * interval;

    //loop code
}

But I prefer the second one because there are fewer floating point errors

Thank you. I will try but just a question:
The X and Y size should be the same or is it ok that Y[0] will correspond to X[0] which is -2?? Same for the other values. This create a shift


feat(#59): model save_config

In this pull, I've implemented saving used model's parameters saving to the file inside experiment/${model}.
ref #59
History:

feat(#59): config.txt
feat(#59): json
feat(#59): config

PR-Codex overview
This PR focuses on improving the cluster testing and configuration saving functionality in the codebase.
Detailed summary

Updated test_cluster.py to include saving model configuration in config.json file
Modified cluster.py to save model parameters in config.json
Improved directory structure and file handling for clusters and config files

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

data = ['Rate limit reached. You reached free usage limit (reset hourly). Please subscribe to a plan at https://huggingface.co/pricing to use the API at this rate']

Let's wait in order to reset the limit


Copilot Chat throws HTTP 400 when lmTools API uses "parametersSchema": true

Does this issue occur when all extensions are disabled?: No, depends on Copilot Chat and another extension to use the lmTools API proposal

VS Code Version: 1.93.0-insider (user setup)
OS Version: Windows_NT x64 10.0.22631
GitHub Copilot Chat Version: v0.20.2024081501 (pre-release)

Steps to Reproduce:

Run npx --package yo --package generator-code -- yo code and accept all prompts to create a new TypeScript extension.
Open the new extension folder in VS Code.
Edit package.json to add these blocks:

  "enabledApiProposals": [
    "lmTools"
  ],

  "contributes": {
    <existing contribution points>,
    "languageModelTools": [
      {
        "id": "usernametool",
        "name": "username",
        "displayName": "Username",
        "canBeInvokedManually": true,
        "icon": "$(account)",
        "modelDescription": "This tool provides the name of the current user.",
        "userDescription": "Provides the name of the current user.",
        "parametersSchema": true
      }
    ]
  },

Run npx vscode-dts dev.
Edit src/extension.ts to add the following:

	context.subscriptions.push(vscode.lm.registerTool('usernametool', {
		async invoke(parameters, token) {
			return {
				toString() {
					return "The user's name is Bob.";
				},
			}
		},
	}));

Start debugging the extension.
In Copilot Chat, type "Who am I? #username"
GitHub Copilot responses with "unhandled status from server: 400 Bad Request".

If product.json is changed to "parametersSchema": {} instead, the request succeeds. However, true is a valid JSON Schema according to the meta-schema and online validators.
cc @isidorn

I agree that it's valid, but looks like OpenAI requires that it be an object, and I don't think I can configure our schema to point at the json schema ref but disallow a boolean: https://github.com/microsoft/vscode/blob/583328de48cf0e478c99806b6aab311fcbfdad2f/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.ts#L71
So I could do some runtime validation on parametersSchema when it's registered. But it's pretty annoying that true is the default value for the meta-schema, and I don't think I can override that. Do you have any other idea what would be helpful?

In this case my tool didn't need any parameters, so I was just accepting the default. I didn't explicitly need it to be true, and {} works just fine for my purposes.
Ideally the default can be changed, but regardless it'd probably be good to have runtime validation just so that extension developers get a more understandable error message than an HTTP 400 in chat, which makes it look like it's the Copilot Chat extension's fault instead of the extender.

Sure. You don't need to set parametersSchema at all in that case either.


Timed out

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Please make sure that you're on a stable connection and use a solid DNS such as Google DNS.


New school

@Azizbek2727 The domain bk.ru does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.


add: tr.m3u Missing channels added.

upd: Missing information corrected.

https://github.com/iptv-org/iptv/pull/17047 Required channels for broadcasts here have been added.

The required data correction for VTV.tr and the live broadcast link of the relevant channel have been added. FYI @Alstruit
This commit: https://github.com/iptv-org/iptv/pull/17047/commits/77c2facddd5e61e4b63d590b64dba715b18789a6


add equal?/2 impl

This is a minimally invasive extension of the behaviour to support equal?/2. Thanks to @jessicadelrio for finding this!

I'm sorta surprised we need to do the check for nil. I guess that's needed if the column allows nil or something? either way, this looks fine to me.

I'm sorta surprised we need to do the check for nil. I guess that's needed if the column allows nil or something? either way, this looks fine to me.

Yeah, nullables will pass the nil onto your Ecto.Type.

Yeah, nullables will pass the nil onto your Ecto.Type.

Makes sense. Do you need me to release this or do you have permissions to do that?

Makes sense. Do you need me to release this or do you have permissions to do that?

I think I am authorized, but I'll ping you out of band if that's necessary.

I think I am authorized, but I'll ping you out of band if that's necessary.


Fixed typo in icon tag

Hello @Juggernaut93 ,
Thank you for your pull request. I've created an internal record<PHONE_NUMBER>. The status of this issue will be updated here in GitHub.
Florian


[Ubuntu 14] How can I install iTorch if I am using anaconda?

I got the following error when I tried to install iTorch.
Missing dependencies for itorch:
lzmq
uuid
lbase64
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lzmq-0.4.2-1.src.rock... switching to 'build' mode
Archive:  v0.4.2.zip
bb16eda60cd63862f3d1a114229e488bfc43b0d7
creating: lzmq-0.4.2/
inflating: lzmq-0.4.2/.gitignore
.
.
.
Updating manifest for /usr/local/lib/luarocks/rocks
uuid 0.2-1 is now built and installed in /usr/local/ (license: Apache 2.0)
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lbase64-20120820-1.src.rock... switching to 'build' mode
Do not use 'module' as a build type. Use 'builtin' instead.
gcc -O2 -fPIC -I/usr/local/include -c lbase64.c -o lbase64.o
gcc -shared -o base64.so -L/usr/local/lib lbase64.o
Updating manifest for /usr/local/lib/luarocks/rocks
lbase64 20120820-1 is now built and installed in /usr/local/ (license: Public domain)
ipy=$(which ipython)
if [ -x "$ipy" ]
then
rm -rf ~/.ipython/profile_torch
ipython profile create torch
echo 'c.KernelManager.kernel_cmd = ["/usr/local/bin/itorch_launcher","{connection_file}"]' >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.key = b''" >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.keyfile = b''" >>~/.ipython/profile_torch/ipython_config.py
mkdir -p ~/.ipython/profile_torch/static/base/images
cp ipynblogo.png ~/.ipython/profile_torch/static/base/images
mkdir -p ~/.ipython/profile_torch/static/custom/
cp custom.js ~/.ipython/profile_torch/static/custom/
cp custom.css ~/.ipython/profile_torch/static/custom/
cp itorch /usr/local/bin/
cp itorch_launcher /usr/local/bin/
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/itorch/scm-1" && make
else
echo "Error: could not find ipython in PATH. Do you have it installed?"
fi
Error: could not find ipython in PATH. Do you have it installed?
cd build && make install
sh: 1: cd: can't cd to build
Error: Build error: Failed installing.
Thank you.

simply add the anaconda based python to your path variable.
Usually anaconda installs everything to ~/anaconda/
so in your terminal, you can add anaconda to the path using:
export PATH=~/anaconda:$PATH

Then you can retry the iTorch install
luarocks install iTorch

Thank you but I still got the same error.

sorry, i made a mistake in the command above. This is the right one:
export PATH=~/anaconda/bin:$PATH

Same error. :'(

@tohnperfect, how do you run ipython normally?  Do you specify the path to your ipython binary directly, or is it in your $PATH?

just $ipython in the terminal.

sorry I'm using Ubuntu 14.04.

not able to reproduce this, what is the output of:
$ which ipython

/home/localadmin/anaconda/bin/ipython

ok, are you using "luarocks install itorch" or "sudo luarocks install itorch"?

I use "sudo ..." because there is a permission problem when I use  "luarocks install itorch".

ok that explains everything! phew! I'll update the doc as well, but here is the command that should work:
sudo -E luarocks make
sudo chown -R $USER ~/.ipython

you might have to replace $USER with your username

I got
ipy=$(which ipython)
if [ -x "$ipy" ]
then
rm -rf ~/.ipython/profile_torch
ipython profile create torch
echo 'c.KernelManager.kernel_cmd = ["/usr/local/bin/itorch_launcher","{connection_file}"]' >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.key = b''" >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.keyfile = b''" >>~/.ipython/profile_torch/ipython_config.py
mkdir -p ~/.ipython/profile_torch/static/base/images
cp ipynblogo.png ~/.ipython/profile_torch/static/base/images
mkdir -p ~/.ipython/profile_torch/static/custom/
cp custom.js ~/.ipython/profile_torch/static/custom/
cp custom.css ~/.ipython/profile_torch/static/custom/
cp itorch /usr/local/bin/
cp itorch_launcher /usr/local/bin/
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/itorch/scm-1" && make
else
echo "Error: could not find ipython in PATH. Do you have it installed?"
fi
Error: could not find ipython in PATH. Do you have it installed?
cd build && make install
sh: 1: cd: can't cd to build
Error: Build error: Failed installing.
which is the same error when I input "sudo -E luarocks make"

sudo env "PATH=$PATH" luarocks make
this should work. just tested it on ubuntu

sudo env "PATH=$PATH" luarocks make doesn't help. I also have the same error on OS X with local install.

Many thanks, Soumlth.
I got this
ipy=$(which ipython)
if [ -x "$ipy" ]
then
rm -rf ~/.ipython/profile_torch
ipython profile create torch
echo 'c.KernelManager.kernel_cmd = ["/usr/local/bin/itorch_launcher","{connection_file}"]' >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.key = b''" >>~/.ipython/profile_torch/ipython_config.py
echo "c.Session.keyfile = b''" >>~/.ipython/profile_torch/ipython_config.py
mkdir -p ~/.ipython/profile_torch/static/base/images
cp ipynblogo.png ~/.ipython/profile_torch/static/base/images
mkdir -p ~/.ipython/profile_torch/static/custom/
cp custom.js ~/.ipython/profile_torch/static/custom/
cp custom.css ~/.ipython/profile_torch/static/custom/
cp itorch /usr/local/bin/
cp itorch_launcher /usr/local/bin/
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/itorch/scm-1" && make
else
echo "Error: could not find ipython in PATH. Do you have it installed?"
fi
[ProfileCreate] Generating default config file: u'/home/localadmin/.config/ipython/profile_torch/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/localadmin/.config/ipython/profile_torch/ipython_qtconsole_config.py'
[ProfileCreate] Generating default config file: u'/home/localadmin/.config/ipython/profile_torch/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/localadmin/.config/ipython/profile_torch/ipython_nbconvert_config.py'
sh: 6: cannot create /home/localadmin/.ipython/profile_torch/ipython_config.py: Directory nonexistent
sh: 7: cannot create /home/localadmin/.ipython/profile_torch/ipython_config.py: Directory nonexistent
sh: 8: cannot create /home/localadmin/.ipython/profile_torch/ipython_config.py: Directory nonexistent
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/localadmin/Research/Torch/iTorch/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/gfx.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/completer.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/test.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/main.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/Plot.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/_env.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/IOHandler.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/init.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/util.lua
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh-0.7.0.min.js
-- Installing: /usr/local/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh-0.7.0.min.css
Updating manifest for /usr/local/lib/luarocks/rocks
itorch scm-1 is now built and installed in /usr/local/ (license: BSD)
after input "sudo env "PATH=$PATH" luarocks make" which there is the same error at the top but seem to work. I'm not sure.

@tohnperfect cheers, it works for you, thanks for being patient.
@szagoruyko the issue seems to be once you enter sudo, 'which ipython' is failing. do you have ipython installed, without sudo, do you see any output on "which ipython"

Sorry. It is not working. I got the following error after I try to run "iTorch" in a terminal.
Traceback (most recent call last):
File "/home/localadmin/anaconda/bin/ipython", line 6, in
sys.exit(start_ipython())
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/init.py", line 118, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 544, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
return method(app, *args, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 312, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "", line 2, in initialize
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
return method(app, *args, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/core/application.py", line 362, in initialize
self.parse_command_line(argv)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 307, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)
File "", line 2, in parse_command_line
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
return method(app, *args, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 474, in parse_command_line
return self.initialize_subcommand(subc, subargv)
File "", line 2, in initialize_subcommand
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
return method(app, *args, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 412, in initialize_subcommand
self.subapp.initialize(argv)
File "", line 2, in initialize
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
return method(app, *args, **kwargs)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 323, in initialize
self.init_shell()
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/terminal/console/app.py", line 107, in init_shell
IPythonConsoleApp.initialize(self)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/consoleapp.py", line 391, in initialize
self.init_kernel_manager()
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/consoleapp.py", line 347, in init_kernel_manager
self.kernel_manager.start_kernel(extra_arguments=self.kernel_argv)
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/kernel/manager.py", line 196, in start_kernel
self.write_connection_file()
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/kernel/connect.py", line 478, in write_connection_file
signature_scheme=self.session.signature_scheme,
File "/home/localadmin/anaconda/lib/python2.7/site-packages/IPython/kernel/connect.py", line 143, in write_connection_file
with open(fname, 'w') as f:
IOError: [Errno 13] Permission denied: u'/home/localadmin/.config/ipython/profile_torch/security/kernel-10063.json'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
c.Application.verbose_crash=True

@tohnperfect you did not enter the second command that i specified for sudo, i.e.:
sudo chown -R $USER ~/.ipython
after that this error will disappear

I did.

oh my bad another wrong command
Enter this:
sudo chown -R $USER ~/.config

there seem to be a couple more issues, looking at your logs. figuring out those.

Wow, you guys are incredible. Thank you very for super fast support.
Cheers @soumith

Yeah I still suspect there will be some issue because I still get error at the top when I run "sudo env "PATH=$PATH" luarocks make". Anyway If I got more error while I am trying I will report more.
Hope to use iTorch in my project.
Cheers.

ok fixed now in trunk

these two commands will now work:
sudo env "PATH=$PATH" luarocks install iTorch
sudo chown -R $USER $(dirname $(ipython locate profile))

Also updated the docs to reflect this.
Let me know if it works.

these two commands will now work:
sudo env "PATH=$PATH" luarocks install itorch
sudo chown -R $USER $(dirname $(ipython locate profile))

Also updated the docs to reflect this.
Let me know if it works.

Hi again
I got
File "", line 1
require 'image';
^
SyntaxError: invalid syntax
when I input "require 'image';" in the iTorch notebook demo. Any idea? is it related to the error or another issue?
and with the two commands the error still there.

looks like it went into ipython, not itorch.
did you start the notebook using:
$ itorch notebook

i started with $ iTorch

i'm still trying to figure out why this install is so different from what we have on multiple different machines.
what version of ipython are you running?
ipython --version

1.1.0
and even with "$ itorch notebook" I still got the same error.

oh, it is probably because of that!
we support ipython version 2+. Any modern anaconda install has the updated ipython. please update it.
I will try to put an error check when people have a very old ipython.

i think you can update your ipython with
$conda update ipython

no luck for me on Ubuntu, got #6
so on ubuntu I did these two lines:
sudo env "PATH=$PATH" luarocks install itorch
sudo chown -R $USER $(dirname $(ipython locate profile))

also tried to rip up rockspec and run parts of it without sudo.
ipython runs normally (version 2.2.0)
on OS X had to add
pip install pyzmq
pip install jinja2

and it worked.

yep updated. I'm trying the demo now.
Though the same error for "sudo env "PATH=$PATH" luarocks install itorch" is still there.

I dont think it's working "require 'image';" is running like forever.

@tohnperfect what is the error, can you repaste your log this time.
we're finding it hard to reproduce your setup, we've run it on multiple ubuntu machines without issue.

yeah sure. How can i get the log?

ok great. there is no error in your install whatsoever.
now can you give me the log for:
$ itorch
In [1]: require 'image'
Out[1]:
true

I have not got any error but the command is taking like forever.

how about:
$ itorch
In [1]: torch.randn(10)
same result, taking forever?

if this does not work out, i am sorry, that we cannot reproduce your setup. Try this alternative:
https://github.com/szym/display

yes. it's also taking forever.

or, maybe try as a fresh user, create a new user on your machine, and try using that user.
Also, I would suggest reinstalling torch after cleaning up an old install using this script:
https://github.com/torch/ezinstall/blob/master/clean-old.sh

OK, I'll try both.
And https://github.com/szym/display is for original torch, isn't it?

yes it is another display server, like iTorch or gfx.js

Hi, I got it run properly after try installing with fresh user.
I thought my problem is the torch installation because for the old user I could not run "luarocks install image"
Thank you @soumith

I got iTorch to work with my anaconda Python via:
mv /usr/local/bin/ipython /usr/local/bin/old_ipython
ln -s /anaconda/bin/ipython /usr/local/bin/ipython

I did change the anaconda python path. even though, the problem exists. Error: could not find ipython in PATH. Do you have it installed?". Kindly clarify how to set path to itorch. I am using ubantu 12.04.
kinect@kinect-System-Product-Name:~/installations/iTorch$ sudo chown -R $USER $(dirname $(ipython locate profile))
kinect@kinect-System-Product-Name:~/installations/iTorch$ sudo env "PATH=$PATH" luarocks make
ipy=$(which ipython)
if [ -x "$ipy" ]
then
ipybase=$(ipython locate)
rm -rf $ipybase/profile_torch
ipython profile create torch
echo 'c.KernelManager.kernel_cmd = ["/usr/local/bin/itorch_launcher","{connection_file}"]' >>$ipybase/profile_torch/ipython_config.py
echo "c.Session.key = b''" >>$ipybase/profile_torch/ipython_config.py
echo "c.Session.keyfile = b''" >>$ipybase/profile_torch/ipython_config.py
mkdir -p $ipybase/profile_torch/static/base/images
mkdir -p $ipybase/kernels/itorch
cat kernelspec/kernel.json | sed "s@LUA_BINDIR@/usr/local/bin@" > $ipybase/kernels/itorch/kernel.json
cp kernelspec/*.png $ipybase/kernels/itorch/
cp ipynblogo.png $ipybase/profile_torch/static/base/images
mkdir -p $ipybase/profile_torch/static/custom/
cp custom.js $ipybase/profile_torch/static/custom/
cp custom.css $ipybase/profile_torch/static/custom/
cp itorch /usr/local/bin/
cp itorch_launcher /usr/local/bin/
cp -r ~/.ipython/profile_torch ~/.ipython/profile_itorch
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/itorch/scm-1" && make
else
echo "Error: could not find ipython in PATH. Do you have it installed?"
fi

@chetakks the error is not actually printed in your case, it is simply printing out the script it executes to install.

Thanks Soumith, I reinstalled the itorch as per the instructions. The notebook is running, but it is not calling the browser.
kinect@kinect-System-Product-Name:~/installations/iTorch$ sudo chown -R $USER $(dirname $(ipython locate profile))
kinect@kinect-System-Product-Name:~/installations/iTorch$ sudo ./itorch notebook
[I 12:24:13.115 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 12:24:13.127 NotebookApp] Serving notebooks from local directory: /home/kinect/installations/iTorch
[I 12:24:13.127 NotebookApp] 0 active kernels
[I 12:24:13.127 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 12:24:13.127 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[1:1:0825/122413:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)

Dear Soumith,
In the iTorch notebook, it says
"Failed to start the kernel"
"Unknown server error"
The error is Error13, permission denied.

Dear Soumith,
The issue is related to the installation of the python or this is with the
problem of itorch.
kinect@kinect-System-Product-Name:~/installations/iTorch$ sudo ./itorch
notebook[I 15:19:14.291 NotebookApp] Using MathJax from CDN:
https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 15:19:14.303 NotebookApp] Serving notebooks from local directory:
/home/kinect/installations/iTorch
[I 15:19:14.303 NotebookApp] 0 active kernels
[I 15:19:14.303 NotebookApp] The IPython Notebook is running at:
http://localhost:8888/
[I 15:19:14.303 NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).
[1:1:0826/151914:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper
startup ack (0 bytes)
On Mon, Aug 24, 2015 at 8:39 PM, Soumith Chintala<EMAIL_ADDRESS>wrote:

@chetakks https://github.com/chetakks the error is not actually printed
in your case, it is simply printing out the script it executes to install.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/iTorch/issues/5#issuecomment-134351034.


De-duplicates translator comments

Prevents duplicate translator comments from being counted in string audit
Prevents duplicate translator comments from being output to POT file

Fixes #283

Thanks a lot for your PR!
Would you be able to add some Behat tests for this as well to verify it works as intended?

Thanks for all your help getting this merged—much appreciated!


Beam plugin

Hello,
I requested this feature but decided to give it a try, it's basically a copy&paste from your refactorized cybergame plugin :P
It works ok, have tested it with python setup.py test and with tox, but i dont know how to request the build on travis, if you need me to do it, can you please help me on the steps to do it?
Thank you and best regards!

Thanks! For future reference, it is usually a good idea to use git rebase -i to clean up history before submitting a pull request.

Hey, thank you!, ok next time i'll remember to do git rebase
Best regards.


An attempt to backport from v0.9

Failed, since tests ares failing and I can't release it as it is.
Leaving it here so @zoedberg can pick it up if she needs it

Closing this due to same reason the https://github.com/LNP-WG/lnp-node/pull/72 was closed


[Android] Fix Toggle visibility to dissappear separation

Adds extra data to the TagContent object to be able to hide the separators whenever the element is hidden (or show them when the element re appears)
Also fixes the case where ther first element is deleted and the second element has to hide its separator (and all related cases)
Fix for this: https://github.com/Microsoft/AdaptiveCards/issues/2605
How verified
The mobile app was run and this are the results
Case 1
Top element disappears and second element should hide its separator

When the image is hidden, the textblock separator hides

When the image reappears, the textblock separator also reappears

Case 2
First column in columnset disappears, so the second column must hide its separator

When the first column disappears, the column separator hides

When the first column is shown, so does the column 2 separator

Could you add a link to the issue tracking this?
Also, do we have separate bugs tracking bleed changes based on toggle?

I added the link but the issues track both changes (bleed & separator)

In reply to: 486355510 [](ancestors = 486355510)

                horizontalLine ? 0 : spacingSize / 2 /* left */,

lots of magic numbers interspersed in the code base; Let;s make sure we address this eventually say in some Constants class or something

Refers to: source/android/adaptivecards/src/main/java/io/adaptivecards/renderer/BaseCardElementRenderer.java:91 in 567593e. [](commit_id = 567593eed4b8aec9a0bc4ef031c2f02917421d8f, deletion_comment = False)

Do we have separate bugs for other platforms for this issue?


Install export file so it is available for hip

This is necessary to build hip with rocclr.

Ping?

@pfultz2 looks good to me, but you need to push it to internal branch on Gerrit.
+CC @gargrahul @mangupta

The cmake logic had drastic changes recently. I believe the latest code has proper export already and it will be available in ROCM3.6.

but you need to push it to internal branch on Gerrit.

I dont have access to push to that repo. Does this project not accept open source contributions?

but you need to push it to internal branch on Gerrit.

I dont have access to push to that repo. Does this project not accept open source contributions?

Are instructions available @ https://github.com/ROCm-Developer-Tools/HIP/issues/2104#issuecomment-643435845 not working for you ?

Are instructions available @ ROCm-Developer-Tools/HIP#2104 (comment) not working for you ?

Those instructions of course do not work as they cannot be used for a source-based package manager. This PR will fix the issue with the build scripts. I figured it would be more helpful to open a PR instead of an issue. Does rocclr not accept open source contributions?


New terms for lipid transfer/carriers

To fix the annotations in https://github.com/geneontology/go-annotation/issues/2357
We need the following new terms:

[x] lipid transfer activity
[x] phospholipid transfer activity
[x] diacylglyceride transfer activity
[x] sphingomyelin transfer activity
[x] phosphatidylglycerol transfer activity
[x] cerebroside transfer activity
[x] phosphatidylethanolamine floppase activity
[x] intermembrane ceramide-1-phosphate transfer activity
[x]  intermembrane phosphatidylserine transfer activity
[x] triglyceride transfer activity

Will make a different proposal

see https://github.com/geneontology/go-ontology/issues/17330


Updates to NCP as Pod which is a BOSH process as of 1.1.5

Oops, looks like this was already picked up. If so, please close and I will do a separate PR. Thanks.

I used the same branch as yesterday, but it appears to be ok since it was picked up, so I think it's ok but if not I can redo with new branch.


Cyclic service dependency: TextModelResolverService

The TextModelResolverService has a cycling dependency onto itself via this line: https://github.com/microsoft/vscode/blob/105eef7a3079eee9d5c4c461387026b59be349f0/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts#L196
Via injection the ResourceModelCollection depends on the TextModelResolverService which is just being created. This bug is invisible due to the magic of delayed service instantiation but will soon be warned about. To repo locally you can enforce eager instantiation of services here

Cycle is a bit more complex: TextModelResolverService > ResourceModelCollection > NativeTextFileService

marking as important because this blocks completion of https://github.com/microsoft/vscode/issues/159178

aye aye


Test/SSH: fix typos

Fix multiple error messages to report correctly the issues.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.008%) to 42.926% when pulling e60df51eca0d931d597fc63dec75942d392aee80 on eloycoto:SSHLogs into 2a1c21a119939f9beb9211106b04cef5d2ab8b50 on cilium:master.

test-me-please


UI: In the TxStatus Modal, track the destination transaction

Background
Currently, The TxStatus component only tracks the status of the initial send or swapAndSend transaction and shows it as complete when the transaction is included in a block.
The current modal component doesn't track the transaction beyond this point but the user won't receive funds until the destination transaction is complete.
This part is not currently tracked in the UI:
The Bonder will wait for the source transaction to reach a certain number of confirmations before broadcasting the destination transaction.  The destination transaction then needs to be included in a block at which point it's complete.
Task
The tracker should show two progress indicators, one for the source transaction, one for the destination transaction.
A progress indicator consists of a spinner and a label.

The source transaction progress indicator should say "pending" until the transaction is included in a block. After it's included it should show CONFIMRATIONS/CONFIRMATIONS_NEEDED (e.g., "3/15"). After the necessary confirmations it should show as "complete"
The destination progress indicator should say "pending" until the transaction is included in a block at which point it can be marked as complete.
Note: Use local storage to ensure completed transactions will show up as completed without needing to make additional RPC calls each time the modal is opened.

@kangarang reopening to surface a couple more things.
It would be nice to track both the destination transaction in this modal as well:

It would also be nice to show the number of confirmations for the initial transaction like mentioned in the original issue. Were there any gotchas that came up that might make this difficult?

Were there any gotchas that came up that might make this difficult?

@cwhinfrey nope! that should be pretty straight-forward to add


change default storage driver for redhat

Description
Changes the default storagedriver for redhat based provisioner as documented offically:
https://docs.docker.com/install/linux/docker-ee/rhel/#architectures-and-storage-drivers
The change was quietly introduced in Feb'18
https://github.com/docker/docker.github.io/commit/423a614511f3246dae07dbd69943014d801d3d1b#diff-90fcac2a0f7b7ffd643b9490af45ffbb
Related issue(s)
no issues known or reported just from an experience.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "redhat_new_default_storagedriver" git@github.com:flybyray/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

LGTM, thanks!


SAP advertisement better to be avoided.

We are using CLA Assistant for development of ClickHouse
and SAP advertisement that you have in footer looks way off.

I agree that the current footer might be a bit excessive on the other hand we want as well make sure to get a bit of credit for hosting/providing it. 😄
Maybe something like this would be a better fit, what do you thing?

That's a really nice footer! Would be great to use that too.

dear team @ SAP, dear @shegox,
first of all, thank you for bringing this solution to the open source world.
Has the footer been further discussed? I really like the suggestion of the new version. You may even want to add some more clarity, stating "CLA Bot solution is provided with <3 from the Open Source Team at SAP" - otherwise the content of self-hosted CLA Bot solutions may be associated with you. What are your thoughts?
Constantin Hoferer<EMAIL_ADDRESS>on behalf of Mercedes-Benz Tech Innovation GmbH, Provider Information

Hi all,
sorry for the long wait on this. I missed the 👍 on the proposal and forgot about.
@schonauchgut very good point you bring up with self-hosted instances.
After looking into a bit, I will now go ahead and add the footer as a configuration option.
Per default it will say something like Powered by the open source CLA-assistant project and on cla-assistant.io then something like Provided with <3 from the Open Source Team at SAP.

short update: I removed now the logo and replaced it with a more generic statement  (Powered by the open source CLA-assistant project; see #870).
For the moment being it will not be configurable, but you're free to change it for your own deployment as you like.
On a side note, I got now the time to look at the whole of the setup again and most likely we will end up rebuilding most of the UI components in a newer framework and as part of that rebuild we can/will make a lot of these things more easily user configurable.


Error code for string size not implemented in qrcode_initBytes(...)

The ability to return an error code is not implemented, see lines:
774  // @TODO: Return error if data is too big. 775 int8_t qrcode_initBytes(QRCode *qrcode, uint8_t *modules, uint8_t version, uint8_t ecc, uint8_t *data, uint16_t length) { ... 848     return 0; 849 }

You are right. It looks like I didn't do that parts. :(
I will get to this soon. I've been quite busy but have a few local changes I need to push to the license as well.
You can also check out the library I originally based this one off of here, which now has a C implementation as well. :)


API used on project https://www.frankenjura.com (project)

Hi its a great api, I used a self hosted version to integrate on https://www.frankenjura.com/frankenjura/corona

@zeug-it i think you have to make a pull request to add this.

hmmm in the docs are written:
Project Showcase (projects using this API)

Add your project by opening an issue with your project details!

so this should be enough .......................


pytinyrenderer is incompatible with Python 3.11

Brax cannot be installed with pip for Python 3.11. The dependency pytinyrenderer is not compatible with the latest Python. pytinyrenderer seems like a course project and hasn't been updated for a while. Consider removing it or replacing it with OpenGL/JAX renderer? (see #108)

Thanks @imoneoi for the report and @traversaro for adding pytinyrenderer to conda. Indeed, can confirm pip install brax does not work on Python 3.11. We've been planning to add a jax renderer but have not started  yet

For anyone interested, the only thing that makes pytinyrender incompatible with python 3.11 is its vendored old pybind11 version. If you install a recent pybind11 (for example via pip) and apply a patch to use an external pybind11 (see https://github.com/conda-forge/pytinyrenderer-feedstock/blob/main/recipe/devendor.patch) pytinyrender should build fine from source.

Can you try again? Latest pytinyrenderer 0.0.14 has updated pybind11 and a wheel for Python 3.11

Closing since we dropped pytinyrenderer and use the MJ renderer instead


Track renderer regions does not properly adjust the region if the dataset extents get larger without moving

This might be the case in a particle dataset

Test:

Import both timesteps in Bugs/3527 on glade
Add/enable a particle renderer
The particle renderer domain should continue encompass the entire data domain when changing timesteps.

VAPOR crashes when following the steps above to advance time steps.

Do you have any additional steps to reproduce the crash? It works for me.

Do you have any additional steps to reproduce the crash? It works for me.

Hmm, really no additional steps. To be clear, it renders particles at step 0 when the particle renderer is enabled. It crashes upon clicking on the "next step" button. Could @sgpearse @NihanthCW  see if they can reproduce the issue?

I am reproducing the crash on casper when following the steps above :(

I tested the appimage installer and it does crash on casper. I also tested the old-style installer (https://app.circleci.com/pipelines/github/NCAR/VAPOR/7362/workflows/d68ca9a2-ec1d-4f95-9cde-8b41664c4b46/jobs/18309) generated for the last 3.9.2 code commit (991dcb0b1ac75190f2212031ae01030ba45c03f3) on casper and it does not crash. Either way, investigating this further probably will depend on #3551


Cannot connect to AWS IoT using MQTT over WebSocket with AWS Signature Version 4 authentication

I have observed the same issue as
https://github.com/aws/aws-iot-device-sdk-java/issues/109.
My environment:

OS: MS Windows 10 / Windows Subsystem for Linux 1 (Debian Buster)
JVM: Amazon Corretto <IP_ADDRESS>.1
AWS SDK: aws-iot-device-sdk 1.2.15
AWS SDK Auth: 2.16.8

Are you using the exact same code as in #109? If not can you please include a minimal code snippet that reproduces the error?
Also have you only tried this using Windows Subsystem for Linux?

My code is slightly different (more PoC style than production style):
import com.amazonaws.services.iot.client.AWSIotException;
import com.amazonaws.services.iot.client.AWSIotMqttClient;

import java.io.File;
import java.io.IOException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;

public class MqttCheck {

    public static void main(String[] args) throws CertificateException,
            NoSuchAlgorithmException,
            KeyStoreException,
            IOException, AWSIotException {

        String endpoint = "******-ats.iot.eu-west-2.amazonaws.com";
        String clientId = "testIdv1";

        char[] keyPassword = {'c', 'h', 'a', 'n', 'g', 'e', 'i', 't'};

        // Keystore contains: Amazon Root CA 1 certificate, device certificate, factory CA certificate
        KeyStore keyStore = KeyStore.getInstance(
                new File("src/main/resources/****_aws_iot.jks"),
                keyPassword);

        // MQTT
//        AWSIotMqttClient mqttClient = new AWSIotMqttClient(endpoint,
//                clientId,
//                keyStore,
//                String.copyValueOf(keyPassword));

        // MQTT + WS
        AWSIotMqttClient mqttClient = new AWSIotMqttClient(endpoint,
                clientId,
                "****",
                "***",
                "***"
                );

        mqttClient.connect();

        mqttClient.publish("myTopic", "Hello World! from v1".getBytes());

        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        mqttClient.disconnect();
    }
}

In the code above I have replaced sensitive information with '***'.
My exception looks as follows:
Mar 31, 2021 11:24:24 AM com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener onFailure
WARNING: Connect request failure
MqttException (0) - java.io.IOException: WebSocket Response header: Incorrect upgrade.
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:738)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: WebSocket Response header: Incorrect upgrade.
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.receiveHandshakeResponse(WebSocketHandshake.java:162)
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.execute(WebSocketHandshake.java:80)
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketSecureNetworkModule.start(WebSocketSecureNetworkModule.java:65)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:724)
	... 1 more

Mar 31, 2021 11:24:24 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure
INFO: Connection temporarily lost
Mar 31, 2021 11:24:24 AM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure
INFO: Client connection lost: testIdv1
Mar 31, 2021 11:24:27 AM com.amazonaws.services.iot.client.core.AwsIotConnection$1 run
INFO: Connection is being retried
Mar 31, 2021 11:24:28 AM com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener onFailure
WARNING: Connect request failure
MqttException (0) - java.io.IOException: WebSocket Response header: Incorrect upgrade.
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:738)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: WebSocket Response header: Incorrect upgrade.
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.receiveHandshakeResponse(WebSocketHandshake.java:162)
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.execute(WebSocketHandshake.java:80)
	at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketSecureNetworkModule.start(WebSocketSecureNetworkModule.java:65)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:724)
	... 1 more

Mar 31, 2021 11:24:28 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure
INFO: Connection temporarily lost
Mar 31, 2021 11:24:28 AM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure
INFO: Client connection lost: testIdv1

I have tested this code in MS Windows 10 as well.

The issue is still the same with version 1.3.9.

I have simplified the code by removing commented out/unused parts and replacing deprecated method usage with the recommended one:
import com.amazonaws.services.iot.client.AWSIotException;
import com.amazonaws.services.iot.client.AWSIotMqttClient;
import com.amazonaws.services.iot.client.auth.Credentials;
import com.amazonaws.services.iot.client.auth.CredentialsProvider;
import com.amazonaws.services.iot.client.auth.StaticCredentialsProvider;

public class MqttCheck {

    public static void main(String[] args) throws
            AWSIotException {

        String endpoint = "***.iot.eu-west-2.amazonaws.com";
        String clientId = "testIdv1";

        // MQTT + WS
        Credentials credentials = new Credentials("***",
                "***",
                "***");
        CredentialsProvider credentialsProvider = new StaticCredentialsProvider(credentials);
        AWSIotMqttClient mqttClient = new AWSIotMqttClient(endpoint,
                clientId,
                credentialsProvider,
                "eu-west-2"
        );

        mqttClient.connect();

        mqttClient.publish("myTopic", "Hello World! from v1".getBytes());

        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        mqttClient.disconnect();
    }
}

The same exception is being thrown.

What is the IAM policy attached to the user for the credentials you are using?

Back from vacation.
@bretambrose
I am using IoT Full policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "iot:*",
      "Resource": "*"
    }
  ]
}

In the meantime, I have also introduced the following changes:

updated Amazon Corretto to the following version: <IP_ADDRESS>.1
removed usage of AWS STS hence AWS SDK Auth library is no longer used/needed

Was there a solution to this? I am seeing the exact same issue.


Wrong output

Hi,
if i register div shortcode i get strange output..
Lets say if i want render:
[div class="row"][div class="col-12"]Some text[/div][/div]
i get:
Some text[/div]

@bajki There is limitation with the same shortcodes nesting, https://stackoverflow.com/questions/13184085/is-it-possible-to-nest-wordpress-shortcodes-that-are-the-same-shortcode
It's better if you make something like this:
[row]
   [col size="12"]
      Some text
   [/col]
[/row]


C# Add support for wrapper types

And add wrapper type with flattening to the test library

Codecov Report

Merging #2461 into master will increase coverage by <.01%.
The diff coverage is 88.88%.

@@             Coverage Diff              @@
##             master    #2461      +/-   ##
============================================
+ Coverage     86.54%   86.54%   +<.01%
- Complexity     5289     5291       +2
============================================
  Files           458      458
  Lines         21061    21079      +18
  Branches       2297     2300       +3
============================================
+ Hits          18227    18243      +16
- Misses         2010     2012       +2
  Partials        824      824

Impacted Files
Coverage Δ
Complexity Δ

...ansformer/csharp/CSharpModelTypeNameConverter.java
93.49% <88.88%> (-0.55%)
36 <5> (+2)

Continue to review full report at Codecov.

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