Tools batch files

About the PR

Create .bat files to launch the game with tools. Litterly just copies the existing bat files but adds Tools
Merge https://github.com/space-wizards/docs/pull/240 after
Why / Balance

Helps with people who are not too comfy in the command prompt to run tools and dont have an ide.
Ensure's mappers don't accidently start mapping in debug/easier for mappers.

Spaces in file names have made a thing freak out before on Delta-V, which was really hard to figure out. (Was related to BuildFiles/Mac/Space Station 14.app/Contents iirc), wouldn't using underscores be much better? I don't even remember what it was, but I think it was RSI diff?

It's a batch file meant to run a command. If this manages to actually cause a problem, feel free to dm me on discord calling me a chicken wing,

Ensure's mappers don't accidently start mapping in debug

What's wrong with mapping in debug?
I map in debug because tooling doesn't work

What's wrong with mapping in debug?

WARNING: The server is using a debug build. You are risking losing your changes.


Proper IR

This is a (mostly internal) rewrite for making the implementation match closely the specification https://galoisinc.github.io/AMIDOL/documentation/ir.
Highlights

the IR supports input/output predicates
palette elements (nouns & verbs) can involve multiple states & events (for instance: we can have a population noun which comes with a birth and death process)
the VDSOL is turned into IR by mapping over nouns/verbs to their respective underlying IR model and composing all of these models together

Additionally added support for:

extract  an IR model from a Julia AST
a Julia Gillespie backend

Broken
Some things that broke or are loose ends to fix (after this PR is merged):

backends don't do anything with input predicates, but they should (this should  be easy to  fix)
the PyCeS backend was broken and commented out
the SciPy linear steady state backend is broken (although this one should probably just be junked)
the Julia Gillespie backend takes a while to run - the browser even re-POSTs the request because it takes so long!

/cc  @ewdavis This should be roughly what I demo-ed earlier today, but with the examples directory unbroken. Note the final caveat in my summary: the Julia backend takes too long to run and the frontend re-posts the same query (the end result is that  no plots ever make it out). I'll fix that first thing next week.
There's probably some other small things I broke, but I'll fix those as they appear.


Cannot Make it Run on a BlackBerry z30 SmartPhone

At the Moment I olny want to create a Simple Cordova-App for a Blackberry Z30
therefore I creates a new a new App  using

cordova create meh com.gorilla.meh meh
cordova platform add blackberry10
cordova plugin add com.blackberry.invoke
cordova plugin add https://github.com/chariotsolutions/phonegap-nfc.git

Them I modified config.xml

.. the generated Code comes here....
<rim:invoke-target id="com.gorilla.meh.target">
<type>APPLICATION</type>
<filter>
<action>bb.action.OPEN</action>
<mime-type>application/vnd.rim.nfc.ndef</mime-type>
<property var="uris" value="ndef://0,ndef://1,ndef://2,ndef://3,ndef://4" />

</...>
Then I modified the www/js/index.js File
by Adding a few Lines to onDeviceReady: function() {
onDeviceReady: function() {
app.receivedEvent('deviceready');
nfc.addNdefListener (
function (nfcEvent) {
var tag = nfcEvent.tag,
ndefMessage = tag.ndefMessage;
alert(JSON.stringify(ndefMessage));
alert(nfc.bytesToString(ndefMessage[0].payload).substring(3));
},
function () { // success callback
alert("Waiting for NDEF tag");
},
function (error) { // error callback
alert("Error adding NDEF listener " + JSON.stringify(error));
}
);
But this Does not work .. I get no Results .. and it seems that the application of the Event-Listener nfc.addNdefListener seems to fail .. perhapes it's undefined ..
Any Ideas what I am Missing ??
I Tried to compile the https://github.com/don/phonegap-nfc-reader Demo-Source but I wonÄt work .. It complains about  ""C:\PHONEG~1\PLATFO~1\BLACKB~1\cordova\init"" not being visible ,, seems to be a strange DOS Problem ..
Any Help is Welcome =)
Volker

I haven't looked at BB in a long time. It's possible something changed with the SDK?
Does the tag you're reading work with other apps?
Can you connect the remote debugger and see if there are runtime issues with your code?
I'll see if I can track down a BB10 device and get something to run.

Well I have to admit that I never managed to mage to make the remote Debugger work .. I can connect to the provided URL but IN the End I See nothing that gives me a hint ..
Any Ideas concerning the DOS-Naming of the Path ?

Any News / Ideas ??
Greeting Volker

I found my Z10, but it won't power up. Letting it charge for a while, hoping it comes back to life.

I got this working on BB10 again. You'll need version 0.6.5 of the plugin.
Hardware & Software

OSX 10.10.5
BB10 WebWorks SDK <IP_ADDRESS>
Cordova 5.5.3
PhoneGap NFC 0.6.5
BlackBerry Z10 running <IP_ADDRESS>

Create the project and install the plugins
cordova create nfc com.example.nfc HelloNFC
cd nfc
cordova platform add blackberry10
cordova plugin add phonegap-nfc
cordova plugin add cordova-plugin-bb-invoke

edit www/js/index.js and replace onDeviceReady with
onDeviceReady: function() {
    app.receivedEvent('deviceready');

    // Read NDEF formatted NFC Tags
    nfc.addNdefListener (
        function (nfcEvent) {
            var tag = nfcEvent.tag,
                ndefMessage = tag.ndefMessage;

            // dump the raw json of the message
            // note: real code will need to decode
            // the payload from each record
            alert(JSON.stringify(ndefMessage));

            // assuming the first record in the message has
            // a payload that can be converted to a string.
            alert(nfc.bytesToString(ndefMessage[0].payload).substring(3));
        },
        function () { // success callback
            alert("Waiting for NDEF tag");
        },
        function (error) { // error callback
            alert("Error adding NDEF listener " + JSON.stringify(error));
        }
    );
},

Edit config.xml and <rim:invoke-target> just before </widget>. (See docs for more info about invoke-target.)
<rim:invoke-target id="your.unique.id.here">
    <type>APPLICATION</type>
    <filter>
        <action>bb.action.OPEN</action>
        <mime-type>application/vnd.rim.nfc.ndef</mime-type>
        <!-- any TNF Empty(0), Well Known(1), MIME Media(2), Absolute URI(3), External(4) -->
        <property var="uris" value="ndef://0,ndef://1,ndef://2,ndef://3,ndef://4" />
    </filter>
</rim:invoke-target>

Compile, install, and run
cordova run

@LaermTot if this doesn't fix your problem, add a comment and I'll re-open the issue

You are my HERO =) ...... thanx it works now !

 The was deswcribes above, onDeviceReady: function() { is never reached .. any Ideas ??


Preview page "error" exclamation new features are displaying in napari-hub page

Description
Preview page "error" exclamation is displayed in napari-hub
Steps/Code to Reproduce

Go to https://staging.napari-hub.org/plugins/napari-zelda
Pay attention to "Requirements" section

Expected Results
Requirements section is empty
Actual Results
Preview page "error" exclamation is displayed

Verified in staging and no longer repro. Thank you!


KeyError: 'access_token'

Describe the issue
Hi all I have installed bimmer connected and I get this error:
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 None
Traceback (most recent call last):
File "/usr/bin/bimmerconnected", line 10, in
sys.exit(main())
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 82, in main
args.func(args)
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 112, in fingerprint
account = ConnectedDriveAccount(args.username, args.password, get_region_from_name(args.region),
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 61, in init
self._get_vehicles()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 226, in _get_vehicles
self._get_oauth_token()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 126, in _get_oauth_token
self._oauth_token = response_json['access_token']
KeyError: 'access_token'
Expected behavior
see the services in Home Assistant
Home Assistant version
arch: armv7
image: homeassistant/raspberrypi3-homeassistant
last_version: 0.108.8
machine: raspberrypi3
version: 0.108.8
Your config.yaml
bmw_connected_drive:
  name:
    username: "username"
    password: "password"
    region: "rest_of_world"

Output of bimmer_connected fingerprint
If you have run the bimmer_connected fingerprint please share that data here
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 None
Traceback (most recent call last):
File "/usr/bin/bimmerconnected", line 10, in
sys.exit(main())
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 82, in main

args.func(args)

File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 112, in fingerprint
account = ConnectedDriveAccount(args.username, args.password, get_region_from_name(args.region),
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 61, in init
self._get_vehicles()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 226, in _get_vehicles
self._get_oauth_token()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 126, in _get_oauth_token
self._oauth_token = response_json['access_token']
KeyError: 'access_token'

Please install the debug branch I just have uploaded, try again and post the console output:
pip3 install -e git+https://github.com/bimmerconnected/bimmer_connected.git@debug#egg=bimmer_connected

⚠⚠⚠⚠⚠⚠
BEWARE!! This output most probably will include non-sanitized data for your account such as access_token or car data. Please be careful to remove this before posting here (or wait at least two hours for the tokens to become invalid)!

@pmiola73 Please try rikroes response in #61 first ->

Is there any difference when you enter username and password in quotes or without?
Which version of bimmer_connected are you using?
Do you have more than one car in your ConnectedDrive account?
If the problem still exists, please create a new issue, we'll take it from there!
EDIT: I can reproduce this issue when username or password are incorrect. Please check again!

After installing:
pip3 install -e git+https://github.com/bimmerconnected/bimmer_connected.git@debug#egg=bimmer_connected
this is the output of  this command:
bimmerconnected fingerprint username password  rest_of_world
OUTPUT
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 None
DEBUG:bimmer_connected.account:Parsing https://www.bmw-connecteddrive.com/app/static/external-dispatch.html#access_token=ejQ00gsOJ2se48EKNua6OS3SEjb1Ns54&token_type=Bearer&expires_in=7199 to {"access_token": "ejQ00gsOJ2se48EKNua6OS3SEjb1Ns54", "token_type": "Bearer", "expires_in": "7199"}
DEBUG:bimmer_connected.account:got new token ejQ00gsOJ2se48EKNua6OS3SEjb1Ns54 with expiration date 2020-04-24 19:18:28.242573
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:Vehicles: {"vehicles":[{"vin":"WBALS010800Y29093","model":"X5 xDrive25d","bodytype":"F15","driveTrain":"CONV","fuelType":"DIESEL","color":"CARBONSCHWARZ METALLIC","colorCode":"416","brand":"BMW","yearOfConstruction":2017,"statisticsCommunityEnabled":false,"statisticsAvailable":false,"hub":"HUB_ECE","hasAlarmSystem":false,"dealer":{"name":"BIAUTO SRL","street":"VIA BOLOGNA, 102","postalCode":"10154","city":"TORINO","country":"IT","phone":"+39<PHONE_NUMBER>6"},"breakdownNumber":"+4989358957103","countryCode":"V1-IT","steering":"LH","vehicleFinderRestriction":"NONE","hmiVersion":"ID5","a4a":"USB_ONLY","vehicleFinder":"NOT_SUPPORTED","remote360":"NOT_SUPPORTED","hornBlow":"NOT_SUPPORTED","lightFlash":"NOT_SUPPORTED","doorLock":"NOT_SUPPORTED","doorUnlock":"NOT_SUPPORTED","climateControl":"NOT_SUPPORTED","climateNow":"NOT_SUPPORTED","climateNowRES":"NOT_SUPPORTED","climateControlRES":"NOT_SUPPORTED","chargingControl":"NOT_SUPPORTED","chargeNow":"NOT_SUPPORTED","sendPoi":"ACTIVATED","rangeMap":"NOT_SUPPORTED","lastDestinations":"NOT_SUPPORTED","intermodalRouting":"NOT_AVAILABLE","climateFunction":"VENTILATION","onlineSearchMode":"MAP","smartSolution":"NOT_SUPPORTED","carCloud":"ACTIVATED","lscType":"NOT_SUPPORTED","ipa":"NOT_SUPPORTED","puStep":"0319","exFactoryPUStep":null,"remoteSoftwareUpgrade":"NOT_SUPPORTED"}]}
DEBUG:bimmer_connected.state:requesting new data from connected drive
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles/WBALS010800Y29093/status?deviceTime=2020-04-24T17%3A18%3A30&dlat=0.0&dlon=0.0 HTTP/1.1" 404 None
DEBUG:bimmer_connected.account:The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).
DEBUG:bimmer_connected.account:{"error":{"code":500,"description":"(SmartPhoneUtil-A-2012) Ressource not found. No status available for VIN WBALS010800Y29093"}}
Traceback (most recent call last):
File "/usr/bin/bimmerconnected", line 10, in
sys.exit(main())
File "/bin/src/bimmer-connected/bimmer_connected/cli.py", line 226, in main
args.func(args)
File "/bin/src/bimmer-connected/bimmer_connected/cli.py", line 119, in fingerprint
account.update_vehicle_states()
File "/bin/src/bimmer-connected/bimmer_connected/account.py", line 259, in update_vehicle_states
car.update_state()
File "/bin/src/bimmer-connected/bimmer_connected/vehicle.py", line 72, in update_state
self.state.update_data()
File "/bin/src/bimmer-connected/bimmer_connected/state.py", line 128, in update_data
response = self._account.send_request(
File "/bin/src/bimmer-connected/bimmer_connected/account.py", line 178, in send_request
raise IOError(msg)
OSError: The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).

Ok, this is even more weird. This time you get the access_token but the API has no status for your car... I'm a little a a loss here...
My guess is that that are hickups @ BMW server so maybe just keep wait a couple of days if that is possible?
Alternatively, you could try our beta for adjusted (new) BMW servers:
pip3 install bimmer_connected==<IP_ADDRESS>b1

(or replace <IP_ADDRESS>.b1 with 0.7.5 to go back to the version shipped with HA).

just installed version <IP_ADDRESS>b1 but I get the same issue
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:bimmer_connected.account:getting new GCDM token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/token HTTP/1.1" 200 None
DEBUG:bimmer_connected.account:got new GCDM token NSy7ZWTQH2Lt55cbDEcrIByusXafLUZU
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): myc-profile.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET /api/Account/ExternalLogin?provider=GCDM&response_type=token&redirect_uri=https%3A%2F%2Fmyc-profile.bmwgroup.com%2F&client_id=self HTTP/1.1" 302 0
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://api.bmwgroup.com:443 "GET /gcdm/protected/%7BclientId%7D/%7BclientVariantId%7D/customers/userAccount?response_type=code&client_id=d766b537-a654-4cbd-a3dc-0ca5672d7f8d&redirect_uri=https%3A%2F%2Fmyc-profile.bmwgroup.com%2Foauth_callback.html&scope=authenticate_user&state=ZQu5Ba66TJxwAa1aVKKgRQCwyZREo8IumYu_aL1aRqIcu5GslR9bBQKrMyeumbZBbu9uvlgOpElxV1FfWWdAjtC7ALOuvPQoQovZd695rPaT-iKSzAk02NpK5fMcuIUAutAcQkoqJQzcB2c06qxjy86-L7uwop-SQ6KgYlnFFzhoWt-vn-1qmr6Fbg_8OJtvdQFFKB4wYzrKqptw9bJ5IrznPT_6efwQQImegu4Ysg1N4vW5xz0DD85I8uDSFZkM79w_YuA8nz8Wg6E4d4gj2CEGHZ3S5g9r3wfH7Oof5CQuZKPXhA6ButtemD7Zg3gdJNtwlg6KMBXsUsq33kcSI95cq12rorWIER7B3GxKhOARu2MD7RboEGpGKOxo4gaNfft4GlZjqZg7feLu9tqHUA HTTP/1.1" 404 None
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET /oauth_callback.html?scope=authenticate_user&refresh=lRqPV9u7krjNpH1PN5cTNh7eUYBDwuMtn3yU9IludJeINmND&state=ZQu5Ba66TJxwAa1aVKKgRQCwyZREo8IumYu_aL1aRqIcu5GslR9bBQKrMyeumbZBbu9uvlgOpElxV1FfWWdAjtC7ALOuvPQoQovZd695rPaT-iKSzAk02NpK5fMcuIUAutAcQkoqJQzcB2c06qxjy86-L7uwop-SQ6KgYlnFFzhoWt-vn-1qmr6Fbg_8OJtvdQFFKB4wYzrKqptw9bJ5IrznPT_6efwQQImegu4Ysg1N4vW5xz0DD85I8uDSFZkM79w_YuA8nz8Wg6E4d4gj2CEGHZ3S5g9r3wfH7Oof5CQuZKPXhA6ButtemD7Zg3gdJNtwlg6KMBXsUsq33kcSI95cq12rorWIER7B3GxKhOARu2MD7RboEGpGKOxo4gaNfft4GlZjqZg7feLu9tqHUA&token=NSy7ZWTQH2Lt55cbDEcrIByusXafLUZU HTTP/1.1" 302 0
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET /api/Account/ExternalLogin?provider=GCDM&response_type=token&redirect_uri=https%3A%2F%2Fmyc-profile.bmwgroup.com%2F&client_id=self HTTP/1.1" 302 0
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET / HTTP/1.1" 200 0
DEBUG:bimmer_connected.account:got new token hkVgIATqhzSCGEQqouzVN7mW_vNUySrUxsULz6JVQ6xZ0zIdSjaFBUy2mtXVdJf2vqOf7_jdwZRqO3sTi79OKicB5iyYwYcQk4RVFKqGYEPbndr2WaUvP9Sx6Pey4njEN1iJ0VjNs5sHDiLkjtvnBRVrsNpSbmj3OgI9mE_nIOymub-uTRibwF6od4Yr8C8J8DkmDrcp7_vlbop3wGLudSTQjjCGnsema_fEhZc1cftla6l6JVSsrYfQ8-dyGUwhBmUIZCSuExf-ag6lV0uxUfKYqjXxLINqltQ72p5QvRoFo0LlSsLa-vl_DYY1nJIpFcF5TG5QHRQ_mBSKSSIfT17btm0ooFzu01GGO-tOHTYChldfxYEn8CdFdvf-x66c1h9G56Hxs4C1_8BLUH1uMAfNXH7JctdxOhslQdGqlo0vzxslQtbWil6CAdaOrtIFdSRQBY44Jf7P7sS1m99HkH0r-ZZRmDdGKKK5b6Q2Buhb00i_eRr7H17GnB5G_EeeswI8ytqMd--MbKrgP_Jdj9zAKZ8IJR8gGihCs77ZjTCEQd8lFe8SKteCY_AEW58Q_wtUoNq8w0e_6ooX_9CGsSS5tP8VjDoNoGfQzbNPWW9py70lw4rnn6WtWecxqCQ1OQzw6RAp4hBjCAFVyjkipOrWj1f3wwnXHvV1YbfPP7NkujsGhGvO9vvofCUR-TCqW0OsII_QartK9ag6E786h4OUBe2QFMNKbDpXUtXqZyY5TuA1anI9sxO5XRThW2cs-B14aq4wxuBoFOyMNwslZLtC0ryfPCD605nAClAJfTAiat6cG7MdIXGN_IKxft2QXwRfQmD_YpnPiKytpuUXELeNCgUSXg79lmvVgdU3B9o with expiration date 2020-04-24 18:56:09.678396
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): myc-profile.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET /api/gateway/brs/webapi/v1/user/vehicles HTTP/1.1" 200 None
DEBUG:bimmer_connected.state:requesting new data from connected drive
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): myc-profile.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://myc-profile.bmwgroup.com:443 "GET /api/gateway/brs/webapi/v1/user/vehicles/WBALS010800Y29093/status?deviceTime=2020-04-24T17%3A58%3A10&dlat=0.0&dlon=0.0 HTTP/1.1" 404 18
DEBUG:bimmer_connected.account:The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).
DEBUG:bimmer_connected.account:Resource not found
Traceback (most recent call last):
File "/usr/bin/bimmerconnected", line 10, in
sys.exit(main())
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 226, in main
args.func(args)
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 119, in fingerprint
account.update_vehicle_states()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 289, in update_vehicle_states
car.update_state()
File "/usr/lib/python3.8/site-packages/bimmer_connected/vehicle.py", line 72, in update_state
self.state.update_data()
File "/usr/lib/python3.8/site-packages/bimmer_connected/state.py", line 128, in update_data
response = self._account.send_request(
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 208, in send_request
raise IOError(msg)
OSError: The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).

and this is the output after installing 0.7.5
bimmer_connected $ pip3 install bimmer_connected==0.7.5
Collecting bimmer_connected==0.7.5
Downloading https://files.pythonhosted.org/packages/1c/1a/19f6f3134d66978ec686b234e525467d0b8441c8d14b3edd9cfe7c908c10/bimmer_connected-0.7.5-py3-none-any.whl
Requirement already satisfied: requests in /usr/lib/python3.8/site-packages (from bimmer_connected==0.7.5) (2.23.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests->bimmer_connected==0.7.5) (1.25.9)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests->bimmer_connected==0.7.5) (2<IP_ADDRESS>)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests->bimmer_connected==0.7.5) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests->bimmer_connected==0.7.5) (2.9)
Installing collected packages: bimmer-connected
Found existing installation: bimmer-connected <IP_ADDRESS>b1
Uninstalling bimmer-connected-<IP_ADDRESS>b1:
Successfully uninstalled bimmer-connected-<IP_ADDRESS>b1
Successfully installed bimmer-connected-0.7.5
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
bimmer_connected $ bimmerconnected fingerprint<EMAIL_ADDRESS>chepall3 rest_of_world
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 None
DEBUG:bimmer_connected.account:got new token AsczReuX8hMCvIDaAnN9ZNXqcU6uSJO9 with expiration date 2020-04-24 19:59:19.252916
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None
DEBUG:bimmer_connected.state:requesting new data from connected drive
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles/WBALS010800Y29093/status?deviceTime=2020-04-24T17%3A59%3A21&dlat=0.0&dlon=0.0 HTTP/1.1" 404 None
DEBUG:bimmer_connected.account:The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).
DEBUG:bimmer_connected.account:{"error":{"code":500,"description":"(SmartPhoneUtil-A-2012) Ressource not found. No status available for VIN WBALS010800Y29093"}}
Traceback (most recent call last):
File "/usr/bin/bimmerconnected", line 10, in
sys.exit(main())
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 82, in main
args.func(args)
File "/usr/lib/python3.8/site-packages/bimmer_connected/cli.py", line 118, in fingerprint
account.update_vehicle_states()
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 251, in update_vehicle_states
car.update_state()
File "/usr/lib/python3.8/site-packages/bimmer_connected/vehicle.py", line 72, in update_state
self.state.update_data()
File "/usr/lib/python3.8/site-packages/bimmer_connected/state.py", line 128, in update_data
response = self._account.send_request(
File "/usr/lib/python3.8/site-packages/bimmer_connected/account.py", line 170, in send_request
raise IOError(msg)
OSError: The BMW Connected Drive portal returned an error: NOT_FOUND (received status code 404 and expected 200).
bimmer_connected $

Mhh. Then I have no idea why it doesn't work. Maybe one thing you could try to add lat and lon coords to the fingerprint:
bimmerconnected fingerprint [-h]
                                   username password
                                   {north_america,china,rest_of_world} [lat]
                                   [lng]

If that still does not work for you, could you please contact me at rikro at gmx dot net?


Wrong path to templateDir

Hey, I was following along your tutorial that you had over here and I'm not quite sure what is causing it. I think its the templateDir path, since it gives me this error in the terminal:
ERROR Error: ENOENT: no such file or directory, access 'C:\E:\Web%20development\Projects\creator-cli\templates\javascript'.
Notice the C:\E:\. Not sure what is causing it, since I followed your tutorial and this is what turns out. I even copy pasted the whole thing from you, and the same thing again. Same when I tried using your own npm package from this repo.

I'm having the exact same problem. I'm using windows, and I've tried the program in the bash shell, cmd, and powershell.

Found a solution for what I think was the same issue here.

@pecko95  @cbadger85  @hill84
I recently got into building CLIs with NodeJS and stumbled across @dkundel tutorial.
I had to apply the following work around:
const templateDir = __dirname + '../../templates/' + options.template; -> in main.js
Apparently fs | fsevents doesn't work too well in Windows & Linux OS.

@mobileben is right on the money, the problem is the $20.

Can we have this implemented in the git repo?


Bad URL Issue

If the user enters a URL that doesn't work, the entire container crashes.
[Crawler] INFO: Starting scrap for URL: https://opensubtitles.tawk.hep/article/upgrading-to-vip
Starting scrap for URL: https://opensubtitles.tawk.hep/article/upgrading-to-vip
Crawl options: {
proxyUrl: undefined,
cookies: [],
favorScreenshot: false,
removeSelector: undefined,
targetSelector: undefined,
waitForSelector: undefined,
overrideUserAgent: undefined,
timeoutMs: undefined,
withIframe: false
}
Crawler options: CrawlerOptionsHeaderOnly {
respondWith: 'default',
withGeneratedAlt: false,
withLinksSummary: false,
withImagesSummary: false,
noCache: false,
keepImgDataUrl: false,
withIframe: false,
removeSelector: undefined,
targetSelector: undefined,
waitForSelector: undefined,
userAgent: undefined,
proxyUrl: undefined
}
Using default scraping method
Scraping options: {
proxyUrl: undefined,
cookies: [],
favorScreenshot: false,
removeSelector: undefined,
targetSelector: undefined,
waitForSelector: undefined,
overrideUserAgent: undefined,
timeoutMs: undefined,
withIframe: false
}
[CHANGE_LOGGER_NAME] INFO: Page 1: Scraping https://opensubtitles.tawk.hep/article/upgrading-to-vip { url: 'https://opensubtitles.tawk.hep/article/upgrading-to-vip' }
[CHANGE_LOGGER_NAME] INFO: Page 1: Attempting to set cookies: []
/app/node_modules/tld-extract/index.js:43
throw new Error("Invalid TLD " + JSON.stringify({parts, tld_level, allowUnknownTLD}));
^
Error: Invalid TLD {"parts":["opensubtitles","tawk","hep"],"tld_level":-1,"allowUnknownTLD":false}
at parse_host (/app/node_modules/tld-extract/index.js:43:13)
at parse_url (/app/node_modules/tld-extract/index.js:9:10)
at /app/build/services/puppeteer.js:280:57
at /app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:238:32
at async CdpHTTPRequest.finalizeInterceptions (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/HTTPRequest.js:147:9)
Node.js v18.20.4
Initializing CrawlerHost
CrawlerHost constructor called
Initializing CrawlerHost with dependencies: {
puppeteerControl: true,
jsdomControl: true,
firebaseObjectStorage: true,
threadLocal: true
}
Server is running on port 3000

Thanks for fixing!


(Partial) fix to a white patch appearing on bookmarks bar

Partial fix to #46.
Credit to @triccsr for finding the code. I slightly edited it to not include unnecessary lines.

Thank you! This has been bothering me for a while


Apple M1 incompatibility

The package appears to be incompatible with Apple M1. Here is the recurring error I get from running it.
nyt-news-labeler-1  | [2023-12-27 19:39:53 +0000] [1] [INFO] Starting gunicorn 20.1.0 nyt-news-labeler-1  | [2023-12-27 19:39:53 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:8000 (1) nyt-news-labeler-1  | [2023-12-27 19:39:53 +0000] [1] [INFO] Using worker: sync nyt-news-labeler-1  | [2023-12-27 19:39:53 +0000] [24] [INFO] Booting worker with pid: 24 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [1] [WARNING] Worker with pid 24 was terminated due to signal 4 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [34] [INFO] Booting worker with pid: 34 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [1] [WARNING] Worker with pid 34 was terminated due to signal 4 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [44] [INFO] Booting worker with pid: 44 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [1] [WARNING] Worker with pid 44 was terminated due to signal 4 nyt-news-labeler-1  | [2023-12-27 19:39:54 +0000] [54] [INFO] Booting worker with pid: 54 nyt-news-labeler-1  | [2023-12-27 19:39:55 +0000] [1] [WARNING] Worker with pid 54 was terminated due to signal 4 nyt-news-labeler-1  | [2023-12-27 19:39:55 +0000] [64] [INFO] Booting worker with pid: 64 nyt-news-labeler-1  | [2023-12-27 19:39:55 +0000] [1] [WARNING] Worker with pid 64 was terminated due to signal 4

It doesn't work. I do not know whether others have the same issue. The image is constantly shut down and reopened as in the screenshot.

The sequence I am running is this:
docker pull rahulbot/nyt-news-labeler:latest
docker run --platform linux/amd64 -p 8000:8000 -m 8G -d rahulbot/nyt-news-labeler:latest
And I don't have any answers from the command line
curl -X POST http://localhost:8000/predict.json -H "Content-Type: application/json" -d '{"text": "Federal agents show stronger force at Portland protests despite order to withdraw" }'
Perhaps the problem is different, but the docker is working smoothly on our Linux machine.


[Incremental Builds][Explicit Module Builds] Treat Binary-only Swift module dependencies as up-to-date

Instead of conservatively assuming them to be new/updated in order to invalidate their dependents. This behavior is no longer necessary since the implementation of https://github.com/swiftlang/swift-driver/pull/1628 (adce1337b5dba9610401e932d1dcf28a0bf114e6) which will ensure that if a binary module dependnecy is newer than any of its dependents they will get invalidated and re-built.

@swift-ci test


Support Graal Version 21.1.0

GraalVM version 21.1.0 is out, opening this PR to propose a build of these docker images on this version.

many thanks!

No worries, thank you for creating these images @findepi! Very useful.


init function is considerable slowness

I'm building an app using this library and Angular as a front end, but I'm having problems running it.
In particular, I notice a considerable slowness in executing the eel.init() instruction, even up to 20 seconds.
This is the size of the files that are inside the folder I'm trying to upload:
13K 3rdpartylicenses.txt
4,0K assets
6,2K index.html
442K main.bfbc5214c81134bf.js
34K polyfills.794d7387aea30963.js
894 runtime.89bfad0fe920d2c9.js
61 styles.5c0102d45a0f9784.css

Why? How fix it?
EDIT:
Looking through the code I think the problem is that the library tries to parse all the files looking for JS functions to expose.
By not exposing JS-side functions, but calling only Python functions, is there any way to prevent such file parsing?

You can overwrite the "allowed extensions" for eel's start args to not include *.js, it should then skip them when trying to parse for eel-exposed functions.
I'd agree though that this often leads to a sluggish start-up, and ultimately implementing some sort of caching for the parsed results might be a nice feature.

Thank you, now open is almost instantly.
Anyway I see that when I click refresh page the server response with a 404 page not found.
I develop my app using Angular, for example, refreshing /home server return 404, but that route is in route module... (normally it works)
Furthermore also window.close() doesn't work, but I think it is an Angular problem...

Not sure with the routing issue, that would likely need a bit of more detailed troubleshooting while it's running (you can try and get the Bottle instance and inspect the requests to find out more).
The window.close() thing might again be related to the browser-end. Most browsers (including Chrome) nowadays don't allow modifying the window (size, position and close attributes) unless they've been created from within a JavaScript context with those specific permissions. I might be wrong, but I think if you launch Chrome in app-mode it does allow setting most of these, so if you're not using app mode right now you could try that...

How can I use Bottle instance in my app?
However, for example, when I'm in logic route /home in chrome mode and refresh the page I see
GET http://localhost:8000/home 404 (Not Found), but if I navigate to http://localhost:8000/ (my Angular frontend base url), i can see my app again.
I think it needs something like an .htaccess file to redirect all calls to /, is it possible?
Thanks for answers!


People get the idea?

Is it just me or people really don't get the idea behind httplug?
This is just one example:
https://github.com/toin0u/DigitalOceanV2/issues/75#issuecomment-166371056

i guess we need to have patience and be very clear in explaining that
httplug is not another client, but a client abstraction layer so that
libraries do not need to write their own layer, or tie themselves to a
specific client implementation.

There are a few arguments which are totally acceptable in my opinion: not being stable, messy documentation, etc.
But people claiming to understand what HTTPlug is are being reluctant about using it and mention arguments which are either not true or reflect that they actually don't get the idea behind.
Wonder if it would be different if it was a PSR.

i am sure it being a PSR would make people get the correct assumption.

Sure it would be different with a PSR but that is far from the only solution. The situation is that every api client uses at least one http client. If it is a well built library (api client) they have adapters for Guzzle5 and 6 etc.
What we need to do is to explain why the current situation is a bad idea. But not in terms on "more code", "hard to maintain", "keep up with changes in guzzle" etc. I think we need to be more clever than that. Let's put on the hat of data scientist and explain that current situation violates the common reuse principle, dependency inversion principle and by doing adapters yourself you risk violating the liskov substitution principle etc etc. I do also believe that we need to show package dependencies in a graph/images.
The message we want to send is: "You focus on your api, we focus on the transportation of data. Trust us, we know our shit."

There are a few arguments which are totally acceptable in my opinion: not being stable, messy documentation, etc.

I believe these are signs for that developers do not trust us.

Nice summarizing @Nyholm

Yes, good summary. In our docs, we should answer the question:

Why should my library/framework depend on Httplug instead of a concrete HTTP client? Answer: everything mentioned by @Nyholm – in one word: decoupling.
What do I gain by using Httplug? Answer: you can stop worrying about supporting any concrete clients.

Documentation has improved a lot over the last couple of days. Please have a look at http://php-http.readthedocs.org/en/latest/ and let me know what we can do to make them even clearer.

I had an idea to create a two-step migration process: php-http/documentation#57
The idea is that you can use HTTPlug API internally without breaking BC at first.

Let's solve this. :smile:


OS requirements out of date

Please update per the OS requirements listed at the SHIR download link:

Please also sync up with any other system requirements that are out of date.

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

ID: 9e632aab-071d-60ae-748f-458c6e8715b1
Version Independent ID: 9089b4ae-3818-dcfb-f5e7-9118516bb167
Content: Create and manage Integration Runtimes - Azure Purview
Content Source: articles/purview/manage-integration-runtimes.md
Service: purview
Sub-service: purview-data-map
GitHub Login: @viseshag
Microsoft Alias: viseshag

@VitalyMCT Thanks for reaching out. We will investigate and update the thread accordingly.

@VitalyMCT - Thank you for reaching out! I am working with the team to confirm and update this documentation.
The request will remain open until updates have been submitted.

@VitalyMCT - We have made updates to this documentation. Thank you!
#please-close


Can't load saves

When I booted my server up today, it loaded an earlier backup that I had left in my SaveGames folder and now I can't change the save for some reason.
When I try to load the correct save, the console says:
Loading save: SaveName
Server saved. SaveNameDate
Server deleted save. SaveNameDate

but nothing actually happens.
I tried leaving only one save file in the folder but then I boot the server up and it just makes a completely new SAVE_1 and loads it. I also tried loading the correct save from the in-game server management menu but still nothing.

@C3kos I seem to be having the same problem. Would you mind sharing how you resolved it?

@guanrenchen Unfortunately I can't really remember what I did, but I do know that I was trying to fix it for a while and eventually it just started working again. Maybe completely reinstalling all of the AstroLauncher files (make sure to save your world files somewhere safe) could work, but I can't really help further because it was a while ago.

My save is working again by pulling a backup from the retention folder. This seems to be the only solution as of now.
I tried reinstalling the dedicated server but the problem persists.
I tried renaming the file to the default SAVE_1 to force the server to read it but failed. The result being a new SAVE_2 is created. This behavior is likely a fallback mechanism to handle corrupted saves.


IDE file templates for Mass Processor boilerplate

Seems like you can share Rider file template configs. It would be cool to make it faster to create Mass code with some IDE shortcuts!

[x] Rider ForEachEntityChunk live template thingy

EntityQuery.ForEachEntityChunk(EntitySubsystem,Context,[&](FMassExecutionContext& Context)
{
   const int32 QueryLength = Context.GetNumEntities();

   for (int32 i = 0; i < QueryLength; ++i)
   {

   }
});

(no clue how to share it lol, I added it in Editor>Live Templates>C++)

[ ] Rider "create new UMassProcesser" file template

Does VAX/vanilla VS have anything like this? If it does and you make one we can include that somewhere too.

For quick tag Rider C++ live template:
USTRUCT()
struct $CLASS_MODULE_API_MACRO$ F$NAME$ : public FMassTag {GENERATED_BODY()};$END$

Where:
$CLASS_MODULE_API_MACRO$ set to Non-Editable "Substitute Unreal template macros" macro with value CLASS_MODULE_API_MACRO
$NAME$ set to Editable "Constant value" macro with value MyMassTag
Will produce:
USTRUCT()
struct MASSSAMPLE_API FMyMassTag : public FMassTag
{
	GENERATED_BODY()
};

I'm not yet sure how Rider templates could be shared except saving them as "team-shared",  maybe gitignore need some love. It would be super nice if they could be stored in file and shared easily...

In regards to sharing templates: https://www.jetbrains.com/help/rider/Sharing_Live_Templates.html


chore(package.json): bump deps, remove unused

Coverage remained the same at 100.0% when pulling 4f8f70e067ef2b49b9c1cfdd310a435574400109 on updates-090516 into 5f60168ea868892b021b83b7a0db9aa47fb98d6e on master.


self.operationTimeoutFn is not a function

Hey Khushraj, thanks for your nice library :smile:
I think I found the following bug.
I adapted your example code as follows:
function fetchWithRetry(url: string, opts: RequestInit): Promise<Response> {
    const ONE_SECOND = 1000;
    return new Promise((resolve, reject) => {
        const operation = retried.operation({minTimeout: ONE_SECOND})
        operation.attempt(async (currentAttempt: number) => {
            try {
                resolve(await fetch(url, opts))
            } catch (error) {
                console.error(`Attempt ${currentAttempt}, Error:`)
                console.error(error)

                if (await operation.retry(error)) return
                reject(error)
            }
        })
    })
}

And it gives this result:
error: Uncaught TypeError: self.operationTimeoutFn is not a function
     self.operationTimeoutFn!(this.attempts)
             ^
at https://deno.land/x/retried@1.0.1/lib/retryOperation.ts:156:18
at fire (deno:ext/timers/01_timers.js:477:7)
at handleTimerMacrotask (deno:ext/timers/01_timers.js:338:7)

It looks to me like operationTimeoutFn in line 156 should be wrapped into a check like the one on line 101?

Also getting this error


post about bazel in homebrew

I actually had the following experience when trying to convert my existing homebrew bazel installation over to the tap; did I miss something or could the docs be refined more?
I basically had to totally uninstall bazel and reinstall.
ed $ brew tap bazelbuild/tap
...
ed $ brew tap-pin bazelbuild/tap
==> Pinned bazelbuild/tap
ed $ brew install bazel
Warning: bazel is provided by core, but is now shadowed by bazelbuild/tap/bazel.
To refer to the core formula, use Homebrew/core/bazel instead.
==> Installing bazel from bazelbuild/tap
Error: bazel 0.15.2 is already installed
To upgrade to 0.16.1, run `brew upgrade bazel`
ed $ brew upgrade bazel
Error: bazel 0.15.2 already installed
ed $ brew uninstall bazel
Uninstalling /usr/local/Cellar/bazel/0.15.2... (12 files, 109MB)
ed $ brew install bazel
Warning: bazel is provided by core, but is now shadowed by bazelbuild/tap/bazel.
To refer to the core formula, use Homebrew/core/bazel instead.
==> Installing bazel from bazelbuild/tap

Hi Ed,
thanks for the feedback. Yes you need to uninstall Bazel from homebrew core when using our tap. I mention this in the blog post

Please note that if you have installed Bazel from the homebrew core formula in
the past you will have to uninstall it first by running brew uninstall bazel.

Do you think this should be in a more prominent place?

Oh my mistake, I simply stopped reading after running those commands and started having trouble :) The current content is fine in that case (but maybe moving that note up would benefit other lazy readers like me).

thanks @edbaunton. I moved the note up a bit.


[WIP] Fix faster_manifest branch

List of tasks before merge:

[x] Create informative report of removed genomes (removed, version change, other reasons?)
[x] clean the snakefile of extra commands and naming schema (see below)
[x] check everything works

suggest using extensions to indicate derived files, rather than changing the filename. e.g. you create manifest/all.gtdb.genbank.txt and then manifest/acc.gtdb.genbank.txt and then manifest/short.acc.gtdb.genbank.txt in a series, and I think it is nicer from a directory listing, tab completion, and also a Snakefile perspective (think wildcards as prefixes) to name the files all with the same prefix but different extensions - gtdb.genbank.txt and then gtdb.genbank.txt.acc and then gtdb.genbank.txt.acc.short or something.

@ctb This is still rough but I have added quite a bit of information to the stdout and report file. Easiest to run the branch and see the output from the script.
Any thoughts on how best to combine the information in the report file?


No option for Atom Material in Syntax dropdown menu

Expected behavior:
Expected to be able to choose "Atom Material" as "Syntax" theme
Observed behavior:
No "Atom Material" option in the "Syntax" dropdown menu
Screenshots and GIFs

Atom version:
$ atom --version
Atom    : 1.27.1
Electron: 1.7.15
Chrome  : 58.0.3029.110
Node    : 7.9.0

OS and version:
$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G29

Installed packages:
[List of installed packages here]

Didn't realize you need to install the syntax package separately:
apm install atom-material-syntax


Only complete pointer paths now considered intersecting

This fixes halaxa/json-machine#106 by adding a path separator to terminate each pointer when comparing for intersection.

i ran into this issue recently and this would be a great change if it works as anticipated
however the tests in this PR only test the outcome of the validator and not the actual parser when used with intersecting pointers, perhaps that would be a good thing to also test?
it may be that the algorithm simply will not handle intersection of any type in the keys
i'm not super knowledgable on the parser itself and assume you have done some testing of the outcome locally however?

Hi @mad-briller! I've done testing, sure, and it works for me in a project.
Regarding parser testing, I'm not sure if it's actually a part of the parser's concern. But if it is, I'm also not that knowledgeable about parsers. In fact, there are #105 and #108 that would need someone with parser experience to fix. If you'd like, I can give you write access to the repo with the fix, and feel free to add more tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1b3aa89) 100.00% compared to head (1581575) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              master      #107   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity       184       184
===========================================
  Files             17        17
  Lines            526       526
===========================================
  Hits             526       526

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


Fix project links in README.markdown

Fix for some project links under Activities/ and AlarmManager/ that were pointing to ActionMode/ instead.

Thanks!


trackedEntity doesn't follow moving entity if it has a "box" geometry

if i use SampledPositionProperty and entity has box, when trackedEntity,  the viwer can't fllow the entity center

Was able to reproduce by adding a box entity to the truck in this time dynamic wheels Sandcastle.

This seems to be a problem with all geometry in general, not just position based geometry.  Debugging points to the problem is that the primitive is never "ready" therefore we can never get it's bounding sphere for zoom purposes.  This is most likely an order of operations issue where we are getting the bounding sphere before the primitive update happens (since it's all supposed to be synchronous).
This has probably been broken for quite while and no one noticed. The fix should hopefully be simple, but we have to dig in and figure out where the root of the problem is.

Duplicate #5164
@461255824 I've added a comment to #5164 so we can notify you when it's fixed


[Feature Request] Support InternLM

Dear continue developer,
Greetings! I am vansinhu, a community developer and volunteer at InternLM. Your work has been immensely beneficial to me, and I believe it can be effectively utilized in InternLM as well. Welcome to add Discord https://discord.gg/gF9ezcmtM3 . I hope to get in touch with you.
Best regards,
vansinhu

Hi! Does InternLM have .ggml or .gguf files anywhere? If there's a way to run it locally, there is a chance we already have support. If not, would love to add support.

@vansinhu Following up here - would love to discuss what Continue and InternLM can do to support each other. Let me know what you're thinking!

@vansinhu I'm going to close this issue since it's gone a bit stale, but I've reached out through Discord and would love to hear your thoughts on what we can do!


flutter favorite logo

To see the preview check this commit out:
https://github.com/getsentry/sentry-dart/pull/471/commits/d6f087ede951e0decd79c787b1fb1db88281fe9e?short_path=316b034#diff-316b034d126691f8d97422721b134f6bfb0106f18b95eced6b2220cde52a0d6a
The preview now points to main so only works once we merge

Codecov Report

Merging #471 (15673f4) into main (bece2c2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 15673f4 differs from pull request most recent head 8001873. Consider uploading reports for the commit 8001873 to get more accurate results

@@           Coverage Diff           @@
##             main     #471   +/-   ##
=======================================
  Coverage   90.12%   90.12%
=======================================
  Files          54       54
  Lines        1722     1722
=======================================
  Hits         1552     1552
  Misses        170      170

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 bece2c2...8001873. Read the comment docs.

Moved to the repository root README now. The package README doesn't really need it I believe, since on pub.dev it shows already the logo


cli test yaml delegator server requires DELEGATOR_FEEPAYER_PK & TEST_DELEGATOR_REPORTER_PK env variables

currently delegator tx testing is skipped since it's not available

it doesn't work just by adding env, but also requires initialization from delegator sign service sign.service.spec.ts
await service.initialize({ feePayerPrivateKey: process.env.DELEGATOR_FEEPAYER_PK })

@nick-bisonai Is this issue still relevant after the migration to go delegator?

i don't think so, will close


Deprecated APIs wrap up - tickets and guidelines

This item is the conclusion of #8005. We need to make sure that all remaining deprecations are captures as git issues and we are following through with guidelines: https://github.com/microsoft/FluidFramework/wiki/API-Deprecation.
@sdeshpande3 we have created a list that you could use that as a reference: https://microsoft-my.sharepoint-df.com/:fl:/p/sdeshpande/EfLHe57A4chKqpud9SSuOs8BDob_GW_m-IrnhyOijfXBQg

This item should be wrapped up. Please re-open it @sdeshpande3 if I'm wrong.


[WIP] Examples/experiment manager

This introduces a small utility server to track local Hamilton runs and launch a UI to view runs metadata and local artifacts.
How to use it
To track your run metadata, add to your driver the ExperimentTracker() adapter and specify an absolute path to the cache cache_path and an absolute or relative path to the runs base directory run_dir. You will be able to view the artifacts that you materialize
dr = (
  driver.Builder()
  .with_modules(...)
  .with_adapter(
    ExperimentTracker(
      cache_path="/full/path/to/project/repository",
      run_dir="./experiments",  # you need to have created this base directory yourself
    ),
  )
  .build()
)

materializers = [...]
dr.visualize_materialization(*materializers, output_file_path="dag")
dr.materialize(*materializers)

Then, uvicorn server:app --reload will start a FastAPI server. It mounts the run_dir that was specified in the ExperimentTracker instantiation and serves these local files for DAG viz and metadata. The repository cache is read in-memory to gather metadata.
Challenges

the hooks cannot produce the DAG viz
arbitrary inputs, overrides, and config types are not JSON serializable
manage nested objects in-process, as JSON, as Pydantic models

What doesn't work or needs to be polished

Inspired by hydra, I wanted to have each call to the driver to generate new base directory (see hook __init__()). Way harder to implement in practice. If I move the current directory, I break all relative paths such as pd.read_csv(...) inside a node. I believe Hydra makes this possible by wrapping the main() entrypoint into a Task abstraction.
FastUI Table component is unlikely to scale for large dataframe because you need each row to be instantiated as a Pydantic model. Probably need to do manual partitioning and paging of the Table component
Serialize datetime objects to JSON (didn't bother yet, Pydantic could make it easy)
Would be better to deduplicate Pydantic and dataclass models, but didn't want the hook to depend on Pydantic

How I tested this

no tests

Notes

edit the values for CACHE_PATH in runner.py and server.py

Checklist

Thoughts:

Experiment should map to a logical concept of what a user is doing. i.e. hyper parameter tuning, or logistic regression model.
Under an experiment then there should be runs. Runs could correspond to just a single run, or multiple runs.

So directory structure should be: base/{user_provide-name or UUID()}/{run UUID created from hash of graph & inputs or random UUID}.
The experiment UUID could be configurable:

user provided
random UUID
based on the graph hash

The run UUID could be configurable for the experiment:

e.g. based on graph  & inputs, or just inputs, or random each time.

That way a user could run things like in MLFLow, or use the graph structure, and therefore decide to turn on logic to skip execution (e.g. throw an error) or overwrite - or re-run...

Some other notes:

I'm going to merge this -- it'll make it so that the file works all the time
Something funky around json/dict -- have you updated pandas recently?

Re what @skrawcz said, I think we need pages for:

Experiments
Runs (for an experiment)
Data (for a run)

Also, we should have some features:

Truncate dataframe
Display experiment name in header
Get date to work (you'll need a custom json serializer probably, pydantic should help here?)
If you can, copy the code/environment variables for a driver instantiation (you can just get the script that's running) -- this would be nice to display.
The inputs/configs/overrides are displayed as a list -- can we display it as a dict? Or is pydantic not happy?

Please see the README for relevant information. The README is not final, but wanted to share to have feedback
Notes

This is packaged as an installable Python package shipped under hamitlon/examples/experiment_management.
It's inconvenient to pass variable to a FastAPI server via command line, so argparse in __main__ is used to set the environment variable "HAMILTON_EXPERIMENTS_PATH"

TODO:

add support for loading figures from to.plt and to.plotly

Sorry commit history is messy because of git rebase main :/

Sorry commit history is messy because of git rebase main :/ All of them between f19fa0f and 182f8e2 are irrelevant/duplicates

yeah I think next time I would:

squash to one commit
rebase
then redo the commits

Not sure why they're duplicates 🤔

I think we want to merge https://github.com/DAGWorks-Inc/hamilton/pull/680 instead of this one? We should port the PR message, etc.


RPC Error: RpcError: Maximum number of chainHead_follow has been reached

Carlo and I have been discussing this behaviour - I have noticed that I am getting this chainHead.follow$ error on multiple RPC providers:
error:  RpcError: Maximum number of chainHead_follow has been reached

I am not sure why this is happening - it apears that the observables are calling unsubscribe successfully before resolving. I guess nodes have certain limitations on the amount of active connections but this never happened with PJS API.
I'm also getting the error when running my tests repo where there is only one follow$ subscription taking place.
Here is a getter for the chain spec, that just spins up an observable and resolves the function once the spec is received: https://github.com/polkadot-cloud/polkadot-staking-dashboard/blob/main/src/model/Observables/ChainSpec.ts
I have put unsubscribe literally everywhere the function resolves or rejects, I seem to be getting a successful chain spec result, but the error is still being fired.

The error you're seeing, RpcError: Maximum number of chainHead_follow has been reached, is a known limitation specified in the JSON-RPC spec. For details, please refer to these sections of the spec: ref 1 and ref 2.
This behavior differs from PJS API because PJS doesn’t use the new JSON-RPC spec.
Regarding the code you shared, it's important to keep in mind that the @polkadot-api/observable-client package is designed primarily as a low-level tool for very advanced users —not for direct use in DApps. The code snippet provided clearly utilizes the observable-client APIs in a way that wasn’t intended.
In general, we recommend using the documented top-level API, which leverages observable-client to efficiently multiplex chainHead subscriptions across different operations, manages cached streams, and handles unsubscription automatically. This approach should prevent the error you're encountering. Our documentation (docs), examples (example 1, example 2), and sample projects illustrate the proper usage of the top-level client library.
Think of @polkadot-api/observable-client as the equivalent of React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED—it’s intended for internal or advanced use only. If there’s a specific reason preventing you from using the top-level API, please let us know! We’d love to understand your use case better and see if we can improve the library to support it.

The top level API is not viable for a general purpose Dapp that handles a large number of networks unfortunately, so have resorted to use the lower level API.

The top level API is not viable for a general purpose Dapp that handles a large number of networks unfortunately

😅 what? why?
The PAPI top-level API is actually built to support a large number of networks efficiently. Please check out these resources, which demonstrate how PAPI handles multi-network DApps:

Video overview
React Teleport Example
Web3 Blockspace Actions Example
Compatibility and Codegen Whitelist

If there’s a specific limitation you’re running into, please let us know—we’d love to understand and address any gaps.

Well this is not the advice we have been given when we asked for implementation guidance. I have no choice but to roll back support until a concise answer is provided as to the direction the dapp should be headed in...

Well this is not the advice we have been given when we asked for implementation guidance.

It seems there might be some confusion regarding the guidance you've received.
When @carlosala provided implementation advice, it was focused on using the low-level libraries for creating development tools. This guidance is tailored for advanced use cases and may not be optimal for building general-purpose DApps.
For DApp development, we recommend using the top-level API, which has been optimized to handle a large number of networks efficiently. The advice for building development tools doesn't directly apply to crafting DApps, and using the top-level API should help avoid the issues you're encountering.
We've intentionally designed the main library to abstract away the complexities of the low-level APIs, making it easier for DApp developers to build and maintain their projects. The low-level APIs are still available for those who need them but are not exposed through the main library to simplify the development process.
We have detailed explanations and support available through GitHub issues and our Polkadot-api Early Adopters Matrix group. We'd be happy to continue the conversation via these channels to provide more specific guidance and address any other questions you might have.
Please let us know if there's anything we can do to help you.


Can we create same application using old Camera API.

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Update pls 1.16.5

virus

The project has been taken over by https://github.com/CoFH and they are in the middle of updating it


Pinpoint and applications in Docker

Description
I have just installed Pinpoint via the Docker image and everything is working fine. I have several microservices that are each running inside docker containers, speaking to one another and I wanted to configure them be use Pinpoint and here are sample of my Docker file (I am using Payara Micro)
The parent image

FROM airhacks/java
MAINTAINER Daniel Wamara, dwitech.com
ENV PAYARA_VERSION 5.181
ENV PAYARA_ARCHIVE payara-micro-${PAYARA_VERSION}
ENV INSTALL_DIR /opt
COPY ${PAYARA_ARCHIVE}.jar ${INSTALL_DIR}
COPY enable_pinpoint.txt ${INSTALL_DIR}
ENV PINPOINT_DIR /opt
ENV PINPOINT_VERSION 1.7.3
RUN mkdir ${INSTALL_DIR}/pinpoint-agent
ADD pinpoint-agent-${PINPOINT_VERSION} ${INSTALL_DIR}/pinpoint-agent
ENV PAYARA_HOME ${INSTALL_DIR}
ENV DEPLOYMENT_DIR ${PAYARA_HOME}
ENTRYPOINT java -jar ${PAYARA_ARCHIVE}.jar --logToFile ${INSTALL_DIR}/payara-server.log --postbootcommandfile ${INSTALL_DIR}/enable_pinpoint.txt --enableRequestTracing 5ms -javaagent:${INSTALL_DIR}/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${PINPOINT_AGENT_ID} -Dpinpoint.applicationName=${PINPOINT_APPLICATION_NAME} --deploy ${ARCHIVE_NAME}
WORKDIR ${INSTALL_DIR}
EXPOSE 8080 5900

The enable_pinpoint.txt contains one line

create-jvm-options -javaagent:/opt/pinpoint-agent/pinpoint-bootstrap-1.7.3.jar

One of the microservices Dockerfile

FROM dwitech-repo:5000/dwitech-payaramicro
MAINTAINER Daniel Wamara, dwitech.com
ENV MODULE_NAME housing.homesharing
COPY ./target/${MODULE_NAME}.war ${DEPLOYMENT_DIR}
ENV ARCHIVE_NAME ${MODULE_NAME}.war
ENV PINPOINT_AGENT_ID macosx-agent
ENV PINPOINT_APPLICATION_NAME tf24-${MODULE_NAME}

Unfortunately Pinpoint doesn't seem to see the applications that are running. Is there anything that has to be configured in Pinpoint for that?
Environment

Pinpoint version:1.7.3
OS: Mac OSX 10.13.4 (17E202)
WAS: Payara Micro 5.181
Docker: Docker for Mac Version 18.05.0-ce-mac67 (25042) Edge channel

Additional Info
I don't even see any reference to pinpoint in the microservice startup log.

Hello, @dwamara.
As you can see in our installation guide, only things that need to be set to attach Pinpoint-Agent to your application are

javaagent
Dpinpoint.agentId
Dpinpoint.applicationName

I don't see anything critically suspicious with your dockerfile. I think the first thing you should check is whether Pinpoint-Agent successfully copied to the correct path in the container.
Also, If ENV variable from parent image can be used from the child image. Is Reverse direction also possible? (${DEPLOYMENT_DIR} is defined from parent and used at child, ${PINPOINT_AGENT_ID} is defined from child and used from parent. is this okay? I'm not sure...)

Hi @RoySRose ,
The first thing I did when seeing it wasn't working was to check the running container to see if the agent was correctly copied and that was the case.
You can use a ENV variable from the child image in the parent. As you can see "ARCHIVE_NAME" is defined in the child image but used to deploy the archive in the parent. If it wasn't the case, I wouldn't have been able to deploy my services.

@dwamara
Well, if ENV variable isn't the case and there is no problem with copied file of  Pinpoint-Agent.

Checking the agent's config file, I realise that it specifies

profiler.collector.ip=<IP_ADDRESS>
which copied in the container, will try to connect with the profiler inside the container as it is the "<IP_ADDRESS>", that should be the problem.

@dwamara, has the issue been settled?
I didn't think it was a configuration problem since you've mentioned there wasn't any reference on Pinpoint in the microservice startup log.
But if it was the configuration issue, there are other several settings that you need to configure for the Pinpoint to get running.
One is what you've mentioned. Other's if you'd like to know Please check our Installation guide. I've linked to one of them besides the one you've mentioned.

I got it working, I had to change the order of the parameters of the ENTRYPOINT, it now looks like this

ENTRYPOINT java -javaagent:${PINPOINT_DIR}/${PINPOINT_BOOTSTRAP} -Dpinpoint.agentId=${PINPOINT_AGENT_ID} -Dpinpoint.applicationName=${PINPOINT_APPLICATION_NAME}  -jar ${PAYARA_ARCHIVE} --logToFile ${INSTALL_DIR}/payara-server.log --postbootcommandfile ${INSTALL_DIR}/enable_pinpoint.txt --enableRequestTracing 5ms --deploy ${ARCHIVE_NAME}

The javaagent had to come just after the java command and not somewhere in the middle.

@dwamara
Good for you. And thx for sharing the solution. I would never have guessed that would be the problem:)


Collection view being offset

Hello
Thank you for this code first off. I was wondering if you knew anything about when doing the refresh from the bottom, if it could possibly offset the collection view's y position? My collection view is in a navigation controller and a tab bar controller and it is aligned correctly when the VC is pushed but once I refresh, the collection view is offset and part of the top cells are covered by the navigation bar It is like it was moved under the navigation controller. Any insight would be appreciated.
Thank You.

I apologize for wasting your time, this issue was resolved.

Police brutality does not limit itself to race

Police brutality does not limit itself to racial issues as ex-police officer Blake Mitchell enjoys vandalizing cars.  He is not man enough to apologize.  He is only strong enough to run, hide, and change professions.
I am a bad person.  I know that.  I admit that.


Move 08-wasm ethereum light client to ibc-go

Take the Union 08-wasm etheruem light client we currently use in the solidity e2e tests and move it to the ibc-go repo. It will need to be somewhat restructured as a lot of dependencies are all over the place in that repository.
TODO: Definition of done

Moved and superseded by https://github.com/cosmos/solidity-ibc-eureka/issues/142


lots of errors from npm install

hopefully i'm not doing something incredibly bone-headed here, but I've just cloned the repo and run npm install and the terminal gets quite a few errors :(
i'm running macOS Big Sur
here's how it starts...

Node-sass always seems to be problematic to install. Try and see if you can install it directly into the project and then try again.

Tried this:
npm install node-sass
The massive pile of ERRs remains.
Is there another approach you can recommend ?

R.I.P boilerplate


pre-commit hook should use pre-built binaries instead of requiring cargo install

Since there are already pre-built binaries for each release, it would be nice if we could utilize them in the pre-commit hook instead of requiring a dependency on cargo install, which isn't necessarily available in all environments you would want to check for secrets.

Seems like there is some discussion about previous solutions: https://github.com/pre-commit/pre-commit/issues/1453

See also: https://github.com/cargo-bins/cargo-binstall/issues/3

Another thought: something I see as a rough edge of the pre-commit workflow is having to either have a Rust setup or have installed ripsecrets through something else, e.g. Homebrew. Pre-commit knows how to setup a Python environment. What if there was a simple PyO3 wrapper around ripsecrets as a library, and ripsecrets published Python packages to PyPI? That would eliminate the Rust compile step and alleviate the prerequisite. The exchange would be more setup and care for ripsecrets, but automatable.

That's a good point, I think you could even just publish the existing rust binary as a python wheel.

@bgianfo does publishing the binary to crates.io + system hook solve the problem for you? I have a visceral reaction to publishing as a Python library since one of the reasons I created ripsecrets was because at my previous job I couldn't commit because my system Python install was borked that was preventing the secret detector from running.

@sirwart Now that the release Actions workflow includes publishing to crates.io, would you be willing to tag a patch version to make the crate is available?

@bgianfo, @colindean sirwart has published ripsecrets to crates.io as ripsecrets. You should be unblocked if you want to use cargo binstall.


Add support for Table TimeToLive

Closes https://github.com/aws-controllers-k8s/community/issues/911
Description of changes:
Adds custom code to support the TimeToLive specification for the Table custom resource
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Remove delete assertion from CRUD test

is this temporary to just unblock this PR? because it is an important functionality that should not be ignored in tests.

just one comment above re: deletion assertion, otherwise looks good to be merged.

/lgtm


Passing :wait => nil should turn off the timeout

We have a special case where we have a very long environment load that imports a lot of data for a subset of our test suite.
So we use spork and guard to load the data once and then run the tests repeatedly. But every once in a while the timeout happens and guard stops using spork, which leads to us doing the full environment load again.
We would like to be able to turn off the :wait functionality entirely. For now we just specify a very large number.

Seems like a good idea, please can you submit a pull request for that? Thanks!

Sure I'll give it a shot soon...