text:
Addressbook get  - not found

This PR addresses 2 minor issues:

In order to check the result of addressbook.Get() one must compare received error with storage.NotFound error, which is not in the same package and should not be used to check the result of the addressbook get function.
The returned BzzAddress is copied creating minor, but unnecessary overhead.
Makes the user of fetched BzzAddress pay attention to pass the address of BzzAddress on many places where it is convenient, such where  Equal(), String() methods are used and their appropriate interfaces

In order to check the result of addressbook.Get() one must compare received error with storage.NotFound error, which is not in the same package and should not be used to check the result of the addressbook get function.

If this is a problem, you can introduce an addressbook.ErrNotFound if the dependency of storage really is bothering anyone (why). I feel this would a more appropriate change

@acud  So, I will try to tackle both your coments here.
So, from what I experienced in both Go and other programming languages so far, getting fetching the value from the map-like structure is usually done in one of 3 ways:

Returning nil if not found,  and error if there is a need for error at all (which I think we actually don't even need in the addressbook on the interface level, but I left it). Returning nil is considered an anti-pattern, but for generic maps because you don't know what return default values is. In this case, you actually do know and it's nil.
Returning the res, ok pair, which is common in go, used in golang maps
Returning special not found error, which is usually used when there is several different errors to cover, or when it is not possible to chck the return value, for example when we are returning a value type not a pointer

On the other hand, I would consider returning the underlying library error, in this case storage.Error a anti pattern because of the following:

It's hard to find documentation on how to check for not found error
What if you implement another addressbook, or Getter? You need to return storage error in order for users of addressbook not to break
I don't like if err!=nil { if err == specificError syntax}, but this is just me and is very opinionated, so this is not a reason not to do it.

So I would propose to either:

Leave it like it is. Returning nil is a pretty common pattern actually for not found stuff when there is a pointer involved and nil is a legal value to check. I don't see a reason for panics here, it's pretty straighforward to check
Change to something like go maps, so returning res, ok, err tuple. I did not choose this cuz I don't like more then 2 return values + I don't see much benefit, the usage looks the same it's just checking weather ok is true or false instead of if res == nil, but I am ok with that as well
As you mentioned, specific addressbook.ErrNotFound

So, @janos, @acud , I leave you guys to choose, but I don't see any strong reason for it presented. It looks to me like more of you personal taste, same as returning nil was mine. I would just like to avoid returning storage error here, and value ofBzzAddress as I don't see any benefit from it.

@pradovic address book is not a map but uses an underlying persistent storage, so I'm not sure where the claim that it is a map structure comes from.  There is a need to have an error return type because an error is possible, but we are silently ignoring it in the package which is contrary to what we do in other packages.
If you insist on treating address book as a map structure, then please remove the error type altogether and just return *BzzAddress or *BzzAddress, bool, and then use it like a map. I just find the fact that the return types of *BzzAddress, error are imposed to behave like a map, but with an unconventional signature and this needs to be ironed out.

@acud There is a subtle difference between map-like structure and a map structure, and I used a map as an example because of the similar API. Basically, to me, I focus on the interface. Just a couple of arguments on how I see it:

I don't think I silenced an error, but just used another way to communicate not found situation. Other errors are still propagated, as you can see in ln63
I don't insist on using it like a map, I am just saying it has an map-like API
To me it's weird to have a not found error, like it's an error to not have an element. I feel like this is not an erroneous and find using an error to indicate this state is a bit weird. Especially since Go language is not the king of error comparisons :)

Maybe the middle ground is an options 3, using a special error, so i will switch back to it.

authors: acud pradovic


text:
Bee compatibility as windows service

Packaging .msi raised a technical limit that our executable can't run as service under windows 10.
These iterations are experimental, attempting to alleviate the issue

@metacertain problem with implementation is that now binary is always executed as a service
try bee version
it should be started as a service only with start command

source: gharchive/pull-request

authors: metacertain vandot

repo: ethersphere/bee

license_type: permissive

license_source: github-api


text:
Fides Consent Banner (POC)

Code Changes

[X] Render a basic consent banner via Fides.banner()
[X] Add support for banner options via Fides.banner(options)
[X] Add basic styles for banner that support customization with CSS
[X] Skip banner initialization when fides_consent cookie exists on device
[X] Support accept all / reject all choices and save the fides_consent cookie
[ ] Save consent preferences to Fides API when a banner choice is made
[X] Support using a geolocation API to only enable banner in certain countries
[X] Add Cypress tests for all functionality

Steps to Confirm

[X] Run all Privacy Center Cypress tests with npm run cy:run
[X] Run npm run dev and load http://localhost:3000/fides-consent-demo.html to try it out

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[X] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
In the coming months we'd like to extend the Fides Privacy Center outward by supporting a consent banner that users can add to their website to prompt users for consent. This is particularly important for "opt-in" consent options, like tracking cookies for the ePrivacy Directive or GDPR!
This banner is a basic proof-of-concept to see how we might extend fides-consent.js with this functionality. Here's a quick Loom showing it in action:
https://www.loom.com/share/9cb6774142d6449f8f16f684dd2ade6d
...and a screenshot of it on our very basic demo site:

Closing this for now - helpful feedback here, as well as on this other POC branch: https://github.com/ethyca/fides/compare/ssangervasi/cookie-banner-preact
I think the right next steps for this would be:

Design doc for the overall banner implementation
Refactor this solution to extract all the "stateful" cookie manipulation out of banner() and into fides-consent.ts (e.g. remove the code smell of passing around the defaults/etc.
Swap out the banner DOM code with a clean interface with a render() entrypoint and a handful of callbacks
Swap in a Preact-based banner implementation instead
Measure and report on bundle size
etc.

repo: ethyca/fides


text:
Update privacy experiences table to new table component

❗ Important: we need to merge PROD-1455-update-privacy-notices-table-to-new-table-component (https://github.com/ethyca/fides/pull/4641) into PROD-1458_multi_language_support (https://github.com/ethyca/fidesplus/pull/1299) then pull that into this branch and update/fix merge conflicts
Closes #PROD-1459
Description Of Changes
Update privacy experiences page to use new table component
Before:

After:

Code Changes

[ ] update PrivacyExperiencesTable to use the new v2 table
[ ] updates to privacy-experience/cells and v2/cells so the new notice table is working with the proper cells
[ ] update cypress tests to pass

Steps to Confirm

[ ] run plus branch consent_multitranslation_plus from https://github.com/ethyca/fidesplus/pull/1299 with nox -s "build(slim)" "dev(slim)" -- dev
[ ] run this branch with cd client && turbo run dev
[ ] nav to the experiences page
[ ] add systems with data uses
[ ] toggle notices enabled/disabled
[ ] click into experiences by clicking on the row
[ ] ensure the columns are correct - Location, Type, Last Update, Enable
[ ] ensure you can add and edit privacy experiences

The sorting, searching, and filtering will be handled next sprint in https://ethyca.atlassian.net/browse/PROD-1772
Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

@Kelsey-Ethyca I updated this PR to be merged into PROD-1455-update-privacy-notices-table-to-new-table-component since that's the branch you based this PR on.

authors: Kelsey-Ethyca galvana


text:
Removed dead cmake code

I don't think these lines are doing anything.
Other opinions?

That was part of Cmake original tutorial on how to make a ProjectConfig:
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
It seems to be removed from their updated tutorial.

authors: HannesSommer pomerlef

repo: ethz-asl/libpointmatcher


text:
use isfinite

isnan will not trigger on some cases where the voxels are invalid (such as -nan) replace with !std::isfinite

Actually reading into it more isnan should defiantly pick up -nan, not sure how it was getting through. Anyway I still think using isfinite could catch some more cases

LGTM thanks!

authors: ZacharyTaylor helenol

repo: ethz-asl/voxblox


text:
Have some trouble with typeerror

Hey, I am try this nice tool but run in a "simple" error. I am not familiar with the code and hope someone with more experience will found it easy – maybe. Or can give me the right direction. The combined-osm-zones.json in the working directory is created but empty and I am not sure about why?  Chicago and New York created and well writen in working and downloads folder. Hope someone with more insider insight can help me.
Thank you in advance.
C:\timezone-boundary-builder-master>node --max-old
-space-size=8192 index.js --included_zones America/New_York America/Chicago
Creating downloads dir (C:\timezone-boundary-build
er-master\downloads); Overall progress: 0% done
Creating working dir (C:\timezone-boundary-builder
-master\working); Overall progress: 4.8% done
Creating dist dir (C:\timezone-boundary-builder-ma
ster\dist); Overall progress: 9.5% done
Writing timezone names to file; Overall progress: 14.3% done
Downloading OSM boundaries; Overall progress: 19% done
getting data for America-New_York-tz; Downloading progress: 0% done - ? left
downloading from overpass
Downloading last release for analysis; Overall progress: 23.8% done
getting data for America-Chicago-tz; Downloading progress: 50% done - 0.0 second
s left
downloading from overpass
Downloading OSM TZ boundaries; Overall progress: 28.6% done
getting data for America-New_York-tz; Downloading OSM Zone progress: 0% done - ?
 left
downloading from overpass
Creating timezone boundaries; Overall progress: 33.3% done
makeTimezoneBoundary for America/New_York; Building progress: 0% done - ? left
- init America-New_York-tz
- union undefined
- union undefined
makeTimezoneBoundary for America/Chicago; Building progress: 50% done - 1.2 seco
nds left
- init America-Chicago-tz
- union undefined
- difference undefined
- difference undefined
getting data for America-Chicago-tz; Downloading OSM Zone progress: 50% done - 2
.1 seconds left
downloading from overpass
Merging osm zones; Overall progress: 38.1% done
C:\timezone-boundary-builder-master\index.js:828
    const tzBoundayName = `${tzId.replaceAll('/', '-')}-tz`
                                  ^

TypeError: tzId.replaceAll is not a function
    at C:\timezone-boundary-builder-master\index.j
s:828:35
    at Array.forEach (<anonymous>)
    at combineAndWriteOSMZones (C:\timezone-bounda
ry-builder-master\index.js:827:24)
    at autoScript.mergeOSMZones (C:\timezone-bound
ary-builder-master\index.js:1047:7)
    at runTask (C:\timezone-boundary-builder-maste
r\node_modules\async\dist\async.js:1153:17)
    at C:\timezone-boundary-builder-master\node_mo
dules\async\dist\async.js:1091:35
    at processQueue (C:\timezone-boundary-builder-
master\node_modules\async\dist\async.js:1101:17)
    at taskComplete (C:\timezone-boundary-builder-
master\node_modules\async\dist\async.js:1118:13)
    at C:\timezone-boundary-builder-master\node_mo
dules\async\dist\async.js:1146:21
    at C:\timezone-boundary-builder-master\node_mo
dules\async\dist\async.js:327:20

C:\timezone-boundary-builder-master>

What version of node are you using (node -v)? replaceAll was implemented in v15.0, so it won't work if you are using an older version.

Given the lack of activity on this issue, I am closing. Please reopen if this is still a problem.

source: gharchive/issue

authors: cnleo evansiroky kohenkatz

repo: evansiroky/timezone-boundary-builder

license: mit

license_source: bigquery


text:
Dedicated Smart Switches page

Moved smart switches block from the bottom of our growing charger page to its own category.
Documented all the extra behavior (modes, heating, integrated, sessions)

Smarte Schalter.pdf
@VolkerK62 magst du hier einmal drüberlesen? Habs für bessere Lesbarkeit auch einmal als PDF angehängt.
Todos

[ ] Proper English translation

Sollte man in die Liste der Steckdosen auch noch type: switchsocket aufnehmen?
Das ist sonst nirgends dokumentiert.
Ist zwar kein Template, aber doch so viel mehr als ein Custom Charger (und eine geniale Erfindung 😄 )

Sollte man in die Liste der Steckdosen auch noch type: switchsocket aufnehmen?

Ich hab das Feature eherlich gesagt gar nicht auf dem Zettel. Hast du nen Link oder kannst du das erklären/ergänzen? Dann nehm ich das mit rein.
Sonst ist das sicher auch was, wo wir auf die Plugin-Dokumentation (@rhuss bereitet da ja was vor) verweisen können.

https://github.com/evcc-io/evcc/pull/16208
man muss nur enable, enabled und power konfigurieren. Der Rest verhält sich so wie bei Shelly+Co.
Passt mMn eher zu Steckdosen, als zu Plugins.

Auf jeden Fall ist das nichts Fertiges- ich würde es daher bei Plugins als ein Sonderfall des custom Chargers sehen.

authors: VolkerK62 andig naltatis

repo: evcc-io/docs

license: MIT


text:
Tesla wird nicht mehr erkannt

Describe the bug
Ich habe seit heute das Problem, das mein Tesla nicht mehr erkannt wird.
Es gab zwar bereites ähnliche Probleme hier allerdings hat nichts davon geholfen.
Was kann ich noch tun?
Zuletzt wurde er am 22.10. geladen und da hat noch alles funktioniert. Habe heute sogar das aktuellste Update installiert und es hat nichts geholfen.
Steps to reproduce

...
Configuration details
vehicles:
- type: template
  template: tesla
  title: Model Y
  accessToken: XXXXXXXXXXXXXXXXXXXX
  refreshToken: XXXXXXXXXXXXXXXXXXXXXX
  vin: XXXXXXXXXXXXXXXXXXXXXXX
  capacity: 60
  name: ev3

Log details
[main  ] ERROR 2023/11/01 09:19:16 creating vehicle ev4 failed: cannot create vehicle 'template': cannot create vehicle 'tesla': cannot get vehicles: Get "https://owner-api.teslamotors.com/api/1/vehicles": oauth2: "login_required" "Login required" "https://auth.tesla.com/error/reference/9059XXXXXXXXXXXXX"

What type of operating system are you running?
Linux
Version
0.121.5

Das könnte an https://github.com/evcc-io/evcc/issues/10460 liegen.
/cc @naltatis

@andig sorry da war mein tippen wohl schneller als mein Kopf heute :-)
Das was Du verlinkt hast soll doch aber erst 2024 eintreffen?! Oder machen die vorher schon ernst und es geht der alte Weg nicht mehr.

Mit meinem Login/Fahrzeug funktioniert die aktuelle Implementierung aktuell. Also sieht nicht aus wie ein allgemeines Problem. @pitware2005 Tokens erneuern hast du vmtl. schon versucht?

Nur fürs Protokoll: unser Model 3 (evcc 0.121.5, 2023.32.6 Firmware) hat heute einwandfrei geladen.

repo: evcc-io/evcc


text:
Wenn Auto über UI angelegt wird - kann man nicht das auto einer WB als default zuweisen

Describe the bug
Wenn Auto über UI angelegt wird - kann man nicht das auto einer WB als default zuweisen.
Die Funktion "vecicle:" funktioniert in der evcc.yaml wenn man das auto erst in der UI anlegt.
In der UI lässt sich ein Vehicle aber nicht einem Loadpoint per default zuweisen.
Vermutlich ist das eine Abhängigkeit die übersehen wurde - oder erst gelöst wird wenn man auch loadpoints per UI anlegen kann.
Steps to reproduce
sie Beschreibung:.
Configuration details
n/a

Log details
n/a

What type of operating system are you running?
Linux
Version
0.123.1

Ja, das geht leider noch nicht. Loadpoints UI konfigurierbar machen kommt aber als Nächstes.
Ich mach den hier zu. Ist bereits Teil von https://github.com/evcc-io/evcc/issues/6029

authors: naltatis thorsten-gehrig


text:
Wallbox Dadapower Fehler Phasenwechsel PV Mode

Describe the bug
Hallo zusammen,
ich nutze das EVCC Addon in Home Assistant mit einer Dadapower Wallbox. Seit ein paar Tagen erhalte ich folgende Fehlermeldung.
Garage: charger logic error: current
mismatch (got 16A measured,
expected 6A)
Es wurde eigentlich nichts geändert, außer der Wallbox Hersteller hat vor ein paar Wochen ein Update der Wallbox gemacht, wobei es danach wieder lief, obwohl ich kurz danach einen Sponsortoken brauchte, was früher nicht der Fall war. Er erkennt den Überschuss nicht richtig und lädt immer bei Überschuss mit 11kW auch wenn nur 2kW Überschuss vorhanden sind. Irgendwie packt er den Phasenwechsel nicht.
Haben jemand eine Idee woran das liegt bzw. wie ich das wieder beheben kann?
Steps to reproduce

EVCC starten
PV Mode wählen und auf Überschuss warten
Dann tritt der Fehler auf...immer

Configuration details
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: 192.168.xxx.xx:8123
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 10s # control cycle interval

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features (request at https://sponsor.evcc.io)
sponsortoken: xxx

# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

# log settings
log: info
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
modbusproxy:
  #  - port: 5200
  #    uri: solar-edge:502
  #    # rtu: true
  #    # readonly: true

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: grid
    type: custom
    power:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.strom_aktuell
      scale: 1
      timeout: 30s
    energy:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.strom_netzbezug
      scale: 1
      timeout: 30s

  - name: pv
    type: custom
    power:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.solar_power_current_power
      scale: 1
      timeout: 30s
    energy:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.solar_power_energy_today
      scale: 1
      timeout: 30s

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers

chargers:
  - name: my_charger
    type: template
    template: dadapower

    # Modbus TCP
    modbus: tcpip
    id: 1
    host: 192.168.xxx.xx # Hostname
    port: 502 # Port

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: my_car
    type: template
    template: teslamate
    title: Model Y Domi # Wird in der Benutzeroberfläche angezeigt (optional)
    id: 1 # optional
    capacity: 77 # Akkukapazität in kWh (optional)

# site describes the EVU connection, PV and home battery
site:
  title: Home # display name for UI
  meters:
    grid: grid # grid meter
    pv: pv
      #- my_pv # list of pv inverters/ meters
  #  aux:
     # - aux # list of auxiliary meters for adjusting grid operating point
#   residualPower: 100 # additional household usage margin
 # smartCostLimit: 0 # set cost limit for automatic charging in PV mode

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage # display name for UI
    charger: my_charger # charger
    mode: pv # "off" set default charge mode, use "off" to disable by default if charger is publicly available
    vehicle: my_car # set default vehicle (disables vehicle detection)
    # resetOnDisconnect: false # set defaults when vehicle disconnects
    # phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
    # minCurrent: 6 # minimum charge current (default 6A)
    # maxCurrent: 16 # maximum charge current (default 16A)

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    guardDuration: 5m # switch charger contactor not more often than this (default 5m)

# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    type: fixed
    price: 0.2980 # EUR/kWh
    #zones:
     # - days: Mon-Fri
     #   hours: 2-5
     #   price: 0.2 # EUR/kWh
     # - days: Sat,Sun
     #   price: 0.15 # EUR/kWh

    # or variable tariffs
    # type: tibber
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # type: awattar
    # region: de # optional, choose at for Austria
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: elering # Nordpool
    # region: ee # or lt, lv, fi
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: energinet # Energinet using the price in DKK
    # region: dk1 # or dk2
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.082 # EUR/kWh

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional
  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    #type: grünstromindex # GrünStromIndex (Germany only)
    #zip: 35236

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token>
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - do not supply both at the same time!
    # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
    # postcode: SW1A1AA # optional

# mqtt message broker
mqtt:
  broker: 192.168.xxx.xx:1883
  #topic:  # root topic for publishing, set empty to disable
  user: mqtt-user1
  password: xxx

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details
Garage: charger logic error: current
mismatch (got 16A measured,
expected 6A)

What type of operating system are you running?
HomeAssistant Add-on
Nightly build

[X] I have verified that the issue is reproducible with the latest nightly build

Version
v0.130.12

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

Das mit dem Doppelpost war keine Absicht. Ich dachte es hätte beim ersten Mal nicht geklappt.
Aber warum wird nur weil der Rest der Log-Datei fehlt direkt das Problem als erledigt gekennzeichnet. Die wichtige Information war ja im Log vorhanden?

authors: TheShunxxx andig


text:
Only run branch test coverage on the master branch

We're running Travis twice on each PR. We should only be running Travis on the master branch. The PR config will run Travis on PRs.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

Coverage remained the same at 99.557% when pulling 8bf2eda21a57881074599db041106a5656729f16 on travis-on-master-branch-only into 416ca1b77ae39e66321726303aa21e94eecdf8ac on master.

I'll revert this if isn't the right thing to do. I think it'll speed up our PR test runs.

nah this is fine. typically one only makes PRs from forks instead of branches directly on the repo, so this doesn't come up.

authors: coveralls jessebeach ljharb


text:
Add user agent to webhook destination config

Provide a default user agent of EventRelay (https://eventrelay.io)

I can take this and include it as part of the webhook changes.

authors: cpursley themusicman

repo: eventrelay/eventrelay


text:
In some cases job is not executed because it cannot find jobId in 1.3.0-alpha5 version

Environment:
Samsung Galaxy S7 edge, Android OS 8.0
android-job library version: 1.3.0-alpha5, WorkManager version 1.0.0-alpha04
I have following jobs defined in WorkTag iside androidx.work.workdb:
1 | com.evernote.android.job.work.PlatformWorker | 64965a15-722f-4be3-ab71-5dd6fb687a7c |
2 | android-job-1 | 64965a15-722f-4be3-ab71-5dd6fb687a7c |
3 | com.evernote.android.job.work.PlatformWorker | 6cbda451-4c72-4068-920b-20ca782eddb9 |
4 | android-job-2 | 6cbda451-4c72-4068-920b-20ca782eddb9 |
5 | android-job-3 | 7b25edfb-2c7b-467c-96d0-ff53ee23fabc |
6 | com.evernote.android.job.work.PlatformWorker | 7b25edfb-2c7b-467c-96d0-ff53ee23fabc
PlatformWorker class has method:
private String getTag() {         return getTags().iterator().next();     }
That gets first tag from that db. When it called from getJobId method, and receives tag without number:"com.evernote.android.job.work.PlatformWorker" at the end, the NumberFormatException appears inside the method:
static int getJobIdFromTag(String tag) {         return Integer.parseInt(tag.substring(PREFIX.length()));     }
that prevents job from running.
The tag "com.evernote.android.job.work.PlatformWorker" sets automatically inside the Builder of WorkRequest class.

Ah, I see the issue. Thanks for reporting!

This is fixed in the latest version: https://github.com/evernote/android-job/releases/tag/v1.3.0-alpha06

Thanks. After fix works perfect!

authors: alexkutsko vRallev

repo: evernote/android-job


text:
RegressionPerfomanceTab not working !

regression_model_performance = Dashboard(tabs=[RegressionPerfomanceTab])
regression_model_performance.calculate(reference_data, current_data, column_mapping = column_mapping)

NameError                                 Traceback (most recent call last)
/usr/local/bin/kernel-launchers/python/scripts/launch_ipykernel.py in
----> 1 regression_model_performance = Dashboard(tabs=[RegressionPerfomanceTab])
2 regression_model_performance.calculate(reference_data, current_data, column_mapping = column_mapping)
NameError: name 'RegressionPerfomanceTab' is not defined

**Second part**

iris_data_and_target_drift_report = Dashboard(tabs=[DataDriftTab, CatTargetDriftTab])
iris_data_and_target_drift_report.calculate(iris_frame[:100], iris_frame[100:], column_mapping = None)
iris_data_and_target_drift_report.save("reports/my_report_with_2_tabs.html")

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
/usr/local/bin/kernel-launchers/python/scripts/launch_ipykernel.py in <module>
      1 iris_data_and_target_drift_report = Dashboard(tabs=[DataDriftTab, CatTargetDriftTab])
      2 iris_data_and_target_drift_report.calculate(iris_frame[:100], iris_frame[100:], column_mapping = None)
----> 3 iris_data_and_target_drift_report.save("reports/my_report_with_2_tabs.html")

~/.local/lib/python3.6/site-packages/evidently/dashboard/dashboard.py in save(self, filename)
    182             os.makedirs(parent_dir, exist_ok=True)
    183         f = open(filename, 'w')
--> 184         f.write(self.html())
    185         # f.write(self.__render(file_html_template))

~/.local/lib/python3.6/site-packages/evidently/dashboard/dashboard.py in html(self)
    175
    176     def html(self):
--> 177         return self.__render(file_html_template)
    178
    179     def save(self, filename):

~/.local/lib/python3.6/site-packages/evidently/dashboard/dashboard.py in __render(self, template)
    146     def __render(self, template: typing.Callable[[TemplateParams], str]):
    147         dashboard_id = "evidently_dashboard_" + str(uuid.uuid4()).replace("-", "")
--> 148         tab_widgets = [t.info() for t in self.tabsData]
    149
    150         di = DashboardInfo(dashboard_id, [item for tab in tab_widgets for item in tab if item is not None])

~/.local/lib/python3.6/site-packages/evidently/dashboard/dashboard.py in <listcomp>(.0)
    146     def __render(self, template: typing.Callable[[TemplateParams], str]):
    147         dashboard_id = "evidently_dashboard_" + str(uuid.uuid4()).replace("-", "")
--> 148         tab_widgets = [t.info() for t in self.tabsData]
    149
    150         di = DashboardInfo(dashboard_id, [item for tab in tab_widgets for item in tab if item is not None])

~/.local/lib/python3.6/site-packages/evidently/tabs/base_tab.py in info(self)
     31
     32     def info(self) -> List[BaseWidgetInfo]:
---> 33         return [w.get_info() for w in self.widgets]
     34
     35     @abc.abstractmethod

~/.local/lib/python3.6/site-packages/evidently/tabs/base_tab.py in <listcomp>(.0)
     31
     32     def info(self) -> List[BaseWidgetInfo]:
---> 33         return [w.get_info() for w in self.widgets]
     34
     35     @abc.abstractmethod

~/.local/lib/python3.6/site-packages/evidently/widgets/cat_target_pred_feature_table_widget.py in get_info(self)
     31         if self.wi:
     32             return self.wi
---> 33         raise ValueError("neither target nor prediction data provided")
     34
     35     def calculate(self,

ValueError: neither target nor prediction data provided

Hi @pratikchhapolika !
The reason of this error is a misspelling in the Tab name. Instead of the “RegressionPerfomanceTab” there should be the “RegressionPerformanceTab”. I believe if you fix the name everything will be fine.
p.s. It is also important to make sure, that you imported this Tab earlier in your code correctly:
‘’’from evidently.tabs import RegressionPerformanceTab’’’
Here is an example of regression model analysis: https://github.com/evidentlyai/evidently/blob/main/evidently/examples/bike_sharing_demand_regression_performance.ipynb

The second part looks like you do not have either target or prediction (or both). To evaluate Categorical Target Drift it is necessary to have one of the target or prediction columns presented in both reference and current datasets. And if you do not provide the column mapping, then target column is expected to called ‘target’, prediction columns is expected to called ‘prediction’. It looks like you might fix the second issue by adding target column to your dataframes, for example like this:
‘’’iris_frame['target'] = iris.target’’’
Hope it will help!
If you share the structure of your dataframes I will be more specific with the solution.

Closing this issue. Thank you!

authors: emeli-dral pratikchhapolika

repo: evidentlyai/evidently


text:
Update events.py

fixed spelling of registered 🙂

I'd merge the PR, but I also just noticed another typo that I've made on the same line - "even" instead of "event".
Since these are minor fixes, I think it would be clearer to keep these in the same PR. Since I can't modify the forked branch, could you attach another commit that resolves my other typo? Thanks.

@evilnose 👍

Thank you!

authors: Felanbird evilnose

repo: evilnose/PyRKViewer


text:
version of zoom is too low

version of zoom is too low
want to update sdk of zoom

@evilrat  can you please update the zoom SDK as its stopped working now Thanks


text:
bad response

Hi, let me first thank you for this effort. I encountered this:**> λxy.z
F:=λxy.z
Name Error: Expression contains free variables z. Assigned values cannot have free variables in this REPL.
If you hover the mouse over the error message the (+) sign will appear. If you click it then the entire browser page turns WHITE even with dark theme.

Thanks for the issue! I'll be working on it in https://github.com/evinism/lambda-explorer/pull/75

Partially Fixed!!

authors: amryounis evinism

repo: evinism/lambda-explorer


text:
Question - Feature Support

Does this support:

use local and remote images for banner icon
multiple lines

it should

are they supported in version 2.5.6?

the is a bug with remote image in 2.5.6 because the http request can't be in main thread.
multiple lines is supported
there are many bug fixes after 2.5.6 so I suggest upgrade.

authors: evollu mykelaballe

repo: evollu/react-native-fcm


text:
Update cats-effect, cats-effect-laws to 2.3.2

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws

from 2.3.0 to 2.3.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.3.0).
You might want to review and update them manually.
project/Dependencies.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #64.

repo: evolution-gaming/cats-helper


text:
Allow custom height for header row

Based on https://github.com/mk-j/PHP_XLSXWriter/issues/292

But workaround is:
  $xlsxFile = new XLSXWriter();
  $addHeader = true;
  while (($data = fgetcsv($csvFile, null, ';')) !== false) {
    if ($addHeader) {
      $xlsxFile->writeSheetRow('Sheet1', $data, ['wrap_text' => true, 'height' => 40]);
      $xlsxFile->writeSheetHeader('Sheet1', addFormats($data), ['suppress_row' => true]);
      $addHeader = false;
      continue;
    }
    $xlsxFile->writeSheetRow('Sheet1', $data);
  }

No, it is not valid workaround - writeSheetHeader can't be called after writeSheetRow :-(.


text:
confusing filenames; at least add version numbers

comparing your instantiation to evothings-gallery/bluno-demo/app/libs/easyble.js (please)

Thanks for observing this. You are absolutely right that it is confusing which version of the library you are using. We will look into how to address this and how to specify version numbers.

Hi we have added a file to the evothings folder in the libraries with the release version number in its name. What do you think of this? A start at least. It should make sense to have it in the evothings folder since many of the libraries depend on evothings.js.
See this commit: https://github.com/divineprog/evothings-examples/commit/2da88fc7af17c67beb54b456a8234b646b58aeb6

that looks like a good start but, obviously, the confusion comes when
evothings.js or easyble.js are referenced in an index.html; it should be
clear there what versions are being used.
(like the jquery model ??)
thank you.
On Sun, Apr 26, 2015 at 10:22 AM, Mikael Kindborg notifications@github.com
wrote:

Hi we have added a file to the evothings folder in the libraries with the
release version number in its name. What do you think of this? A start at
least. It should make sense to have it in the evothings folder since many
of the libraries depend on evothings.js.
See this commit: divineprog@2da88fc
https://github.com/divineprog/evothings-examples/commit/2da88fc7af17c67beb54b456a8234b646b58aeb6
—
Reply to this email directly or view it on GitHub
https://github.com/evothings/evothings-examples/issues/141#issuecomment-96410410
.

We have decided to close this issue and use the solution with the version file in the library directory for the coming releases.

authors: cordphelps divineprog

repo: evothings/evothings-examples


text:
UDT Support

Hi Guys,
Using Cassandra 2.1.2 and trying to get UDTs to work in the library, and since everyone is busy figured I would give it a shot. However, having trouble.
Looking at the v3 Binary Protocol (https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol_v3.spec;hb=HEAD), I notice a new column type.
0x0030    UDT: the value is < ks >< udt_name >< n >< name_1 >< type_1 >...< name_n >< type_n >
However, in evseevnn\Cassandra\Protocol\Response\DataStream\TypeReader class, public static function readFromStream(DataStream $stream) {...} always reads a UDT type as '0' instead of the expected '48'.
Thus, I can't get the library to differentiate a 'custom' column from a 'UDT' column when generating the column meta-data; and so I can't properly process 'reading' the datastream. Any ideas? Am I on the right track?

I guess it's because we still using V1 of Binary Protocol?

Hi!
You're right.
The point is that fully maintain the library is not enough time. It must be modified to support the protocol v3.
I would be glad if you help with this.

Hey evseevnn. You probably already know this (since you commited heaps to this repo), but https://github.com/duoshuo/php-cassandra has full UDT support as well as v3 protocol currently working.

authors: evseevnn steambao

repo: evseevnn/php-cassandra-binary


text:
Add requestExecutionLevel setting

Name
Type
Description

requestExecutionLevel
string
user , admin

@evshiron if this request make things right , please merge it asap!!!

repo: evshiron/nwjs-builder-phoenix


text:
🛑 Portfolio is down

In 0db5422, Portfolio ($SECRET_P_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portfolio is back up in 244b40e.

repo: exand/upptime


text:
🛑 Styleguide is down

In 88e1476, Styleguide ($SECRET_STD_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Styleguide is back up in 94c8150.


text:
Add error code

Problem
We need to use https://github.com/exasol/error-reporting-go and give each error its own error code.

This duplicated ticket was created because of some lag on the GitHub

repo: exasol/exasol-rest-api


text:
【Conductor】Symphonyの呼出を追加

ConductorからSymphonyを呼び出せるようにする。

■画面（表示）
・Symphony callの追加（≒Conductor call）
-Functionに「Symphony call」の追加
-Symphony callの入力、選択項目追加
■画面（処理）
・Symphony callのクラス登録処理
・Symphony callのインスタンス登録処理
・描画関連パラメータ取得
■バックヤード
・Symphonycallの動作処理追加（実行、緊急停止）

authors: ta-matsuo y-yonekura

repo: exastro-suite/it-automation


text:
pasting large text into ellipse/diamond blows call stack

steps:

copy the json of a text element
paste it into a small ellipse or diamond
call stack exceeded

This seems affecting more common things than I thought.

copy/paste this:{"type":"excalidraw/clipboard","elements":[{"type":"ellipse","version":53688,"versionNonce":1732734963,"isDeleted":false,"id":"br9-LyQU4h9oN9SHyZrb9","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":1042.2642192537824,"y":-260.473015873046,"strokeColor":"#c92a2a","backgroundColor":"#fa525222","width":329.4556884765625,"height":314,"seed":1690109725,"groupIds":[],"roundness":null,"boundElements":[{"type":"text","id":"5ijeBjgaT-ZSlLLUHFyXF"}],"updated":1679305955140,"link":null,"locked":false},{"type":"text","version":410,"versionNonce":1599797651,"isDeleted":false,"id":"5ijeBjgaT-ZSlLLUHFyXF","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":1098.4040005128672,"y":-199.48878051933397,"strokeColor":"#c92a2a","backgroundColor":"#fa525222","width":217.2157745361328,"height":192,"seed":382747955,"groupIds":[],"roundness":null,"boundElements":null,"updated":1679305956455,"link":null,"locked":false,"fontSize":16,"fontFamily":1,"text":"asdla skdlasd \nasdlsdklasdkdasdkasdlkasld\naksldaskdasasldasdkasdlka\nasldkasdkasssdasdasdasd\nasdasjkldasdlaksdlaskdlaks\ndasdas\nda\nsdaasd asldk\na\nsdasld","textAlign":"center","verticalAlign":"middle","containerId":"br9-LyQU4h9oN9SHyZrb9","originalText":"asdla skdlasd asdlsdklasdkdasdkasdlkasldaksldaskdasasldasdkasdlkaasldkasdkasssdasdasdasd\nasdasjkldasdlaksdlaskdlaksdasdas\nda\nsdaasd asldk\na\nsdasld"}],"files":{}}

edit, and add a few newlines at the end of the text

Looks like because of this

Why use Math.min? When textElementHeight is much bigger than maxHeight, container's height grow only element.lineHeight(1.2) every call.
Because of this, multi-line text pastes always have big call stack size.

authors: YinDongFang dwelle

repo: excalidraw/excalidraw


text:
fix: Duplicating arrow without bound elements throws error

Resolves #8315, introduced in #8185

Alright, thanks for the fix! ❤

authors: dwelle zsviczian


text:
🐛 No node found for selector [aria-label='Scale 3 x']

I'm not sure if I should file here or as an issue with gatsby-plugin-mdx but after a month of not touching my site, I can't get the development bundle to build correctly and it looks like it's unhappy with the Excalidraw links.
yarn run v1.22.4
$ gatsby develop
success open and validate gatsby-configs - 0.092s
success load plugins - 4.334s
success onPreInit - 0.018s
success initialize cache - 0.022s
success copy gatsby files - 0.075s
success onPreBootstrap - 0.013s
success createSchemaCustomization - 0.005s

 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:

The following error appeared while processing 'https://excalidraw.com/#json=5086916491870208,sLUFfW5oMgrO3ApQwe4YQw':

No node found for selector: [aria-label='Scale 3 x']

  31 |   const createAndProcessNode = path => {
  32 |     const fileNodePromise = createFileNode(path, createNodeId, pluginOptions).then(fileNode => {
> 33 |       createNode(fileNode);
     |       ^
  34 |       return null;
  35 |     });
  36 |     return fileNodePromise;

File: node_modules/gatsby-source-filesystem/gatsby-node.js:33:7

To Reproduce
This is on my personal site on the bug-reproduce.

git clone --single-branch --branch bug-reproduce https://github.com/jsjoeio/joeprevite.com.git
yarn install
yarn dev

Observe output
Expected
Success - everywhere!
Actual
A bunch of errors and an unhappy development bundle

When I comment out all the Excalidraw links, everything works as expected. No errors.

Indeed, this error was happening because the element with the former selector [aria-label='Scale 3 x'] was replaced on the Excalidraw website. I just removed this line and published a new version of the package, so it should work now.
I'm not worried about the lack of scaling x3 since we're talking about infinitely scalable SVGs anyway 🤷
npm install gatsby-embedder-excalidraw@latest should do the trick! 🤞

authors: jsjoeio trevorblades

repo: excalidraw/gatsby-embedder-excalidraw


text:
[BUG] Upgrade jszip to fix the vulnerabilities

🐛 Bug Report
The current latest version of exceljs  (v4.3.0) has an indirect vulnerability coming from jszip package.
Check this synk page for more details: https://security.snyk.io/package/npm/jszip/3.7.1
Upgrading jszip to v3.8.0 fixes this vulnerability.
Is there any plan to release a new version of exceljs with this fix?

I changed my package-lock.json file

Please update the "jszip" package and release a new version as it is a blocker for us.

authors: DaphneChang PranjalAgni pkgiriswamy

repo: exceljs/exceljs


text:
Wrong image position for non-integer coordinates

Hi all,
I'm trying to place 16x16 image at arbitrary place of the worksheet. I set col number to 1.5, but it looks like image appears at the beginning of "B" column PLUS half of default column width, not half "B" column width.
Code:
const exceljs = require('exceljs');

const workbook = new exceljs.Workbook();
const worksheet = workbook.addWorksheet();

worksheet.columns = [{ width: 10 }, { width: 100 }, { width: 50 }];

const imageData = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAA'
	+ 'AQCAYAAAAf8/9hAAADBklEQVR42n2Se0hTURzHv3f3Xh/VysdmzlXLaiaIZtnTtMh'
	+ 'qVmNUaNADXFlBDwqCHlD/VERRRmVJ6001wqCgl9ibXKYSZajhtNK9tG1OF97yzrbr'
	+ 'vbdb/ZU0D/w4cM6Pz5fzOT8Cg9ZinSFW2t5LNUEURT9E8S0IYTzHDey3VD1/MLifG'
	+ 'HyQt2iZmxd4FSGK6GUCYNkgaJpCbEwUBEGYW1drqQ0LyM5ZoCQI+ESRgLPjG1YVpC'
	+ 'NVq0BFZTM+NHqhVsn3vntbUxIWMGfO3HHebtb5vZ/HOGUkLM82Q64cCwgMitaZ8bL'
	+ 'OvsftbDkZ/gmqGepDxVM7V+eORMqUZOmWBu9nQGpGoaHJh5kGs5Hzf7oZFnArZ8TY'
	+ 'tY+uuxB0AF4vBvo8kkMO9HASPmcAV858zD1gsb0ZUqLYcFQMdVVD7GcgIymIkCEiJ'
	+ 'hI/bL14X2bV5r370TYkwHcwvVE5X5PBe+wQqFF/OmjSD9P5zhfbXrCLh/5GKnHq8d'
	+ '1rK/fqoxOZumuQ8wz6Qz8RnVqA6z4d9pku7Oux1p/4L0Cl1mwsLCy8cvaMJFkU0P+'
	+ '5HvaOz0hUJCAu82+wftlKNDU3VXa6bPp/AIoEla7YuOEpFUH/HhYcO3oY1X6gzAVs'
	+ 'SQEWUAGcu2yGyXQJCkUs3O6v59vbWrf/ASgTVEuSkyceWW8syrp48TLYAAvDUh1Ol'
	+ 'Z7Grtc9OD1PAVOZCUeOlUCbMgkURcHj8YDt+25wOm0VREZmVoVOl693OFxoa/+CUJ'
	+ 'BD2mQtyu/expr7X3FrhRonDh7CVXM5ElUqyGQyBCUvvq6uGpejPYfIW5jfNH3mrPS'
	+ 'qV1XgeQ4cx0Mpp1H68DWW3mjB461puLBjE+49sUCdlARp1CGjCHQ4XZ5Olz2JmDE7'
	+ 'u36MWj3NZnOAJEkpgQLFduNUdSuyr/bgklEBf8lOlN15gtGKeCmAw4BUDMNIKpxqY'
	+ 'oQ8Jl7Sro2IiDLSNDmLkFGp+MnyU3TL8fRTHzI1cYi2v6Ga7W5v9LBhjVwoaBV41N'
	+ 'CRpLXb57X/AnGNSiD8VccPAAAAAElFTkSuQmCC';

const imageIndex = workbook.addImage({ base64: imageData, extension: 'png' });
const imageRange = {
	tl: { col: 1.5, row: 1 },
	ext: { width: 16, height: 16 }
};

worksheet.addImage(imageIndex, imageRange);
workbook.xlsx.writeFile('./output.xlsx');

Expected result:
Image appear in the middle of "B" column.
Observed result:
Image appear near left border of "B" column.
Environment:

exceljs: 1.13.0
nodejs: 10.13.0

Any updates in this issue or way to fix it in near future?

+1, same issue here.

It doesn't work for me too. If I put tl: { col: 6.9, row: 0 } to ws.addImage() it appears near left side of cell 6. I have made the column 6 large.
A { tr: { col: 6, row: 0 } option would be great to be able to position an image at the top right position of a cell.

how about to fix it?

I make some test and lookup the data affter unziping the drawing.xml file. I found that the error is caused by the wrong colwidth and rowheight. The tl and br are set to float number, if the col and row are not resized, the result is ok. But when width or height of  the cell, in which tl or br defined,  were resized, the result were still calculated with the standard cell width and row. So we got the wrong result.

@Siemienik @r4tz52
I read the code related with this problem. Finally, I found the reason occured in anchor.js. There is my fix below.
Put the following code in the first line in constructor function. After this we can get the real column width and row height in worksheet.
this.worksheet = worksheet;
Then, modify the colWidth and rowHeight getters methods to get the correct number.
Math.floor(this.worksheet.getRow(this.nativeRow + 1).height/this.worksheet.properties.defaultRowHeight * 180000) Math.floor(this.worksheet.getColumn(this.nativeCol + 1).width/this.worksheet.properties.defaultColWidth * 640000)
as the following code we put the image in xlsx with correct positions.
worksheet.addImage(imageId, {      tl: {col: 1.1, row: 5.83 },      br: {col: 8.85, row: 10.2 }  });

authors: AndrewEgorov CocoFeng SuyongSun chk- hijamoya r4tz52


text:
Scanning binary files in json

Hi, not an issue more of a question.  We are storing json packets of our files that look something like this: {mimetype:"application/pdf",filename:"mypdf.pdf",content:""}.  Could we get your antivirus scanning to work with this type of file structure?  Any tips on where to start, sorry a bit of a newb.

I think it will most likely work. We are just binding to ClamAV to do the actual scan. If you want to be sure, create a file packet that contains an infected file (we test with the EICAR test virus). Then just clamscan some_file.json and see if it detects the infection.

Unfortunately, it didn't detect it.  I should have mentioned the file "contents" are binaryEncoded.  Back to the drawing board. Are you available for contract work?

Unfortunately no. I'm not available for contract work.
Without knowing what your use case is, you might consider making the virus scanner part of a pipeline of file processing. For example, maybe a lambda function could be introduced to the workflow that decodes the binary contents before the virus scanner can pick them up. Just spitballing...

authors: SethNJohnson kofno

repo: execonline-inc/antivirus


text:
Not compatible with dark theme

Describe the bug
I expect to have dark theme when using this tab extention but it doesn't.
Reproduce the bug
Not compatible
List your environment
No response

Same issue as #194?

Same issue as #19
The same, sorry i didnt notice

authors: AliveDevil ryanjtr

repo: executablebooks/sphinx-tabs


text:
Claude generates the wrong locator

I attempted to input text into a username field, but it failed as Claude generated an incorrect locator. I had expected Claude to access the DOM and produce the appropriate locator. It seems that implementing RAG (Retrieval-Augmented Generation) is essential to generate the locators; without it, this tool is unlikely to be effective.
prompt:
navigate to https://xxxxxxxxxxxxxxxx.io/user/login
enter usercode as "VASU"
actual element:

PW MCP output:
{   value: VASU,   selector: input[name='usercode'] }

Yes its expected behavior, this needs to be resolved by passing the locator for specific UI elements if there is such a case, as mentioned in the documentation https://executeautomation.github.io/mcp-playwright/docs/playwright-web/Supported-Tools, the tool is still in its infancy and needs more maturity, will be updating the features in the library soon.
Thanks for reporting

I attempted to input text into a username field, but it failed as Claude generated an incorrect locator. I had expected Claude to access the DOM and produce the appropriate locator. It seems that implementing RAG (Retrieval-Augmented Generation) is essential to generate the locators; without it, this tool is unlikely to be effective.
prompt: navigate to https://xxxxxxxxxxxxxxxx.io/user/login enter usercode as "VASU"
actual element:
PW MCP output: { value: VASU, selector: input[name='usercode'] }

How would you go about implementing RAG for this?

repo: executeautomation/mcp-playwright


text:
[v3] Move Practice Exercise example files to .meta directory

The example implementation files for Practice Exercises should be located in the .meta directory. Besides being consistent with Concept Exercises, it also has the added benefit that no extra configuration is needed to prevent the example file from being downloaded to the student (as files in the .meta directory are never downloaded).
See the spec.
This PR attempts to detect these example files and move them to the exercise's .meta directory.
Note that this change will likely break your CI, so feel free to either merge this and fix the build later, or push a fix to this PR.
Tracking
https://github.com/exercism/v3-launch/issues/18

Exercise configs have been added since and would need to be updated too

authors: ErikSchierboom angelikatyborska

repo: exercism/mips


text:
Add difference-of-squares exercise

Adds the 'difference-of-squares' exercise

Everything looks good to me :+1:

Just one nitpick, otherwise LGTM.

Ready for another look

authors: palisaide patricksjackson ryanplusplus

repo: exercism/xc


text:
Add list-ops exercise

I'm unsure about adding large list tests, as elm doesn't have TCO, and it isn't really elm's intention to do large computations. Thoughts?

This is great! My only hesitation about just merging is this issue: https://github.com/exercism/x-common/issues/129
Accumulate and strain both kind of duplicate a subset of this test, and it looks like a rename from list-ops to sequence-ops is on the table. I think we can probably merge anyway, but I'd like let it sit for a day or so.

Thanks! No problem. I don't really understand the exact relationship of the same exercise across languages, so I defer to you and others on this decision.

Problem descriptions / metadata are language-independent. Then any of the languages on Exercism can add their own implementation (test suite + reference solution). The README for the exercise is a combination of language-independent data and language/implementation specific hints.

Thanks @jcshih 🎉

authors: jcshih kytrinyx tgecho

repo: exercism/xelm


text:
Compile errors on Linux

I'm testing QuickLib on Linux, and i get many compile errors on units Quick.Commons, it seems that it want to compile some parts that belongs to IOS.
I'm using Delphi 10.4 Sydney with 2 patches applied
[DCC Error] Quick.Commons.pas(946): E2003 Undeclared identifier: 'GetDeviceModel'
[DCC Error] Quick.Commons.pas(1144): E2003 Undeclared identifier: 'NSBundle'
[DCC Error] Quick.Commons.pas(1145): E2003 Undeclared identifier: 'NSString'
[DCC Error] Quick.Commons.pas(1148): E2003 Undeclared identifier: 'StrToNSStr'
[DCC Error] Quick.Commons.pas(1148): E2003 Undeclared identifier: 'ILocalObject'
[DCC Error] Quick.Commons.pas(1148): E2015 Operator not applicable to this operand type
[DCC Error] Quick.Commons.pas(1149): E2003 Undeclared identifier: 'TNSBundle'
[DCC Error] Quick.Commons.pas(1149): E2066 Missing operator or semicolon
[DCC Error] Quick.Commons.pas(1149): E2125 EXCEPT or FINALLY expected
[DCC Error] Quick.Commons.pas(1155): E2029 '.' expected but ';' found
[DCC Error] Quick.Commons.pas(1248): E2003 Undeclared identifier: 'NSBundle'
[DCC Error] Quick.Commons.pas(1249): E2003 Undeclared identifier: 'NSString'
[DCC Error] Quick.Commons.pas(1251): E2003 Undeclared identifier: 'StrToNSStr'
[DCC Error] Quick.Commons.pas(1251): E2003 Undeclared identifier: 'ILocalObject'
[DCC Error] Quick.Commons.pas(1251): E2015 Operator not applicable to this operand type
[DCC Error] Quick.Commons.pas(1252): E2003 Undeclared identifier: 'TNSBundle'
[DCC Error] Quick.Commons.pas(1252): E2066 Missing operator or semicolon
[DCC Error] Quick.Commons.pas(1252): E2029 'END' expected but ')' found
[DCC Fatal Error] Quick.SysInfo.pas(226): F2063 Could not compile used unit 'Quick.Commons.pas'

i found this errors too on linux. waiting for fix it.

Solved!

authors: Morrismx exilon givelover

repo: exilon/QuickLib


text:
Several Users Getting Error 500 On Login (v2.0.0)

Several users (but not me or my alts) get error 500 when logging in. Some other users do not. The specific error: https://i.imgur.com/FdjeLsd.png
The users look similar in the database, roleId is 1 for everybody, so I'm not sure what's wrong. Any ideas?

Resolved by loading in the SQL export, even though the docs say I shouldn't need it.


text:
Use Flow type system?

Since we (supposedly) build secure software, we need to worry about type safety everywhere (including the client), and allow to take care of type safety for developers using the client. Flow seems like a straightforward way to accomplish this; although there are some alternatives (e.g., TypeScript or Elm, or even compiling Rust code directly to wasm or asm.js).
@DenisKolodin Do you think Elm would be an optimal way to pursue? I'm a bit worried that a "fully" functional Elm's approach can have certain performance implications. For example, the tutorial on lists does not seem to unroll recursion, not even in the tail-form (i.e.,
length : List a -> Int
length list = length2 list 0

length2 : List a -> Int -> Int
length2 list acc =
  case list of
    [] ->
        acc
    first :: rest ->
        length2 rest 1 + acc

so it doesn't work with lists of length more than several thousand. Am I doing something wrong, or is this just how Elm rolls (heh)? Also, in general it seems Flow is a bit more supported than Elm, although I may be biased.

@slowli Elm is awesome for large web-applications, but it's unsuitable for CPU-bound tasks like cryptography algorithms, because Elm produces smart wrappers to maintain functional features. For example Elm generates the following code for Exonum.newMessage binding:
var _exonum$exonum_ico_client$Bind_Exonum$newMessage = function (declaration) {
	var struct = A2(
		_elm_lang$core$Json_Decode$decodeValue,
		_elm_lang$core$Json_Decode$value,
		_elm_lang$core$Json_Encode$object(
			{
				ctor: '::',
				_0: {
					ctor: '_Tuple2',
					_0: 'size',
					_1: _elm_lang$core$Json_Encode$int(declaration.size)
				},
				_1: {
					ctor: '::',
					_0: {
						ctor: '_Tuple2',
						_0: 'network_id',
						_1: _elm_lang$core$Json_Encode$int(declaration.networkId)
					},
					_1: {
						ctor: '::',
						_0: {
							ctor: '_Tuple2',
							_0: 'protocol_version',
							_1: _elm_lang$core$Json_Encode$int(declaration.protocolVersion)
						},
						_1: {
							ctor: '::',
							_0: {
								ctor: '_Tuple2',
								_0: 'service_id',
								_1: _elm_lang$core$Json_Encode$int(declaration.serviceId)
							},
							_1: {
								ctor: '::',
								_0: {
									ctor: '_Tuple2',
									_0: 'message_id',
									_1: _elm_lang$core$Json_Encode$int(declaration.messageId)
								},
								_1: {
									ctor: '::',
									_0: {
										ctor: '_Tuple2',
										_0: 'fields',
										_1: _exonum$exonum_ico_client$Bind_Exonum$serializeFields(declaration.fields)
									},
									_1: {ctor: '[]'}
								}
							}
						}
					}
				}
			}));
	var _p4 = struct;
	if (_p4.ctor === 'Ok') {
		return _exonum$exonum_ico_client$Native_Exonum.newMessage(_p4._0);
	} else {
		return _elm_lang$core$Native_Utils.crashCase(
			'Bind.Exonum',
			{
				start: {line: 116, column: 9},
				end: {line: 118, column: 45}
			},
			_p4)(_p4._0);
	}
};

//// BASIC STUFF ////

function F2(fun)
{
  function wrapper(a) { return function(b) { return fun(a,b); }; }
  wrapper.arity = 2;
  wrapper.func = fun;
  return wrapper;
}

function A2(fun, a, b)
{
  return fun.arity === 2
    ? fun.func(a, b)
    : fun(a)(b);
}
// ...
function A9(fun, a, b, c, d, e, f, g, h, i)
{
  return fun.arity === 9
    ? fun.func(a, b, c, d, e, f, g, h, i)
    : fun(a)(b)(c)(d)(e)(f)(g)(h)(i);
}

//// LIST STUFF ////

var Nil = { ctor: '[]' };

function Cons(hd, tl)
{
	return {
		ctor: '::',
		_0: hd,
		_1: tl
	};
}

function append(xs, ys)
{
	// append Strings
	if (typeof xs === 'string')
	{
		return xs + ys;
	}

	// append Lists
	if (xs.ctor === '[]')
	{
		return ys;
	}
	var root = Cons(xs._0, Nil);
	var curr = root;
	xs = xs._1;
	while (xs.ctor !== '[]')
	{
		curr._1 = Cons(xs._0, Nil);
		xs = xs._1;
		curr = curr._1;
	}
	curr._1 = ys;
	return root;
}

Elm, TypeScript and other JavaScript transpilers adds quite overhead to every function call (however I feel that every transpiler result suits good for JIT compiler).
Flow seems better for me: we still have raw (high-speed) JavaScript code, but we get a powerful type checking.
Also we need to try Rust-to-wasm approach. It looks ultimate, but I have no idea about its performance.

Just came here to mention rust-to-wasm, but it is already here. 😆
So, I decided to publish my experiments with Rust-WebAssembly approach here: it is stripped duct-taped version of exonum core. may be it will help to start assessing this approach.
Good thing about this approach is that one can share it's types and message definitions.
Bad thing is that Rust and WebAssembly story isn't complete yet.
Anyway, I believe that Rust-WebAssembly approach is worth exploring.

I suppose it is worth creating a separate issue about WebAssembly.

@DarkEld3r Do you mean here or in exonum-core?

@pepyakin I suppose it is more related to the "exonum-client".

@DenisKolodin I do not think it's correct to compare Elm and Typescript (or Flow). While the former is a full-blown language targeting web that gets transpiled to JS (much like, say, Dart), the latter performs static type checks.  TS leaves no trace of itself after transpilation producing a pure JS code free of any run-time type checks.
I personally favor TS mainly due to its design goals and the fact that TS lives up to them.

repo: exonum/exonum-client


text:
'NonType' object is not subscriptable

Hello! I have the above problem! In another issue (2018), i read that the path of the image should have been written in the error, but as you can see, it is not written.
Can you help me solve this issue?

I think that you have a problem with your dataset, to test, you could create a smaller dataset from your dataset, and try training again.

Thank you very much for the answer. I will try this now! I hope i can find the wrong picture.

authors: Lavistas kabrau


text:
Scaled DoE test fails too often

This test in DoE fails too often https://github.com/experimental-design/bofire/blob/cffd409b6df5bb00396ec5b258ebb6f66cb7feca/tests/bofire/strategies/test_doe.py#L286

@bertiqwerty

@Osburg: any ideas what is the problem?

Hey @jduerholt @dlinzner-bcs,
This is probably not a satisfying answer, but in the setting of a linear model, a low dimensional space domain and a small number of candidates there seem to be local minima ipopt ends up in. Ipopt typically exits with a convergence to acceptable tolerance in cases where the test fails. I assume the reason might be that using only 4 candidates leads with relatively high probability to the situation that all experiments are concentrated in the same region of the design space and ipopt won't find the optimal solutions with one candidate in each corners, but instead it approaches a local minimum which typically looks like this
[[-0.     1.   ]
 [-0.    -0.   ]
 [-0.    -0.   ]
 [ 1.     0.287]]

I tried to increase the number of candidates, with 6 candidates the test ran successfully for 100 times in a row. So I'd suggest to slightly increase the number of candidates. Alternatively, one could lower the (acceptable) tolerance for convergence, but this would require to give access to the ipopt_options of find_local_max_ipopt() in the DoEStrategy i guess...
Also sry for general inactivity recently, I have a submission deadline in 2 weeks :/
Cheers
Aaron :)

authors: Osburg dlinzner-bcs jduerholt

repo: experimental-design/bofire


text:
EAS build's icon with a slight offset.

Build/Submit details page URL
No response
Summary
Hello, so I made an app and decided to build it using EAS. Everything is fine, except one thing that irks me is that the app's icon has a slight offset.
As you can see in the following screenshot, the icon has a slight offset to the right.

And this is the image file that I'm using when building the app. It's perfectly centered.

Managed or bare?
Bare
Environment
expo-env-info 1.0.2 environment info:
System:
OS: Windows 10 10.0.19044
Binaries:
Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 30, 31
Build Tools: 30.0.2, 30.0.3
IDEs:
Android Studio: Version     2020.3.0.0 AI-203.7717.56.2031.7678000
npmPackages:
expo: ~44.0.0 => 44.0.6
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
Expo Workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
You can try building my app from https://github.com/JorensM/crypto-notifier and see if the same problem occurs. It's a small build.

It's perfectly centered.

The meaning of what center means is not that obvious, but the center of the icon on the screenshot and center of the file you provided seems to be the same

repo: expo/eas-cli


text:
Debug build is not working 'Unable to load script'

Build/Submit details page URL
https://expo.dev/accounts/galouegessg/projects/Ecomode-DEV/builds/57ed9c95-1b8b-4c44-8497-01da50395b96
Summary
We are trying to build a working APK in debug mode (and wihout dev-server).
But the apk is not working.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Linux 6.2 Ubuntu 23.04 23.04 (Lunar Lobster)
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
npmPackages:
@expo/metro-config: ^0.5.2 => 0.5.2
expo: ~48.0.15 => 48.0.15
react: 18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
react-native: 0.71.7 => 0.71.7
react-native-web: ~0.18.7 => 0.18.12
npmGlobalPackages:
eas-cli: 3.10.2
Expo Workflow: managed

✔ Validating global prerequisites versions passed
✔ Checking for incompatible packages passed
✔ Checking for conflicting global packages in project passed
✖ Verifying prebuild support package versions are compatible failed
Issues:
Expected package @expo/config-plugins@~6.0.0
Found invalid:
@expo/config-plugins@5.0.4
@expo/config-plugins@5.0.4
(for more info, run: npm why @expo/config-plugins)
Expected package @expo/prebuild-config@~6.0.0
Found invalid:
@expo/prebuild-config@5.0.7
(for more info, run: npm why @expo/prebuild-config)
Advice:
• Upgrade dependencies that are using the invalid package versions.
✔ Checking dependency versions for compatibility with the installed Expo SDK passed
✔ Validating Expo Config passed
✔ Checking package.json for common issues passed
Error output

Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle is packaged correctly for release.
Reproducible demo or steps to reproduce from a blank project
We are trying to build a working APK in debug mode (and wihout dev-server).
We launch eas build -p android -e internal-development
With profile :
"internal-development": {
      "developmentClient": false,
      "extends": "base",
      "android": {
        "buildType": "apk",
        "gradleCommand": ":app:assembleDebug"
      },
      "ios": {
        "buildConfiguration": "Debug"
      }
    }`

This is how it's expected to work, debug builds are connecting to the bundler, and release builds are using bundled js. It should be possible to create debug build with bundled js, but it probably requires some native changes, so you would need to swith to bare workflow (run expo prebuild and commit android/ios directories)

After running expo prebuild and running eas build -p android -e preview --local didnt seem to help. I still get the same error output.
Code snippet from my eas.json
"preview": {
      "developmentClient": false,
      "android": {
        "buildType": "apk",
        "gradleCommand": ":app:assembleDebug"
      }
    },


text:
HTTPError: Response code 400 (Bad Request)

Build/Submit details page URL
No response
Summary
Everytime I try to run eas build i get the following console log:
✔ Select platform › All
✔ Linked to project @vdiorio/EdhCounter (https://expo.dev/accounts/vdiorio/projects/EdhCounter)

🤖 Android build
✔ Using remote Android credentials (Expo server)
✔ Using Keystore from configuration: Build Credentials SEw7oKGFUv (default)
✖ Uploading to EAS Build (65.6 KB / 1.4 MB)
    HTTPError: Response code 400 (Bad Request)

Managed or bare?
Managed
Environment
EAS CLI 0.46.0 environment info:
System:
OS: Linux 5.10 Ubuntu 20.04.3 LTS (Focal Fossa)
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Utilities:
Git: 2.25.1 - /usr/bin/git
npmPackages:
expo: ^44.0.0 => 44.0.6
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
npmGlobalPackages:
eas-cli: 0.46.0
expo-cli: 5.0.3
Project workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
just run eas build at any moment

can you run DEBUG=* eas build and provide the output
uploading project is a direct upload to aws s3 with presigned URL, after upload starts it does not interact with expo servers. Is there anything on your system that might block requests to aws? have you tried running build on different machine preferably on CI?

Response of DEBUG=* eas build
  config reading core plugin /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/package.json +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/oclif.manifest.json +0ms
  config:eas-cli using manifest from /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/oclif.manifest.json +0ms
  config reading user plugins pjson /home/vdiorio/.local/share/eas-cli/package.json +0ms
  config loadJSON /home/vdiorio/.local/share/eas-cli/package.json +0ms
  config loading plugins [
  '@oclif/plugin-autocomplete',
  '@oclif/plugin-help',
  '@expo/plugin-warn-if-update-available'
] +0ms
  config reading core plugin /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-autocomplete +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-autocomplete/package.json +0ms
  config reading core plugin /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-help +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-help/package.json +0ms
  config reading core plugin /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@expo/plugin-warn-if-update-available +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@expo/plugin-warn-if-update-available/package.json +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  config loadJSON /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@expo/plugin-warn-if-update-available/oclif.manifest.json +0ms
  config:@oclif/plugin-autocomplete using manifest from /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
  config:@oclif/plugin-help using manifest from /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  config:@expo/plugin-warn-if-update-available using manifest from /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@expo/plugin-warn-if-update-available/oclif.manifest.json +0ms
  config config done +6ms
  config start init hook +0ms
  eas:@expo/plugin-warn-if-update-available:hooks:init start (require) /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/@expo/plugin-warn-if-update-available/lib/hooks/init/check-update.js +0ms
  eas:@expo/plugin-warn-if-update-available:hooks:init done +3ms
  config init hook done +36ms
  config runCommand build [] +1ms
  config:eas-cli (require) /home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/build/commands/build +828ms
  config start prerun hook +775ms
  config prerun hook done +0ms
  eas:build init version: @oclif/core@1.1.2 argv: [] +0ms
✔ Select platform › Android
✔ Linked to project @vdiorio/EdhCounter (https://expo.dev/accounts/vdiorio/projects/EdhCounter)
✔ Using remote Android credentials (Expo server)
✔ Using Keystore from configuration: Build Credentials SEw7oKGFUv (default)
✖ Uploading to EAS Build (65.6 KB / 1.3 MB)
HTTPError: Response code 400 (Bad Request)
    at Request.<anonymous> (/home/vdiorio/.nvm/versions/node/v14.19.0/lib/node_modules/eas-cli/node_modules/got/dist/source/as-promise/index.js:117:42)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

I have disabled firewalls and everything i could find that could be causing the problem, I'll try another machine soon.

Tested on your exact version of node in docker by running
docker run -it --entrypoint bash node:14.19.0
$ npm -g i expo-cli eas-cli
$ mkdir test && cd test
$ expo init
$ EXPO_TOKEN=mytoken eas build // you can just loging

If you have a docker setup try the above steps, if it fails in docker it's some networking issue on your system or maybe your ISP is blocking it for some reason(might be worth trying VPN), if it works in odcker try reinstalling nvm

Thank you a lot, vpn solved my problem. No idea how to solve my ISP issue, but now I can work again


text:
How are env variables (secrets) used?

In react-native, you could use react-native-config. But since it requires touching iOS and Android files, it won't be possible to use it with Expo. How are you supposed to feed different env variables, especially those that hold api keys?

Hi, it looks like react-native-config reads the local .env file and then, at build time, writes a #define (or android equivalent) in your native code, which is then exported to JS.
I want to clarify that this tool does not make your secrets safe. It just puts them in your native binary every time you build.
That being said: At the moment we don't offer anything exactly like that for Expo, but nothing's stopping you from writing similar automation for exposing .env constants to JS, by just generating a JS object and skipping the native layer. This wouldn't be any more or less secure. But I don't know of an existing tool which does exactly that.
If your main goal is to avoid committing secrets to source control, you're best off just exposing them directly to JS from some particular file, then gitignoring that file. This behavior isn't unique to .env.

@redgenie I happened to come across this issue, looking for the same solution. However, I found this alternative: https://github.com/zetachang/react-native-dotenv. This tool doesn't use native code, since it is simply implemented as a Babel plugin. So you can use it with Expo!

@redgenie I have installed react-native-dotenv with my React Native Expo app. I have created a .env and .env.production. This works fine for previewing in simulator on my local machine, but when I share via expo it uses the same .env rather than .env.production. How do I get it to use the correct file?

@PaddyLock how have you configured your package.json to get this to work? I added exp to my devDependencies:
"devDependencies": {
    ...
    "exp": "^52.0.3",
    ...
  },
  "scripts": {
    "exp": "exp"
  },

and have a separate .env.production config but when I try running BABEL_ENV=production yarn run exp start , it still loads .env instead of .env.production. Any idea what I might be missing? Thx.

@lukewendling Thanks. Looks like my issue was trying to use BABEL_ENV=production yarn run exp start - the production flag can only recognized when building the binary (BABEL_ENV=production yarn run exp build:ios)

authors: PaddyLock btroia offerijns redgenie terribleben

repo: exponent/exponent


text:
Problem with app.use(path, router)

Dear express community,
I am trying to organize my routes in different files, as described in the docs and in several websites I have been searching for this subject.
All of them suggest to use app.use("path", router obj) to assign a route to a router instance.
This is the code I have so far:
server.js:
const devices = require("./controllers/devices.js");
app.use("/api/devices", devices);
controllers/devices.js:
var router = express.Router();
// Middleware that is specific to this router
router.use(function timeLog(req, res, next) {
  // Middleware here
  next();
});
router.get('/', function(req, res) {
    logger.debug("GET DEVICES");
    db.Devices.find({}).then(function (err, result) {
        res.send(result);
    });
});
exports = router;
However, when I launch my application, I am getting this exception:
(node:17868) UnhandledPromiseRejectionWarning: TypeError: Router.use() requires a middleware function but got a Object
I cannot find what I am doing wrong. The error is pretty clear: I am sending a router instance to 'app.use', which expetcs a function, but this is what I am seeing in all examples and in the documentation.
What is the correct way to organize the routes in different files?
Thank you!

@mauriciocirelli : The problem is in the last line of your devices.js file.
Instead of using exports = router; , you should use module.exports = router;
In node.js, when you wish to export an object as a whole from a module (which in this case is router), you should use module.exports.
Look at the value of devices router that you got using require for your code.

Now when we change it to module.exports, look at the value of devices.

Ohhh c'mon.. This is embarassing.
Still getting use with this nodejs syntax.
Thank you @sampathBlam

authors: mauriciocirelli sampathBlam

repo: expressjs/express


text:
Hitting Return in a text field deletes record.

When editing a record, pressing Return in any of the text fields deletes the record. If anything, it should save the changes.

I think you opened in the wrong issue tracker.

authors: dillof dougwilson

repo: expressjs/serve-static


text:
Add support for cluster secret store with the vault provider

Fixes #118. I tested the code locally, and the implementation seems straightforward. However, it was unclear to me if the tests should be expanded to add explicit tests for the cluster secret store resource kind.

/approve
LGTM, thank you for your contribution! We definitely want tests for the cluster store kind, but that's not priority 1 right now, i think. Add them if you like or give me a 👎 then we'll merge it right away!

@moolen go ahead and merge.

/merge

authors: cnmcavoy moolen

repo: external-secrets/external-secrets


text:
chore: test e2e

testing e2e

/ok-to-test-managed sha=4a69be3 provider=gcp

/merge


text:
Timeout with 4.0.0 with GCP

I tried updating our release to 4.0.0, but the poller only timeout when using GCP:
{"level":50,"time":1591212177575,"pid":17,"hostname":"external-secrets-7f58c4f74c-dlptb","code":4,"stack":"Error: Retry total timeout exceeded before any response was received\n    at repeat (/app/node_modules/google-gax/build/src/normalCalls/retries.js:65:31)\n    at Timeout._onTimeout (/app/node_modules/google-gax/build/src/normalCalls/retries.js:100:25)\n    at listOnTimeout (internal/timers.js:549:17)\n    at processTimers (internal/timers.js:492:7)","type":"Error","msg":"failure while polling the secret default/XXXXXXX"}
{"level":30,"time":1591212177588,"pid":17,"hostname":"external-secrets-7f58c4f74c-dlptb","msg":"status update failed for externalsecret default/XXXXXXX, due to modification, new poller should start"}
{"level":50,"time":1591212182143,"pid":17,"hostname":"external-secrets-7f58c4f74c-dlptb","code":4,"stack":"Error: Retry total timeout exceeded before any response was received\n    at repeat (/app/node_modules/google-gax/build/src/normalCalls/retries.js:65:31)\n    at Timeout._onTimeout (/app/node_modules/google-gax/build/src/normalCalls/retries.js:100:25)\n    at listOnTimeout (internal/timers.js:549:17)\n    at processTimers (internal/timers.js:492:7)","type":"Error","msg":"failure while polling the secret default/XXXXXXX"}
{"level":30,"time":1591212182161,"pid":17,"hostname":"external-secrets-7f58c4f74c-dlptb","msg":"status update failed for externalsecret default/XXXXXXX, due to modification, new poller should start"}

Not much has changed since so I don't know what to think of it.
I reverted back to 3.3.0 and it works fine. I made sure to remove the value property like it was mentioned in the CHANGELOG (although the README has not been updated).

Not stale

Not stale

I am having the same issue, tried both 6.1.0 and 6.4.0.

Not stale, having the same with AWS SSM
status update failed for externalsecret test/sample-app, due to modification

/reopen

authors: Sytten max-lobur misurin


text:
Installation Issue on MacOS Monterey - M1 Mac Pro

I ran into an issue installing extism CLI on an M1 Pro Macbook with Monterey with the extism install latest command.  I had to sudo extism install latest for the /usr/local/lib/include path to be created correctly.
Without Sudo:
➜  extism install latest
Getting release for latest
Installing to /usr/local (version v0.1.0)
Password:
Installed /usr/local/lib/libextism.dylib
cp: /usr/local/include/extism.h: No such file or directory
Installed /usr/local/include/extism.h

➜  cat /usr/local/include/extism.h
cat: /usr/local/include/extism.h: No such file or directory

➜  extism version
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/extism_cli/__init__.py", line 472, in import_extism
    import extism
[... snip stacktrace ...]
extism.extism.Error: Unable to locate the extism library and header file

With Sudo:
➜  sudo extism install latest
Getting release for latest
Installing to /usr/local (version v0.1.0)
Installed /usr/local/lib/libextism.dylib
Installed /usr/local/include/extism.h

➜  extism version
0.1.0

Looks like my user doesn't have rights to create the /usr/local/include/ path or something's wrong with the first time run of the script, something like that.

Maybe this needs to change to require sudo: https://github.com/extism/cli/blob/987f0fdbcfe103a578fc57c385bf831c8733ecc4/extism_cli/init.py#L349

Looks like it is asking for your password though. So that's confusing

I cannot seem to repro. Trying a new bash session too:
[I] ben@m1lap ~ [1]> rm /usr/local/include/extism.h
override rwxr-xr-x root/wheel for /usr/local/include/extism.h?
[I] ben@m1lap ~> extism install latest
Getting release for latest
Installing to /usr/local/ (version v0.1.0)
Password:
Installed /usr/local/lib/libextism.dylib
Installed /usr/local/include/extism.h

I believe the issue is because I did not have a /usr/local/include folder, and the /usr/local dir is only writable by root on my Mac.  If you look at the cp definition itself, it will auto-sudo if the path is in /usr/.  However, the native mkdir command is being used to create the directory,  so even though the command does a sudo later for writing the file and that works correctly, the script fails if you do not yet have /usr/local/include.  I think mkdir needs to be wrapped in an auto-sudo like the cp function.
Here are the permissions for my /usr/local showing it's only writable by root
➜  local ls -al /usr/local
total 0
drwxr-xr-x   6 root  wheel  192 Dec 29 17:09 .
drwxr-xr-x@ 11 root  wheel  352 Aug 24 01:59 ..
drwxr-xr-x  14 root  wheel  448 Dec 22 21:58 bin
drwxr-xr-x   3 root  wheel   96 Dec 29 17:09 include
drwxr-xr-x   4 root  wheel  128 Dec 29 17:08 lib
drwxr-xr-x   3 root  wheel   96 Dec 19 19:14 share

Here's the listing of my include dir showing extism is the only thing in there.  you may have already had this directory created so didn't run into this issue, since the cp command is correctly sudoing. The only issue seems to be in the mkdir part.
➜  local ls -al /usr/local/include
total 8
drwxr-xr-x  3 root  wheel    96 Dec 29 17:09 .
drwxr-xr-x  6 root  wheel   192 Dec 29 17:09 ..
-rw-r--r--  1 root  wheel  3042 Dec 29 17:09 extism.h

Closing this because the new CLI has been released

authors: bhelx lukevp zshipko

repo: extism/extism


text:
fix 3 style attributes on SVGParser class

allow decimals for "stroke-width"
allow round "stroke-linecap" and "stroke-linejoin"

Thanks for your work! Do you have some SVG sample to check these changes?

is this enough?

repo: exyte/Macaw


text:
add ie mode

c.f.) https://learn.microsoft.com/ja-jp/microsoft-edge/webdriver-chromium/ie-mode?tabs=java

#8

repo: eyasuyuki/keydriver


text:
Logging levels

Unconditional logging can hurt performance and increase memory utilization. Given that golang's log package does not support logging levels (i.e. Error, Warning, Info, Debug), we should consider migrating to a configurable logging library.
Mature and widely used implementations include:

logrus
google/logger
go-logging
zap

@eycorsican, I'm happy to implement this change as soon as we decide on a library.

Since go-tun2socks is a client program and has a relatively small logging footprint, I am not worried about the performance.
It's good to has leveled logging support, I am happy to see a PR for this feature. By defining our own logging interface, it should be quite easy to switch from one logging lib to another, we can further allow registering an external logger, so feel free to choose a handy one if you are going to create a PR :)

@alalamav I made a simple logger just filter out logs according to loglevel, feel free to create a more sophisticated logger (custom prefixs, coloring) and replace the default one by including it as a module.

Awesome! I think this will suffice for now. Thanks for the quick implementation.

authors: alalamav eycorsican


text:
fix: update to see v0.0.8

fix: update to see v0.0.8

:tada: This PR is included in version 12.11.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v12.11.1

Your semantic-release bot :package::rocket:

repo: eyereasoner/eye-js


text:
Is it possible to use it with wpgtk?

using it as backend of wpgtk?

I haven't tested it in a long while but last time I tried it turned out it didn't work because wpgtk couldn't handle the new flags that pywal-16 adds, i don't know if this is still the case

no issues regarding that as i am plannign to switch to pywal-16 from wpgtk.
just if it's possible to add keyword section where i can define a few values that will be nice.
like keywords.conf
font=<someFontName>

then a {font} variable is accessible like `{color0}


text:
2.0.0 regression: headers and cmake files aren't installed any more

Describe the bug
Here is the delta of the list of installed files:
diff --git a/graphics/f3d/pkg-plist b/graphics/f3d/pkg-plist
index a6718b1a0e68..e5172af253e2 100644
--- a/graphics/f3d/pkg-plist
+++ b/graphics/f3d/pkg-plist
@@ -1,31 +1,21 @@
 bin/f3d
-include/f3d/camera.h
-include/f3d/engine.h
-include/f3d/exception.h
-include/f3d/export.h
-include/f3d/image.h
-include/f3d/interactor.h
-include/f3d/loader.h
-include/f3d/log.h
-include/f3d/options.h
-include/f3d/types.h
-include/f3d/window.h
-lib/cmake/f3d/f3dConfig.cmake
-lib/cmake/f3d/f3dConfigVersion.cmake
-lib/cmake/f3d/f3dEmbed.cmake
-lib/cmake/f3d/f3dTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/f3d/f3dTargets.cmake
 lib/libVTKExtensionsApplicative.a
 lib/libVTKExtensionsCore.a
 lib/libVTKExtensionsReaders.a
 lib/libVTKExtensionsRendering.a
 lib/libf3d.so
+share/applications/f3d-plugin-native.desktop
 share/applications/f3d.desktop
 share/bash-completion/completions/f3d
+share/doc/F3D/LICENSE.md
+share/doc/F3D/THIRD_PARTY_LICENSES.md
+%%DATADIR%%/plugins/exodus.json
+%%DATADIR%%/plugins/native.json
 share/fish/vendor_completions.d/f3d.fish
 share/icons/hicolor/32x32/apps/f3d.png
 share/icons/hicolor/48x48/apps/f3d.png
 share/icons/hicolor/64x64/apps/f3d.png
 share/icons/hicolor/scalable/apps/f3d.svg
-share/metainfo/io.github.f3d_app.f3d.metainfo.xml
+share/metainfo/app.f3d.F3D.metainfo.xml
+share/thumbnailers/f3d-plugin-native.thumbnailer
 share/zsh/site-functions/_f3d

System Information:

OS: FreeBSD 13.2
GPU and GPU driver: n/a

F3D Information
Paste the content of f3d --version: 2.0.0

It's in the release notes and doc, cmake options are gone,.we are using optional components now.
cmake --install . --component configuration
cmake --install . --component SDK
cmake --install . --component mimetypes

https://f3d.app/doc/dev/BUILD.html

Btw, do not hesitate to join the discord, https://discord.f3d.app
There is a dedicated packaging section :)

@mwestphal
Installing static libraries without corresponding headers doesn't make sense, because they can't be used.

Do you mean lib/libVTKExtensionsApplicative.a  and other like that ? Yes this is a bug that should be fixed. These files should not be installed.

But it has already been fixed here: https://github.com/f3d-app/f3d/issues/432
I will check locally.

Ok.

authors: mwestphal yurivict


text:
Artix 75T is same fabric as 100T, 15T is same fabric as 50T

Add support for part xc7a75t and xc7a15t
These are actually same fabrics as, respectively, xc7a100t and xc7a50t.
Note: There are 3 ways to confirm this.

Xilinx documentation ds181 for Artix-7 DC characteristics
Xilinx documentation ug470 for bitstream lengths
Manual creation of simple IO planning Vivado projects and observing that chip floorplans are identical.

I confirm the 3 points above for the 2 parts 75t and 15t.

Thanks, that makes sense. Will try.

Hi,
I'm completely new to the automerge system and github actions.
I see that the item "docs/readthedocs.org:prjxray" failed but I can't understand why, could anyone advise ?
It says
Error
Config validation error in build.os. Value build not found.

It seems this error happens just with command cat .readthedocs.yml without any for of build being done previously.
Is this test item working ?

authors: hansfbaier marzoul

license: ISC


text:
docs: add a search box

I think it would be more convenient to search various methods in docs by using a search box in Valibot doc.
For examples, there is a search box in Qwik doc, and we can use a search box by clicking the search button at the top of the page, or using a keyboard shortcut (command + K).

If this request is approved, I will create a PR for this 😄

This is planned as soon as we finish the API reference. I have already implemented a custom solution for the Modular Forms website that we can migrate to the Valibot docs written in Qwik.

This is planned as soon as we finish the API reference.

OK! After finishing writing the API reference, I'll create a PR for this 😄

Thanks a lot for all your help. That makes it a lot easier for me to focus on the library code to get v1 ready. 🙏

I am currently in the process of integrating a search box.

repo: fabian-hiller/valibot


text:
UI broken where no internet access.

Hello, the UI is broken on computers where to there no internet access. Could the jquery, materialize, etc. resources be included in fabio instead of loaded from the internet? Thanks.
Loading failed for the

2nd that. any work around or the intention to fix this?

Feel free to send a PR. This shouldn't be hard to fix.

authors: gnoymmij magiconair yakcamnevets

repo: fabiolb/fabio


text:
[WIP] fix(test): Run integration tests during build

Fixes fabric8-launcher/launcher-planning#98

Retest this please

Closed in favor of https://github.com/fabric8-launcher/launcher-backend/pull/75


text:
RHOARDOC-1403: Rename confusing runtime variables

The following variables (attributes) were renamed:

node-js -> built-for-nodejs
spring-boot -> built-for-spring-boot
vert-x -> built-for-vertx
wf-swarm -> built-for-thorntail

I have diffed the resulting HTML files and except for the time stamp, they are identical.
Resolves RHOARDOC-1403.

Thanks for the review, @inoxx03, I'll merge it myself. :)


text:
add dask integration

Dask enables parallel computing through task scheduling and blocked algorithms.
This allows developers to write complex parallel algorithms and execute them
in parallel either on a modern multi-core machine or on a distributed cluster.

http://dask.pydata.org/en/latest/index.html

it is generally not worth the while to use Dask.
in fact the vectorization is so low level and efficient that the parallelization should happen at higher abstraction  level.

authors: bgruening fabriziocosta

repo: fabriziocosta/EDeN


text:
feat(v2): allow passing remark, rehype, prismtheme to mdx-loader

Motivation
allow passing remark plugin, rehype plugin, prismtheme to mdx-loader
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
edit docusaurus.config.js for docs

result:

on another note, i wonder if we can try other theme like dracula https://github.com/PrismJS/prism-themes
or github color

im going to rework mdx on next pr so that we can have playground

repo: facebook/Docusaurus


text:
Unable to Render the App in the Server , Shows blank screen .

Hi ,
I am using create-react-app for my react app . So after building the final application by running the npm run build , i came to know that if it is deployed in the server we need to mention the server path in the package.json under "homepage" .
But the thing is , there are two applications running on the server one under the /var/www/html and another under /var/www/html/myapp/ . so if we access the URL like mywebpage.com -> it by default picks the index.html under /var/www/html .
Now i want my react app to run under /var/www/html/myapp . so to achieve this i added the below code in my package.json
"homepage" : "mysite.com/myapp" .
when accessing the URL in the browser , it renders an empty screen . There is no error in the console too.
But the app works in my local , when accessing via localhost in the browser .

I experienced something similar where the blank page is rendering. It means React is not rendering in the  with the root id. so all you see is the index.html page and there isn't any error because the index.html empty page is valid.
It sounds like the issue you are experiencing is actually with the web server configuration. The web server would need to be configured to have more than one web destination. Something similar to this: https://opensource.com/article/18/3/configuring-multiple-web-sites-apache depending on your web server.

Make sure you've properly specified a homepage, starting with http://.
If there's no console errors, do there happen to be network ones? Is the index.html being served with the correct path(s) to other resources?
Let us know if you resolved this, thanks!

i did that.. and no luck

Having this same issue most times I deploy new code, too.
I suspect it has to do with the service worker because:

It's happening across multiple browsers in our staging AND production environments
Clearing browser cache always fixes the issue
We are also seeing it locally -- we use a URL in our hosts files to develop locally, not localhost or IP, so service worker DOES deploy
Seeing it locally eliminates possibility this is nginx (which we're using in staging and production) or express (which we're using locally) since we're seeing it in both places.

authors: Emyboy Timer kenwithee shyam2794 toddmyphoto

repo: facebook/create-react-app