etebase-server: 0.13.1 -> 0.14.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for etebase-server is: An Etebase (EteSync 2.0) server so you can run your own
meta.homepage for etebase-server is: https://github.com/etesync/server
meta.changelog for etebase-server is: https://github.com/etesync/server/blob/0.14.0/ChangeLog.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.14.0 with grep in /nix/store/pw2n7f1drsshpn2zgzn8mr6s9i459hfv-python3.11-etebase-server-0.14.0
found 0.14.0 in filename of file in /nix/store/pw2n7f1drsshpn2zgzn8mr6s9i459hfv-python3.11-etebase-server-0.14.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

etebase-server
python311Packages.etebase-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pw2n7f1drsshpn2zgzn8mr6s9i459hfv-python3.11-etebase-server-0.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A etebase-server https://github.com/r-ryantm/nixpkgs/archive/e250488bf3a33f1c1955b622cc10a794aff77009.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e250488bf3a33f1c1955b622cc10a794aff77009#etebase-server

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pw2n7f1drsshpn2zgzn8mr6s9i459hfv-python3.11-etebase-server-0.14.0
ls -la /nix/store/pw2n7f1drsshpn2zgzn8mr6s9i459hfv-python3.11-etebase-server-0.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

etebase-server (python311Packages.etebase-server)
etebase-server.dist (python311Packages.etebase-server.dist)

Maintainer pings
cc @felschr @phaer for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for etebase-server is: Etebase (EteSync 2.0) server so you can run your own
meta.homepage for etebase-server is: https://github.com/etesync/server
meta.changelog for etebase-server is: https://github.com/etesync/server/blob/0.14.2/ChangeLog.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.14.2 with grep in /nix/store/x6zn7aphiq3qjjlh8qzk5anfzcbng3nh-python3.11-etebase-server-0.14.2
found 0.14.2 in filename of file in /nix/store/x6zn7aphiq3qjjlh8qzk5anfzcbng3nh-python3.11-etebase-server-0.14.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

etebase-server
python311Packages.etebase-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x6zn7aphiq3qjjlh8qzk5anfzcbng3nh-python3.11-etebase-server-0.14.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A etebase-server https://github.com/r-ryantm/nixpkgs/archive/f66b7649ea7a2af6bc0cb1857e0650e8b19d5eef.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f66b7649ea7a2af6bc0cb1857e0650e8b19d5eef#etebase-server

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x6zn7aphiq3qjjlh8qzk5anfzcbng3nh-python3.11-etebase-server-0.14.2
ls -la /nix/store/x6zn7aphiq3qjjlh8qzk5anfzcbng3nh-python3.11-etebase-server-0.14.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

etebase-server (python311Packages.etebase-server)
etebase-server.dist (python311Packages.etebase-server.dist)

Maintainer pings
cc @felschr @phaer for testing.

Automated update failed because we need to remove the overridden python interpreter with pydantic_1 for it. Done in https://github.com/NixOS/nixpkgs/pull/336721


code run blocked in sparsematrix compute by Eigen::CholmodSupernodalLLT

i compile the glomap success with：
cmake .. -GNinja -DCeres_DIR=/home/zr/Thirdparty/ceres-2.2.0/lib/cmake/Ceres/ -DEigen3_DIR=/home/zr/Thirdparty/eigen-3.4.0/share/eigen3/cmake  -DCMAKE_CUDA_ARCHITECTURES="75" -DSuiteSparse_CHOLMOD_LIBRARY="/usr/lib/x86_64-linux-gnu/libcholmod.so" -DSuiteSparse_CHOLMOD_INCLUDE_DIR="/usr/include/suitesparse"
and then i download south-building dataset as readme and run:
glomap mapper --database_path ./database.db --image_path ./images/ --output_path ./glomap_sparse
and it block in https://github.com/colmap/glomap/blob/6c05589e6a2d5374c930415419010c47c82ba933/glomap/math/l1_solver.h#L37
it seems blocked in sparsematrix compute by Eigen::CholmodSupernodalLLT
what can i do to solve this problem
i add debug code and the whole log as :

Hi, I am not very sure what happened, but one option is to use Eigen::SimplicialLDLT solver instead. Note that #include<Eigen/[SparseCholesky] is required

@bettertime1994 Hello, have you found a solution to this problem? I'm encountering the same issue on Ubuntu 22.04 with Eigen 3.4 and g++ 11. Even after trying the Eigen::SimplicialLDLT solver, the problem still persists.


Partial validation for models

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
Extremely important (classmethod) feature for pydantic model is partial validation. It's required by a lot of database operations. Currently I'm using a function which validates the data partially, but it's not optimized & professionally developed, because, I'm a ecosystem dev and I don't have a time to develop it as pro as you. Hence I would request this professionally developed feature by owners.
By the way, I found some 3rd part lib which written in documentation it does partial validation, but in reality it does not work complex models. https://pypi.org/project/pydantic-partial/
Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

We are interested in the same feature. We ended up with the following custom implementation:
from pydantic import BaseModel, validator

# Returns a new model class which is a copy of the input one
# having all inner fields and subfields as Optional
def make_optional(cls):
    for field in cls.__fields__.values():
        field.required = False
        if hasattr(field.type_, '__base__') and issubclass(field.type_.__base__, BaseModel):
            field.type_ = make_optional(field.type_)

    return cls

class Fuel(BaseModel):
    name: str

class Engine(BaseModel):
    type: str
    fuel: Fuel

class Wheel(BaseModel):
    id: int
    @validator('id')
    def check_id(cls, v):
        if v <= 0:
            raise ValueError('ID must be greater than 0')
        return v

class Car(BaseModel):
    name: str
    wheels: list[Wheel]
    engine: Engine

# 1. Create a standard Car
car1 = Car(name="Ferrari", engine=Engine(type="V12", fuel=Fuel(name="Petrol")), wheels=[{"id": 1}, {"id": 2}, {"id": 3}, {"id": 4}])
print(car1)
# name='Ferrari' wheels=[Wheel(id=1), Wheel(id=2), Wheel(id=3), Wheel(id=4)] engine=Engine(type='V12', fuel=Fuel(name='Petrol'))

# 2. Create a CarOptional model having Optional fields also in nested objects (e.g. Fuel.name becomes Optional as well)
CarOptional = make_optional(Car)
car_opt = CarOptional(engine=Engine(type="V12", fuel=Fuel()), wheels=[{"id": 1}, {"id": 2}, {"id": 3}, {"id": 4}])
print(car_opt)
# name=None wheels=[Wheel(id=1), Wheel(id=2), Wheel(id=3), Wheel(id=4)] engine=Engine(type='V12', fuel=Fuel(name=None))

# 3. Validators are still executed for fields with a value (e.g. Wheel.id = 0)
# car_not_valid = CarOptional(engine=Engine(type="V12", fuel=Fuel()), wheels=[{"id": 0}, {"id": 2}, {"id": 3}, {"id": 4}])
# pydantic.error_wrappers.ValidationError: 1 validation error for Car
# wheels -> 0 -> id
#  ID must be greater than 0 (type=value_error)

# 4. Should raise a validation error but it seems that Car model was modified following CarOptional
car2 = Car(engine=Engine(type="V12", fuel=Fuel(name="Petrol")))
print(car2)
# name: None=None wheels=None engine=Engine(type='V12', fuel=Fuel(name='Petrol'))

We tried also using the pydantic_partial library but the recursive method for complex objects (e.g. our example code) doesn't work.
We feel like we have to create a new model (e.,g. via create_model) instead of modifying the original cls in make_optional() function, but every attempt we make doesn't work (e.g. we get RuntimeError: no validator found for <class 'pydantic.fields.ModelField'>, see 'arbitrary_types_allowed' in Config)
How can I make it work?
Requirements:

make_optional must transform also nested objects as in the example code
validators must be executed when a value is provided for that validator
the original model (Car in the example) must not be modified

We tried with the above implementation of make_optional but if you have any other more elegant solution, feel free to suggest it, please.

You can use this static function as temporarily solution:
def as_optional(cls: Type[BaseModel]) -> Type[BaseModel]:
"""
@param cls: Subclass of BaseModel
@attention: Nested sub-models are not supported, means,
they will be inspected as is.
@return: Model which all fields are made optional
"""

# create empty pydantic class which
# does not belong to any model
class __EmptyModel(BaseModel):
	...

# make deep-copy of input class and assign them into "__EmptyModel" class
__EmptyModel.__fields__ = copy.deepcopy(cls.__fields__)

# now make all field optional of new empty class
for field in __EmptyModel.__fields__.values():
	field.required = False

# copy all configuration from input class.
# note: cls.__config__ supports both inner class config ("class Config: ...") and
# subclass initialization || class kwarg (class Model(BaseModel, ...=...)).
__EmptyModel.__config__ = copy.deepcopy(cls.__config__)

# return newly configured model class
return __EmptyModel

You can use this static function as temporary solution:
import copy
from typing import Type
from pydantic import BaseModel
def as_optional(cls: Type[BaseModel]) -> Type[BaseModel]:
"""
@param cls: Subclass of BaseModel
@attention: Nested sub-models are not supported, means,
they will be inspected as is.
@return: Model which all fields are made optional
"""

# create empty pydantic class which
# does not belong to any model
class __EmptyModel(BaseModel):
	...

# make deep-copy of input class and assign them into "__EmptyModel" class
__EmptyModel.__fields__ = copy.deepcopy(cls.__fields__)

# now make all field optional of new empty class
for field in __EmptyModel.__fields__.values():
	field.required = False

# copy all configuration from input class.
# note: cls.__config__ supports both inner class config ("class Config: ...") and
# subclass initialization || class kwarg (class Model(BaseModel, ...=...)).
__EmptyModel.__config__ = copy.deepcopy(cls.__config__)

# return newly configured model class
return __EmptyModel

I could see an argument for adding something analogous to typescript's Partial class, so Partial[MyModel] would be treated by pydantic in the same way as MyModel except all fields would be made optional with default None. I think that would have to be a feature request for after the v2 release though.
I think making it work in a recursive way would likely require defining a new version of the model that applies the "Partial" operator everywhere appropriate, then validating against that.
My suggestion for working with this until we can get to it would be to define a parallel version of the type with everything optional as desired.

There are other issues requesting this, I'm not sure which is most complete, but we should try to stick to one issue.
I'll look for the best one when I'm at my laptop.
The short answer is I'd like the solution to be type safe which has precluded most proposed solutions.
Can we achieve this with TypedDict?

Otherwise, should we propose something to the typing community?

Closing this as a duplicate of #1673. I'll reply there with my proposal.


Does not render symbol

Hello again, btw I wanna say huge thanks to you for the performance improvements you made. We're back on flutter map since we need labels on polyline, which Gmaps can't do.
We have a problem now with rendering POI and other symbols. For example it does not render house number
{       "id": "housenumber",       "type": "symbol",       "source": "openmaptiles",       "source-layer": "housenumber",       "minzoom": 17,       "layout": {"text-field": "{housenumber}", "text-size": 6}     },
It does work on maputnik, but not on your code. Do you know if it's a bug or just not implemented ?

Have you checked to ensure that your map is zooming to level 17 (minzoom above)
Other things to look at: is the source layer available in the tileset? Is the text field housenumber?
Consider adding a paint property, since this library won't draw text without it:
          "paint": {
            "text-halo-color": "#fff",
            "text-color": "#212121",
            "text-halo-width": 4
          }

Last resort, you can put a breakpoint at symbol_point_renderer.dart#L39 and see if that helps.
Let me know if you figure it out.

closing, but feel free to reopen or comment if this continues to be an issue


Dialog Trigger should correctly determine mobile device

🐛 Bug Report
If you have a thin window, the dialog trigger is determining if it is a mobile device even though it might not be.  it needs to use useIsMobileDevice to make the right call.
🤔 Expected Behavior
ok, very specifically, if I click to open a calendar on the date range builder, it forces it into a tray on a thin window even if the window is not on a mobile device.  it should not do that and behave as if it was on a non-windowed device.
😯 Current Behavior
ok, very specifically, if I click to open a calendar on the date range builder, it forces it into a tray on a thin window even if the window is not on a mobile device.  it should not do that and behave as if it was on a non-windowed device.
💁 Possible Solution
DialogTrigger should use useIsMobileDevice
🔦 Context
ok, very specifically, if I click to open a calendar on the date range builder, it forces it into a tray on a thin window even if the window is not on a mobile device.  it should not do that and behave as if it was on a non-windowed device.
💻 Code Sample
      <DatePicker
        label={l10n("Starting on")}
        value={startingDate}
        minValue={minStartingValue}
        onChange={(d) => setStartingDate(d.toString())}
        data-testid="starting-date"
        validationState={startDateError || earlyStart ? "invalid" : "valid"}
        marginEnd={8}
        maxWidth={windowWidth}
      />

🌍 Your Environment
Any browser, on a thin window but on a full width screen on a computer, not mobile device.  You can see it happen here for example:  https://react-spectrum.adobe.com/react-spectrum/DatePicker.html
🧢 Your Team
Client Apps, Report Builder For CJA

The line that would need to be changed to use useIsMobileDevice instead. Will need to test the experience further but would make it behave like our other components


Allow data source scrape interval configuration

Enhancement Proposal
The variable $__rate_interval used in grafana queries, is determined dynamically based on the data source scrape interval setting. Currently, the scrape interval cannot be configured, and seems to default to 15s. This can make dashboards show "no data" when using metrics from, e.g. prometheus, which is often configured with a default scrape interval of 2m.
It would be useful for data sources to be able to set the "default scrape interval" which influences the $__rate_interval variable in their relation data. This issue will have to be matched with a corresponding enhancement in other charms to send this option in their relation data.
Please note, this is different to prometheus-scrape-config-k8s-operator, which changes the actual scrape interval. This enhancement is forcused on changing the configuration of the data source as seen by grafana.

Take a look at this article

$__rate_interval [...] is simply guaranteed to be at least four times the scrape interval, no matter what.

and the default scrape interval for prom (as configured in the datasource) is 1m, so we'd expect __rate_interval to be at least 4m.
also see https://www.robustperception.io/keep-it-simple-scrape_interval-id/
Expressions can come from different jobs, so there's no single scrape interval setting that can fit all.
Only solution we see is to not use $__rate_interval in your dashboards.
Is that an option for you?

Closing, but feel free to reopen if it's still an issue :)


not able to preview no name tabs

not able to preview no name tabs

Thanks for pointing me to this issue!
At first glance, this looks more like an issue with telescope.nvim, since it also doesn't show content for unnamed files (and this plugin just uses telescope's default previewer). But I'll look more into it when I find some free time :)

I believe it's a telescope core issue as well.
See my comment here: https://github.com/nvim-telescope/telescope.nvim/issues/3221#issuecomment-2249115449
I have a PR open to address this for a while but I don't think other maintainers have had a chance to take a good look.

Thanks @jamestrew for pointing me to your pull request. Yesderday, I already searched telescope's repo for issues related to this, but somehow I didn't find your PR ':)
I'll close this issue then, as the encountered bug is not related to this repo.


Measure RPM example for Arduino MBED core

Hello!
Thank you for what looks like an excellent Timer Interrupt library for the Pi Pico, as I've been unable to master the use of the SDK functions.   I hope you might be able to help me learn to apply it for my application of measuring audio frequency tones as I may not be able to create it at my present skill level.
While studying the examples I found "RPM Measure" on Github:
https://github.com/khoih-prog/RPI_PICO_TimerInterrupt/tree/main/examples/RPM_Measure
But, it was written for the Earle Philhower Pico board support, and I'd prefer to stay with the Arduino MBED Core if possible.   I was pleased to find your library now supports MBED but am having trouble translating the RPM Measure  example to the MBED library.   Would it be possible to get a version that runs under Arduino MBED core?
I've resolved some compilation errors but simply adding "MBED_" to the function name, but am presently stuck with this error at line 135:
invalid conversion from 'bool ()(repeating_timer)' to 'hardware_alarm_callback_t {aka void (*)(unsigned int)}' [-fpermissive]
Any assistance would be much appreciated!   Thanks again for creating this great library for the Pico, which is much needed.
Bob

HI @w9ran
As this is not an issue of this library, I'm closing it now to avoid unnecessary confusion.
I suggest you post on Discussions section of that MBED_RPI_PICO_TimerInterrupt library, hopefully someone will help you out, as I don't have enough time to deal with your porting issue. YOu can also post on Arduino Forum to ask for help from many experts there. Just remember to follow the rule and include MRE
Good Luck,


Standard C header files detected as C++

Given what I've seen, these files should detect as C header files:

https://github.com/eyolfson/nes-emulator/blob/f0d3de9a78ed764b71c0a11de28c12b1ad58273b/src/cpu.h
https://github.com/eyolfson/nes-emulator/blob/f0d3de9a78ed764b71c0a11de28c12b1ad58273b/src/exit_code.h

However, even though they use the __cpluscplus test and use <stdint.h> instead of <cstdint> they still report as C++.

This is also happening in one of my projects, All the headers in the following link are classified as C++ although i don't use any C++ feature.
https://github.com/Kuronogard/aavrlib/search?l=cpp

Yup, still happening.

https://github.com/eyolfson/nes-emulator/blob/27698be97b6c0da2c86cd60cd7eedcd0ad36aadb/src/cartridge.h
https://github.com/eyolfson/nes-emulator/blob/27698be97b6c0da2c86cd60cd7eedcd0ad36aadb/src/exit_code.h

This issue is discussed at #1626. In the meantime, you can use Linguist overrides to ensure all .h files are detected as C files.


Add an internal cli argument to create template with path dependencies

When we use git dependencies and update the version number, we might reference a tag that does not exist, which leads to build failures. We used to work around this by creating a temporary tag for the new version and replace it with the proper tag later when we do the release. However, this violates the principle that git tags should be fixed and point to the exact commit that created the release.
In https://github.com/dora-rs/dora/commit/d69c87e2c7867baa6c31f19ff2f8e8df14385850, I tried to fix this by patching the git dependencies. Unfortunately it seems like this only works if the original dependency source exists, otherwise cargo will error out before applying the patches.
This PR tries to solve the problem by adding a new internal flag to our CLI (not shown in the help output). When this flag is given, the Rust template will use path dependencies instead of git dependencies. By using this flag in our CLI test, we don't depend on the planned release tag anymore.

Merging directly to unblock the other open PRs (#209, #210, #211)


REQUEST

Hi,
I was wondering if it's possible to change the minute indication to words instead of single LED's. Example:
12:00 = es ist nur zwolf uhr
12:01 = es ist zwolf uhr gewesen
12:02 = es ist zwolf uhr gewesen
12:03 = es ist beina funf nach zwolf
12:04 = es ist beina funf nach zwolf
12:05 = es ist nur funf nach zwolf
Excuse my German, haha.
Is there someone who could help me with this, it's a huge request. I know it's maybe a lot of work but I only need some instructions on how to realise this, or anything close :).

Thank you for your question.
Because of my variant of how I implemented the algorithm, it should be quite easy to change the time/string representation for the clock.

The first step would be to find a new layout of the single letters. So adjust the position of letters so that all wished sentences can be displayed (consider here, especially the order of single words). You may use this generator if you can not find a  solution by yourself: https://github.com/im-pro-at/WordClockGenerator/releases

After that, you can change this line to the new layout of single letters:

https://github.com/techniccontroller/wordclock_esp8266/blob/e64c819fdf7e9a6b7734a9048579f596a7dc0707/wordclockfunctions.ino#L2

The only step missing now is the adjusting of the generated sentence. If you want to have it as shown in your question following lines need to be added (I created a branch for it: beina_minutes).

https://github.com/techniccontroller/wordclock_esp8266/blob/420a35f8b17ce70e8c43ce0a399b14ad350d9074/wordclockfunctions.ino#L106-L112
https://github.com/techniccontroller/wordclock_esp8266/blob/420a35f8b17ce70e8c43ce0a399b14ad350d9074/wordclockfunctions.ino#L224-L226
Hope this helps. The hardest task is definitely the first step :)
BR
techniccontroller

Thank you i will try tonight.
I wanna make the clockface in dutch; do i have to change anything to make the clock light up the right leds for different words than in german?

Yes, but the only changes are the new clockStringGerman and the translation of the Strings in this function:
https://github.com/techniccontroller/wordclock_esp8266/blob/420a35f8b17ce70e8c43ce0a399b14ad350d9074/wordclockfunctions.ino#L99
I think the order of the words will not change (Dutch <=> German), so you don't need to rearrange the code there -> just translation.

@techniccontroller Can you tell me how to upload this to my esp? I cant upload it in vsc with platform.io somehow. And i dont know how to work with arduino ide... I dont have any experience with programming..

@pienmatla I am not using platform.io so I will try to explain how you can load the program to ESP8266 with Arduino IDE:

STEP1: Installation of Arduino IDE
First, the latest version of the Arduino IDE needs to be downloaded and installed from here.
STEP2: Installation of ESP8266 Arduino Core
To program the ESP8266 with the Arduino IDE, you need to install the board information first in Arduino IDE. To do that follow the following instructions:

Start Arduino and open the File -> Preferences window.

Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into the Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.

Open Boards Manager from Tools > Board menu and search for "esp8266".

Click the install button.

Don’t forget to select your ESP8266 board from Tools > Board menu after installation (e.g NodeMCU 1.0)

STEP3: Upload a program to ESP8266

Open wordclock_esp8266.ino in Arduino IDE
Connect ESP8266 board with Computer
Select right serial Port in Tools -> Port
Click on the upload button in the Arduino IDE to upload the program to the ESP8266 Module.

STEP4: Wifi-Setup and Upload of webserver files
Please follow the instruction in https://techniccontroller.de/word-clock-with-wifi-and-neopixel/#quickstart to set up the WiFi-Settings and upload the files to the webserver of ESP8266

I hope this tutorial helps you to get Wordclock up and running.
If you have any further questions, don't hesitate to ask.

Hi,
Thank you.
When uploading it says error by compiling for board nodemcu 1.0 esp12e module.
This is the board i use:

Can you post the error message (screenshot)?

Arduino:1.8.19 (Windows Store <IP_ADDRESS>) (Windows 10), Board:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from C:\Users\pmatla\Documents\Arduino\libraries\Adafruit-GFX-Library-master\Adafruit_GrayOLED.cpp:20:
C:\Users\pmatla\Documents\Arduino\libraries\Adafruit-GFX-Library-master\Adafruit_GrayOLED.h:30:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
30 | #include <Adafruit_I2CDevice.h>
  |          ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated.
exit status 1
Fout bij het compileren voor board NodeMCU 1.0 (ESP-12E Module)
Ongeldige bibliotheek gevonden in C:\Users\pmatla\Documents\Arduino\libraries\LittleFS: no headers files (.h) found in C:\Users\pmatla\Documents\Arduino\libraries\LittleFS
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.

Okay, seems there is one more library missing ;) Try to download/copy this one like the other ones:
https://github.com/adafruit/Adafruit_BusIO


[fix] scan .dat File: cannot read needle header at offset

Describe the bug
fix return panic
System Setup
2.99

Expected behavior
fix  re-create the index .idx file
Additional context
volume.lits
          volume id:256  size:257705512  collection:"documents"  file_count:188  delete_count:168  deleted_byte_count:6034807  read_only:true  replica_placement:10  version:3  modified_at_second:1642471870

panic logs
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960240
I0420 14:10:36    82 volume_read.go:131] new entry needle size:98 rest:112
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067997 offset 256960240 size 98 disk_size 128 compressed false
I0420 14:10:36    82 fix.go:54] saved 98 with error <nil>
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960368
I0420 14:10:36    82 volume_read.go:131] new entry needle size:0 rest:16
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067993 offset 256960368 size 0 disk_size 32 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960400
I0420 14:10:36    82 volume_read.go:131] new entry needle size:0 rest:16
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067994 offset 256960400 size 0 disk_size 32 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960432
I0420 14:10:36    82 volume_read.go:131] new entry needle size:0 rest:16
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067995 offset 256960432 size 0 disk_size 32 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960464
I0420 14:10:36    82 volume_read.go:131] new entry needle size:0 rest:16
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067996 offset 256960464 size 0 disk_size 32 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960496
I0420 14:10:36    82 volume_read.go:131] new entry needle size:0 rest:16
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067997 offset 256960496 size 0 disk_size 32 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960528
I0420 14:10:36    82 volume_read.go:131] new entry needle size:228 rest:248
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>888067984 offset 256960528 size 228 disk_size 264 compressed false
I0420 14:10:36    82 fix.go:54] saved 228 with error <nil>
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset 256960792
I0420 14:10:36    82 volume_read.go:131] new entry needle size:-1754292226 rest:-1754292200
I0420 14:10:36    82 fix.go:51] key<PHONE_NUMBER>3111895790 offset 256960792 size -1754292226 disk_size -1754292184 compressed false
I0420 14:10:36    82 fix.go:56] skipping deleted file ...
I0420 14:10:36    82 volume_read.go:124] ==> new entry offset -1497331392
F0420 14:10:36    82 fix.go:125] scan .dat File: cannot read needle header at offset -1497331392: readat /data/documents_256.dat: negative offset
goroutine 1 [running]:
github.com/chrislusf/seaweedfs/weed/glog.stacks(0x0)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:767 +0x8a
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).output(0x457b640, 0x3, 0xc0005ba000, {0x36f7b94?, 0xc000921d18?}, 0x1?, 0x0)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:718 +0x3ab
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).printf(0x7fff30538499?, 0x2?, {0x29c1b66, 0x12}, {0xc000921d18, 0x1, 0x1})
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:656 +0x110
github.com/chrislusf/seaweedfs/weed/glog.Fatalf(...)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:1149
github.com/chrislusf/seaweedfs/weed/command.doFixOneVolume({0x7fff30538499, 0x6}, {0xc00013fac0?, 0x40?}, {0xc00013fac0, 0x12}, 0x100)
	/Users/tochka/GolandProjects/seaweedfs/weed/command/fix.go:125 +0x1d7
github.com/chrislusf/seaweedfs/weed/command.runFix(0x455a898?, {0xc00004c0d0?, 0x1, 0x3?})
	/Users/tochka/GolandProjects/seaweedfs/weed/command/fix.go:106 +0x48d
main.main()
	/Users/tochka/GolandProjects/seaweedfs/weed/weed.go:81 +0x383

very likely this .dat file content is already corrupted around offset 256960792.

very likely this .dat file content is already corrupted around offset 256960792.

file size 261632248
/data # ls -l *256*
-rw-rw-r--    1 root     99       261632248 Apr 12 02:02 signator-documents_256.dat

Judging by the file size and offset, there are 4,671,456 bytes left where there may be records.
As far as I understand, the needle header turned out to be incorrect and you can try to skip this header and continue reading the file until you find the end of the data with the next needle header.

it looks like broken files at the time of interrupted replication

I0901 07:42:32.682844 volume_read.go:180 ==> new entry offset 1683048
I0901 07:42:32.682856 volume_read.go:187 new entry needle size:-1415995074 rest:-1415995048
I0901 07:42:32.682866 fix.go:51 key<PHONE_NUMBER>556466321 offset 1683048 size -1415995074 disk_size -1415995032 compressed false
I0901 07:42:32.682877 fix.go:56 skipping deleted file ...
I0901 07:42:32.682891 volume_read.go:180 ==> new entry offset -1414311984
F0901 07:42:32.682963 fix.go:125 scan .dat File: cannot read needle header at offset -1414311984: readat /data/allo-json_95.dat: negative offset
goroutine 1 [running]:
github.com/seaweedfs/seaweedfs/weed/glog.stacks(0x0)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:766 +0x89
github.com/seaweedfs/seaweedfs/weed/glog.(*loggingT).output(0x3eedc20, 0x3, 0xc000380070, {0x324eee0?, 0xc0005cdd18?}, 0x1?, 0x0)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:717 +0x3aa
github.com/seaweedfs/seaweedfs/weed/glog.(*loggingT).printf(0x7ffd6db7f158?, 0x2?, {0x2636300, 0x12}, {0xc0005cdd18, 0x1, 0x1})
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:655 +0x10f
github.com/seaweedfs/seaweedfs/weed/glog.Fatalf(...)
	/Users/tochka/GolandProjects/seaweedfs/weed/glog/glog.go:1148
github.com/seaweedfs/seaweedfs/weed/command.doFixOneVolume({0x7ffd6db7f158, 0x6}, {0xc0005f7030?, 0x40?}, {0xc0005f7030, 0x9}, 0x5f)
	/Users/tochka/GolandProjects/seaweedfs/weed/command/fix.go:125 +0x1d7
github.com/seaweedfs/seaweedfs/weed/command.runFix(0x3ecf578?, {0xc0000bc090?, 0x1, 0x1?})
	/Users/tochka/GolandProjects/seaweedfs/weed/command/fix.go:106 +0x48d
main.main()
	/Users/tochka/GolandProjects/seaweedfs/weed/weed.go:81 +0x38c
/data # ls -l /data/allo-json_95.dat
-rw-rw-r--    1 root     99         1728088 Apr  8 12:24 /data/allo-json_95.dat

@chrislusf  Can I add a skip error parameter? So that fix can save the resulting idx file from what has already been read from the dat file.
F1025 16:34:56.324267 fix.go:129 scan .dat File: cannot read needle header at offset -407646224: readat /data/registry_1090.dat: negative offset
goroutine 1 [running]:
github.com/seaweedfs/seaweedfs/weed/glog.stacks(0x0)
	/go/src/github.com/seaweedfs/seaweedfs/weed/glog/glog.go:768 +0x89
github.com/seaweedfs/seaweedfs/weed/glog.(*loggingT).output(0x3fb7fc0, 0x3, 0xc0005d6000, {0x32f5255?, 0xc0007bfce8?}, 0x1?, 0x0)
	/go/src/github.com/seaweedfs/seaweedfs/weed/glog/glog.go:719 +0x3aa
github.com/seaweedfs/seaweedfs/weed/glog.(*loggingT).printf(0x7ffd614d303c?, 0x2?, {0x26a62be, 0x12}, {0xc0007bfce8, 0x1, 0x1})
	/go/src/github.com/seaweedfs/seaweedfs/weed/glog/glog.go:657 +0x10f
github.com/seaweedfs/seaweedfs/weed/glog.Fatalf(...)
	/go/src/github.com/seaweedfs/seaweedfs/weed/glog/glog.go:1154
github.com/seaweedfs/seaweedfs/weed/command.doFixOneVolume({0x7ffd614d303c, 0x5}, {0xc0000572f0?, 0x40?}, {0xc0000572f0, 0xf}, 0x442)
	/go/src/github.com/seaweedfs/seaweedfs/weed/command/fix.go:129 +0x1d7
github.com/seaweedfs/seaweedfs/weed/command.runFix(0x3f99438?, {0xc0000500d0?, 0x1, 0x3?})
	/go/src/github.com/seaweedfs/seaweedfs/weed/command/fix.go:110 +0x4f7
main.main()
	/go/src/github.com/seaweedfs/seaweedfs/weed/weed.go:81 +0x38c

Sounds good.


3.1 missing "utils/" when npm install

After npm i, there is no utils in path, app will crash when loading.

Thanks @jchbh-duplicate for the tip, I release a new version fixing that :pray:


Migration fails with HasPostgresExtension.

Hi,
I decided to use Guid as primary key. Added these lines to my db context OnModelCreating:
            builder.HasPostgresExtension("uuid-ossp");

            builder.Entity<ApplicationUser>(b =>
            {
                b.Property(u => u.Id).HasDefaultValueSql("newid()");
            });

            builder.Entity<Role>(b =>
            {
                b.Property(u => u.Id).HasDefaultValueSql("newid()");
            });

SELECT UUID_GENERATE_V4() => tested and it worked via efcore 7 successfully.
Dropped my database via ef command utility.
Deleted my migration folder content in solution.
When running dotnet ef migrations add Initial, I get this exception:
System.InvalidOperationException: The current CSharpMigrationOperationGenerator cannot scaffold operations of type 'Microsoft.EntityFrameworkCore.Migrations.Ope
rations.NpgsqlCreatePostgresExtensionOperation'. Configure your services to use one that can.
   at Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator.Generate(MigrationOperation operation, IndentedStringBuilder builder)
   at CallSite.Target(Closure , CallSite , CSharpMigrationOperationGenerator , Object , IndentedStringBuilder )
   at Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator.Generate(String builderName, IReadOnlyList`1 operations, IndentedStringB
uilder builder)
   at Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator.GenerateMigration(String migrationNamespace, String migrationName, IReadOnlyList
`1 upOperations, IReadOnlyList`1 downOperations)
   at Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder.ScaffoldMigration(String migrationName, String rootNamespace, String subNamespace)
   at Microsoft.EntityFrameworkCore.Design.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Tools.Cli.MigrationsAddCommand.Execute(CommonOptions commonOptions, String name, String outputDir, String context, String st
artupProject, String environment, Action`1 reporter)
   at Microsoft.EntityFrameworkCore.Tools.Cli.MigrationsAddCommand.<>c__DisplayClass0_0.<Configure>b__0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.EntityFrameworkCore.Tools.Cli.Program.Main(String[] args)
The current CSharpMigrationOperationGenerator cannot scaffold operations of type 'Microsoft.EntityFrameworkCore.Migrations.Operations.NpgsqlCreatePostgresExtens
ionOperation'. Configure your services to use one that can.

I use efcore rc2 version and my nuget feedback:
    <add key="AspNetRelease" value="https://www.myget.org/F/aspnetrelease/api/v3/index.json" />
    <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
    <add key="Npgsql" value="https://www.myget.org/F/npgsql-unstable/" />

Is there anybody else having same issue ?

Can you please include the exact version of the Npgsql EFCore provider you're using?

I got the floating
1.Test:
Cleaned my .nuget packages folder and restored when my project.json has these
    "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.0-*",
    "Npgsql.EntityFrameworkCore.PostgreSQL.Design": "1.0.0-*",

Got the same error.
2.Test:
I cleaned my .nuget packages folder and restored when project.json has these:
    "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.0-rc2-release1",
    "Npgsql.EntityFrameworkCore.PostgreSQL.Design": "1.0.0-rc2-release1",

The error has gone :+1:

I am closing this. Thank you!


useSSL option cannot be set to false

https://github.com/CalvertYang/simple-nexmo/blob/master/lib/nexmo.js#L103
_api.useSSL = opts.useSSL || true;

It should be
_api.useSSL = opts.useSSL !== false;

This issue has been fixed.
Thanks.


BTCORE-715 - align fork with origin

upgrade of zetasql dependency
merge some improvements from original repo

With this update comes support for IFNULL and other query options that we use

@denys-klymenko-sigma It says files changed, 5,500+, is that normal?

Yeah, for some reason we vendor all dependencies, sooo it's a lot of files :)
For convenience all "real" changes are in separate commit


Already announced competition had new events added, synchronize throws error

For the other competitions I have admin on, the synchronize button works flawlessly. But with this competition it was imported into WCA Live, had some events added by WCAT after announcement, and now pressing synchronize throws: Cannot read property 'rounds' of undefined
I am of course assuming that events being added is what caused the issue, since it should be the only difference, but if someone in WST could try to replicate this that would be great.
Cheers!

Fixed in a44c4b167674dd6ac6bc8345a2eef30f8a3f9f9a.

Thanks for the quick fix, Jonatan! The affected competition is tomorrow, just tested the synchronization and it worked great :)


/v1/vision/face/register dont work on Windows GPU version

Hello, What a fantastic product!
I`m having issues with the GPU version for windows when it comes to register new faces.
I would love to give som logs but what happens is that the endpoint gets called, and thats that (looks like it hangs)
I`m using/testing the exact same code with docker:latest and docker:x5-cpu and there it works
Sometimes deepstack hangs on Docker aswell and needs a restart, looks for me like its stuck in a loop on one image.
Would it be a thing to ad timeout for the endpoints?

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

@odd86 You can find error logs in file located in C:\Users<your_windows_username>\AppData\Local\DeepStack\logs\stderr.txt.
Find this file and share the log contained.

Hello, was nothing in the logs but I figured out what was the problem.
I’m making a system for face recognition and sometimes need to merge an unknown face into a known face (since it is the same person) in that process some of the images that my script makes is 0bytes (don’t know why) but deepstack should check input and just throw an error or ignore files it doesn’t support. When I upload my .jpg that are 0bytes deepstack hangs forever and runs on 35% of my CPU (AMD 5950x)
I made a solution where I check files before I register face, but maybe an error would be good for other users experiencing deepstack "hangs". My guess its a faulty image in most cases

Hello, was nothing in the logs but I figured out what was the problem.
I’m making a system for face recognition and sometimes need to merge an unknown face into a known face (since it is the same person) in that process some of the images that my script makes is 0bytes (don’t know why) but deepstack should check input and just throw an error or ignore files it doesn’t support. When I upload my .jpg that are 0bytes deepstack hangs forever and runs on 35% of my CPU (AMD 5950x)
I made a solution where I check files before I register face, but maybe an error would be good for other users experiencing deepstack "hangs". My guess its a faulty image in most cases

@OlafenwaMoses I still have this issue and finaly i found the logs:
Process Process-2:
Traceback (most recent call last):
File "C:\DeepStack\intelligencelayer\shared\face.py", line 186, in face
det = detector.predict(img, 0.55)
UnboundLocalError: local variable 'img' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\DeepStack\intelligencelayer\shared\face.py", line 253, in face
except UnidentifiedImageError:
NameError: name 'UnidentifiedImageError' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 297, in _bootstrap
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 99, in run
File "C:\DeepStack\intelligencelayer\shared\face.py", line 274, in face
SharedOptions.db.set(req_id, json.dumps(output))
UnboundLocalError: local variable 'output' referenced before assignment

@OlafenwaMoses I still have this issue and finaly i found the logs:
Process Process-2:
Traceback (most recent call last):
File "C:\DeepStack\intelligencelayer\shared\face.py", line 186, in face
det = detector.predict(img, 0.55)
UnboundLocalError: local variable 'img' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\DeepStack\intelligencelayer\shared\face.py", line 253, in face
except UnidentifiedImageError:
NameError: name 'UnidentifiedImageError' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 297, in _bootstrap
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py", line 99, in run
File "C:\DeepStack\intelligencelayer\shared\face.py", line 274, in face
SharedOptions.db.set(req_id, json.dumps(output))
UnboundLocalError: local variable 'output' referenced before assignment

Thanks for reporting this @odd86 , this will be fixed in the next update.

Thanks for reporting this @odd86 , this will be fixed in the next update.

@odd86 , this has been fixed here https://forum.deepstack.cc/t/deepstack-february-2021-release-fixes-for-jetson-windows-native-and-docker-versions/724


Added GraphQL Loader

:)

hmm well there's even .pug support in the default config, I think it's ok to add .gql support since it's used a lot and doesn't introduce any dependencies.

Hmm yeah I don't think it should be in core.

@egoist pug support is included for the .vue files.

@Akryum I mean the dependency is not included in vue-cli 😄

But not in cli-service either so it won't work without another step from the user.


Problems with the HDLethalCompany

The ModelReplacementAPI causes HDLethalCompany's FOLIAGE TOGGLE to not work
FOLIAGE TOGGLE takes effect when the ModelReplacementAPI is disabled
use MOD：
-ModelReplacementAPI
-HDLethalCompany

Thanks for the report.
I have looked into the source code for HDLethalCompany and see the root of the issue and a possible solution.
At the moment I do not have time to work on this mod, and once I have time again there are more pressing issues I intend on addressing first, so I cannot say when this will be fixed.

HDLethalCompany is already Deprecated!


vendor: update github.com/sirupsen/logrus to v1.5.0

I have recently encountered an instance of the following issues running in Cilium v1.6.4 running in a customer's cluster:

https://github.com/sirupsen/logrus/issues/1003
https://github.com/cilium/cilium/issues/8816

2020-04-24T16:30:10.38634175Z  panic: runtime error: invalid memory address or nil pointer dereference
2020-04-24T16:30:10.386806335Z  [signal SIGSEGV: segmentation violation code=0x1 addr=0x6 pc=0x1436b7e]
2020-04-24T16:30:10.386841802Z
2020-04-24T16:30:10.386865795Z  goroutine 130 [running]:
2020-04-24T16:30:10.386884479Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*TextFormatter).needsQuoting(0xc0000d6780, 0x6, 0x1a4, 0x1c)
2020-04-24T16:30:10.386891262Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/text_formatter.go:268 +0x4e
2020-04-24T16:30:10.386898206Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*TextFormatter).appendValue(0xc0000d6780, 0xc00041ba10, 0x2faa800, 0xc000ee4070)
2020-04-24T16:30:10.38690452Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/text_formatter.go:294 +0x6d
2020-04-24T16:30:10.386910689Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*TextFormatter).appendKeyValue(0xc0000d6780, 0xc00041ba10, 0x33ff9a0, 0x6, 0x2faa800, 0xc000ee4070)
2020-04-24T16:30:10.386917674Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/text_formatter.go:285 +0x90
2020-04-24T16:30:10.386923862Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*TextFormatter).Format(0xc0000d6780, 0xc00014c230, 0xc0000d24b0, 0xc001b87b18, 0x1359306, 0x33842c0, 0xc001b87b18)
2020-04-24T16:30:10.387469817Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/text_formatter.go:202 +0xa52
2020-04-24T16:30:10.413555308Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*Entry).write(0xc00014c230)
2020-04-24T16:30:10.413637785Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/entry.go:255 +0x81
2020-04-24T16:30:10.41364715Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.Entry.log(0xc0000d2480, 0xc00041b980, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2020-04-24T16:30:10.413674162Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/entry.go:231 +0x193
2020-04-24T16:30:10.413681447Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*Entry).Log(0xc00014c1c0, 0xc000000004, 0xc001b87ce0, 0x1, 0x1)
2020-04-24T16:30:10.413688708Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/entry.go:268 +0xed
2020-04-24T16:30:10.413715173Z  github.com/cilium/cilium/vendor/github.com/sirupsen/logrus.(*Entry).Info(...)
2020-04-24T16:30:10.414225404Z  	/go/src/github.com/cilium/cilium/vendor/github.com/sirupsen/logrus/entry.go:285
2020-04-24T16:30:10.414277925Z  github.com/cilium/cilium/pkg/endpointmanager.RegenerateAllEndpoints(0xc00041b7d0, 0xc00041b7d0)
2020-04-24T16:30:10.414290567Z  	/go/src/github.com/cilium/cilium/pkg/endpointmanager/manager.go:466 +0x1c1
2020-04-24T16:30:10.414296495Z  main.(*Daemon).policyUpdateTrigger(0xc0003a45a0, 0xc000ee4060, 0x1, 0x1)
2020-04-24T16:30:10.414302346Z  	/go/src/github.com/cilium/cilium/daemon/policy.go:74 +0xe3
2020-04-24T16:30:10.414307707Z  github.com/cilium/cilium/pkg/trigger.(*Trigger).waiter(0xc0006a3860)
2020-04-24T16:30:10.414313525Z  	/go/src/github.com/cilium/cilium/pkg/trigger/trigger.go:210 +0x2d7
2020-04-24T16:30:10.414319442Z  created by github.com/cilium/cilium/pkg/trigger.NewTrigger
2020-04-24T16:30:10.414325351Z  	/go/src/github.com/cilium/cilium/pkg/trigger/trigger.go:133 +0x130

After spending a bit of time digging in, I am pretty confused as to what field might be nil during the call to Entry.Info() because the value being explicitly set as a field in RegenerateAllEndpoints is a string, which to my admittedly dim understanding, cannot take a nil value.
So in the hopes of maybe doing some good I am proposing that the logrus dependency be updated to the latest v1.5.0 which includes this data race fix to Entry.WithFields and this "data bleed" in withContext. I've spent a little bit of time trying to wrap my puny mind around how either of these could lead to the nil pointer dereference above to little avail.
I also found https://github.com/cilium/cilium/commit/78edf46edb3789714f6b0df7d6b41456bb9868c0 in this repository's history and I'm wondering if any Cilium maintainers can speak to whether or not this could prevent the kind of nil pointer dereference shown above (or for that matter if either of the logrus commits I reference above and am hoping to pull in with logrus v1.5.0 could do the trick). Thanks for your consideration!
Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

test-me-please

Coverage decreased (-0.03%) to 44.738% when pulling 512b82e88e953f7f565e2fda88944556833b8d48 on waynr:bump-logrus-to-1.5.0 into fa336bd6d9edcb2c032ab5ce456ca5dd5082b05d on cilium:master.

We have never seen this bug coming back again since we have merged these PRs #10168 and #10192 (which are backported and available since 1.6.7). Please upgrade your Cilium version to a release newer or equal than 1.6.7 to see if you can hit the issue again.

Thanks for the info @aanm! We have work in progress to upgrade all our clusters to 1.7.2 so it sounds like we should be good. I'll be sure to report back with an issue if we do happen to see a recurrence after upgrading.


Lack of workflow documentation for aruba_switch_ssh_cli module?

Hello,
I was investigating leveraging this due to issues relying solely on the base api module to obtain a copy of the running config, specifically using the aruba_switch_ssh_cli. The inventory setup for this is considerably more involved than any other platform we've configured, and I do not see any documentation for the ssh modules for switch (or cx for that matter).
We configured the inventory as directed for the switch branch1, but some questions have arisen.
1: The inventory has us create both host and group vars for these which include the username/password to use for ssh. However the examples in the module itself seem to expect that those be entered. are we able to reference them as "{{ ip }}" "{{ user }}" "{{ password }}" ?
2: Our environment is extremely simple. We do not have large numbers of these switches, they're individual stacks with a single management IP attached to a vlan. Do we need to replicate the mac address named host/group_vars and the specific host, or should we be able to use a standard hosts.yml setup to pull in the inventory for this specific module. While attempting to run a playbook largely copied off of this:
- name: Check current Firmware Version
arubaos_switch_ssh_cli:
ip: "ip of siwtch"
user: "username for authentication"
password: "password for authentication"
# command, can also be a list with mode changes
show_command: ["show flash"]
register: ssh_output
It is seeing the inventory hostname as the mac address but is not resolving that back to an IP, and is ignoring the IP specified in the playbook. Due to lacking an example or documentation I'm not clear how we need to be pulling in the info from the ./group_vars ./host_vars and ./inventory/hosts.yml files.

Hi @erishiamu !
The documentation you're referring to is to replicate the workflow we provide not the module itself. In order to use the modules you don't have to set up the inventory as it is in this repository. I would suggest following this article that explains how to use the modules solely: How to install/use CLI modules and tasks for Switch and CX in Ansible


New versions (<IP_ADDRESS>/7) crashes

Hello!
v.0.9.99.[67] throws a core-dump.
v<IP_ADDRESS> works fine
I've tried the x86 and the x86_64 zip releases.
System:
 Distro: Linux Mint 21.3 Virginia
   base: Ubuntu 22.04 jammy
 Kernel: 5.15.0-126-generic x86_64
Desktop: Cinnamon 6.0.4
        tk: GTK 3.24.33
        wm: muffin vt: 7
        dm: LightDM 1.30.0

Machine:
Type: Laptop System: ASUSTeK product: ZenBook UX431DA_UM431DA v: 1.0
Mobo: ASUSTeK model: UX431DA v: 1.0
UEFI: American Megatrends
   v: UX431DA.300
date: 07/16/2019

Error in kern.log:
traps: vtm[3385393] trap divide error ip:7fa6978aebb9 sp:7ffcc7f80e00 error:0 in libc.so.6[7fa697761000+195000]

Execution output.
If you need anything else, just ask.
❯ vtm
  os: Terminal type: xterm-256color
  os: Color mode: xterm truecolor
  os: Mouse mode: VT-style
[1]    3385995 floating point exception (core dumped)  vtm

I've tried with three terminals (qterminal, wezterm and kitty), just in case...

Thanks, I'll try to reproduce it and fix it.

I can't reproduce this issue on a clean install of Linux Mint 21.3. Could you please provide your vtm settings.xml or $VTM_CONFIG envvar value if any of them are used?

I can't reproduce this issue on a clean install of Linux Mint 21.3. Could you please provide your vtm settings.xml or $VTM_CONFIG envvar value if any of them are used?

~/.config/vtm/settings.xml
/etc/vtm/settings.xml

I have none of these. Which I suppose means it is using the defaults. :-)

I fixed a couple of places where this error could occur. Could you try the release v<IP_ADDRESS>? It's unlikely, but maybe this is it.

There are also cases like this:
https://randomascii.wordpress.com/2012/04/21/exceptional-floating-point/

There have been various instances in the past (printer drivers from a manufacturer who shall not be named) that would enable floating-point exceptions and leave them enabled, meaning that some perfectly legitimate software would start crashing after calling into third-party code (such as after printing). Having somebody’s hapless code crash after calling a function in your code is a horrible experience, so be particularly careful if your code may end up injected into other processes. In that situation you definitely need to not leave floating-point exceptions enabled when you return, and you may need to be tolerant of being called with floating-point exceptions enabled.

Tried v<IP_ADDRESS> and it still crashes. :-(

Well, I will investigate further.


Issues running the address-index-data project -

Steps followed:
Cloned master branch -> git clone --branch master https://github.com/ONSdigital/address-index-data
Ran ‘set clean assembly’ on the address-index-data folder (assembly was successful but with WARNs while Merging)
Created an application.conf with the following:
addressindex.elasticsearch.nodes="IP of my Elasticsearch"
addressindex.elasticsearch.pass="password"
addressindex.elasticsearch.user="elastic"
In /batch/build.sbt,
I set val localTarget: Boolean = true  since I needed a single jar
"org.elasticsearch" %% "elasticsearch-spark-20" % "8.7.1" to go with my ElasticSearch version
Ran the following
java -Dconfig.file=application.conf -jar batch/target/scala-2.11/ons-ai-batch-assembly-0.0.1.jar throws exceptions.
I am pasting parts of the dump below:
_23/06/06 11:51:21 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
23/06/06 11:51:24 WARN Persistence: Error creating validator of type org.datanucleus.properties.CorePropertyValidator
ClassLoaderResolver for class "" gave error on creation : {1}
org.datanucleus.exceptions.NucleusUserException: ClassLoaderResolver for class "" gave error on creation : {1}
at org.datanucleus.NucleusContext.getClassLoaderResolver(NucleusContext.java:1087)
at org.datanucleus.PersistenceConfiguration.validatePropertyValue(PersistenceConfiguration.java:797)
at org.datanucleus.PersistenceConfiguration.setProperty(PersistenceConfiguration.java:714)
at org.datanucleus.PersistenceConfiguration.setPersistenceProperties(PersistenceConfiguration.java:693)
at org.datanucleus.NucleusContext.(NucleusContext.java:273)
at org.datanucleus.NucleusContext.(NucleusContext.java:247)
at org.datanucleus.NucleusContext.(NucleusContext.java:225)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.(JDOPersistenceManagerFactory.java:416)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:301)
Caused by: java.lang.NullPointerException
at org.datanucleus.NucleusContext.getClassLoaderResolver(NucleusContext.java:1079)
... 135 more
Nested Throwables StackTrace:
java.lang.NullPointerException
at org.datanucleus.NucleusContext.getClassLoaderResolver(NucleusContext.java:1079)
at org.datanucleus.PersistenceConfiguration.validatePropertyValue(PersistenceConfiguration.java:797)
at org.datanucleus.PersistenceConfiguration.setProperty(PersistenceConfiguration.java:714)
at org.datanucleus.PersistenceConfiguration.setPersistenceProperties(PersistenceConfiguration.java:693)
at org.datanucleus.NucleusContext.(NucleusContext.java:273)
at org.datanucleus.NucleusContext.(NucleusContext.java:247)
at org.datanucleus.NucleusContext.(NucleusContext.java:225)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.(JDOPersistenceManagerFactory.java:416)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:301)
.........
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at javax.jdo.JDOHelper$16.run(JDOHelper.java:1965)
at java.security.AccessController.doPrivileged(Native Method)
at javax.jdo.JDOHelper.invoke(JDOHelper.java:1960)
.......
23/06/06 11:51:24 WARN HiveMetaStore: Retrying creating default database after error: Unexpected exception caught.
javax.jdo.JDOFatalInternalException: Unexpected exception caught.
at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1193)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
......
23/06/06 11:51:24 WARN Hive: Failed to access metastore. This class should not accessed in runtime.
org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.ql.metadata.Hive.getAllDatabases(Hive.java:1236)
at org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:174)
at org.apache.hadoop.hive.ql.metadata.Hive.(Hive.java:166)
.......
Caused by: org.datanucleus.exceptions.NucleusUserException: Persistence process has been specified to use a ClassLoaderResolver of name "datanucleus" yet this has not been found by the DataNucleus plugin mechanism. Please check your CLASSPATH and plugin specification.
at org.datanucleus.NucleusContext.(NucleusContext.java:283)
at org.datanucleus.NucleusContext.(NucleusContext.java:247)
at org.datanucleus.NucleusContext.(NucleusContext.java:225)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.(JDOPersistenceManagerFactory.java:416)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:301)
at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:202)
... 123 more_

I tried switching from Java 8 to 11 and back. At least it builds with Java 8.
Tried using "bintray-spark-packages" at "https://repos.spark-packages.org", instead of "bintray-spark-packages" at "https://dl.bintray.com/spark-packages/maven/".
Tried to add "org.apache.hive" %% "hive-common" % "2.3.3" as a dependency, as some blogs seemed to suggest, but didn't know which repo to find it from.

Scala and Java version as follows:
Scala code runner version 2.12.4 -- Copyright 2002-2017, LAMP/EPFL and Lightbend, Inc.
openjdk version "1.8.0_362"

The 'develop' branch seems to follow later versions of all software, and that is the recommendation in https://github.com/ONSdigital/address-index-data/issues/197 . Is the 'develop' branch the correct and stable one? though it seems to be way ahead of master.


Numeric type Improvements

The specification for Concerto has Integer (32bits) and Long (64bits): https://docs.accordproject.org/docs/model-properties.html#primitive-types
The current implementation supports neither. Integer and Long are treated interchangeably and internally represented as JavaScript numbers. Those are safe only up to MAX_SAFE_INTEGER which is 2^53-1 instead of 2^31-1 or 2^63-1.
Questions

Should we try and implement this specification.
Should we revise this, replace by a notion of big integer (then leave the behaviour to implementation -- this could be using the new big int for recent javascript implementations, be listed as safe only up to a MAX_SAFE number for some platforms?).
Should we extend support to decimal numbers (or should we implement those on top of a big int?). Usecase: monetary amounts.

Hey @jeromesimeon, There are a number of approaches to implementing  Integer, Long.. Really, i would be looking at the Knuth algorithms. If I was being very naive and disinterested in performance, I would write the bit level algorithms directly. But they really would require lots of testing...

This is a nice description of how Avro deals with this: https://github.com/apache/avro/blob/master/lang/js/doc/Advanced-usage.md


GitHub changelog removes line breaks

When running the command, everything works well, but the Changelog.md section for the version is displayed without the line breaks.
Please view the following link:
https://github.com/leoafarias/fvm/releases/tag/2.0.0
When digging into the code, it seems that this was done by design. (or maybe I am missing something)
https://github.com/google/dart_cli_pkg/blob/master/lib/src/github.dart#L190
Before making any changes to this, I wanted to make sure this change can be done so it's formatted correctly.

GitHub actually has subtly different Markdown parsing that it uses for rendering Markdown files and for release notes. In files, newlines within paragraphs are ignored, but in release notes (as well as issues, comments, and a number of other places) newlines within paragraphs are converted to user-visible line breaks. To ensure that the CHANGELOG file's formatting is preserved, we convert newlines to spaces before passing it as release notes.
That said, we shouldn't strip newlines if they're before lists. Do you want to take a crack at fixing the issue?

@nex3 just before jumping in on this, I was looking through the sass release notes, and seems the problem does not happen there. My markdown linter seems to replace * for - do you think the issue has to do with the list character?

No, I think the difference is that we include full blank lines between each bullet point.


INVALID_ARGUMENT: No TTS voice matching the TTS request. Please correct the voice selection params and try again.

Hi, I am developing an app that use gTTS library for nodejs that run in this way. I have a text. I split in phrases and send one by one. I receive this fallowing issues:
(1) Error: 3 INVALID_ARGUMENT: No TTS voice matching the TTS request. Please correct the voice selection params and try again.

(2) Code: 2 , details: 'Internal error' Mode details above
{ Error: 2 UNKNOWN: Internal error.
    at Object.exports.createStatusError (/Users/bogdan/Work/NodeJS/abigail/backend/node_modules/grpc/src/common.js:87:15)
    at Object.onReceiveStatus (/Users/bogdan/Work/NodeJS/abigail/backend/node_modules/grpc/src/client_interceptors.js:1188:28)
    at InterceptingListener._callNext (/Users/bogdan/Work/NodeJS/abigail/backend/node_modules/grpc/src/client_interceptors.js:564:42)
    at InterceptingListener.onReceiveStatus (/Users/bogdan/Work/NodeJS/abigail/backend/node_modules/grpc/src/client_interceptors.js:614:8)
    at callback (/Users/bogdan/Work/NodeJS/abigail/backend/node_modules/grpc/src/client_interceptors.js:841:24)
     code: 2,
     metadata: Metadata { _internal_repr: {} },
     details: 'Internal error.',
     note: 'Exception occurred in retry method that was not classified as transient' } }

The first error is very strange because the voiceConfig remain the same (is a function with a lop and the only parameter that is changed is the phrase)
The second issue i don't know to solve.
Yesterday the API works ok.
Environment details

OS:
Mac OS
Node.js version:
8.11.3
npm version:
6.4.1
@google-cloud/text-to-speech version:
0.3.0

Steps to reproduce
Just run multiple time .
Following these steps will guarantee the quickest resolution possible.
Thanks!

Pinging @googleapis/ml-apis for assistance on this one :)

Hi, just to get more context on this, you said you're splitting your text into multiple phrases?
Is that like a single word per request?
Are you sending more that 300 requests or are they all happening simultaneously?
About how many requests are you sending until you start seeing this issue?


fix(helm): Use correct default hostnames for postgres and redis

SUMMARY
Render the correct hostname for the default postgres and redis services.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Secret resource:

Service resources:

TESTING INSTRUCTIONS
helm upgrade --install my-release ~/dev/github.com/apache/superset/helm/superset --namespace default

helm upgrade --install my-release ~/dev/github.com/apache/superset/helm/superset --namespace default --set nameOverride="foo" --set fullnameOverride="bar"

ADDITIONAL INFORMATION

[x] Has associated issue: Fixes #24218
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Missing version bump and readme rebuild

@craig-rueda this has been done now.

Looks like there's still a linter error

Good to go now @craig-rueda


websocketpp addition

I added websocketpp to hunter together a simple example.
You can see the ci results here and here.
(see issue: #398)

Ups. I see that currently I only install the includes (this is an include only library). But It has ZLIB, OpenSSL and Boost dependency. They were used only during example building, but in philosophy of hunter I think it should be better to add these libraries as linked libraries to the interface target. In this it will be enought to link the final code only to websocketpp.
So I think you can wait for this fix in the hunter-package/websocketpp package.

New wiki page: https://github.com/ruslo/hunter/wiki/pkg.websocketpp

But It has ZLIB, OpenSSL and Boost dependency. They were used only during example building, but in philosophy of hunter I think it should be better to add these libraries as linked libraries to the interface target

Does websocketpp itself depends on these libraries or the examples depends on them? If just examples then you should add something like WEBSOCKETPP_BUILD_EXAMPLES=OFF.

New CI branch:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.400
https://travis-ci.org/ingenue/hunter/builds/124876307


Incompatibility with recompose withPropsOnChange, maybe due to hoisting getDerivedStateFromProps

Latest recompose introduced getDerivedStateFromProps and it causes issues with withTeme decorator.
Here is a simple example:
https://github.com/bkniffler/fela-recompose-issue
Maybe we could have https://github.com/mridgway/hoist-non-react-statics instead of the custom hoisting function?

Did you try if that actually fixes the problem? If so, would you mind sending a PR to alter the current code? (I'd not like to use hoist-non-react-statics, as we also serve Preact and Inferno, which don't need all the settings over there)


ciao-controller unit test improvements

This PR contains a few changes to reduce the flakiness and errors seen from the ciao-controller unit test.
The main change removes the sleeps from the test cases in controller_test.go replacing them with a mechanism that wraps ciao-contoller's client with code that uses channels to signal that commands/errors/events have been received.

@kaccardi needs to review this.
Any thoughts on which bug # i should associate the main fix with?

Coverage increased (+0.05%) to 64.785% when pulling e79f4e8c94895eaa4ddaa396d4b096ebee7c201a on rbradford:unit-test-tweaks into e7e35eb09db9e1dfabb11ecd2cf5613f2d4aedb0 on 01org:master.

I think #83

Oh nice observation on https://github.com/01org/ciao/pull/877#pullrequestreview-10568963 ...I'm quite happy to see a bunch of '&' and '*' go away.

@markdryan @tpepper Updated & feedback addressed.

Coverage increased (+0.06%) to 64.83% when pulling 663cb844df39085ccf18cc6ce879a182cbfad054 on rbradford:unit-test-tweaks into f97db51b9de7278ed8ffdb5cfc1dd1e4f0995325 on 01org:master.

Coverage increased (+0.1%) to 64.872% when pulling 663cb844df39085ccf18cc6ce879a182cbfad054 on rbradford:unit-test-tweaks into f97db51b9de7278ed8ffdb5cfc1dd1e4f0995325 on 01org:master.

This PR also relates to issue #403

@tpepper Good plan, I thought that too.

I think this PR is just waiting on lgtm from @kaccardi

lgtm.


feat: update application types

Description

Rename server to server to private
Merge elements with public

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.32.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat(analytics): 1631 Add analytics

https://github.com/chanzuckerberg/single-cell-data-portal/issues/1631
Reviewers

This PR adds 33 events to track via Plausible!

Tracked buttons are circled:

Changes

add
remove
modify

Merging first so we can start testing analytics! Please still review thank you 🙏 !


Remove lumber as a concept from the map

[ ] Remove lumber harvesting ability from all workers
[ ] remove lumber cost from all units
[ ] remove lumber cost from all buildings
[ ] remove lumber cost from all upgrades
[ ] remove lumber rewards from quests
[ ] change objectives that require researching a lumber upgrade
[ ] change trading posts ability
[ ] remove shredders

@SebastianTanoni Want me to do the "remove lumber cost from all x" bit? I can automate it.

@YakaryBovine that would be awesome, there works be literally 0 exceptions

Spin off at #2748

@SebastianTanoni Something else to consider... The real opportunity here is that trees could become destructibles instead of doodads. Doodads are way more performant. Obvious downside is siege weapons not being able to destroy them, but maybe there could be special trees that can be (or just use some other object for walls that need to be destroyed).

@YakaryBovine absoulutely, although that would be a momumental amount of work, considering there are 10k trees or so, but yes!!

Closed by #2767


BDD on CI

Description
BDD on CI
Type of change

Configuration update

Testing steps
Let's look at CI.
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

/retest


Game not counting down

Game not counting down 14:36:53 UTC Thursday, August 9, 2018:
Total: 0
Block Left: 0 ≈ 0:0:0

Game not start that time, u can play right now.
https://qtum.contract.games

Because the first round was over at the time. Now we have released the second round , just enjoy it !


Issues with 4 bar

Problem with mechanical design
The 4 bar is bent
Proposed solution
Rebuild the 4 bar

The 4 bar has been rebuilt, along with the front claw.


⚠ Bofrost.hr has degraded performance

In 1f46662, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 2961 ms

Resolved: Bofrost.hr performance has improved in 3bc05a3 after 1 day, 4 minutes.


video_foreground example has bug

There is a small bug in the video_foreground example.
In the for loop that reconstructs the video, the line v = M(i,:); seems to have been added from one of the other examples. Commenting out this line fixes the issue.

Great catch, thanks a lot, @rizwindu! Deleted the line.


[FEATURE] Make raw JSON REST requests to OpenSearch

Is your feature request related to a problem?
Coming from https://github.com/opensearch-project/opensearch-clients/issues/62, add support for making raw JSON requests.
What solution would you like?
Add a high level DSL, e.g. client.get and client.post.

@Xtansia , I'll like to pick this up. How do you suppose I go about this in a way that aligns with the long term vision of the project

@samuelorji I would say a first step is to investigate and document what's already possible in this style in the client, for example we currently accept arbitrary JSON for all the defined endpoints, so maybe try to understand how one of the existing operations works. Then you can share your findings here in the issue, and determine an appropriate design that is similar to the existing ones, but allows setting an arbitrary path and http method etc. It should still use a similar "transport" call that the existing ones use like https://github.com/opensearch-project/opensearch-rs/blob/94e7b724b957259f4268151fe2d08dd5d2a3eb25/opensearch/src/root/mod.rs#L4385C5-L4438C6

It's already possible to do this with the rust client with
use opensearch::OpenSearch;
use opensearch::http::headers::HeaderMap;
use opensearch::http::Method;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = OpenSearch::default();
    let body = b"{\"query\":{\"match_all\":{}}}";
    let response = client
        .send(
            Method::Post,
            "/_some_api_that_may_exist",
            HeaderMap::new(),
            None,
            Some(body.as_ref()),
            None
        )
        .await?;

    let string_response = response.text().await?;

    Ok(())
}

This can send a raw request to any endpoint, and you can use the *Parts enums to build a valid path to a known endpoint e.g. for search to a specific index
use opensearch::{OpenSearch, SearchParts};
use opensearch::http::headers::HeaderMap;
use opensearch::http::Method;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = OpenSearch::default();
    let body = b"{\"query\":{\"match_all\":{}}}";
    let response = client
        .send(
            Method::Post,
            SearchParts::Index(&["tweets"]).url().as_ref(),
            HeaderMap::new(),
            None,
            Some(body.as_ref()),
            None,
        )
        .await?;

    Ok(())
}

If you're wanting to support raw JSON strings for each concrete API builder that accepts JSON, the api_generator can be updated to introduce a new function, similar to body(...), that accepts a string slice and returns some API builder such as Search<'a, 'b, B>, where B implements Body trait (which String and &str do); the body(...) function accepts T where T implements serde's Serialize and returns Search<'a, 'b, JsonBody<T>>, so is intentionally constrained, but the underlying types support any Body.

Will add this to the user guide

Closing via https://github.com/opensearch-project/opensearch-rs/pull/196.

@dblock Shouldn't this stay open as we want a cleaner high-level wrapper as well?

I've been going back and forth. I think for this client it should be closed, client.send is perfectly fine for an interface, not sure we'd benefit much from a client.post or client.get, but reopen if you feel otherwise!


Alertmanager retention description incorrect

What did you do?
Set the alertmanager spec retention to 7d
What did you expect to see?
The alertmanager pod to start up with a 7 day retention parameter. According to the spec this should be allowed: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#alertmanagerspec
What did you see instead? Under which circumstances?
The pod crashlooping with
alertmanager: error: time: unknown unit d in duration 170d, try --help

The accepted units are limited to (ms|s|m|h|)
Prometheus Operator version:
v0.25.0
Opened an issue https://github.com/prometheus/alertmanager/issues/1605 since this seems like an omission in alertmanager

Yes you are totally right. Would you like to adapt our documentation?


Can't use full LU import syntax

Describe the bug
I'm importing intents and utterances from linked LU files, but I can't use the full syntax as listed here: https://docs.microsoft.com/en-us/azure/bot-service/file-format/bot-builder-lu-file-format?view=azure-bot-service-4.0#local-file-references.
I want to be able to use this pattern to pull only the utterances from a linked file by intent:
# Cancel
- [Cancel](./general.en-us.lu#Cancel)

But I get the following error: "L0:0 - L0:0 Cannot read property 'segment' of undefinedRefer to the syntax documentation here."
I think it may be related to the link not being a valid file path for the navigation window.
Version
1.3
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Additional context

@zhixzhan CLI fix is merged. You can switch to the new nightly build of bf-cli to resolve this issue in composer.

@zhixzhan CLI fix is merged. You can switch to the new nightly build of bf-cli to resolve this issue in composer.

Addressed in #5639


tlsx as library documentation

Please describe your feature request:

[x] tlsx as library example
[x] integration tests for library code

New Changes

openssl bug fix missing cipher in output
added validation to library functions
removed deprecated https://github.com/pkg/errors in favour of utils/errors


new feature: specifiy --path multiple times (no API change)

As an alternative to #32 without changing the API

Anything I could possibly do about those failed checks? Looks like a problem originating from the checked in .pdm.toml and the github build cluster which just don't match.

No, it's my mistake. I will fix that


hope on your help with miner

Hello!TY for open source soft!
I faced the fact that miner does not start on my computer and the worker does not appear in the pool, I looked into similar problems and used MinerCheck , but it gave no results. I have rx 580 with 4GB and use ETC mining in settings. Ty in advance an hope on your help. What am i doing wrong?
translated with the help of a translator

try to run 'checker' with the administartion

Yes, first run the checker with administrator and see if it appears, since you have "Stealth" enabled it won't show any VRAM usage in the Task Manager.

check it in the 'MSI Afterburner'

It was 300 300 0 39 before running exe, and now what i see, this means that the miner is working?

Click the monitor looking thing on the left and you can see the GPU and VRAM usage.

That is? is that working?minercheck still empty

Try disabling "Install" and then build a new one, then try starting that miner and see if it appears in MinerCheck.

Enable "DEBUG" in the "Advanced Options" to see if you get any error messages.

There was no error after running exe file with enable DEBUG or the error is saved somewhere?

No if there is no error then it should work fine, your drivers are quite new so they should work fine though you can also try updating them. Alternatively you can send the file here and I'll see if it works.

exe files not supported

ZIP it first.

Desktop.zip

That runs fine for me, can you download and start Process Hacker and then search for --cinit in the top right?

Like that?

Yeah, seems like it isn't running then, can you also search for sihost?

Yes, there is such

That one is the normal Windows one, there is no sihost32/sihost64 which is the watchdog. Can you send the one without "Install" enabled (the one you sent had "Install")?.

Yes, first be with [install]
That ZIP without [install]
Desktop.zip

Have you also tried running it that on your computer?

yes, minercheck is empty

Hmm, it should work fine, can you try updating your AMD drivers?

That is, the file is launched on your pc and the settings are correct?
I'll install new ones drivers now

TY UNAM!

Yes that looks like it works, if you close down Task Manager and Process Hacker and check MSI Afterburner it should show GPU usage there.

Yes, in afterburner I see a load and an increase in temperature
Thank you very much for help and soft, have a good day/evening

No problem, good luck with the mining.


Ignore project dependencies from artifact file resolution

fixes #69 , this error was specifically cause by some sort of weird overlap of dependencies from projects. This value is only used for external maven artifact resolution anyway, so just ignore project deps.

Although I think we can just move this filter outside of DocumentBuilder to when we're feeding it in. I'll adjust after #72 goes in.


Images are not loading

My internet connection was on but the Pokemon images were not loading, though I waited for a long time .

sometimes internet connection can be slow and in that case images will timeout and will not load. i am getting the imges from an api and it might be little unstable sometimes. but it should be able to load the images consistently


Time Format Changing for each dexter run

Hi Team,
We are using Dexter <IP_ADDRESS> to extract AppD events data and feeding it to a analytics tool. We noticed the Date/Time format is not constant for every run, it keep changing and this is breaking our scripts.
We updated the ver to <IP_ADDRESS> and now we are seeing a new format. Is there a way we can standardize the date/time format?
Example:
9/8/2020 1:14:55 AM (<IP_ADDRESS> ver)
09/02/2020 00:20:55 (<IP_ADDRESS> ver)
2020-09-08T02:34:55.0020000+00:00 (<IP_ADDRESS> ver)
Thanks,
Saikiran Vala

All CSVs should now be using https://en.wikipedia.org/wiki/ISO_8601 format (2020-09-08T02:34:55.0020000+00:00) which should be compatible with any ETL software pipelines.


Preset and file views for iOS

Ready to send us a pull request? Please make sure your request is based on the develop branch of the repository as master only holds stable releases.

Thank you!


Add Eventing reconciler pre-action to support upgrading Kyma 1.X to Kyma 2.X

Description
Add Eventing reconciler pre-action to support upgrading Kyma 1.X to Kyma 2.X.
Related issue(s)

https://github.com/kyma-project/kyma/issues/10579
https://github.com/kyma-project/kyma/pull/12189

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/retest-required

/retest-required

/retest


Acane Fem functions

Idea is to create common functions base between modules and to optimize modules this way.

Thank you @grospelliergilles  for the reviews, I will keep your suggestions in a Todo list, definitely what you suggest will be helpful in future.


Deprecate tqdm args + slight logic tweaks

What does this PR do?
This PR is a follow-up to https://github.com/huggingface/accelerate/pull/2654, specifically it:

Writes a new test to check that the deprecation is flagged
Changes the logic slightly to check if users are passing in disable explicitly as a kwarg. We should be respecting this if so

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[x] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@SunMarc or @BenjaminBossan

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@BenjaminBossan re:

Would it make sense to make main_process_only a keyword-only argument?

Probably, but I don't like shoving it in **kwargs where it can't be found on the hover etc. Happy medium here

Do we want to have a # TODO remove in accelerate v0.33.0 comment or something like this? Or how else do you grep for deprecations before a release?

A bit easier to do it that way, yes. I tend to try and quickly grep for "deprecate" before a release

Would it make sense to make main_process_only a keyword-only argument?

def tqdm(*args, main_process_only: bool = True, **kwargs)

Oh I'm stupid, it's already kw only, can't pass it as a positional kw anymore :D


a bug about vmmin

I used your staphy examples and get an error as below when try to run 'fit = mlskygrid(treeMRSA)':
Error in optim(par = theta0, fn = of, method = "BFGS", control = list(trace = ifelse(quiet,  :
initial value in 'vmmin' is not finite
I dont know if it is like a systematic error because when I use another device, the example code run well...

sorry I could not reproduce this error on my side...

sorry I could not reproduce this error on my side...

That's OK, I can handle the newick of my own...I am just curious

sorry I could not reproduce this error on my side...

That's OK, I can handle the newick of my own...I am just curious

Update, I did not realize my tree was a polytomy


Websocket improvements

Changes:

Added exponential backoff with full jitter to reconnection attempts
Added user_agent
Added the update() function + more documentation about this
Improved the connection limit bug (not yet fully fixed)

Codecov Report
Base: 87.23% // Head: 87.85% // Increases project coverage by +0.62% :tada:

Coverage data is based on head (dc1feec) compared to base (fbd4dce).
Patch coverage: 78.50% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   87.23%   87.85%   +0.62%
==========================================
  Files          32       32
  Lines         987     1013      +26
==========================================
+ Hits          861      890      +29
+ Misses        126      123       -3

Impacted Files
Coverage Δ

tibber/networking/query_builder.py
90.72% <ø> (+3.97%)
:arrow_up:

tibber/networking/query_executor.py
75.00% <70.83%> (-21.23%)
:arrow_down:

tibber/types/home.py
91.17% <83.33%> (-4.37%)
:arrow_down:

tibber/account.py
90.74% <88.88%> (-6.99%)
:arrow_down:

tibber/exceptions/__init__.py
100.00% <100.00%> (ø)

tibber/exceptions/api.py
100.00% <100.00%> (ø)

tibber/types/live_measurement.py
100.00% <0.00%> (+25.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


PR: Skip checking for updates on unsupported platforms

Description of Changes
Only check for updates on Linux, macOS, and Windows platforms
Issue(s) Resolved

Fixes #23237

@meeseeksdev please backport to 6.x


Radar's not working in Steam deck with xivlauncher

Everything looks good.
The auto rotation is working as expected.
However, in the windows, it shows: cur: inactive, for all bosses
I am using English version and playing in U.S server

What boss are you trying it on?
I'll need a log to debug this - see main page for details on how to grab one.

Outdated.


Data Catalogues

Just a short snippet on Data Catalogues. Almost started trying to build out a custom one because I didn't know they existed. Therefore feel it's important to make some noise about them.
Open to feedback, can add more detail once I know if you guys think they fit the MLOps category. Only didn't put them under the Data Governance bin because those that focus on Data Discovery don't have so much to do with it. Happy to shuffle the content over though.

Hey @GeorgePearse thanks for the pull request. This is something I didn't know about before, and a really useful addition!

Magda have a pretty good interactive demo version if you'd like to learn more, https://demo.dev.magda.io
Will also have a deeper dive through the whole MLOps list and see what else there is to add. Thanks for creating it!

Awesome. I'll look forward to more pull requests!