Consumed EV power is not rounded off on display

I have been running version 1.8.0 (Serki) and 3.5RC1 (dingo35) and with both firmware versions I have the same problem:
I am using an Eastron SDM72 Kwh meter to measure the power transfered to the EV. I feed the Kwh meter from the bottom so I have to usb the Eastron inverted profile.
On the display the value is not rondde off and very long, running through the schematisch drawing. (see the attached picture)
I use HA to sent the netmains values to the smartevse (REST API).
Besides this cosmetic bug, everything is working fine. And my new Volvo EX30 is charged fine.

(MBhandleError)(C0) Error response: E0 - Timeout, address: 0c, function: 04, reg: 0034.
(D) (Timer100ms)(C0) ModbusRequest 21: Request EVMeter Current Measurement Node 0
(D) (ModbusSend8)(C0) Sent packet address: 0x0c, function: 0x04, reg: 0x0006, token:0x0c040006, data: 0x000c.
(D) (ModbusDecode)(C0) Received packet (27 bytes) 0c 04 18 41 7b 13 a0 41 7b 2d 9f 41 7b 70 6d c5 56 9d ae c5 55 76 85 c5 57 0b 5b
q(V) (ModbusDecode)(C0)  valid Modbus packet: Address 0x0c Function 0x04 Register 0x0006 Response
(V) (CalcBalancedCurrent)(C0) Checkpoint 1 Isetbalanced=16.0 A Imeasured=16.0 A MaxCircuit=16 Imeasured_EV=15.7 A, Battery Current = 0.0 A, mode=1.
(V) (CalcBalancedCurrent)(C0) phaseLastUpdate=1709661020,processed=1709661020.
(V) (CalcBalancedCurrent)(C0) Checkpoint 2 Isetbalanced=16.0 A, Idifference=0.3, mod=0.
(V) (CalcBalancedCurrent)(C0) Checkpoint 4 Isetbalanced=16.0 A.
(V) (CalcBalancedCurrent)(C0) Checkpoint 5 Isetbalanced=16.0 A.
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: 16.0 A IsetBalanced: 16.0 A
(I) (printStatus)(C0) L1: 16.0 A L2: 15.0 A L3: 16.0 A Isum: 47.0 A

Gr. Remco

End of March I'll have this EVMeter connected to my testbench, please have patience till then!

We had some code changes, not sure if this solves it?
05612caad1.zip

I am afraid its not solving anything. Even worse, I get a red flashing button and display showing that EV meter could not be connected and I should check wiring and configuration.
Gr. Remco

Ok I don't have my kWh meter at my current location so I can't test it myself, does this version solve the red flashing button and/or the rounded value?
c9c27272a.zip

Tot bad, the screen not shows different (power loaded instead of current) But also the non rounded number.
I think you are almost there ;-)

Problem solved in current master.

Thanks @dingo35, how can I test? Just wait for the 3.5 release or do you already have a binar I can test.
Gr. Remco

Sure you can test this:
c75748d34de8.zip

@Dingo35
Thats strange. I will sent you a screenshot of my smartEVSE tonight, but it only shows current to the car. No power in Kwh is shown on my display. Where your display shows 10KWh mine shows 16A. And the 18.29 and 18.3 KWh is not showing at all.
Gr. Remco

The webinterfaces shows version: Version: 11:11:49 @Apr 1 2024
This is what my screen toggles between:

Gr. Remco

Check,
I think I already discovered what is the problem. Or I disabled the EV meter or it happened during upgrade.
{"version":"11:11:49 @Apr  1 2024","mode":"OFF","mode_id":0,"car_connected":false,"wifi":{"status":"WL_CONNECTED","ssid":"hannink.org","rssi":-64,"bssid":"F6:9F:C2:F7:C5:23"},"evse":{"temp":23,"temp_max":65,"connected":false,"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":"Not Installed"},"settings":{"charge_current":160,"override_current":0,"current_min":6,"current_max":16,"current_main":25,"current_max_circuit":16,"current_max_sum_mains":75,"solar_max_import":2,"solar_start_current":4,"solar_stop_time":10,"enable_C2":"Not present","modem":"Not present","mains_meter":"API","starttime":0,"stoptime":0,"repeat":0},"mqtt":{"host":"<IP_ADDRESS>","port":1883,"topic_prefix":"SmartEVSE-6828","username":"","password_set":false,"status":"Disconnected"},"home_battery":{"current":0,"last_update":0},"ev_meter":{"description":"**Disabled**","address":12,"import_active_power":0,"total_kwh":0,"charged_kwh":0,"currents":{"TOTAL":0,"L1":0,"L2":0,"L3":0},"import_active_energy":0,"export_active_energy":0},"mains_meter":{"import_active_energy":0,"export_active_energy":0},"phase_currents":{"TOTAL":20,"L1":10,"L2":0,"L3":10,"last_data_update":1712212710,"original_data":{"TOTAL":20,"L1":10,"L2":0,"L3":10}},"backlight":{"timer":0,"status":"OFF"}}
I will turn it on this evening and beste again, sorry for the fuzz....

Ah,
I just read the 3.5 RC2 release notes:
Because we added some kWh meters, the config of your MainsMeter or EVMeter might be changed to the wrong type; we prevent this for future releases by reserving some slots so we can add more meters without changing their config id.
This is probably what happened?

Ok mystery solved!

@dingo35,
To bad, but the problem is still there. I enabled the inverted eastron meter again. Not the screens toggle between:

I also flashed the Smartevse with the latest 3.5-RC02 firmware, but still same result.
Gr. Remco

Flash RC2 in your SmartEVSE, and start actively charging, and then:

What does the Eastron show on Total Power on its OWN LCD screen?
What does at that moment, the webserver screen of the SmartEVSE show?
At that moment, dump the "Raw" output, so we can see what import_active_power reports

It looks like your meter reports some astronomical high power usage, which then is displayed as you report...
If you want to investigate that further:
4) Make a verbose debug log through telnet so we can see what modbus message is sent to your EV meter, and what message is returned....
I can "sort of" reproduce your screen when simulating pumping several GW into the SmartEVSE, but even then the screen is not exactly like yours..... which points to your RC2 differs from my RC2 ?!?

Ok your negative power might be the problem here, I have to wait until my EV is back home to see what my production system is doing...

Does this improve things:
88d9d5c18.zip

Yep,
This version is ok. The display not shows everything ok, it toggles through the different values without any rounding errors.
Thanks for the help. and keep up the good wok on this nice project.
Gr. Remco

Hello,
In version 3.6 of the SmartEVSE software, the not rounded off bug is re-introduced.
Gr. Remco Hannink

Thx for your report; that fix is still in there; ...unfortunately no Eastron here at my testsite so I need more info to try to simulate the error. Could you provide:
-the display of the Eastron EV meter
-the display of the webserver
-the telnet log
-the settings dump

@dingo35
Here the requested information. I see that the meter shows a negative power in the webinterface. I was not able to load the debug version / telnet logs. I wil sent these later.
Gr. Remco

{"version":"v3.6.10","serialnr":6828,"mode":"SMART","mode_id":3,"car_connected":true,"wifi":{"status":"WL_CONNECTED","ssid":"hannink.org","rssi":-64,"bssid":"F6:9F:C2:F7:C5:23"},"evse":{"temp":36,"temp_max":65,"connected":true,"access":true,"mode":1,"loadbl":0,"pwm":272,"solar_stop_timer":0,"state":"Charging","state_id":2,"error":"None","error_id":0,"rfid":"Not Installed"},"settings":{"charge_current":160,"override_current":0,"current_min":6,"current_max":16,"current_main":25,"current_max_circuit":16,"current_max_sum_mains":75,"max_sum_mains_time":0,"solar_max_import":2,"solar_start_current":4,"solar_stop_time":10,"enable_C2":"Not present","mains_meter":"API","starttime":0,"stoptime":0,"repeat":0},"mqtt":{"host":"<IP_ADDRESS>","port":1883,"topic_prefix":"SmartEVSE-6828","username":"","password_set":false,"status":"Disconnected"},"home_battery":{"current":0,"last_update":0},"ev_meter":{"description":"InvEastrn","address":12,"import_active_power":-10.39999962,"total_kwh":3100.100098,"charged_kwh":6.900000095,"currents":{"TOTAL":457,"L1":152,"L2":153,"L3":152},"import_active_energy":3100.100098,"export_active_energy":0},"mains_meter":{"import_active_energy":0,"export_active_energy":0},"phase_currents":{"TOTAL":410,"L1":140,"L2":130,"L3":140,"last_data_update":1727427540,"original_data":{"TOTAL":410,"L1":140,"L2":130,"L3":140}},"backlight":{"timer":120,"status":"ON"}}


Animation Tree: State machine nodes view does not refresh on Undo/Redo creating new node (until next click)

Tested versions

Reproducible in v4.2.1.stable.official [b09f793f5]

System information
Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 860M (nvidia; 535.161.07) - Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 Threads)
Issue description
The Animation Tree panel's State Machine view does not update/refresh properly when undoing or redoing an Add node action. User must click on said area to force refresh.
Peek 2024-04-23 Animation Tree panel doesnt refresh on state machine add node undo-redo.webm
Steps to reproduce

Add an Animation Tree node
Inspector > Tree Root > new AnimationNodeStateMachine
In AnimationTree panel, start adding new nodes (if you don't have dummy animations to add, just put BlendSpace1D instead)
Undo (ctrl+Z) state machine node creation => no visible change
Click: view is now refreshed, with nodes removed
Redo (ctrl+shift+Z) => no visible change
Click: view is now refreshed, with nodes re-added

Minimal reproduction project (MRP)
N/A

Please try with 4.2.2

Confirmed bug with v4.2.2.stable.official [15073afe3]
I notice that in step 5, "Click: view is now refreshed, with nodes removed" I can also just move the mouse over the Node that is supposed to be removed and it also refreshes the view (but it was probably already like that in 4.2.1).


Leverage the RequiresHttps method from SecurityHooks.

The method has already been there, with the same content. I don't know why just use it.

thx


Package for FreeBSD

Would be really nice if we could make a port for pilgo and add it to the FreeBSD ports tree.

I could cross-compile BSD binaries and upload them to each release from here on (automated), however I'm a bit insecure about it because I'm not able to test Pilgo on BSD-based systems (since I don't use it and there are no cloud CI solutions whatsoever). Do you think that's an issue? Do you know how other open source projects support BSD with those limitations?

Not sure. I have a friend with commit status though. I can ask him

Not sure. I have a friend with commit status though. I can ask him

I'd be glad if you could do that for me, thanks! I don't want to exclude BSD people from using Pilgo.


How to get bitmap of scanned bar code

i want the barcode image so if there is any method then please send me at<EMAIL_ADDRESS>

Take a look at this answer on stack overflow.  A similar approach would work for barcodes:
http://stackoverflow.com/questions/35399545/android-camerav2-face-detection-and-saving-image?lq=1

@pm0733464
im unable to understand what is given in stackoverflow  , can u send me a demo code

Duplicate (in spirit) of #64.


path buffer to enforce global Uint8Array is used

I would like to take the chance to mention I really appreciate this awesome plugin, Thanks for your work!
Fixes: https://github.com/davidmyersdev/vite-plugin-node-polyfills/issues/36

I am not quite sure what would be the way to test this, but basically this makes sure the globals used are the actual global values

@atlowChemi thanks so much for the PR! I'm not sure what the implications of using a patched dependency might be on downstream consumers of this library, so I'll have to test it against a few of the test apps that people have submitted for other scenarios. As soon as I can confirm that this works as is, I'll merge it. 😁

I'm not sure what the implications of using a patched dependency might be on downstream consumers of this library

What implications are you concerned of? 🙂
From my playing around with it, these changes reflected in the shims/banner/dist/index.cjs, and my build seemed to pass after that 🙏🏽

Seems like this would only work for pnpm users, no?

@adrian-gierakowski nope, this affects the buffer package being installed when working on the vite-plugin-node-polyfills package.
The vite-plugin-node-polyfills is then getting bundled and shipped with the modified buffer package, which means the consumers can use any package manager and still get the "fixed" version...

I have confirmed that this works as expected without any side effects that I could find. Thanks again for the PR!


Uploading certain .pptx files generates HTTP request returned status code 504 (Gateway Timeout)

When uploading certain MS .pptx files, a 504 error is generated somewhere within the OneDrive system - example:
Processing ceng232_lecture02_Combinational_Logic-v1-emre-desktop.pptx
The file last modified time has changed
The file content has changed
Uploading file ea.ceng.metu.edu.tr_BACKUP/teaching/archive/20162_232/slides/gecen-sene/ceng232_lecture02_Combinational_Logic-v1-emre-desktop.pptx...* Found bundle for host graph.microsoft.com: 0xec68c0 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#1)
> PUT /v1.0/drives/b!_x3ri6hiKEajiD1-c-Wwlx53rbspBL9Hn5ZQFCSSRkjDZOpSuGsYR7DXYJGnKxfp/items/01DDBXS2EM2SB2RPQ2MVEYVTANAEZQQTUM/content HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.079 (libcurl/7.47.0)
Accept: */*
If-Match: "{A883D48C-1ABE-4965-8ACC-0D0133084E8C},1"
Authorization: bearer [...deleted by eakbas...]
Content-Type: application/octet-stream
Content-Length: 2643136
Expect: 100-continue

< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 504 Gateway Timeout
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: a6c775a3-56ff-4bdc-bb94-2ee1078fcb67
< client-request-id: a6c775a3-56ff-4bdc-bb94-2ee1078fcb67
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"SliceA","Ring":"4","ScaleUnit":"000","Host":"AGSFE_IN_3","ADSiteName":"AMS"}}
< Duration: 10661.602
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 25 Apr 2018 07:15:31 GMT
<
* Connection #1 to host graph.microsoft.com left intact
onedrive.OneDriveException@src/onedrive.d(539): HTTP request returned status code 504 (Gateway Timeout)
{
    "error": {
        "code": "UnknownError",
        "innerError": {
            "date": "2018-04-25T07:15:32",
            "request-id": "a6c775a3-56ff-4bdc-bb94-2ee1078fcb67"
        },
        "message": ""
    }
}
----------------

Unsure of the actual .pptx content, however I suspect that some sort of file analytics is taking longer than normal on the .pptx file and some sort of internal timer is timing out.
This issue is randomly reproducible, but consistently reproducible by the same user. Further details here:
https://github.com/skilion/onedrive/issues/320

@ificator
At what point (file size / bytes) should uploads switch from non-session to session uploads? What is the optimum size for session chunks?

@ificator
Also - it seems that the users experiencing this 504 issue are hitting the same Microsoft Data Centre:
< HTTP/1.1 504 Gateway Timeout
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 7633c25f-bbd0-470a-a89c-4d06b4399bdb
< client-request-id: 7633c25f-bbd0-470a-a89c-4d06b4399bdb
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"SliceA","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_31","ADSiteName":"AMS"}}
< Duration: 20002.8389
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 02 May 2018 10:01:13 GMT
<

< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 504 Gateway Timeout
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: a6c775a3-56ff-4bdc-bb94-2ee1078fcb67
< client-request-id: a6c775a3-56ff-4bdc-bb94-2ee1078fcb67
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"SliceA","Ring":"4","ScaleUnit":"000","Host":"AGSFE_IN_3","ADSiteName":"AMS"}}
< Duration: 10661.602
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 25 Apr 2018 07:15:31 GMT
<

< HTTP/1.1 504 Gateway Timeout
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: e28960b0-ab78-4b01-adca-d95b342d1eda
< client-request-id: e28960b0-ab78-4b01-adca-d95b342d1eda
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"SliceA","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_5","ADSiteName":"AMS"}}
< Duration: 10130.383
< Strict-Transport-Security: max-age=31536000
< Date: Tue, 24 Apr 2018 06:33:15 GMT

So could this be something entirely localised in the Microsoft Data Centre in West Europe?
I have got copies of the files that are causing the issue, and when uploading to AU Data Centres there is zero issue:
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 201 Created
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< Location: <redacted>
< request-id: 48eb7312-b894-48c2-a2f0-6c39807dfbaa
< client-request-id: 48eb7312-b894-48c2-a2f0-6c39807dfbaa
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia SouthEast","Slice":"SliceA","Ring":"2","ScaleUnit":"000","Host":"AGSFE_IN_3","ADSiteName":"MEL"}}
< OData-Version: 4.0
< Duration: 4670.0346
< Strict-Transport-Security: max-age=31536000
< Date: Thu, 03 May 2018 21:38:29 GMT
<

Graph has a hard limit at 4MiB, but you can still encounter transient issues on smaller sizes depending how long the operation takes in SharePoint. From a chunk perspective it's a trade off between how many bytes will need to be retransmitted on failure vs the overall upload speed. Generally speaking the larger the chunk the faster the overall upload will take (thanks to TCP window scaling etc), while the smaller the chunk the less you'll need to retransmit if there's a failure. Since you're dealing with small files anyway I'd try something like 512KiB as a reasonable trade off and see how it goes.
As for the question about West Europe - that's interesting. I'll see if I can find any known issues.

Thanks - what I have done is work around the 504 issue so that if a 504 is encountered, it will retry the upload using a session.
It would be good to know why it is PPTX files causing it (have the file & can reproduce now even in AU DC)


[Test Explorer] error when displaying multiple workspaces

Does this issue occur when all extensions are disabled?: N/A

VS Code Version:

Version: 1.58.0-insider (Universal)
Commit: 7dea6d7402b55671410a129661cad24b55aed9f4
Date: 2021-06-18T13:57:55.970Z
Electron: 12.0.11
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.5.0

OS Version: macOS 11.4

During test of our extension, bump into this issue when showing multiple workspaces (of a multi-root workspace project) in the Test Explorer. Note, the workspace worked fine if it's the only workspace in the project.
Steps to Reproduce:

in a multi-root workspace project, register test controller and returns WorkspaceRoot for each
seeing errors below and the explorer is empty but with stats:

testingExplorerView.ts:1117
Uncaught TypeError: Cannot read property 'createOverlay' of undefined
    at Se (testingExplorerView.ts:1117)
    at Te.fillActionBar (testingExplorerView.ts:1017)
    at Te.renderElement (testingExplorerView.ts:997)
    at Te.renderElement (testingExplorerView.ts:1097)
    at g.renderElement (abstractTree.ts:360)
    at W.renderElement (listWidget.ts:1045)
    at u.insertItemInDOM (listView.ts:769)
    at u._splice (listView.ts:523)
    at u.splice (listView.ts:427)
    at splice.ts:17
    at Array.forEach (<anonymous>)
    at t.splice (splice.ts:17)
    at listWidget.ts:1350
    at n.bufferEvents (event.ts:771)
    at F.splice (listWidget.ts:1350)
    at F.splice (abstractTree.ts:1184)
    at p.spliceSimple (indexTreeModel.ts:288)
    at p.spliceSmart (indexTreeModel.ts:208)
    at p.splice (indexTreeModel.ts:150)
    at R._setChildren (objectTreeModel.ts:122)
    at R.setChildren (objectTreeModel.ts:71)
    at q.setChildren (objectTree.ts:56)
    at T.applyTo (nodeHelper.ts:101)
    at v.applyTo (hierarchalByLocation.ts:231)
    at ie.applyProjectionChanges (testingExplorerView.ts:631)
    at O.runner (testingExplorerView.ts:619)
    at O.doRun (async.ts:754)
    at O.onTimeout (async.ts:748)

Fixed in https://github.com/microsoft/vscode/commit/186e565ec0eaee72c980ffe546ec3e4cb3ed1635


support es shard number as partition number

This commit can change the execution time from hours to minutes in some scenarios like：

query a lot of index and each index has one shard, like thousands of index
each shard has ten millions of docs, and aboud 20GB size
user use match phrase query, the term will match a lot but the phrase match little

in scenarios like above, when we count partitions, we will query each shard to count hit docs, because we use match phrase, each shard will spend about one second average, then it will spend about hours in findSlicePartitions function total.
so maybe we shoud support parameter to skip this count if each shard hit little.

I don't think we should be adding yet another setting for modifying the logic of selecting partition counts. We already have es.input.max.docs.per.partition, which if it is set will cause the connector to perform the counts per shard.
As it stands, there is no longer a default value for es.input.max.docs.per.partition in the 7.x line, which should have the connector default to using the number of shards as the number of partitions without doing any shard counting.
Are you setting es.input.max.docs.per.partition at the moment? Does the performance problem still exist when that setting is removed?


[VS Code] Removing Terminal: Service not available: terminal

Error:
Removing Terminal: Service not available: terminal
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.509

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.36.1

platformName
Windows

platformVersion
10.0.17134

Thanks for reporting this, @YoubaBybel. Can you tell me what you were trying to do when you saw this message? Your logs may also provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.


Issue with new scheduledQueryRules API version (2021-02-01-preview)

Bicep version
0.4.412
Describe the bug
When deploying a log query alert using the new API, I'm getting an Alert rule payload cannot be empty (Code: BadRequest) error
To Reproduce
Create a log query alert with the below:
resource heartbeatsAlert 'Microsoft.Insights/scheduledQueryRules@2021-02-01-preview' = {
  name: heartbeatsAlertName
  location: location
  properties: {
    description: 'A VM is not sending heartbeats to the workspace'
    severity: 0
    enabled: true
    scopes: [
      workspaceId
    ]
    evaluationFrequency: 'PT1M'
    windowSize: 'PT5M'
    targetResourceTypes: [
      'Microsoft.OperationalInsights/workspaces'
    ]
    criteria: {
      allOf: [
        {
          query: 'Heartbeat\n| summarize TimeGenerated=max(TimeGenerated) by Computer\n| extend Duration = datetime_diff("minute",now(),TimeGenerated)\n| summarize AggregatedValue = min(Duration) by Computer, bin(TimeGenerated,1)'
          metricMeasureColumn: ''
          resourceIdColumn: workspaceId
          dimensions: [
            {
              name: 'Computer'
              operator: 'Include'
              values: [
                '*'
              ]
            }
          ]
          operator: 'GreaterThan'
          threshold: 0
          timeAggregation: 'Count'
          failingPeriods: {
            minFailingPeriodsToAlert: 3
          }
        }
      ]
    }
    autoMitigate: true
    checkWorkspaceAlertsStorageConfigured: false
    actions: {
      actionGroups: actionGroupId
    }
  }
}

Additional context
I can only see documentation for the 2020-05-01-preview API. I received an email notifying me that this API version is being retired on 31st October, so keen to migrate to the new version
I've also raised a support request, but given how slow that can be, I thought I'd also try my luck here. Can anyone advise what's missing?

You need to do a couple of modifications to your template. The schema is slightly changed for 2021-02-01-preview compared to the one you were using before.
The error you get Alert rule payload cannot be empty (Code: BadRequest) is because the actions property is defined incorrectly. Change it to:
actions: {
    actionGroups: [
       actionGroupId
    ]
}

After that is done you also need to add the missing property numberOfEvaluationPeriods to the failingPeriods object. And change the evaluationFrequency to PT5M since a 1 minute frequency is not allow for preview APIs.
Here is a working example.
resource heartbeatsAlert 'Microsoft.Insights/scheduledQueryRules@2021-02-01-preview' = {
  name: heartbeatsAlertName
  location: location
  properties: {
    description: 'A VM is not sending heartbeats to the workspace'
    severity: 0
    enabled: true
    scopes: [
      workspaceId
    ]
    evaluationFrequency: 'PT5M'
    windowSize: 'PT5M'
    targetResourceTypes: [
      'Microsoft.OperationalInsights/workspaces'
    ]
    criteria: {
      allOf: [
        {
          query: 'Heartbeat\n| summarize TimeGenerated=max(TimeGenerated) by Computer\n| extend Duration = datetime_diff("minute",now(),TimeGenerated)\n| summarize AggregatedValue = min(Duration) by Computer, bin(TimeGenerated,1)'
          timeAggregation: 'Count'
          metricMeasureColumn: ''
          resourceIdColumn: workspaceId
          dimensions: [
            {
              name: 'Computer'
              operator: 'Include'
              values: [
                '*'
              ]
            }
          ]
          operator: 'GreaterThan'
          threshold: 0
          failingPeriods: {
            minFailingPeriodsToAlert: 3
            numberOfEvaluationPeriods: 5
          }
        }
      ]
    }
    autoMitigate: true
    checkWorkspaceAlertsStorageConfigured: false
    actions: {
      actionGroups: [
        actionGroupId
      ]
    }
  }
}

@StefanIvemo thanks for coming back to me so quickly, really appreciate it! I've modified my template and the deployment is now working 😃
Thanks for the tip and link aswell. I've always used the ARM template reference documentation, but I find that a lot of the API versions haven't been updated in ages (can appreciate that it's hard to keep up to date though)
Appreciate your help


Make SQL backup configurable

I'm working on a project now with a 2 GB SQL DB, and would prefer not to have it backed up before running ./scripts/build import. It would be nice to have a flag like --no-backup to skip doing a DB dump. I know I can configure this on a per project basis, but wondering if you think this is good to have in the main project.

added in this commit: dfdf9b3738b39f5a9ab2b7d6ce68cd8d2ee4629c


removes unwraps in favor of default dpi

Unwraps here were causing panics that caused skulpin to crash if the window was not available. This fixes that by returning a default value of 1.0 for the scale factor if a window could not be found.

Fixes https://github.com/aclysma/skulpin/issues/47


Discord invite link invalid

Where did you see the issue in our documentation?
https://github.com/kurtosis-tech/kurtosis/blob/main/README.md
Issue description
The discord invite link in the primary README and issue template is not working

https://github.com/kurtosis-tech/kurtosis/blob/main/.github/ISSUE_TEMPLATE/config.yml
https://github.com/kurtosis-tech/kurtosis/blob/main/README.md
https://github.com/kurtosis-tech/kurtosis/blob/main/CONTRIBUTING.md

The following screen is seen:

Thank you @Dartoxian - super helpful. Will update!


Feat: ✨sentry error reporting [ROAD-364]

Added Sentry error reporting support.

Build is failing...

Thanks @bastiandoetsch. Now no errors 🐛


Why we can't bind more than 2 properties?

Hi,
If I do something like this
        themeService.bind([
            ({ $0.backgroundColor }, [self.rx.backgroundColor]),
            ({ $0.textLabelColor }, [self.textLabel!.rx.textColor]),
            ({ $0.detailTextLabelColor }, [self.detailTextLabel!.rx.textColor])
            ]).disposed(by: disposeBag)

Compiler gives me Type of expression is ambiguous without more context error. If I delete anyone of them, it compiles. Is it Swift bug or by design? What is the proper way to bind 3,4 properties all once instead of binding 2 or 1 at a time. Thanks.

@tosbaha
This is a known issue for me, the compiler sometimes would consider the binding syntax as too complex.
I'd prefer optimize it in the next version.

@wddwycc Thanks for the answer. I am looking forward to your next version.

@tosbaha Resolved in version2.0 with new chaining syntax


Can not get request parameter

I create a post/route with request path /login. But at server-side can not get  request parameter. Please see the image

Can you share some code and shell commands so that we can try to spot the issue? Screenshots in general are useless.

so this is for 3.7.1 I think it is same for future versions but you need to use
BodyHandler.create().setMergeFormAttributes(true) as a handler for your post requests first and then you can use request.params()

Yes, you're missing the BodyHandler.create(), the merge form attributes is true by default, so in this case it has no effect.


Update cable3

Replacing PR https://github.com/ACCESS-NRI/ACCESS-ESM1.6/pull/5

:rocket: The latest prerelease access-esm1p6/pr10-27 is here: https://github.com/ACCESS-NRI/ACCESS-ESM1.6/pull/10#issuecomment-2526859496 :rocket:

great - sorta - at least we're getting to some real errors now:
in access.err
rrtl: severe (24): end-of-file during read, unit 101, file /scratch/p66/jxs599/access-esm/work/preindustrial+concentrations-control-0553b167/atmosphere/INPUT/pftlookup_csiro_v16_17tiles_wtlnds.csv
This pft_lookup file is no longer appropriate for ESM1.6.
I've copied a new cable.nml file to atmosphere/cable.nml which is appropriate. We'll see how far we get - thanks

gadi:atmosphere> tailgrepiatm atm.fort6.pe0
Atm_Step: Timestep                    513
Atm_Step: Timestep                    514
Atm_Step: Timestep                    515
Atm_Step: Timestep                    516
Atm_Step: Timestep                    517
Atm_Step: Timestep                    518
Atm_Step: Timestep                    519
Atm_Step: Timestep                    520
so we're off and running.

its a few months in now. WRT general workflow - I am going to run this out for a bit. I will in general need to run several instances (most short term) where builds/run configs will change.
@harshula, @aidanheerdegen  I mentioned I changed atmosphere/cable.nml. git does not reflect this. Consider this the default version of ESM1.6 cable.nml for now (the final has not been determined). So where are we going to keep these and the files linked from within cable.nml as well

@harshula, @blimlim - 1st month ran while I went swimming. 1st CRUN - walltime suggests it ran for 20minutes. nothing in .e file. No access.err. No work/. No recourse - well for me anyway. How does it launch CRUNs

Hi @JhanSrbinovsky, that's great that the changes are working!
I'll comment on the CRUNs back in the ACCESS-HIVE forum topic https://forum.access-hive.org.au/t/esm1-6-development-using-nri-repos-and-payu/3922/20 to make sure any payu/configuration discussions are a bit more visible over there.

@ccarouge I'll submit the PR  - as there are some changes. Almost all entirely trivial. One actually removes an incorrect update of met%tk. This runs fine. I think @rml599gh's 100 year runs include this. At any rate I went through the process a gain of deployment etc and am running this again as $jobid=PIc2.

Hey, due to https://github.com/ACCESS-NRI/build-cd/issues/173 we have had to update the infrastructure in this repository, as well - see https://github.com/ACCESS-NRI/ACCESS-ESM1.6/pull/17.
We try and keep these kinds of updates to a minimum, and, starting from this one onwards, it will no longer be a hard requirement to update PR branches to incorporate infrastructure changes in order for the infrastructure to work - as you need to for this one.
To update this PR to the new origin/main, do the following:
git pull
git rebase origin/main
git push --force

to incorporate CI changes into the PR.
Your PR may redeploy, but that is okay - it should be identical to the last deployment. Let me know if you have any questions or issues.

All seemed to go well. Thanks

Hi @JhanSrbinovsky , I've rebased update_cable3 branch on to the latest main branch, for you.

Thanks @harshula - I'll give it a try later on

Needed to rebase to include Infrastructure Commit https://github.com/ACCESS-NRI/ACCESS-ESM1.6/commit/ee33fcafbf7d79e59b4b9849fbb89b2d29d22532 .


[Bug]: Create an OSS data source. The file URL is configured with the path, not the file name.

ODC version
ODC433
OB version
independent
What happened?
Create an OSS data source. The file URL is configured with the path, not the file name.

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
。
Anything else we need to know?
No response

As expected.


Roll Flutter Engine from fb9572f1a32b to 814dac2d0a79 (1 revision)

https://github.com/flutter/engine/compare/fb9572f1a32b...814dac2d0a79
2022-07-21<EMAIL_ADDRESS>Null check uniforms in runtime stage (flutter/engine#34814)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Dragging a link onto page shows forever blue drop indicator

Commit: latest
Steps to reproduce

click and drag and link from within the website onto it and release the mouse

Observed behavior

Forever "drop config here"

Expected behavior

Indicator should disappear after releasing the mouse
Indicator should close on ESC
There should be an X button to explicitly close it

Fixed a while ago.


aio discover bug

aio discover
 ›   Error: Oops:FetchError: invalid json response body at
 ›   https://api.npms.io/v2/search?q=aio-cli-plugin reason: Unexpected token < in JSON at position
 ›   0

We should use the official search api (might be rate limited) and not npms.io which I believe is sponsored by a lone developer.

The service is back up, but we should migrate off it.

Closing as the service is back up.


Constants in float.pxd are not integers.

See discussion on cython-users.

(rolled back incorrect doc change)

Thanks. (Wish you didn't have to... :)


Easy dict serialization

People are gonna want this alot. Let's add to_dict, from_dict like functionality.

@abhinav think you can check this out soon?

Dupe of #14


Analyst can withdraw applications

As an analyst
I want to withdraw an application
So that I have control over the application status
Description:
This ticket is to allow the analyst to withdraw an application for the applicant
Acceptance Criteria:

[ ] Analyst can set internal and external status to withdrawn for any application that DOES NOT have the status of  Approved, or Completed
[ ] When analyst changes the internal and external status to withdrawn, display modal asking for reason for change each time
[ ] Analyst must change the internal status to withdrawn before they can change the external status to withdrawn
[ ] Applicant dashboard shows the application with 'Withdrawn' status
[ ] Update status diagram to include "Withdrawn" as a status
[ ] Applicant view of the application is all fields disabled
[ ] If it's withdrawn, can still change status
[ ] Withdrawn option is above 'Closed' in dropdown
Private Zenhub Image
Private Zenhub Image

Implementation Details

Why can't they change it when Conditionally Approved? If an applicant chooses to withdraw an application that's been conditionally approved, it should be withdrawn, not closed.

Hey team! Please add your planning poker estimate with Zenhub @marcellmueller @rafasdc @VB-at-Bis


Improve bond-wire length calculation for each direction.

The current implementation was always assuming that the start position coordinates of the bond-wire were [0, 0, 0] when calculating the length of the bond-wire in each of its directions.
Fix #691 .

Made a trivial change in the description. Use "Fix #..." rather than "Fix issue #..." to get issues linked automatically.

Made a trivial change in the description. Use "Fix #..." rather than "Fix issue #..." to get issues linked automatically.

Thanks @akaszynski for the tip. I was wandering why I could not get the issues linked automatically for my PRs while I was sure it used to work.


Permission error when using checkpoint

Traceback (most recent call last):
File "C:\Users\elmm\Desktop\CQM\QNLP Depression 2.py", line 20, in
model = TketModel.from_checkpoint('C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY', backend_config=backend_config)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\quantum_model.py", line 106, in from_checkpoint
checkpoint = Checkpoint.from_file(checkpoint_path)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\checkpoint.py", line 110, in from_file
with open(path, 'rb') as ckp:
PermissionError: [Errno 13] Permission denied: 'C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY'
I am trying to use a trained model with the checkpoint. I may have done it wrongly, could I ask for some assistance?

You need to specify the path to the model.lt file:
model = TketModel.from_checkpoint('C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY/model.lt', backend_config=backend_config)


Bug: TypeError: argument of type 'NoneType' is not iterable in core/bytecodes/apk.py

Hey,
With some APK, I got this crash:

  File "build/bdist.linux-x86_64/egg/androguard/core/bytecodes/apk.py", line 205, in __init__
  File "build/bdist.linux-x86_64/egg/androguard/core/bytecodes/apk.py", line 295, in get_files_types
  File "build/bdist.linux-x86_64/egg/androguard/core/bytecodes/apk.py", line 308, in _patch_magic
TypeError: argument of type 'NoneType' is not iterable

When I call:

apk = APK(apkFile)

The bug occurs here at line 308 in the core/bytecodes/apk.py file:

 307     def _patch_magic(self, buffer, orig):
 308         if ("Zip" in orig) or ("DBase" in orig):

I tried to return None if "orig" is None and it seems to be working but I'm not sure about the side effect.

 307     def _patch_magic(self, buffer, orig):
 308         if orig is None:
 309             return orig
 310         if ("Zip" in orig) or ("DBase" in orig):

Cheers,

It would be really helpful if you can share your dex or apk file.

@JonathanSalwan is this one still an issue? If it is, would it be possible to share the APK file?

@reox, "Jan 20, 2015", sorry man, i don't have this APK anymore and i don't know if it's still an issue or not.

thanks for checking, if you encounter it again, feel free to reopen!


V EASY: neg.reg of lipid catabolism

Hi,
May I please have regulation terms for GO:0016042.
P02652
cheers
Evelyn
Reported by: ecamon
Original Ticket: "geneontology/ontology-requests/1592":https://sourceforge.net/p/geneontology/ontology-requests/1592

thanks www.movied.org


build: install the executable targets

This is the first and last step towards enabling swift-driver on
Windows.  The current swift-driver test suite passes on Windows, and
with the changes now merged, swift build --use-integrated-swift-driver
works.  This change will extract the tools so that we can package them
up.  This sets the stage for the last change needed in SPM and allows
experimenting with packaging now.

@swift-ci please test


Fixes add block panel scrolling speed

This seemed to fix up issue #1668 for me. Tested it in chrome and firefox and both work well for me.

Thanks, much better


Add kill() to TestServerV2

The function which exists in TestServer, was missing from TestServerV2. Add it to keep better backward compatibility.

LGTM, thanks


Google Colab WebSocket Help

Hi I am running Google Colab, trying to get some PolyCam data processing
I haven't been able to get the Viewer to open even any of the demo projects.
After I run the cell where I upload the polycam data, what is the next step I need to take to get the training going? When I run either the training or the viewer cells nothing happens. It gives me "Server Disconnected" no matter how many times I reconnect.

It sounds like the localtunnel isn't being opened. Can you open the viewer in a new tab using the websocket provided by localtunnel. Then check the chrome developer tools console to see if you have any errors.

Hey So I checked Developer tools and I am seeing errors. "WebSocket.jsx:27 WebSocket connection to 'wss://tidy-laws-share-35-223-82-118.loca.lt/' failed"
After running the "Downloading & Processing Data" Cell, I run "Set up and start Viewer". Then I start the "Training" cell - and my viewer actually shows "Server Connected" very briefly.

Just as another data point I've also just run into this issue.  Everything seemed to initialize fine in the notebook and the dozer demo downloaded ok but then I'm getting "Server Disconnected" / "Render Disconnected" in the viewer too.
I've opened the websocket link in a new tab and can see the following in the console (but it doesn't look like there are many clues):

Thanks and looking forward to trying this out.

Maybe localtunnel is killing the socket for some reason. You could try using ngrok instead.

If you could kindly elaborate a little on how to do that, I'd really appreciate it and will give it a try

I haven't done it myself so I don't know the exact commands, but the idea is to use ngrok to port forward a port to a public address that you can set as the port in the viewer.


Scroll bar styling for sidenav

When the sidenav does not require scrolling, there's still a somewhat thick scrollbar indication, which feels unnecessary to me. I think visual aspects of the scroll bar should appear only when needed. @luciaaaaaaa, thoughts?

This is something that came up awhile ago when Vlad was working on the sidenav I think (I see this too). It has to do with a setting on your Mac, so some users don't see this.

If you switch to "When scrolling", the scrollbar indication won't display.

This is something that came up awhile ago when Vlad was working on the sidenav I think (I see this too). It has to do with a setting on your Mac, so some users don't see this.

If you switch to "When scrolling", the scrollbar indication won't display.

Thanks, @lnhsingh! That did the trick. I'll close this.

Thanks, @lnhsingh! That did the trick. I'll close this.


Cleaning up Warnings

Cleaning up Warnings

Thanks! I'll later modify horizontal and vertical line drawing functions to avoid using that macro.

Hi, sounds good!

Hello,
one more comment: could you also add some Monospaced fonts? E.g. with sizes 8, 12, 16?

Sure I'll do it. Though, I'm not sure when as my company discontinued work-from-home and now I've little time to work on my personal projects.

Thanks! No problem!

Thanks! No problem!

Hi @vitasam , I've added a few more fonts, but more importantly, I wrote a tutorial on "how to make font". Check here: https://github.com/abhra0897/FontsEmbedded.git
I'll update the info in this display driver repo soon.

Hi,
Thanks! This tool is a great addition!
From: Avra<EMAIL_ADDRESS>Sent: torstai 3. syyskuuta 2020 23.48
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [abhra0897/stm32f1_ili9341_parallel] Cleaning up Warnings (#3)
Thanks! No problem!
Hi @vitasamhttps://github.com/vitasam , I've added a few more fonts, but more importantly, I wrote a tutorial on "how to make font". Check here: https://github.com/abhra0897/FontsEmbedded.git
I'll update the info in this display driver repo soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/abhra0897/stm32f1_ili9341_parallel/pull/3#issuecomment-686756854, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABKWSQOZRJWRBMROO5ERGPTSD76INANCNFSM4QPG3UQQ.

Great job!


Take memory usage into account

Although butternut appears to be much faster than uglifyjs, it would be nice to also see memory comparisons.
I've got a few tasks where uglifyJS gives me no problems, but butternut goes out of memory without increasing the --max-old-space-size.

Can you share an example file where this is happening?


Should raise when a filter class for a field cannot be found (and strict=True)

One of my models is using a UUIDField as a "uuid" field.
I setup a FilterSet for this model and I remarked by using it that the filter set is returning all records when filtering by "uuid".
This is an unexpected behavior especially because we can set a argument, strict=True that obviously should means "raise something when you fail". But it doesn't.
I checked the code of this project and it seem that the implementation of filter_for_field returns None in case of failure. This is a good behavior if some code using it will handle such case. Unfortunately it isn't.
So please raise an exception when the FilterSet is unable to find a proper filter Field for a given model Field.
Thanks.

@carltongibson so I just ran into this on my end in Django 1.8. I'm using UUID's for all my pk fields. When I explicitly added
class MyFilter(...):
    class Meta:
        field = ['some_relation__id']

well it turns out the filter never gets added. This is pretty silent about how it's not adding a filter for a field that while valid, it can't figure out how to filter. Personally I'd like this to be an error during class instantiation so it's obvious to the dev that a requested filter type is going to be dropped.

as a quick followup, updating that psuedo-code class above with something like
from django.db import models as django_models

class MyFilter(...):
    filter_overrides = {
        django_models.UUIDField: {'filter_class': django_filters.CharFilter}
    }
   class Meta:
        field = ['some_relation__id']

Fixes it since that filter is then added to the list

OK, there's two things going on here.

Failing silently: BAD
Not covering all Django provided field types: BAD.

I'll merge #136 to address 1. I'll look at 2 for the new fields as well.
Thanks for the follow up.


[QUESTION]: handle-bar css

Excuse me, How can i setting the postPoned handle-bar moving shadow in css?
like this, point in the red rectangle, thanks

Hello, if you need to style it, its class name is handle-bar_clone. Hope it helps

Yes,but seem didn't work. Become instant move splitter
https://www.flickr.com/photos/rpd11140/41050127532/

oh, i solve the problem, the className no same with my ".layout-splitter_clone"


Typescript

Fixes: https://github.com/hyperjump-io/json-schema-validator/issues/11
Depends on: https://github.com/hyperjump-io/json-schema-core/pull/8
I want the implementation to be in native node.js JavaScript. I also want to support TypeScript, but if I just include a .d.ts, those type definitions are likely to get out of date as the library evolves. So, I decided to covert my tests to TypeScript. That allows my tests to not only verify functionality, but also verify that my changes haven't broken my type definitions.

@YF1999 The implementation is mostly ready. I just need to do so more testing and documentation. Any feedback and/or testing is welcome.

Finally finished. I'll leave it open for a few days in case anyone who knows TypeScript better then I do wants to review and tell me how to do it better.


Merge remote-tracking branch 'CareMessagePlatform/master'

Updated the scientific advisory board members on Team page

@simone-yang i think you forgot to push the code, this PR is empty(you can check the files changed tab)


Heap out of memory after a long use with 20 concurrent callers.

Hi,
Thanks you for writing this library.
I have the following scenario:
20 jobs are running in one Node instance. They all perform an http GET and the delay between every call is 70ms.
It working great with this code:
const limiter = new Bottleneck({minTime:70})
//The following line is called in loop by 20 jobs.
limiter.schedule(fetchFunction, url)

The number of callers to schedule function is limited to a small number, and they do one call at a time. (fetch, extract, store in loop)
Unfortunately, after some days of running, the following error occur:
log.txt
I have to say that there is nothing that stay in memory in this application. All datas are stored in Redis and Mongo. So, the memory would never increase.

@slimee I ran into a similar issue. I know it's been a while but any resolution?

same issue here, only getting this problem when introducing this library.


SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'ion'@'localhost' to database 'a901ce392dad4b90b1c6e175b07196a9'

I have created a multi-tenant database and problem is that when I create a new database with tenant I receive the following error:

SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'ion'@'localhost' to database 'a901ce392dad4b90b1c6e175b07196a9' (SQL: GRANT ALL ON a901ce392dad4b90b1c6e175b07196a9.* TO<EMAIL_ADDRESS>
I have the following controller to create a new tenant:
        public function store(RegisterAuthRequest $request)
    {
        $name = $request->name;
        $email = $request->email;
        $password = $request->password;
        if (Tenant::tenantExists($name)) {
            return response()->json([
                'success' => false,
                'message' => "A tenant with name " . $name . " already exists."
            ]);
        }
        $tenant = Tenant::registerTenant($name, $email, $password);
        $tenancy = app(Environment::class);

        $tenancy->hostname(); // resolves $hostname as currently active hostname

        $tenancy->website(); // resolves $website
        $tenancy->tenant(); // resolves $website
//
        $tenancy->identifyHostname(); // resets resolving $hostname by using the Request
        // invite admin
        $tenant->admin->notify(new TenantCreated($request->email, $request->password));
        return response()->json([
            'success' => true,
            'message' => 'tenant with name ' . $tenant->hostname->fqdn . " created and Admin {$email} can log in using password {$password}"
        ],200);
    }

And here is my Tenant model:
    public static function registerTenant($name, $email, $password): Tenant
{
    // Convert all to lowercase
    $connection = app(Connection::class)->systemName();
    $name = strtolower($name);
    $email = strtolower($email);
    $website = new Website;
    if($connection != 'default') $website->managed_by_database_connection = $connection;
    app(WebsiteRepository::class)->create($website);
    // associate the website with a hostname
    $hostname = new Hostname;
    $baseUrl = config('tenancy.hostname.default');
    $hostname->fqdn = "{$name}.{$baseUrl}";
    app(HostnameRepository::class)->attach($hostname, $website);
    // make hostname current
    app(Environment::class)->tenant($hostname->website);
    // Make the registered user the default Admin of the site.
    $admin = static::makeAdmin($name, $email, $password, $hostname);
    return new Tenant($website, $hostname, $admin);
}
private static function makeAdmin($name, $email, $password, $hostname): User
{
    $admin = new User;
    $admin->name = $name;
    $admin->email = $email;
    $admin->password = Hash::make($password);
    $admin->hostname()->associate($hostname);
    $admin->job_title = 'admin';
    $admin->birth_date = '1000-01-01';
    $roleAdmin = Role::where('name', 'admin')->firstOrFail();
    $admin->assignRole($roleAdmin);
    $admin->save();
    return $admin;
}
public static function tenantExists($name)
{
    $name = $name . '.' . config('tenancy.hostname.default');
    return Hostname::where('fqdn', $name)->exists();
}

I have all privileges for ion@localhost in MySQL:
+--------------------------------------------------+
| Grants for ion@localhost                         |
+--------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'ion'@'localhost' |

and there is the thing, in error, it's said SQL: GRANT ALL ON a901ce392dad4b90b1c6e175b07196a9.* TO<EMAIL_ADDRESS>and I don't understand why is giving all Grant to this user?

I tried dd() to find out where the error occurs and here it is:
app(WebsiteRepository::class)->create($website);

Hi, the problem might be with the password generator. I have problems with unit testing and working on the password override atm. Check SQL user password if it's changing everytime a connection is established

The most likely cause of this is that your system user does not have the appropriate access to grant permissions.  This is generally done by WITH GRANT OPTION as noted in the installation page of our docs

Closing this issue due to inactivity.
If you feel like your issue has not been properly addressed yet, or if you still need more information, please reopen this issue 😄
If you require help with a different issue, please open a new issue.
You can also find Tenancy related help & resources on:

Our Website
Our Forums
Our Discord Server


Add more sort  options

Add more sort file  options like
Date modified-Type-Size-Date created-Categories-Tags-Title
thank

Yes, I do think date modified/created are very useful but not the others.


[Linux] Cannot display GPU info

Describe the bug
Cannot display GPU info.
I'm a bit confused because the wiki (toml example) says macchina can display GPU info, but when I try to display it, an error pops up saying:
Error: At line 1 column 1.
Caused by: unknown variant 'GPU', expected one of 'Host', 'Machine', 'Kernel', 'Distribution', 'OperatingSystem', 'DesktopEnvironment', 'WindowManager', 'Packages', 'Shell', 'Terminal', 'LocalIP', 'Backlight', 'Resolution', 'Uptime', 'Processor', 'ProcessorLoad', 'Memory', 'Battery' for key `show` at line 1 column 1

To Reproduce
Steps to reproduce the behavior:

Download prebuilt binary (macchina-linux-x86_64 released 9 Jan 24)
Run the binary with -o GPU or specify "GPU" option in show in configuration file.

Expected behavior
Macchina shows GPU info.
macchina --doctor output
Error: At line 1 column 1.
Caused by: unknown variant 'GPU', expected one of 'Host', 'Machine', 'Kernel', 'Distribution', 'OperatingSystem', 'DesktopEnvironment', 'WindowManager', 'Packages', 'Shell', 'Terminal', 'LocalIP', 'Backlight', 'Resolution', 'Uptime', 'Processor', 'ProcessorLoad', 'Memory', 'Battery' for key `show` at line 1 column 1
Let's check your system for errors... Here's a summary:

We've collected 18 readouts, including 4 failed read(s) and 0 read(s) which resulted in a warning.
Readout "OperatingSystem" failed with message: This metric is not available on this platform or is not yet implemented by libmacchina.
Readout "WindowManager" failed with message: Unknown window manager.
Readout "LocalIP" failed with message: Unable to get local IPv4 address.
Readout "Battery" failed with message: Got an unexpected value "not charging" reading battery status

System Information

Distribution: Fedora 40
Desktop Environment: KDE Plasma
Operating System: Linux
Terminal: Kitty
Version:

macchina     6.1.8 (f228e72)
libmacchina  6.3.5

Hi, that readout was added in libmacchina v7.0.0, it's unfortunately a mistake in the documentation to have included that as a possible readout since the current release of macchina is still on libmacchina v6.x. If you don't mind getting your hands dirty, you can compile the software from source to utilize that readout until a new release comes out.

Okay, thanks for the info, will try to do that <3


Segmentation fault when ionic run

I have watchify running happily doing its thing using the standard gulp integration:
$ gulp watch

but then when I go to test my ionic app in another console running
$ ionic run

Then watchify immediately exits. Usually printing
Segmentation fault: 11

What diagnosis data can I send to help narrow down what is segfaulting? When attaching gdb to the gulp process it says it is just exiting normally.

A repo that I can clone and reproduce the issue with would be great

Any updates?

Its still happening tons, but I just did
for i in `seq 10000`; do gulp watch; done

which restarts when it segfaults so it is less pressing for me.
It's going to be a bit of a pain for me to setup a repo. Are you on a mac? It keeps crashing when ionic starts to run in the iOS simulator or on a device.

I'm on Yosemite. I don't even know what Ionic is. That's why I'm asking for a repro case. If I can't see the error, then there's not much I can do to fix it :(

I'm getting the same error, but only with >= iojs 3.1.0. Repro case for me is just to run the following command under iojs 3.1.0:
node -e "require('watchify')"

Here's my bug for reference: https://github.com/substack/watchify/issues/259


useNFTs hook not returning all NFTs for the contract

I am using useNFTs hook from thirdweb to get all the nfts issued on the polygon mainnet chain. Total NFTs returned doesn't contain all NFTs issued by the contract.
NFT Contract: 0x95e6603e219e6D08A9AE46f29201fA1610FA76B4
Total NFT count on contract is 70 with id between 0-69, and I am only receiving 68 with id between 0-67.
Above contract has 2 NFTs burned/transferred to zero address.
import { useNFTs, useContract } from '@thirdweb-dev/react';
import { useState, useEffect } from 'react';
import { zeroAddress } from 'viem';

export type UserType = {
  address: string,
  name: string,
  id?: string,
  uri?: string,
}

export function useBadgeUsers(addressOrName: string, {
  filterZeroAddress = false,
  startIndex = 0,
  addressCount = 100
}) {
  const [users, setUsers] = useState<UserType[]>([]);
  const { contract } = useContract(addressOrName);
  const { data: nfts, error } = useNFTs(contract, { start: startIndex, count: addressCount });

  if (error) {
    console.log('Error fetching NFTs from given address', error);
  }

  useEffect(() => {
    let usersArray = nfts?.map(nft => ({
      address: nft.owner as string,
      name: nft.metadata.name as string,
      id: nft.metadata.id as string,
      uri: nft.metadata.uri as string
    }));

    if (filterZeroAddress) usersArray = usersArray?.filter((user) => user.address != zeroAddress)
    if (usersArray) setUsers(usersArray as []);
  }, [nfts, filterZeroAddress]);

  return users;
}

Verified the results by running Alchemy curl command to received all NFTs issued by the contract:
curl --request GET \
     --url 'https://polygon-mainnet.g.alchemy.com/nft/v2/<Alchemy API Key>/getNFTsForCollection?contractAddress=0x95e6603e219e6D08A9AE46f29201fA1610FA76B4&withMetadata=true&startToken=0&limit=100' \
     --header 'accept: application/json'

Let me know if anyone else faced similar issue, or have some solution

https://thirdweb.com/polygon/0x95e6603e219e6D08A9AE46f29201fA1610FA76B4/explorer

@joaquim-verges that is correct, is there a way using the thirdweb library to fetch NFTs not assigned to zeroAddress?

@nagrawal3 the way you're filtering makes sense, but the problem is on the contract - you would need a way to tell how many total nfts have been minted regardless of burned.
Another option would be to use events, filtered by from as the zero address https://portal.thirdweb.com/typescript/sdk.contractevents.getevents


Add SCoverage for generating test coverage reports

@aquamatthias
Let's get this into teamcity build reports.

currently at 39.70%

I tested it. Thanks, it works. It would be great to document how to use it, though. I personally did not use maven much in the last ten years and I had to dig a bit until I came up with mvn scoverage:check.

@spacejam what do you think about adding short docs for that?

@kolloch I've added a note on coverage to the collaboration doc.  Do you think this is the right place for this?  I'm acting on my ulterior motive of encouraging test coverage across our projects to rise.

I don't know a better place to put it.
Thx! :ship: :rocket:


added image name tag support

I need support of images with tags, like 'postgres:9.4.6', so i added some basic tags parsing of docker images output.

Please add a test for this :)

@arekkas Do you mean unit or integration test?

Why not both? :)

Okay. I get it.

@arekkas Can you please check my updates? I'm not sure that it's good idea to rename dockertest_test package, maybe we should split tests into two files: dockertest_test(package dockertest, for unit tests) and dockertest_integration_test(package docker_integration_test).

Hey sorry for not responding, I overlooked your updates.
The idea of package docker_test is, that it already is an integration test, because you don't have access to private methods. If you need access to private stuff, rename the current docker_test.go to docker_integration_test.go (package docker_test) and create a new file docker_test.go with (package docker).
If you need any further guidance feel free to ping me any time. Sorry again for the delay.

Thats exactly what i mean. The last question - if we want to make integration test for haveImage() we should make it public, is it ok?

Oh I see, maybe HaveImage is a nice addition to the toolbox and could be useful for people. Let's make it public :)

Cool, looks good to me. Going to check it out locally and merge it afterwards

Thanks!


[xoptional] explicit vs implicit conversion from value type and other xoptionals

We should use SFINAE to make things explicit or explicit depending on the convertibility from the underlying value type.
cf implementation of std::optional in gcc.
https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/experimental/optional#L523

Closing, and reopening in xtl.


[#noissue] Add CellUtils

Reduce memory copy

Codecov Report

Merging #6861 into master will increase coverage by 0.00%.
The diff coverage is 68.18%.

@@           Coverage Diff           @@
##           master    #6861   +/-   ##
=======================================
  Coverage   39.17%   39.17%
=======================================
  Files        3220     3221    +1
  Lines       95324    95342   +18
  Branches    11891    11892    +1
=======================================
+ Hits        37345    37353    +8
- Misses      54984    54991    +7
- Partials     2995     2998    +3

Impacted Files
Coverage Δ

...avercorp/pinpoint/web/mapper/AgentEventMapper.java
0.00% <0.00%> (ø)

...m/navercorp/pinpoint/web/mapper/AgentIdMapper.java
0.00% <0.00%> (ø)

...orp/pinpoint/web/mapper/ApplicationNameMapper.java
0.00% <0.00%> (ø)

...avercorp/pinpoint/common/hbase/util/CellUtils.java
83.33% <83.33%> (ø)

...pc/server/LoggingServerMessageListenerFactory.java
90.00% <0.00%> (-10.00%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
57.44% <0.00%> (-2.13%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
70.77% <0.00%> (-1.63%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
85.00% <0.00%> (+10.00%)
:arrow_up:

Continue to review full report at Codecov.

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


crash on modpack loading 1.20.1 forge 47.2.0

debug.log
latest.log

Definitely not Sniffer+, so not too sure why you're reporting it here. The only mentions of Sniffer+ in either of those logs is saying that it's installed and functioning, whereas there are 30 other errors from other mods as pointed out in your latest.log.

Definitely not Sniffer+, so not too sure why you're reporting it here. The only mentions of Sniffer+ in either of those logs is saying that it's installed and functioning, whereas there are 30 other errors from other mods as pointed out in your latest.log.

When it crashed the mc crash report said this

That's a false error that happens because the Forge registries shut down when a mod crashes on startup. The logs contain the actual errors. Like I said, there's 30 of them and none are this mod.

Ok


KAFKA-4262: Increase data volume in replication test

To prevent test from completing without throttling before config change takes effect, produce more messages in the test.

@benstopford Can you take a look?
I think the test failed in https://builds.apache.org/job/kafka-trunk-git-pr-jdk7/6086/testReport/junit/kafka.admin/ReassignPartitionsClusterTest/shouldExecuteThrottledReassignment/ because the reassign command that updates quota configuration completed before the throttle config update actually took effect. Rather than changing the implementation to fix the test, I have increased the amount of data produced by the test to avoid replication completing too soon.

Thanks for spotting this Rajini. It'd be nice if we could do something more deterministic, but that's not going to be easy. Not for this test at least. I've raised a jira (4266) to add something more deterministic to the other throttling tests though, so they don't suffer this problem.
LGTM

Merged to trunk and 0.10.1 branches.


fix tcpstream smoke test on Windows

This patch fixes issue #1078.
The issue was happening because there was
no pending read before waiting for READABLE
event.

I don't think this is the right fix. If the problem is that we need to register readable interests again (done in this change by peeking/reading), then perhaps this should be done in the Windows implementation not in the test. To me the test as is (without the change) should just work.

According to the documentation of the Poll function in https://tokio-rs.github.io/mio/doc/mio/struct.Poll.html#draining-readiness, there is no guarantee that another readiness event will be delivered if the last corresponding operation did not return WouldBlock

Out of curiosity would adding READABLE to the interests when registering before calling peer_addr fix the test on Windows? Here: https://github.com/tokio-rs/mio/blob/1d1e73268c1563123911ee20f25f4269e6dae6dc/tests/tcp_stream.rs#L57

No, it will not.
From what I understood from the code, you are trying to use Windows' I/O completion ports like epoll on unix but they have a different approach: IOCP tells you when a requested operation is completed, or failed to complete while epoll tells you when a file descriptor is ready to perform a requested operation. To use IOCP like epoll for the READABLE interest, for example, implies to always have a pending read that returned WouldBlock.
I think almost all test failures on Windows are related to this problem

I did some other tests and I understood better how the code works.
I also found that reregistering the READABLE interest before each poll makes the test to succeed.

reregistering works but registering with READABLE doesn't? If so that is very confusing and should really be fixed in the implementation, not in the tests.

It is already register for READABLE here https://github.com/tokio-rs/mio/blob/1d1e73268c1563123911ee20f25f4269e6dae6dc/tests/tcp_stream.rs#L51
Adding a READABLE where you suggested makes the test failing on that line because that event will not be available.

In any case I don't think is the way to "fix" this, the problem is in the implementation. It should be perfectly ok to just write to connection and never read from it, but as the test shows that is broken on Windows.

Closing this in favour of #1137.

@JuSiZeLa thank you for looking into this, due to your discovery of needing to register a number of issues were fixed.


Implement Hashing for Improved Search Performance in Algorithm

This issue aims to introduce hashing into our existing searching algorithm to enhance its performance. Hashing can significantly improve search efficiency by providing constant-time access to data, resulting in faster retrieval and reduced computational complexity.

I would like to request the assignment of this issue to me under GSsoc'23

hi
I would really like to work on this issue. Please assign this issue to me.. I am a contributor of GSSOC'23.


all: Make global state in FuzzedDataProviderImpl local

An instance of FuzzedDataProviderImpl can now be one of the following:

backed by an automatically created native copy of a Java array that is
freed by close();
backed by a preexisting native array whose lifetime is managed
elsewhere.

All instances now maintain their own internal, non-global state and can
thus be used concurrently.

Is the idea to eventually move the complete FuzzDataProvider functionality to Java or would the performance impact be too much?


[Ready For Review] Add APIs for preparing Azure Notebook to newer version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

Hi @akning-ms could you please help us merge this PR?


Feature/table

Description

Adds Table component
Introduces component libary
Includes ADR describing the proposed change

Related Issue(s)

closes #{2571}

Verification/QA

Manual functionality testing

[x] I have tested these changes manually
[ ] Creator of the original issue (or service owner) has been contacted for manual testing (or will be contacted when released in alpha)
[ ] No testing done/necessary

Automated tests

[x] Unit test(s) have been added/updated
[ ] Cypress E2E test(s) have been added/updated
[ ] No automatic tests are needed here (no functional changes/additions)
[ ] I want someone to help me make some tests

UU/WCAG (follow these guidelines until we have our own)

[ ] I have tested with a screen reader/keyboard navigation/automated wcag validator
[ ] No testing done/necessary (no DOM/visual changes)
[ ] I want someone to help me perform accessibility testing

User documentation @ altinn-studio-docs

[ ] Has been added/updated

[ ] No functionality has been changed/added, so no documentation is needed
[x] I will do that later/have created an issue

Support in Altinn Studio

[ ] Issue(s) created for support in Studio

[ ] This change/feature does not require any changes to Altinn Studio

Sprint board

[ ] The original issue (or this PR itself) has been added to the Team Apps project and to the current sprint board
[ ] I don't have permissions to do that, please help me out

Labels

[x] I have added a kind/* label to this PR for proper release notes grouping
[ ] I don't have permissions to add labels, please help me out

As ADRs are introduced here, it would be convenient to add the template.md file to the adr folder :raised_hands:

I'm a bit skeptical of naming this component Table. While it currently has support for repeating structures, it is not clear how we should expand this configuration to include support for non-repeating structures (like the current Grid and List components). If we don't land on something now, we risk having to integrating these concepts with a sub-optimal configuration later on, because the Table component name has already been reserved at that point. I noticed that my config suggestion received few comments last round, and I don't see any traces of inspiration from there in this PR.

I had not seen your comment there, Ill have a look :)


sl-radio-test: Update dependentKeys() test to follow new pattern

Update the dependentKeys() test to follow this pattern: https://github.com/softlayer/sl-ember-components/blob/EmberCli-1.13.8/tests/unit/components/sl-button-test.js#L159-L193 per https://github.com/softlayer/ember-style-guide/issues/36

Superseded by https://github.com/softlayer/sl-ember-components/issues/986


Update "Exchange" section to "Currency Exchange"

A section title of "exchange" is a bit vague when searching for a currency API, so add "currency" to the section title to make life, and searching, easier.

I'm going to close this PR and open new ones to segregate the two changes/commits I made.

@davemachado For future reference, this would have been fine 😉


Upgrade Kafka Clients API to 2.0.0

Changes:

Upgrading Kafka Clients versions to 2.0.0
Upgrade Kafka JUnit dependency to 4.1.2

Solves: https://github.com/openzipkin/brave/issues/752

I am curious about the tests here. Should we cover https://github.com/openzipkin/brave/pull/753/files#diff-1256abdd71e2b447c0bd97db22a69e72R52 or https://github.com/openzipkin/brave/pull/753/files#diff-1256abdd71e2b447c0bd97db22a69e72R259 at least?

You forgot to remove the @Override for new methods (to not break compatibility).
Sorry I said It was ok on the other thread but it is because I saw
// Do not use @Override annotation to avoid compatibility issue version < 1.0
  public void subscribe(Pattern pattern) {

@jcchavezs I've added a unit test case for poll(Duration) and add it to integration test also. WDYT?

@ImFlog I have removed overrides.

For what it's worth, LGTM :)

So I will help on this, because I think it is important that we do a runtime check with kafka 1. It is somewhat tricky.
I will do this and rebase your branch over it (with maven invoker)

OK I added the invoker test squashed and force pushed the branch. If
works and no other feedback we can merge


Remove base_path from Publishing API request body

Publishing API currently ignores this field and is about to start rejecting it.
It uses the version in the request URL instead.
See: https://github.com/alphagov/content-store/pull/104

:+1:


Question: Reset/forward body stream

In a scenario where I have a server reading data from the POST body, and then upon some algorithm forwarding that to a second HTTP POST, I would like to be able to forward the whole buffer in the body without reading it first.
IE to read some bytes from the stream, then send the whole stream to another server.
Is this possible? I do not see how today because I cannot seek back to the beginning.
Possible to add this? (Seeking or forwarding)
cheers
Matt

Seeking isn't possible, you'd need to add your own buffering layer.

I only want to seek back to zero.
The whole point is to not add the overhead of a buffering layer - I just want to pipe it straight through after having peeked at a few bytes

https://github.com/Drawaes/CondenserDotNet/blob/master/src/CondenserDotNet.Middleware/ProtocolSwitcher/BackToBackStream.cs
Something like but buffering more than 1 byte?

By definition you will have to buffer the bytes you have read in any solution. But after that just pass the stream data through

The BackToBack stream is perfect inspiration, thanks


Fix bad comparison against None using ==

While running GPyOpt on python3 I started to see the following failure:
Traceback (most recent call last):
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/testing/test_parallelization.py", line 102, in test_run
    unittest_result = run_eval(problem_config= self.problem_config, f_inits= self.f_inits, method_config=m_c, name=name, outpath=self.outpath, time_limit=None, unittest = self.is_unittest)
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/testing/driver.py", line 47, in run_eval
    verbosity       = m_c['verbosity'])
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/methods/bayesian_optimization.py", line 458, in run_optimization
    super(BayesianOptimization, self).run_optimization(max_iter = max_iter, max_time = max_time,  eps = eps, verbosity=verbosity, save_models_parameters = save_models_parameters, report_file = report_file, evaluations_file= evaluations_file, models_file=models_file)
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/core/bo.py", line 103, in run_optimization
    self._update_model()
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/core/bo.py", line 198, in _update_model
    self._save_model_parameter_values()
  File "/Users/mattlavin/Projects/GPyOpt/GPyOpt/core/bo.py", line 209, in _save_model_parameter_values
    if self.model_parameters_iterations == None:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

It turns out that an array was being compared against None with == instead of is switching to is avoided the ambiguous type coercion.

This would fix #96 and #98

It would be useful to have this merged!

Hi Giole, A few of the team are away at the moment, when they're back we'll
get it reviewed
On Thu, 3 Aug 2017, 19:35 Gioele La Manno<EMAIL_ADDRESS>wrote:

It would be useful to have this merged!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/pull/104#issuecomment-320038354,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIKWt-rR15j8ejMEHZUKkusNCZ_nZzAks5sUgTjgaJpZM4OgLpT
.

Any update on this? It is easy to fix locally but still annoying.

This actually occurs elsewhere in the code. The scary thing is that it is a silent error in the cases of 'initial_design_numdata==None' in bayesian_optimizer.py
I only noticed it because setting this value seemed to do nothing.

We have done the merge of the PR on this already so it should work now.
On 28 August 2017 at 11:55, sverzijl<EMAIL_ADDRESS>wrote:

This actually occurs elsewhere in the code. The scary thing is that it is
a silent error in the cases of 'initial_design_numdata==None' in
bayesian_optimizer.py
I only noticed it because setting this value seemed to do nothing.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/pull/104#issuecomment-325323076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGiS89Q958nbTjHr9d3E55f6YlMmPxKaks5scpyjgaJpZM4OgLpT
.

Hi. It looks like the pip version still has this bug.

Thanks for pointing that out. That's because we haven't updated the pip
version yet. The code for the new release is in the devel brach, in which
that issue has been corrected.
2017-10-07 11:22 GMT+01:00 Danilo J. Rezende<EMAIL_ADDRESS>
Hi. It looks like the pip version still has this bug.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/pull/104#issuecomment-334925245,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGiS8xxZqLJ6nAF2KnQ_kNVeeqVOeYaTks5sp1EBgaJpZM4OgLpT
.


Shows email address instead of name if name has an '@' in it

Expected behavior
In the message list, and at the top of the email when opened, it should show the name portion of the From: header if "show correspondent's name" is enabled in settings.
Actual behavior
It shows the sender's email address instead of their name.
Steps to reproduce

Ensure "show correspondent name" is enabled in settings
Receive an email where the name portion contains '@'.  I have a forwarding service which puts the sender's real address in as part of the name, then<EMAIL_ADDRESS>as the address.  I suspect having an address as part of the name is confusing k9, even though the actual address is contained in angle brackets and being picked up correctly.
Look at the sender in the message list (and within the email).

Environment
K-9 Mail version: 5.501
Android version: 7.1.1
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Example"from" header from recent email exhibiting this problem:
From: "Cineworld  -<EMAIL_ADDRESS><EMAIL_ADDRESS>

This should be fixed already in 5.501 by #3120 :(

That looks suspiciously like it may have created this problem.  It's seeing the email address in the name and deciding it should show the proper email address instead, even though the address in the name part isn't a valid address (it has spaces in it).  If this is as intended perhaps we can have an option to switch it off?

Oh. I thought you were complaining it did this. No, doing this is intentional and won't be fixed. It's a security vulnerability to do different.

OK fair enough, although I would think having a name of "PayPal support" and a bogus email address would be a similar security risk, if only the name is shown?
I've taken this up with the forwarding service to see if they can remove the '@'.

I think if you add them as a contact, you can override the security feature.
I agree that the email is no guarantee of sender authenticity  either.


AppSwitcher is not showing the icon anymore

Describe the bug
The provided AppSwitcher component does not show up anymore. The functionality itself is not affected.
To Reproduce

Checkout "https://github.com/it-at-m/refarch-templates"
Switch to the main branch
Run the docker stack via the docker-compose fie in the stack folder
Run the Vite dev server using npm run dev in the refarch-frontend folder

Expected behavior
The icon should show as expected
Screenshots

No, even after adding it as a peer dependency it does not work. I think we need further investigation here. However I think appswitcher-vue should migrate to @mdi/js none the less, because this way bundle size is reduced drastically.`

In my opinion, it should also be considered whether it is not cleaner to implement this via slots.
This would decouple the default icon set in the appswitcher from the using package.

fixed with 2.1.0 - see https://github.com/it-at-m/appswitcher-vue?tab=readme-ov-file#icon-font

you can now provide a custom activator slot
icon prop documented: https://github.com/it-at-m/appswitcher-vue?tab=readme-ov-file#props


Replace versioning with JSON snapshots

We've decided to move away from the current versioning system that was using a complex system of canonical_ids and data duplication to keep historical data, in light of new conditions under which this system would not perform well. The replacement is to use a simple JSON snapshot of the entire contents of a plan whenever major changes are made (ie. when a new version of the plan becomes approved, amendments are accepted, etc.)
Related issues: #130
https://github.com/bcgov/range-web/issues/543, https://github.com/bcgov/range-web/issues/542 (maybe)

Resolved by #134


Adding support for service account

Description
We include support for service account, its parcial, but you can:

Add and remove service account
Add and remove tokens to service account
Add permisson to a service account to a folder
Searcha service account

Checklist

[ ] The patch has appropriate test coverage
[X ] The patch follows the style guidelines of this project
[ X] The patch has appropriate comments, particularly in hard-to-understand areas
[ X] The documentation was updated corresponding to the patch
[ X] I have performed a self-review of this patch

Dear Einar, I just wanted to add that you just need to let us know if you want us to take over. Cheers, Andreas.

Hi again. We will take over your PR in order to wrap it up and release it together with GH-143. We hope this is fine.

Dear Einar and Fermin,
I've reworked the patch a bit. Thanks again for the contribution, it will be part of the next release. What is yet missing, is the wrapper for Update service account. Maybe you can add it on behalf of a subsequent patch, including a corresponding test case?
With kind regards,
Andreas.


Fix typo in hack/build-go.sh

s/GOACH/GOARCH

Pull Request Test Coverage Report for Build 854844211

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 37.077%

Totals

Change from base Build 786877911:
0.0%

Covered Lines:
340

Relevant Lines:
917

💛  - Coveralls


Address Sanitizer: heap-buffer-overflow

Steps:

Create empty iOS single view application project
pod init
add pod 'Kronos' to pod file
pod install
In ViewController or app delegate import Kronos and Clock.sync()
Enable address sanitizer
Run app and you get an issue

address sanitizer log.txt
test-kronos.zip

Have the same issue.

Same issue here. Has anyone looked into this issue yet? I have tried both debug and release build configurations, and both of them have the same issue.

Fix here: https://github.com/lyft/Kronos/pull/56
Sorry for the wait

Released in https://github.com/MobileNativeFoundation/Kronos/releases/tag/4.2.0


fix native_requirement_spec.rb to comply with the RSPEC/ExpectActual …

Draft pull request.
thought process:
remove restriction in .rubocop_todo.yml
add enable line in.rubocop.yml
modify swift/spec/dependabot/swift/native_requirement_spec.rb

This is a draft pu request.  I will create a new pull request  with the template and close this one


Feature: Add contributing.md to the repo

Add a CONTRIBUTING.md file to Kor repository

give me that thanks

As adding new orphaned resources capabilities requires the addition/modification of multiple files in the repo, it'd be quite beneficial for new contributors if all were listed properly under CONTRIBUTING.md with some level of elaboration.
If I'm not mistaken, this would be the list:
.
├── cmd/kor
│   └── <resource>s.go
├── pkg/kor
│   ├── all.go
│   ├── create_test_resources.go
│   ├── delete.go
│   ├── multi.go
│   ├── <resource>s.go
│   └── <resource>s_test.go
└── README.md

As adding new orphaned resources capabilities requires the addition/modification of multiple files in the repo, it'd be quite beneficial for new contributors if all were listed properly under CONTRIBUTING.md with some level of elaboration.
If I'm not mistaken, this would be the list:
.
├── cmd/kor
│   └── <resource>s.go
├── pkg/kor
│   ├── all.go
│   ├── create_test_resources.go
│   ├── delete.go
│   ├── multi.go
│   ├── <resource>s.go
│   └── <resource>s_test.go
└── README.md

100% agree.

@mzsrtgzr2 do you intend to work on this or should I open it up to a different contributor?

As adding new orphaned resources capabilities requires the addition/modification of multiple files in the repo, it'd be quite beneficial for new contributors if all were listed properly under CONTRIBUTING.md with some level of elaboration.
If I'm not mistaken, this would be the list:
.
├── cmd/kor
│   └── <resource>s.go
├── pkg/kor
│   ├── all.go
│   ├── create_test_resources.go
│   ├── delete.go
│   ├── multi.go
│   ├── <resource>s.go
│   └── <resource>s_test.go
└── README.md

Also in:
 .
 └── charts/kor/templates
     └── role.yaml


Fish are changed in disabled worlds

Hello,
while fishing in a world disabled by contest-disabled-worlds the fish were converted into contest fish. The player thinks he is part of the contest but he isn't.
So it would be great if one of the two following alternatives can be implemented:

Warn the player with a message that he is in a world in which he cannot be part of the contest.
Leave fish as is in these worlds.

Thanks and best Regards,
Thomas

I added a config option named disabled-worlds for disabling the replacement of the fish in these worlds. I will send you a pull request for that.


Fix count values on platform selection on the home page

Changes proposed ✍
Fix count values on platform selection on the home page
What

🤖 Generated by Copilot at b43a433
/claim #752
Added platform filter and improved loading indicator for dashboard widget header. The filter allows users to see platform-specific data, and the indicator shows the correct loading state for the total counts.
Fixes #752

🤖 Generated by Copilot at b43a433

To show counts of members and acts
We added a platform filter fact
But the app-loading prop
Needed a little swap
To match the total data impact

Why
How

🤖 Generated by Copilot at b43a433

Use totalLoading prop instead of loading prop for app-loading component in dashboard widget header to match total counts of activities and members (link)
Pass platform filter from state to ActivityService.list and MemberService.list methods in dashboard store actions to get platform-specific counts of activities and members for dashboard widget header (link, link)

Checklist ✅

[x] Label appropriately with Feature, Improvement, or Bug.
[ ] Add screehshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[ ] Quality standards are met.

@joanagmaia thanks for the feedback.
Regarding conversation and organization, the issue only mentioned members and activities, hence why I worked on them only.

@joanagmaia thanks for the feedback. Regarding conversation and organization, the issue only mentioned members and activities, hence why I worked on them only.

You are right, it should have been better detailed, apologies for that. I'll take care of updating the issue description to make sure that it also contains for organizations and conversations.
All 4 should respond in the same way to the filters applied so I really think we should update for all of them at once
@jonathimer the issue is for all dashboard widgets right?

@joanagmaia I'm not sure how to use the conversation. Can you help? There's no visual representation

@joanagmaia Resolved


Improve new Package Template

Currently the explanation of the 'type' is unclear

and:
"Add Description to your GitHub Repo


Incompatible Declaration of toArray Method in PhraseResource

When attempting to use the package, I encounter an error due to an incompatible declaration of the toArray method in Outhebox\TranslationsUI\Http\Resources\PhraseResource. The error message is as follows:
Declaration of Outhebox\TranslationsUI\Http\Resources\PhraseResource::toArray(Illuminate\Http\Request $request) must be compatible with Illuminate\Http\Resources\Json\JsonResource::toArray($request)

Hi @aqshah20 , Which laravel version you use?

Hello @MohmmedAshraf,
Thank you for your quick response. I was trying to install it on Laravel 9 but encountered an issue. It seems I need to upgrade my Laravel version.

Laravel 10/11 needed

Yes, I have upgraded now working fine to me

At login and after adding phrases, and publishing on every POST request, I am encountering a 419 CSRF token error. I have currently disabled CSRF in my Kernel file, but I am still experiencing this issue.


Fix command line build scripts when bolts is contained in paths with spaces.

Our scripts were failing when Bolts clone is in a path that has spaces - this fixes it.

LGTM


PS2 rumble speed control on Dualshock 4

Hi!
I have built an adapter out of a devkitv1 using the 0.14 release, and it works perfectly with my DS4.
I managed to turn on the rumble through the web interface, and it works, but it seems the rumble motors don't work independently of each other, and they only work at a set value, and don't have speed control. I tested this on a PS2 with the "Pad test" homebrew app (https://www.ps2-home.com/forum/viewtopic.php?t=5483). I also have a Brook PS2 Super Converter, with it the rumble motors can work independently, and have speed control. I don't know if I am missing a config or something.
Thanks for your help.

You are correct, dual motor and speed control are not yet implemented. It something that will require redesign later.
I will eventually fix it but not in the short term.
BTW, thanks alot for the github sponsorship, I really appreciate it!!

I see, thanks for the quick reply.
For the sponsorship, it's the least I can do. Keep up the good work.

I use a PSUnoRetro device (from willsconsolemodifications.co.uk) running BlueRetro, with a PlayStation 2. I have enabled BlueRetro rumble via the web config, and it works for PS2 games.
I have noticed that there's no rumble at all for Porsche Challenge - a PS1 game working on the PS2's backwards compatibility. Using a wired DualShock 2 pad rumble does indeed work, so it might logically be expected to work with BlueRetro.
However it does feel as if only the right-hand vibration motor is used when using a real DS2 pad. From memory of owning this game back in the day, and the PS1 Dual Analog controller, I believe this game was one of the first to support that type of controller.
Weirdly the Dual Analog controller had its rumble motor removed for the US and European markets, but did have a single rumble motor in Japan (https://en.m.wikipedia.org/wiki/Dual_Analog_Controller). So it would make sense that this game supports only one vibration motor, even if the feature then works with the later DualShock and DualShock 2 controllers, which are enhancements of that original design.
Is it the case that BlueRetro only activates the DS4 vibration motors when output for the left-hand motor is requested, and perhaps ignores requests for the right-hand motor? Or is there some other issue here?

@patters-syno While only one motor from the PSs BT ctrls is used both motor command on the PSX/PS2 side should activate it. I will need to take a look. Sorry I missed you report in november.

Thanks for the confirmation that it ought to work. I wasn't sure, that's why I hadn't raised it as a distinct issue. I can do this now if you'd rather, for tracking purposes.

@patters-syno yes please open a different issue, I'll keep this one to track the BT side. Just copy paste your first post.

You are correct, dual motor and speed control are not yet implemented. It something that will require redesign later.
I will eventually fix it but not in the short term.

Hi darthcloud. I was wondering if this feature is on your roadmap now or still no current plans to add it?

You are correct, dual motor and speed control are not yet implemented. It something that will require redesign later.
I will eventually fix it but not in the short term.
BTW, thanks alot for the github sponsorship, I really appreciate it!!

You are correct, dual motor and speed control are not yet implemented. It something that will require redesign later.
I will eventually fix it but not in the short term.
BTW, thanks alot for the github sponsorship, I really appreciate it!!

@darthcloud This post was nearly two years ago. Do you still plan on implementing proper DualShock rumble support? It’s the only thing holding me back from using BlueRetro with PlayStation consoles. Thanks

Hoping this gets implemented in the next major update, ps2 support would then be complete and perfected.

I’m holding off purchasing any BR PlayStation products until it is. This has been a known issue for nearly 3 years now.

Locked since 100% of the comment adds nothing useful.
I'm aware of it, but on my priority list this is simply low.
This will be done when I feel like working on it or someone else send a PR.

Can someone test this beta, this add dual motor and variable force support for Playstation and Dreamcast
https://github.com/darthcloud/BlueRetro/actions/runs/9286878322

So far working great in a few games that I have tested.
I am using PS3 controllers
I have noticed my PS3 controller with model number CECHZC2U has a delay with the vibrations though
CECHZC2E works fine, no delay.

@darthcloud Did a test pass with the PadTest tool on PS2 Fat with HW1 BlueRetro from Aliexpress:

To test vibration, hold 'triangle', then move the left joystick down for the strong motor (that seems to have 96 positions), or press up and down on the directional pad for the weak motor (that has 2 positions).

Tested with two DualShock4's connected at the same time, two DualSense's connected at the same time, one DualShock4 and a second DualSense.
Works as it should, but with a bug - the vibration is only there when two controllers are connected to the BlueRetro.

@DJm00n I did all my test with the PadTest on fat PS2 too and I had only one controller connected.
I also tested the stadia controller too and it worked fine.
TBH those adapter look poorly build (in addition of them violating the license by using the project name to name themself.)

@DJm00n I reproduced your issue. Something is wrong when rumble is enable on both output 1 & 2 and you got only one controller.
Disabling rumble on output 2 make output 1 work fine.
I will look into it.

@DJm00n That should fix it:
https://github.com/darthcloud/BlueRetro/actions/runs/9292253020

@darthcloud works like a charm! thank you!
PS: Still no vibartion on Stadia Controller at all.

@darthcloud Just want to say a huge THANK YOU for implementing this! Due to work, I can't test right now but can this weekend.

This one should fix RE4:
https://github.com/darthcloud/BlueRetro/actions/runs/9304053152

Fixed in v24.10:
https://github.com/darthcloud/BlueRetro/releases/tag/v24.10


Misc cleanups from copyediting review

Lotsa teensy not-too-important changes.

@erogray I added some comments on this PR in the review area


Fix stdio_usb with reset interface disabled on Windows

Only use bcdUSB = 0x0210 when reset interface and MS_OS_20 descriptor are enabled, otherwise Windows doesn't recognise the USB device
I can confirm this fixes #1802 on Windows

can you please add a comment on why the difference

I've added an explanatory comment


Change pg

Branch for adding and altering pg.py from the homework

In the last commit I removed a whole block from the NetModel class:
elif net_given is not None:
    self.net = net_given
    self.network_name = 'custom_network'
    self.config = None

This is because we must have a valid self.config defined for the class instance, otherwise the .step() method does not work.

PG algorithm executes without throwing an error on the 6bus POC network.


[Feature] Add combine-html module

Old behavior
No way to view pages without using Go webserver.
New behavior
combine-html concatenates HTML and CSS into a single page. Script is pretty bare bones and doesn't add any other resources.
Still needs:

[x] Insert <script> data
[x] Command line parsing
[x] Unit tests Pushing to #9 😈

Additional info (related issues, images, etc.)
Constitutes some work toward #25. We need test that it works for a complete index.html before closing.

https://pkg.go.dev/flag#NewFlagSet

Superseded by #51.