Bebop: Auto-start app

@eyeam3

On Bebop 2, modify the init script /etc/init.d/rcS_mode_default. Comment the following line:
DragonStarter.sh -out2null &

Replace it with:
px4 /home/root/px4.config

How to :
Enable adb server by pressing the power button 4 times.
Connect to adb server as described before:
adb connect <IP_ADDRESS>:9050

Re-mount the system partition as writeable:
adb shell mount -o remount,rw /

In order to avoid editing the file manually, you can use this one :

Save the original one and push this one to the Bebop
adb shell cp /etc/init.d/rcS_mode_default /etc/init.d/rcS_mode_default_backup
adb push rcS_mode_default /etc/init.d/

Sync and reboot:
adb shell sync
adb shell reboot

I would put it into Devguide myself, but I still can't edit it. Seems to be a permissions issue, because everyone else seemingly can.

Done


Moz Gateway 0.9.1 and webthings

I cloned your app and built it.  Installed on a Nexus 6 running carbon rom.
Server on phone (port 8088) runs fine.  When I try to find it on the gateway it says paring as failed?
Wil post some logs when I get the gateway back up..  it has lost its settings for add-ons and I need to reset things.

Finally got the gateway back up:
Here is a log from the gatewat ssh:
2020-01-13 21:30:19.519 INFO   : thing-url: Adapter: ThingURLAdapter unloaded
2020-01-13 21:30:23.839 INFO   : Loading add-on: thing-url-adapter
2020-01-13 21:30:28.800 INFO   : Opened a new things socket
2020-01-13 21:30:29.198 INFO   : About to call startPairing on TimerAdapter
2020-01-13 21:30:29.255 INFO   : About to call startPairing on VirtualThingsAdapter
2020-01-13 21:30:29.268 INFO   : About to call startPairing on SysteminfoAdapter
2020-01-13 21:30:29.520 INFO   : timer: Start pairing
2020-01-13 21:30:29.696 INFO   : systeminfo: Adapter: SysteminfoAdapter id SysteminfoAdapter pairing started
2020-01-13 21:30:51.356 INFO   : thing-url: Opening database: /root/.mozilla-iot/config/db.sqlite3
2020-01-13 21:30:52.236 INFO   : thing-url: Loading add-on for thing-url-adapter from /root/.mozilla-iot/addons/thing-url-adapter
2020-01-13 21:31:00.891 INFO   : thing-url: Starting mDNS discovery
2020-01-13 21:31:29.304 INFO   : Pairing timeout
2020-01-13 21:31:29.346 ERROR  : Thing was not added
2020-01-13 21:31:29.469 ERROR  : addNewThing cancelled
2020-01-13 21:31:29.558 INFO   : timer: Adapter: TimerAdapter id TimerAdapter pairing cancelled
2020-01-13 21:31:29.610 INFO   : virtual-things: Adapter: VirtualThingsAdapter id virtual-things pairing cancelled
2020-01-13 21:31:29.766 INFO   : thing-url: Adapter: ThingURLAdapter id thing-url-adapter pairing cancelled
2020-01-13 21:31:29.787 INFO   : systeminfo: Adapter: SysteminfoAdapter id SysteminfoAdapter pairing cancelled
The server is running on the phone.

Mentioned similar issue in  #10, closed it. This definitely relates. The difference in my case that I ran the gateway on a Debian host.

I have compiled the app from the latest src on github and tried this (shoudl be against webthigns 0.12) which is also what the gateway I have is on..
same behavior ECONNREFUSED

Could be that I have my phone rooted, it was listening on 8088, however the issue remains, it seems like the latest gateway is not compatible with the app.

A quick test suggests that with the latest webthing library, the port that is specified is not the port that is bound - though that may also be an issue with android, where 8088 doesn't work without root. However, if I then make a request on the proper port, it seems to crash with java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern : %�Ǌ for which I have no idea where it'd come from.


[questions] : LLM structured output: YAML vs. JSON comparison

OpenAI's Approach
OpenAI, as documented in their Structured Output Guide, uses JSON for structured outputs.
PR Agent's Approach
PR Agent, on the other hand, implements YAML for structured outputs.
What advantages does YAML have compared to JSON?

We discuss this issue thoroughly here:
https://arxiv.org/pdf/2401.08500


Re-create AWS resources in Terraform

In order to make this site reproducible (and build other staging sites similar to it), the existing infrastructure should be codified to Terraform (or other similar IaC tool).

Closing as I don't use AWS for launching this anymore


add ullr

Added ullr to implementations.
Ullr exports directives and helper for building Web Components with functional programming.

Thanks!! ❤
Uh... the tab size of that README using prettier's project rules as it is... little big 😅


Fix DCCs tilegrouping

Fix match in bels.rs
Change create_tilegroups to work with DCCs.
They are located in *MID tiles, so R{}C{}_{} was incorrect for them.
This lead to from_fasm not correctly detecting tilegroup for DCCs.
Signed-off-by: Maciej Dudek<EMAIL_ADDRESS>

@gatecat I found issue with my previous PR, here is updated version. This one should work.
Also I see, you've updated database but there are enums missing in GPLL_L[R|L]C_15k tiles, mainly
PLL_LRC.CLKMUX_FB, PLL_LRC.LMMICLKMUX and PLL_LRC.LMMIRESETNMUX.

Sorry, this might take a day or two to review as it needs some thought to make sure it's the right approach.

After some more testing. It turned out that I only needed to fix bels.rs in prjoxide.
I also had to modify fasm.cc in nextpnr so here is accompanying PR to nextpnr https://github.com/YosysHQ/nextpnr/pull/992.

That looks much better, thanks!


Feature request: Non-interactive installation of juliaup without side effects for usage in automated installation script (alternative to --yes)

Motivation
At CSCS, we are developing a new user environment in which we aim to provide the wonderful juliaup rather than a particular version of julia. As for any fully automated software stack installation procedure, all steps must be non-interactive.
Current status
The only option to install juliaup non-interactively is currently using the option --yes, which has some undesired side effects for our use case, namely the modification of ~/.bashrc and ~/.profile (and maybe writing some things into ~/.julia).
Feature request

Minimal: add option --no-side-effects (or similar), which deactivates the modification of ~/.bashrc and ~/.profile (and writing things into ~/.julia).
Optimal: expose all parameters that can be set during interactive juliaup installation as command line parameters and enable a non-interactive installation without the option --yes.

Thanks!!!

There is another parameter --add-to-path=no, and I'm fairly positive that should disable the modification of the shell scripts. You then have to put julia and juliaup on the PATH yourself, of course.
You can control into which Julia depot Juliaup puts its config file and then the downloaded Julia versions via the env variable JULIAUP_DEPOT_PATH, so I think if you set that you should be able to prevent anything from going into .julia.
Would those options enable your scenario?


signal-cli works, but Signal plugin doesn't

Hi,
I have signal-cli installed an it's working fine. (i.e. can register devices, send&receive, etc.)
The Signal plugin doesn't send anything at all. The server's log gets filled with lines like this:
PHP Notice:  Undefined variable: user in /var/www/virtual/c5c53fb0/sites/kanboard/plugins/Signal/Notification/Signal.php on line 80
(The line number changes)
What can I do, where can I look at, what information can I provide?
Thanks in advance!

Hi fredl99,
thank your for you request.
Are you trying to send project notifications to a signal group?

Hi @stratmaster ,
Thanks for your attention!
No,  I'm only triying to notify myself. I don't even have any groups at Signal.

Dear @fredl99,
could you please provide some informations about your settings (of course, you won't have to post your real numbers)? Especially:

My Profile -> Integrations -> Signal
Settings -> Integrations -> Signal
And the project in question: Configure this project -> Edit project -> Project owner set?
Configure this project -> Integrations -> Signal

By the way: With the current development version of the plugin the PHP Notices should have disappeared. See this changes: #7be9685.

Hi @stratmaster
Many thanks for your reply & sorry for the delay.
These are the requested settings:
My Profile -> Integrations -> Signal
Pfad zu signal-cli Config-Ordner
[empty]￼
Leer lassen, um globale Einstellungen zu verwenden ("/home/${USER}/.local/share/signal-cli").

Signal Benutzername
[empty]￼
Leer lassen, um globale Einstellungen zu verwenden ("+43XXXYYYYYYY").

Signal Empfänger
+43XXXZZZZZZZ

Settings -> Integrations -> Signal
Temporärer Ordner
/home/${USER}/tmp/

Pfad zu Java-Installation
/home/${USER}/bin/java
(Symlink: /home/${USER}/bin/java -> jre1.8.0_201/bin/java)

# additional info:
$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

Pfad zu signal-cli Interface
/home/${USER}/bin/signal-cli
(Symlink: /home/${USER}/bin/signal-cli -> signal-cli-0.6.2/bin/signal-cli)

Pfad zu signal-cli Config-Ordner
/home/${USER}/.local/share/signal-cli

$ ls /home/${USER}/.local/share/signal-cli
attachments  avatars  data

Signal Benutzername
+43XXXYYYYYYY

the project in question: Configure this project -> Edit project -> Project owner set
Berechtigungen und Besitz Projekt-Besitzer [my Username]
Configure this project -> Integrations -> Signal
Pfad zu signal-cli Config-Ordner
[empty]￼
Leer lassen, um globale Einstellungen zu verwenden ("/home/c5c53fb0/.local/share/signal-cli").

Signal Benutzername
[empty]￼
Leer lassen, um globale Einstellungen zu verwenden ("+43XXXYYYYYYY").

Signal Empfänger-Gruppe
[empty]￼

I already have the latest Signal version via git. I compaired the files against the current master.zip, but there's no difference.
I feel there's something wrong about the config folder, but I have no clue which other folder to use. As mentioned, signal-cli works correctly with this setup.
Many thanks for your help!
Fredl.

Settings -> Integrations -> Signal

Pfad zu signal-cli Config-Ordner
/home/${USER}/.local/share/signal-cli

I feel there's something wrong about the config folder, but I have no clue which other folder to use. As mentioned, signal-cli works correctly with this setup.

Have you allready tried to use the given folder directly with signal-cli on the command line with the --config /home/${USER}/.local/share/signal-cli flag? Otherway you could try to change the path to something like /home/${USER}/.config/signal for example.

I haven't tried that before, but this is what happens:
--config /home/${USER}/.local/share/signal-cli works the same as without that option.
Using any other path leads to: User is not registered. No matter, if the given path exists or is incomplete or doesn't exist at all.
/home/${USER}/.local/share/signal-cli seems to be the default when --config is not used and does the same as when I enter exactly this path. And that's what I do at kanboard. Although there I also tried to leave it empty with no success.
BTW: The "Undefined variable: user" notice is gone meanwhile. So the headin of this issue is wrong now.

Just one thought: Does your web server user (under which kanboard is running) has privileges to run signal-cli and java within the home folder?
Furthermore, does your php instance allow executing an external program via exec() command (e.g. safe mode enabled or exec disabled in php.ini)?

Very good point, thank you!
I'll look into that after the Easter holidays.


nixos.xfce: use 'XFCE' as the session name

Motivation for this change
The desktop session name is used for the DesktopNames field in the generated session file (xfce.desktop). The standard desktop name for Xfce is XFCE (all in caps). The value for the XDG_CURRENT_DESKTOP environment variable is obtained from this field. When this variable does not have the right value, some features do not work correctly. For instance, menu items set to show only on Xfce are not shown.
Fixes https://github.com/NixOS/nixpkgs/issues/82571
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Does it have an impact on the correct values of services.xserver.displayManager.defaultSession ?
If so relase notes should be updated to be upper case.

Does it have an impact on the correct values of services.xserver.displayManager.defaultSession ?

Yes, it does. I have tested it.
The original issue could be fixed in three ways:

change the session name, as per this PR (and add a release note to document the changing)
add a new attribute services.xserver.desktopManager.session.desktopNames and use it when generating xsession desktop files
override XDG_CURRENT_DESKTOP in services.xserver.desktopManager.session.start with an export command

Maybe the best option is 2.

There is already a breaking change for defaultSession in 20.03, so I would go for 1.

Option 2 would be something like:
nixos.display-managers: use new attribute for desktop names

1 file changed, 4 insertions(+), 1 deletion(-)
nixos/modules/services/x11/display-managers/default.nix | 5 ++++-

modified   nixos/modules/services/x11/display-managers/default.nix
@@ -412,6 +412,9 @@ in
             (dm: wm: let
               sessionName = "${dm.name}${optionalString (wm.name != "none") ("+" + wm.name)}";
               script = xsession dm wm;
+              desktopNames = if dm ? desktopNames
+                             then concatStringsSep ";" dm.desktopNames
+                             else sessionName;
             in
               optional (dm.name != "none" || wm.name != "none")
                 (pkgs.writeTextFile {
@@ -427,7 +430,7 @@ in
                     TryExec=${script}
                     Exec=${script}
                     Name=${sessionName}
-                    DesktopNames=${sessionName}
+                    DesktopNames=${desktopNames}
                   '';
                 } // {
                   providedSessions = [ sessionName ];

nixos.xfce: set desktopNames

1 file changed, 1 insertion(+)
nixos/modules/services/x11/desktop-managers/xfce.nix | 1 +

modified   nixos/modules/services/x11/desktop-managers/xfce.nix
@@ -129,6 +129,7 @@ in

     services.xserver.desktopManager.session = [{
       name = "xfce";
+      desktopNames = [ "XFCE" ];
       bgSupport = true;
       start = ''
         ${pkgs.runtimeShell} ${pkgs.xfce.xfce4-session.xinitrc} &

With option 2 it is not necessary to force the name of the session displayed by the display manager to be the same needed for XDG_CURRENT_DESKTOP (which is standardized).
Option 2 would allow also to use more than one desktop name per session, which is allowed by the standard:

If $XDG_CURRENT_DESKTOP is set then it contains a colon-separated list of strings. In order, each string is considered. If a matching entry is found in OnlyShowIn then the desktop file is shown. If an entry is found in NotShowIn then the desktop file is not shown. If none of the strings match then the default action is taken (as above).

$XDG_CURRENT_DESKTOP should have been set by the login manager, according to the value of the DesktopNames found in the session file. The entry in the session file has multiple values separated in the usual way: with a semicolon.

For instance, in Archlinux and Fedora there is /usr/share/xsessions/gnome-classic.desktop with the line DesktopNames=GNOME-Classic;GNOME;

I wish I had more time to look into this issue, I believe it is particularly important.
cc @hedning @jtojnar ?

Yeah, option number two is what we want. It will also fix the Mate issue.

I am closing this PR in favour of https://github.com/NixOS/nixpkgs/pull/83637 which implements option 2.


Add external subtitle

how can i add external subtitle for player

Hi @hoangduc67, the AVPlayer read the master playlist from the server and can get the subtitle file from there. This sample could help to understand how it works.


Create Nginx image with localy built CLI, Blackbox SDK.

Locally builds and adds all CLI OS + arch builds to Nginx
builds and adds Blackbox SDK
Update Ansible scripts to deploy the new nginx image

The main motivation for this feature is so deployment options that don't want to rely on Ansible's post docker creation steps can have an Nginx image with all the extra CLIs and SDKs built into it.
NOTE This PR will require a new Nginx image for OpenWhisk. I'm not sure where this would be built and published from.
NOTE This PR removes the ability to install the CLI from the remote github repo. However, when the CLI is split out of the main OpenWhisk repo it should be easy to pull the remote CLI. All that would need to change is not building the CLI locally and instead, pull the CLI binary/zip files from github into the Nginx image.

@markusthoemmes can you take a look at this, what do you think on this approach?

In general, I'm in favor of this approach. It looks sensible to me. I cannot overlook all the sideeffects of how the CLI is built and distributed at this point though.
@houshengbo could you help out here?

Fixed up those issues. I thought there had been an issue when copying files into Docker when the whole path didn't exist. Maybe that was an older docker version though. But I tested the new commits on both Ubuntu and Mac and they were able to build fine.

The SDK is now built externally and the edge router just points to a release. The same could be done for the CLI. This would simplify this PR significantly. Hence I am inclined to close this PR in its current state.

Yep that's the idea once the CLI is out of the core repo to its own repo then edge would just point to the built binaries on the github release page

Agreed.  Let's close this one and redo with the simpler setup enabled by pulling the artifacts from the github releases of the other repos.


Refactor semantics

We can discuss about it in this draft PR.

I've rebased the branch onto current main; can I force push that here or will I cause somebody's local changes to break? @kyoDralliam @TheoWinterhalter

It's okay for me.

Ok for me too


Update route.md docs

Table formatting was broken, and the code example had use instead of resolve.
Wasn't sure about the required column, so it's blank for now.

Thanks


Fix: clipboard trigger on edit

Adds copying to clipboard on 'inkscape-figures edit' when the file is selected.

Thanks!


set_meta should require a column name

at present, it will fill in with np.nan. I would argue that's not very helpful and we should require a column name be given. @danielhuppmann thoughts?

Ah yes, in my case I did the following:
ssps = df.meta.reset_index()['scenario'].apply(lambda x: 'SSP' + x.split('SSP')[1][0])
df.set_meta(ssps)

So that series did not get a name by default

Yes, pandas tends to do these things... It's a good catch of unexpected behaviour of set_meta(), almost there with the fix...


Implemented: product identifier component in settings page from dxp-components (dxp-178)

Related Issues

Related Issue: https://github.com/hotwax/dxp-components/issues/178
Short Description and Why It's Useful

Improved the code to use the product identifier component implemented in dxp-components on the settings page.
Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

Closing this PR as implemented through following PR: https://github.com/hotwax/receiving/pull/379


add ContainerUpdateResponse in update api

I found that in types.go, ContainerUpdateResponse is defined with Warningsfileds like below:
type ContainerUpdateResponse struct {
	// Warnings are any warnings encountered during the updating of the container.
	Warnings []string `json:"Warnings"`
}

While in the api request, this struct is not used.
As a result, currently docker engine can not use Warnings in update api response.
This PR update this missing part in update api response.
Signed-off-by: allencloud<EMAIL_ADDRESS>

ping @vdemeester

LGTM 🐸

ping @stevvooe @cpuguy83 @LK4D4
PTAL

LGTM


Fix solitaire bugs

Addresses the following solitaire tutorial bugs:

game does not load because card.update() cannot be called before card is added to page during solitaire mount() operations: assert self.__page, "Control must be added to the page first."
cards cannot be moved due to other card.update() operations raising the same error.
card dragging was not being displayed, although drop/place worked fine.
after a win, clicking new game would create a second solitaire instance below the first.

Fixes applied:

updated all card.update() calls to self.solitaire.update(), which might effect performance (?) but functions as expected in my few playthroughs (addressed 1, 2 and 3)
added an on_dismiss to the on_win alert dialog

I also modified display_waste to function according to normal solitaire rules for 3-card stock draws, and hopefully simplified the behavior.
Note: In one of my early playthroughs, the 9 of spades went missing and I couldn't finish. I never figured out how/why.

 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.

I was thinking my changes to display_waste() might need to be updated in the documentation: https://flet.dev/docs/tutorials/python-solitaire and in the earlier steps of the tutorial but I can't find where the source is for the tutorial.

There's an "edit this page" button at the end of that page. You will land on the corresponding file from there.


[W6.6h][F11-B2] Phua Han Siang

Accepting this PR after minimal review because another of your PRs for this tutorial was reviewed in detail.


[Improvement]push to multi-subscribers hurt performance

Fst, Thx for your hard work on such excellent  project.
When I try pushing msg to multi-subscribers, function GetDeliveryPointsNameByServiceSubscriber use KEYS  to fetch all delivery points that matched.
But KEYS blocks redis when db is large. According to manual, SCAN is suggested instead.
However goredis doesn't support SCAN....
Will you consider that?

Another issue with KEYS is that if you are using twitter/twemproxy (AKA nutcracker) to manage a pool of Redis shards like I am.  KEYS is not supported and rejected by the server. Same with all the SCAN stuff too. But that's more of an issue with the way I am using it I guess.


Marshal application_uris to Array

There are some instances in which the application_uris value is coming through from clients as a string rather than an array. The  application_uris value should be marshaled to an array in all instances, even if it's just an array with one element.

We should also create a data cleanup task to update existing documents with this issue.


Adding the golangci-lint linter to the repository (jenkinsfile)

Resolves https://github.com/elastic/apm-aws-lambda/issues/153. The chosen linter is golangci-lint. For this third iteration, we install and run the linter as part of the Lint stage in the Jenkinsfile.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-23T17:26:05.301+0000

Duration: 7 min 10 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
240

Skipped
6

Total
246

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Update on this PR : the linter was successfully implemented by commit 8907a3a.
Failing Linter output
11:54:39  + ./golangci-lint.sh
11:54:39  golangci/golangci-lint info checking GitHub for tag 'v1.45.0'
11:54:39  golangci/golangci-lint info found version: 1.45.0 for v1.45.0/linux/amd64
11:54:40  golangci/golangci-lint info installed /var/lib/jenkins/workspace/ibrary_apm-aws-lambda-mbp_PR-157/bin/golangci-lint
11:54:41  golangci-lint has version 1.45.0 built from 1f4c1ed9 on 2022-03-18T15:08:39Z
11:54:50  main.go:70:27: Error return value of `extension.StartHttpServer` is not checked (errcheck)
11:54:50  	extension.StartHttpServer(agentDataChannel, config)
11:54:50  	                         ^
11:54:50  main_test.go:168:12: Error return value of `client.Do` is not checked (errcheck)
11:54:50  		client.Do(reqData)
11:54:50  		         ^
11:54:50  main_test.go:189:14: Error return value of `client.Do` is not checked (errcheck)
11:54:50  				client.Do(reqData)
11:54:50  				         ^
11:54:50  e2e-testing/e2e_test.go:135:9: Error return value of `io.Copy` is not checked (errcheck)
11:54:50  	io.Copy(out, resp.Body)
11:54:50  	       ^
11:54:50  e2e-testing/e2e_test.go:150:11: Error return value of `os.Chmod` is not checked (errcheck)
11:54:50  		os.Chmod(filepath.Join(agentFolderPath, f.Name()), 0755)
11:54:50  		        ^
11:54:50  e2e-testing/e2e_util.go:38:9: Error return value of `e.Start` is not checked (errcheck)
11:54:50  	e.Start()
11:54:50  	       ^
11:54:50  e2e-testing/e2e_util.go:49:8: Error return value of `e.Wait` is not checked (errcheck)
11:54:50  	e.Wait()
11:54:50  	      ^
11:54:50  e2e-testing/e2e_util.go:78:13: Error return value of `os.MkdirAll` is not checked (errcheck)
11:54:50  	os.MkdirAll(destinationFolderPath, 0755)
11:54:50  	           ^
11:54:50  e2e-testing/e2e_util.go:100:15: Error return value of `os.MkdirAll` is not checked (errcheck)
11:54:50  			os.MkdirAll(path, f.Mode())
11:54:50  			           ^
11:54:50  e2e-testing/e2e_util.go:102:15: Error return value of `os.MkdirAll` is not checked (errcheck)
11:54:50  			os.MkdirAll(filepath.Dir(path), f.Mode())
11:54:50  			           ^
11:54:50  logsapi/subscribe.go:99:15: Error return value of `Server.Serve` is not checked (errcheck)
11:54:50  		Server.Serve(Listener)
11:54:50  		            ^
11:54:50  extension/apm_server_test.go:38:11: Error return value of `gw.Write` is not checked (errcheck)
11:54:50  		gw.Write([]byte(s))
11:54:50  		        ^
11:54:50  extension/apm_server_test.go:52:10: Error return value of `w.Write` is not checked (errcheck)
11:54:50  		w.Write([]byte(`{"foo": "bar"}`))
11:54:50  		       ^
11:54:50  extension/apm_server_test.go:74:11: Error return value of `gw.Write` is not checked (errcheck)
11:54:50  		gw.Write(body)
11:54:50  		        ^
11:54:50  extension/apm_server_test.go:85:10: Error return value of `w.Write` is not checked (errcheck)
11:54:50  		w.Write([]byte(`{"foo": "bar"}`))
11:54:50  		       ^
11:54:50  extension/apm_server_test.go:178:11: Error return value of `gw.Write` is not checked (errcheck)
11:54:50  		gw.Write([]byte(""))
11:54:50  		        ^
11:54:50  extension/apm_server_test.go:192:10: Error return value of `w.Write` is not checked (errcheck)
11:54:50  		w.Write([]byte(`{"foo": "bar"}`))
11:54:50  		       ^
11:54:50  extension/apm_server_test.go:201:17: Error return value is not checked (errcheck)
11:54:50  	PostToApmServer(apmServer.Client(), agentData, &config, context.Background())
11:54:50  	               ^
11:54:50  extension/apm_server_test.go:244:17: Error return value is not checked (errcheck)
11:54:50  	PostToApmServer(apmServer.Client(), agentData, &config, context.Background())
11:54:50  	               ^
11:54:50  extension/apm_server_test.go:285:17: Error return value is not checked (errcheck)
11:54:50  	PostToApmServer(apmServer.Client(), agentData, &config, context.Background())
11:54:50  	               ^
11:54:50  extension/apm_server_test.go:346:10: Error return value of `io.Copy` is not checked (errcheck)
11:54:50  		io.Copy(ioutil.Discard, r.Body)
11:54:50  		       ^
11:54:50  extension/http_server.go:48:24: Error return value of `agentDataServer.Serve` is not checked (errcheck)
11:54:50  		agentDataServer.Serve(ln)
11:54:50  		                     ^
11:54:50  e2e-testing/e2e_util.go:56:2: S1008: should use 'return err == nil' instead of 'if err == nil { return true }; return false' (gosimple)
11:54:50  	if err == nil {
11:54:50  	^
11:54:50  e2e-testing/e2e_test.go:46:16: S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
11:54:50  		ProcessError(errors.New(fmt.Sprintf("Unsupported language %s ! Supported languages are %v", languageName, supportedLanguages)))
11:54:50  		             ^
11:54:50  main_test.go:234:26: S1030: should use bufRecord.String() instead of string(bufRecord.Bytes()) (gosimple)
11:54:50  	logEvent.StringRecord = string(bufRecord.Bytes())
11:54:50  	                        ^

Corrections required for the linter to pass were done in ad51c2a.
Successful Linter output
14:56:58  + ./golangci-lint.sh
14:56:58  golangci/golangci-lint info checking GitHub for tag 'v1.45.0'
14:56:58  golangci/golangci-lint info found version: 1.45.0 for v1.45.0/linux/amd64
14:56:59  golangci/golangci-lint info installed /var/lib/jenkins/workspace/ibrary_apm-aws-lambda-mbp_PR-157/bin/golangci-lint
14:57:00  golangci-lint has version 1.45.0 built from 1f4c1ed9 on 2022-03-18T15:08:39Z

To run the linter on your own machine, just run the ./golangci-lint.sh script.

/test


Remove Connection V1 code

Signed-off-by: Patrik Stas<EMAIL_ADDRESS>

Added paused label, will be rebased/resumed once tests are migrated to v3/v4 protocol_type. Effort going on here: https://github.com/AbsaOSS/libvcx/pull/65


show live stream viewer count via sockety comments api

The commetron api will show the viewers

wss://sockety.odysee.com/ws/commentron?id=b9262a4106e63bd7ba0029b1da0a04bb575ee826&category=b9262a4106e63bd7ba0029b1da0a04bb575ee826

This is now part of the new livestream apis


Responsive not on the window but on the component container

The responsive breakpoints for the carousel listen to resizes of the window. Is it possible to implement an interface or a change so that I can either:

listen to resizes of the container div of the carousel
allow the consumer of the carousel to define for themselves the responsive breakpoints, the listeners upon which to listen on resizes or changes to the width of the components

For extensibility, I'd prefer the second solution as it allows for more freedom for consumers to solve for their various scenarios.

Had a similar issue recently.
Ended up using eq.js then creating the new settings object to be passed on render.


Can't stop getting emails from<EMAIL_ADDRESS>

I deleted hubot and unconnect it from slack. But I still getting emails from<EMAIL_ADDRESS>How I can stop this?

Also you have slack #help chanel but it closed.

damn, we better clean up our act, sorry about the mess. :-/

Thanks. Now emails stopped coming.


Has this plugin been abandoned? [5/2018]

Hello,
I'm not entirely sure who's the primary person in charge of this repo or plugin over at intel but there are a few major issues, some as far back as 2016 that need to be addressed.
According to the release notes It has been since Dec 2016 since any updates were made.

There are major breaking changes to Cordova Android 7.0 that make this plugin no longer compatible.
File system issues are showing up for Android and iOS #22

And seriously a major set of issues left out in the open.
Now, I've done a lot of work with various Intel SDK's and features that have teams that get moved around, leave, or the project gets quietly depreciated.
As this plugin is often referenced, I'd like to know if anything is going to happen moving forwards, and if not, request that at a minimum the readme be updated with it's depreciated status.

Seconded.


tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimension 0 in both shapes must be equal, but are 1 and 255. Shapes are [1,1,1024,18] and [255,1024,1,1]. for 'Assign_360' (op: 'Assign') with input shapes: [1,1,1024,18], [255,1024,1,1].

I have tried to train a model similar to kangaroo detection but I got the error
config.json contains the following
....
"train_times":          8,
"batch_size":           16,
"learning_rate":        1e-4,
"nb_epochs":            50,
"warmup_epochs":        3,
"ignore_thresh":        0.5,
"gpus":                 "-1",
    "grid_scales":          [1,1,1],
    "obj_scale":            5,
    "noobj_scale":          1,
    "xywh_scale":           1,
    "class_scale":          1,

    "tensorboard_dir":      "logs",
    "saved_weights_name":   "backend.h5",
    "debug":                true

...

"saved_weights_name":   "backend.h5", the error causes for this. saved_weights_name indicates the  pretrained model on the custom data. But at the initial time , there is no pretrained model so backend.h5 will loaded by default.

Hello! @robi56  how did you solve it eventually?

ok! I had to remove the record of "saved_weights_name in config.json

Hey! I'm having the same issue and I am wondering how you managed to get the code running after deleting the record?

Hello, @berit99! If I remember correctly, I create an empty file with name "file.h5", where file, an arbitary name. I did not use the backend.h5!


"ssid" and "password" on Pi wifi

Hello Stadicus, first of all: thank you very much for this guide. I am currently in the process of setting up my nodes and this just helps so much!
One thing i wanted to note is that on the section about connecting the Pi to wifi, the values for ssid and psk need to be in quotes. I am very new to using a Pi and just spent the last two hours figuring out what was going on.
Thank you again for this awesome guide!

Hej @aberratioictus , thanks for your feedback! I just fixed the guide: https://github.com/Stadicus/guides/commit/a21788c0518618d17093e3f447f68a53e4efa6e7
Have fun setting up your own full node & spread the word! ;-)


tester recipe should be in its own test cookbook

To be cleaner, a test cookbook should reside separately from the line cookbook, which contains the tester recipe and the chefspec tests should also refer to the test cookbook.

Agreed! Removed.


Kernel errors when cloning blockchain

I am copying a downloaded blockchain to my new node (pi3) with new SD flashed card. And during the cloning of the full blockchain from an other powered HDD, I suddenly got kernel errors when the copy process was at 47%.
[EDIT] Ok, it stopped at 51%
The process however continues. But not sure what is causing this.
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.391174] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.520446] Process kswapd0 (pid: 44, stack limit = 0xb9f6a210)
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.528152] Stack: (0xb9f6be88 to 0xb9f6c000)
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.533405] be80:                   00000000 000020e8 b9f6bf34 80c85780 00000001 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.543354] bea0: 00000001 00000000 80c85780 8023bd74 00000000 0000124a 80236b08 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.553319] bec0: 00000000 00000001 00000000 80d1369c 80d11ee0 80c85780 b9f6bf7c b9f6bee8
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.563304] bee0: 8023bc18 802840e4 00000001 80c20250 80b8cd50 b9e95a00 80c89aa8 80c03d68
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.573289] bf00: 80160e18 b9f6bee8 00000003 b9f6bf34 80c85e3c 80cbeba4 b9f6a000 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.583347] bf20: 00000000 00000000 00000000 014000c0 00000003 00000000 00000000 0000000c
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.593383] bf40: 00000000 00000007 00000000 00000000 b9d9145c b9d91440 00000000 b9f50c00
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.603440] bf60: 80c85780 8023b948 b9d9145c b9cf9e30 b9f6bfac b9f6bf80 8013de24 8023b954
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.613447] bf80: 80102d94 b9f50c00 8013dce8 00000000 00000000 00000000 00000000 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.623408] bfa0: 00000000 b9f6bfb0 801080ac 8013dcf4 00000000 00000000 00000000 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.633381] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.643356] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Message from syslogd@RaspiBlitz at May 18 13:04:20 ...
kernel:[ 8688.681397] Code: e8bd4000 e3510000 e1a08000 e1a0a002 (e50b304c)
128,094,981,968  51%   17.14MB/s    1:56:11  xfr#957, to-chk=2381/3339)
rsync: [sender] write error: Broken pipe (32)
rsync error: error in socket IO (code 10) at io.c(829) [sender=3.1.2]
OK - Copy done :)

If you have two disk ext4 partitions named BLOCKCHAIN mounted (say on /dev/sdb1 and /dev/sdc1) you can use this to clone from source to destination.
make sure the destination drive is empty first:
sudo rm -rf /mounted/distination/path/BLOCKCHAIN1/*
clone the drive with rsync (note: you must use a trailing backslash "/" on the source):
sudo rsync -rv -pogx --update --progress /mounted/source/path/BLOCKCHAIN/ /mounted/destination/path/BLOCKCHAIN1

Did the sync again and now it worked fine. I removed the lcd on top of the Pi. I think it may have been a heating issue. However, I am not sure.

I think it may have been a heating issue

doubtful. More likely your power supply is weak.  Search the past issues here for details on that.


Load "eligable" parcels

Instead of loading all parcels in Chicago, let's just load parcels around the parcels that are city owned. That'll reduce the data footprint by quite a bit.

This is done.


Documentation fails

The documentation is not built when calling make.
Makefile:19: recipe for target 'html' failed
make[1]: *** [html] Error 2
make[1]: Leaving directory '/docs'
Makefile:17: recipe for target 'docs-build' failed
make: *** [docs-build] Error 2
Makefile:44: recipe for target 'run-docs' failed
make: *** [run-docs] Error 2

This is the output of the console.

The documentation is available here. But if you definitely want to build it then I believe you need to install TT with the docs requirements as well.

The documentation is available here. But if you definitely want to build it then I believe you need to install TT with the docs requirements as well.

One way to do this is go to the /docs directory and run pip3 install -r ./requirements.txt.


made changes as per issue 1478

issue 1478.
did the changes in the footer section in the book the table tab. Please do the same for other sections. Changed the texts for better visibility. Added visibilty for other progress section.

#1478

Direct PR is not allowed..!


KCP: stop messing with the RawPath

Generally, the RawPath is only available when some chars have been encoded. The Path always fully expands the URL.
Since we trim the Path, naturally we would like also to trim the RawPath. To do that correctly we would have to consider encoded slash char as well (%2F).
For example the code breaks on %2Fclusters%2F*/apis/apis.kcp.dev/v1alpha1/apiexports
Because we don't really need to deal with encoded chars and we don't use the RawPath only the Path we could simplify.
This PR simply recomputes the URL after trimming and overwrites it in the HTTP requests.

Summary
Related issue(s)
Fixes #

/assign @stevekuznetsov @sttts

/lgtm
/approve


Add dynamic backend routing

Closes #86. @codymwalker @mhamann PTAL.
Added backendRouting policy. You define it as follows inside the policies array:
"policies": [{
  "type": "backendRouting",
  "value": {
    "header": "x-backend-test-header",
    "whitelist": ["httpbin.org"]
  }
},
...
]

The header field is optional. If not defined, it defaults to X-Cf-Forwarded-Url for cf route services.
When you invoke this API, you will have to set the header (in this example, x-backend-test-header) with a new backendUrl as its value
whitelist is an array of allowed hosts that can be used for the new backendUrl value

@codymwalker Updated the PR to reflect your suggestions.


Increase DB pool size

We now have increased number of sidekiq workers from 2 to 6 so this
would require an increase in the pooled connections. 6 should be all
that is required here but 10 gives us a little wiggle room.
I've given this a spin on integration and no problems have occurred, of
course I said that on the PR that this is to fix. This time I've sent 6000
things downstream though

I remember seeing lots of timeouts on the dev VM in the past until we reduced the rummager concurrency (see: https://github.com/alphagov/rummager/pull/734).  Worth checking back to see if the same problem occurs again now there is more contention for connections on the db again.

@h-lame Ah did that fix the problem on this card ? I'm well confused as to how they're related though :-/

I think it did because the rummager sidekiq workers all connected to the publishing-api to do whatever it is they do and with 16 of them at once they were taking up all the available connections for the publishing-api.  I reckon this'll be fine though; the pool size was 5 now it's 10.  If it was ok before then adding 4 new workers with 5 new pooled connections should mean you have even more wiggle room than you did before.

Ok cool - well fingers crossed :crossed_fingers:
It seems pretty weird as you should only get the error from Publishing API if somehow Publishing API has more processes running than connections pooled, and since Rummager doesn't Publishing API processes (as far as I'm aware) I don't get how that affected it. Very strange.


First release to production

Add resume template

Add General styles, Contact info styles, Intro and skills styles, Experience and additional info styles


Enlist zaccone/goPubIP as library user.

Update README.md file and add zaccone/goPubIP application as a library user.

Merged this other stuff, care to rebase to resolve the conflict?


Fix Inconsistent helm repo list behavior

What this PR does / why we need it:
FIX The issue "Inconsistent helm repo list behavior" https://github.com/helm/helm/issues/10734,
Signed-off-by: Kay Yan<EMAIL_ADDRESS>

fixed in https://github.com/helm/helm/pull/10519.


Update README.md

Fixing broken link to checklist - while watching your presentation on READMEs ; ).

Thank you so much! I didn't expect to get back to my seat with pull requests already. The Write the Docs crowd is too good :-)


Put v13 examples first and v12 in Usage.md

In this PR for just general practice (or like everyone else) I put v13 examples the in main readme.md and v12 in the other Usage.md file. Basically, I just swapped them.

I fixed it @DragonCat4012 it should work now


[question]: How to receive raw data(texture) instead of an DOM object from the pipeline?

In my testing app, developed with OpenCV C++ and Emscripten,  my input data are Uint8Array, I'm passing data from a video stream into a speedy-vision pipeline and then the output ImageBitmap is transformed in a ImageData by s simple convert routine:
// note image.source is ImageBitmap
ctx.drawImage(image.source, 0, 0);
data = ctx.getImageData(0, 0, oWidth, oHeight);

then i  pass the ImageData.data in a worker when needed.
Looking in the speedy-vision code you can't get a Uint8Array from a speedy-media-source.
Does it possible to pass raw data as Uint8Array from the pipeline instead doing that conversion? Or there is an alternative approach? In this sense i could avoid this conversion.

A Uint8Array is just data. We don't know if it's an image, and if it is, we don't know its dimensions nor its format. On the other hand, an ImageData includes dimensions and pixel data in the RGBA format.
If you inspect the code of the Image Sink at src/core/pipeline/nodes/images/sink.js, you'll see that a texture is first rendered to a canvas, and then an ImageBitmap is created from it. You could make a variant of that sink, so that an ImageData is created instead.

Hi @alemart thank you for the answer. 🙂
If you inspect the code of the Image Sink at src/core/pipeline/nodes/images/sink.js, you'll see that a texture is first rendered to a canvas, and then an ImageBitmap is created from it. You could make a variant of that sink, so that an ImageData is created instead

Do you mean that it's needed to modify the source code?

Do you mean that it's needed to modify the source code?

Yes. Instead of converting an ImageBitmap into an ImageData, you would generate an ImageData directly.

SpeedyTextureReader.readPixelsSync (slow) or SpeedyTextureReader.readPixelsAsync (better) will give you pixel data in RGBA format, as an Uint8Array. texture.width and texture.height will give you the dimensions of the image. You can create an ImageData with that, or just output the pixel data directly if it suits you.

@alemart thank you for the inputs i will try for sure!

I'm testing a new sink in this PR https://github.com/kalwalt/webarkit-testing/pull/24 i will let you know how it goes. :slightly_smiling_face:

So i created a new sink node, basically a copy of the original node but the run method retrun ImageData:
run(gpu)
   {
       const { image, format } = /** @type {SpeedyPipelineMessageWithImage} */ ( this.input().read() );

       return new SpeedyPromise(resolve => {
           const canvas = gpu.renderToCanvas(image);
           const ctx = canvas.getContext('2d');
           ctx.drawImage(image.source, 0, 0);
           ctx.getImageData(0, 0, image.width, image.height).data.then(data => {
               //this._imageData = data;
               this._bitmap = data;
               this._format = format;
               resolve();});
       });
   }

but i got this error:
Uncaught (in promise) a: Illegal argument. Can't connect port in of "n[image]" to port out of "Kn[7d0433e9b9a76]": incompatible types
-> [speedy-vision.js]
    at B.connectTo (http://localhost:63342/webarkit-testing/dist/SpeedyVisionSinkImageData.js:1:189399)
    at Wt.connectTo (http://localhost:63342/webarkit-testing/node_modules/speedy-vision/dist/speedy-vision.min.js:10:252294)
    at loadSpeedyImage (http://localhost:63342/webarkit-testing/examples/init_speedy.js:22:24)

i suppose that because ImageData is not an ImageMedia type, so i think i have to make slightly changes directly inside speedy-vision. i would avoid this but i think i have no choice if i want his feature.

Are you trying to input an ImageData into a pipeline? I might look into adding support.

i would avoid this but i think i have no choice if i want his feature.

hmmm, maybe you could just export() a SpeedyPromise<ImageData> instead, as in return SpeedyPromise.resolve(imageData); ?

Are you trying to input an ImageData into a pipeline? I might look into adding support.

i would avoid this but i think i have no choice if i want his feature.

hmmm, maybe you could just export() a SpeedyPromise<ImageData> instead, as in return SpeedyPromise.resolve(imageData); ?

yes that's was the idea, but maybe require more works and more changes in the speedy-vision core. Instead i can try as you suggested.

i have tried in the export() but i get again:
SpeedyVisionSinkImageData.js:1 Uncaught (in promise) a: Illegal argument. Can't connect port in of "n[image]" to port out of "Kn[65063ab21018b]": incompatible types
-> [speedy-vision.js]
    at N.connectTo (http://<IP_ADDRESS>:5500/dist/SpeedyVisionSinkImageData.js:1:186386)
    at Wt.connectTo (http://<IP_ADDRESS>:5500/node_modules/speedy-vision/dist/speedy-vision.min.js:10:252294)
    at loadSpeedyImage (http://<IP_ADDRESS>:5500/examples/init_speedy.js:22:24)

and note that i fallback the _run() method to the original code. So i thinking that maybe this is not allowed outside of speedy-vision core and then i will try to create a new class inside speedy-vision (on my fork) as i did here.

working on this branchfor the ImageData feature, i will send a PR very soon for this.


"no such table" random errors

Hello @simolus3 , thank you for the great library, it's really helping me.
I have been developing a Flutter app using moor_flutter: ^2.0.0, and everything was working fine in the Android emulator and also on my Google Pixel 1. However, when I tested the app on my wife's phone, an Essential phone, I was getting a lot of errors logging no such table and more.
I went through the issues in this project and noticed that https://github.com/simolus3/moor/issues/157 and https://github.com/simolus3/moor/issues/134 seem to be related.
I did a lot of tests and dug deeper in the library and I found out that the call rawQuery("PRAGMA user_version") in https://github.com/tekartik/sqflite/blob/master/sqflite/lib/src/database_mixin.dart#L483 can return a value of 2 - and not 0 as it should - even for a completely fresh install (previous version completely uninstalled).
The consequence is that:

https://github.com/tekartik/sqflite/blob/master/sqflite/lib/src/database_mixin.dart#L685 evaluates to false
which means that https://github.com/simolus3/moor/blob/master/moor_flutter/lib/moor_flutter.dart#L71 is never called
which means that  https://github.com/simolus3/moor/blob/master/moor/lib/src/runtime/executor/helpers/engines.dart#L271 evaluates to an int > 0
which means that https://github.com/simolus3/moor/blob/master/moor/lib/src/runtime/executor/helpers/engines.dart#L290 is not executed
which means that the database is not created and is the reason why the queries on that table trigger no such table errors

Please find here under two screenshot I did during my debugging. They both show the inspection of the return value of rawQuery("PRAGMA user_version") in https://github.com/tekartik/sqflite/blob/master/sqflite/lib/src/database_mixin.dart#L483 .
Buggy case:

Working case

I am not familiar enough with sqlite, sqflite or moor to investigate further but I hope that this can help figure out the root cause of these issues. If you need more info from me, I can happily provide you with more details so that we can solve these annoying bugs.

Wow - thank you so much for all the digging, this really helps a lot!
Now the interesting question is how PRAGMA user_version could return that value. We're doing some weird things with sqflite's openDatabase api. It provides an onCreate and onUpgrade callback that's meant to perform the migration and return a future, but moor only uses those methods to determine whether the upgrade is necessary  and returns directly. We run all migrations in the onOpen callback from sqflite.
I've made some small changes from the released version so that moor doesn't use those apis and instead sends the PRAGMA statements itself.
Can you try to put this in your pubspec and report whether it helps?
dependency_overrides:
  moor_flutter:
    git:
      url: git://github.com/simolus3/moor.git
      ref: investigate-user-versions
      path: moor_flutter/

Flutter can be a bit weird when a dependency is overridden, you might need to run flutter clean before flutter packages get. Moor will print "using dynamic version delegate" when opening the database on that branch.

Thank you for your quick reply!
I just tried your new branch on a fresh install on my wife's phone (previous app version completely uninstalled) and I am now getting the following errors:
I/flutter ( 4172): using dynamic version delegate
E/flutter ( 4172): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: You've bumped the schema version for your moor database but didn't provide a strategy for schema updates. Please do that by adapting the migrations getter in your database class.
E/flutter ( 4172): #0      _defaultOnUpdate (package:moor/src/runtime/migration.dart:23:5)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #1      GeneratedDatabase.handleDatabaseVersionChange (package:moor/src/runtime/database.dart:395:31)
E/flutter ( 4172): #2      DelegatedDatabase._runMigrations (package:moor/src/runtime/executor/helpers/engines.dart:290:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #3      DelegatedDatabase.ensureOpen.<anonymous closure> (package:moor/src/runtime/executor/helpers/engines.dart:253:13)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #4      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:31:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #5      DelegatedDatabase.ensureOpen (package:moor/src/runtime/executor/helpers/engines.dart:246:25)
E/flutter ( 4172): #6      QueryExecutor.doWhenOpened (package:moor/src/runtime/executor/executor.dart:26:12)
E/flutter ( 4172): #7      SimpleSelectStatement._getWithQuery (package:moor/src/runtime/statements/select.dart:191:40)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #8      SimpleSelectStatement.watch.<anonymous closure> (package:moor/src/runtime/statements/select.dart:255:24)
E/flutter ( 4172): #9      QueryStream.fetchAndEmitData (package:moor/src/runtime/executor/stream_queries.dart:185:33)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #10     QueryStream._onListen (package:moor/src/runtime/executor/stream_queries.dart:151:5)
E/flutter ( 4172): #11     _runGuarded (dart:async/stream_controller.dart:805:24)
E/flutter ( 4172): #12     _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
E/flutter ( 4172): #13     _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
E/flutter ( 4172): #14     _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
E/flutter ( 4172): #15     StartWithValueTransformer.bind.<anonymous closure> (package:moor/src/utils/start_with_value_transformer.dart:36:31)
E/flutter ( 4172): #16     _runGuarded (dart:async/stream_controller.dart:805:24)
E/flutter ( 4172): #17     _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
E/flutter ( 4172): #18     _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
E/flutter ( 4172): #19     _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
E/flutter ( 4172): #20     CapaeRedirectionStore.listenToDb (package:capae_redirections/app_state.dart:82:25)
E/flutter ( 4172): #21     CapaeRedirectionService.init (package:capae_redirections/services/capae_redirection_service.dart:54:18)
E/flutter ( 4172): #22     _MyGreatAppState.didInitState (package:capae_redirections/main.dart:91:29)
E/flutter ( 4172): #23     AfterInitMixin.didChangeDependencies (package:after_init/after_init.dart:14:7)
E/flutter ( 4172): #24     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4086:12)
E/flutter ( 4172): #25     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3919:5)
E/flutter ( 4172): #26     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3101:14)
E/flutter ( 4172): #27     Element.updateChild (package:flutter/src/widgets/framework.dart:2904:12)
E/flutter ( 4172): #28     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16)
E/flutter ( 4172): #29     Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5)
E/flutter ( 4172): #30     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3924:5)
E/flutter ( 4172): #31     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4088:11)
E/flutter ( 4172): #32     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3919:5)
E/flutter ( 4172): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3101:14)
E/flutter ( 4172): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2904:12)
E/flutter ( 4172): #35     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16)
E/flutter ( 4172): #36     Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5)
E/flutter ( 4172): #37     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3924:5)
E/flutter ( 4172): #38     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3919:5)
E/flutter ( 4172): #39     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3101:14)
E/flutter ( 4172): #40     Element.updateChild (package:flutter/src/widgets/framework.dart:2904:12)
E/flutter ( 4172): #41     Co
I/flutter ( 4172): Moor: Sent SELECT capae_ussds.id AS "capae_ussds.id", capae_ussds.redirection_id AS "capae_ussds.redirection_id", capae_ussds.response_message AS "capae_ussds.response_message", capae_ussds.response_status AS "capae_ussds.response_status", capae_ussds.sim_serial_number AS "capae_ussds.sim_serial_number", capae_ussds.task AS "capae_ussds.task", capae_ussds.time AS "capae_ussds.time", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_ussds LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_ussds.redirection_id; with args []
E/SQLiteLog( 4172): (1) no such table: capae_ussds
I/flutter ( 4172): Moor: Sent SELECT capae_alarms.id AS "capae_alarms.id", capae_alarms.redirection_id AS "capae_alarms.redirection_id", capae_alarms.time AS "capae_alarms.time", capae_alarms.task AS "capae_alarms.task", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_alarms LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_alarms.redirection_id; with args []
E/flutter ( 4172): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: DatabaseException(no such table: capae_ussds (code 1 SQLITE_ERROR): , while compiling: SELECT capae_ussds.id AS "capae_ussds.id", capae_ussds.redirection_id AS "capae_ussds.redirection_id", capae_ussds.response_message AS "capae_ussds.response_message", capae_ussds.response_status AS "capae_ussds.response_status", capae_ussds.sim_serial_number AS "capae_ussds.sim_serial_number", capae_ussds.task AS "capae_ussds.task", capae_ussds.time AS "capae_ussds.time", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_ussds LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_ussds.redirection_id;) sql 'SELECT capae_ussds.id AS "capae_ussds.id", capae_ussds.redirection_id AS "capae_ussds.redirection_id", capae_ussds.response_message AS "capae_ussds.response_message", capae_ussds.response_status AS "capae_ussds.response_status", capae_ussds.sim_serial_number AS "capae_ussds.sim_serial_number", capae_ussds.task AS "capae_ussds.task", capae_ussds.time AS "capae_ussds.time", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_ussds LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_ussds.redirection_id;' args []}
E/flutter ( 4172): #0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #1      SqfliteDatabaseFactoryImpl.wrapDatabaseException (package:sqflite/src/factory_impl.dart:29:7)
E/flutter ( 4172): #2      SqfliteDatabaseMixin.safeInvokeMethod (package:sqflite/src/database_mixin.dart:184:15)
E/flutter ( 4172): #3      SqfliteDatabaseMixin.txnRawQuery.<anonymous closure> (package:sqflite/src/database_mixin.dart:366:36)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #4      SqfliteDatabaseMixin.txnSynchronized.<anonymous closure> (package:sqflite/src/database_mixin.dart:300:22)
E/flutter ( 4172): #5      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:31:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #6      SqfliteDatabaseMixin.txnSynchronized (package:sqflite/src/database_mixin.dart:296:43)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #7      SqfliteDatabaseMixin.txnRawQuery (package:sqflite/src/database_mixin.dart:365:12)
E/flutter ( 4172): #8      SqfliteDatabaseExecutorMixin.rawQuery (package:sqflite/src/database_mixin.dart:115:15)
E/flutter ( 4172): #9      _SqfliteExecutor.runSelect (package:moor_flutter/moor_flutter.dart:147:29)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #10     _ExecutorWithQueryDelegate.runSelect.<anonymous closure> (package:moor/src/runtime/executor/helpers/engines.dart:37:19)
E/flutter ( 4172): #11     _ExecutorWithQueryDelegate._synchronized (package:moor/src/runtime/executor/helpers/engines.dart:22:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #12     _ExecutorWithQueryDelegate.runSelect (package:moor/src/runtime/executor/helpers/engines.dart:35:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #13     JoinedSelectStatement._getWithQuery.<anonymous closure> (package:moor/src/runtime/statements/select.dart:122:24)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #14     QueryExecutor.doWhenOpened.<anonymous closure> (package:moor/src/runtime/executor/executor.dart:26:39)
E/flutter ( 4172): #15     _rootRunUnary (dart:async/zone.dart:1132:38)
E/flutter ( 4172): #16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter ( 4172): #17     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
E/flutter ( 4172): #18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
E/flutter ( 4172): #19     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
E/flutter ( 4172): #20     Future._completeWithValue (dart:async/future_
E/SQLiteLog( 4172): (1) no such table: capae_alarms
E/flutter ( 4172): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: DatabaseException(no such table: capae_alarms (code 1 SQLITE_ERROR): , while compiling: SELECT capae_alarms.id AS "capae_alarms.id", capae_alarms.redirection_id AS "capae_alarms.redirection_id", capae_alarms.time AS "capae_alarms.time", capae_alarms.task AS "capae_alarms.task", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_alarms LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_alarms.redirection_id;) sql 'SELECT capae_alarms.id AS "capae_alarms.id", capae_alarms.redirection_id AS "capae_alarms.redirection_id", capae_alarms.time AS "capae_alarms.time", capae_alarms.task AS "capae_alarms.task", capae_redirections.id AS "capae_redirections.id", capae_redirections.sim_serial_number AS "capae_redirections.sim_serial_number", capae_redirections.phone_number AS "capae_redirections.phone_number", capae_redirections.start_time AS "capae_redirections.start_time", capae_redirections.end_time AS "capae_redirections.end_time", capae_redirections.periodicity AS "capae_redirections.periodicity" FROM capae_alarms LEFT OUTER JOIN capae_redirections ON capae_redirections.id = capae_alarms.redirection_id;' args []}
E/flutter ( 4172): #0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #1      SqfliteDatabaseFactoryImpl.wrapDatabaseException (package:sqflite/src/factory_impl.dart:29:7)
E/flutter ( 4172): #2      SqfliteDatabaseMixin.safeInvokeMethod (package:sqflite/src/database_mixin.dart:184:15)
E/flutter ( 4172): #3      SqfliteDatabaseMixin.txnRawQuery.<anonymous closure> (package:sqflite/src/database_mixin.dart:366:36)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #4      SqfliteDatabaseMixin.txnSynchronized.<anonymous closure> (package:sqflite/src/database_mixin.dart:300:22)
E/flutter ( 4172): #5      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:31:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #6      SqfliteDatabaseMixin.txnSynchronized (package:sqflite/src/database_mixin.dart:296:43)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #7      SqfliteDatabaseMixin.txnRawQuery (package:sqflite/src/database_mixin.dart:365:12)
E/flutter ( 4172): #8      SqfliteDatabaseExecutorMixin.rawQuery (package:sqflite/src/database_mixin.dart:115:15)
E/flutter ( 4172): #9      _SqfliteExecutor.runSelect (package:moor_flutter/moor_flutter.dart:147:29)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #10     _ExecutorWithQueryDelegate.runSelect.<anonymous closure> (package:moor/src/runtime/executor/helpers/engines.dart:37:19)
E/flutter ( 4172): #11     _ExecutorWithQueryDelegate._synchronized (package:moor/src/runtime/executor/helpers/engines.dart:22:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #12     _ExecutorWithQueryDelegate.runSelect (package:moor/src/runtime/executor/helpers/engines.dart:35:26)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #13     JoinedSelectStatement._getWithQuery.<anonymous closure> (package:moor/src/runtime/statements/select.dart:122:24)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #14     QueryExecutor.doWhenOpened.<anonymous closure> (package:moor/src/runtime/executor/executor.dart:26:39)
E/flutter ( 4172): #15     _rootRunUnary (dart:async/zone.dart:1132:38)
E/flutter ( 4172): #16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter ( 4172): #17     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
E/flutter ( 4172): #18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
E/flutter ( 4172): #19     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
E/flutter ( 4172): #20     Future._completeWithValue (dart:async/future_impl.dart:522:5)
E/flutter ( 4172): #21     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
E/flutter ( 4172): #22     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
E/flutter ( 4172): #23     BasicLock.synchronized (package:synchronized/src/basic_lock.dart)
E/flutter ( 4172): <asynchronous suspension>
E/flutter ( 4172): #24     DelegatedDatabase.ensureOpen (package:moor/src/runtime/executor/helpers/engines.dart```

So it really looks like the database on the device is sending bogus data. In 578f258caf865b43b1e229c196e53b551f1f4822, I tried manually setting the user version to 0 if the database file doesn't exist. If that doesn't work moor could create its own table to store user versions.

I noticed the “buggy case” screenshot is opening a file called “db.sqlite” and the “working case” screenshot is opening “db1.sqlite” - could that be related?

Interesting. @vkammerer did you change the database path in your code after re-running the app? Moor doesn't do anything that could cause this AFAIK, I'm not sure if that's one of the hacks employed by sqflite to work around device specific limitations.

@Mike278 @simolus3 yes sorry, I should definitely have mentioned this earlier too.
The reason I didn't mention it at first is because the issue came up on my wife's phone when using the path db.sqlite, but this path was working fine with my Pixel and on the emulator.. so the working screenshot could also have displayed db.sqlite if it had been taken while running on the working devices.
Indeed, at first I was doing tests by switching phones every time. But after a while I tried changing the path on the Essential and I noticed that simply changing the path to anything else than db.sqlite was making it work too.
So in summary:
The working case happens:

with the path db.sqlite or any other path on my Google Pixel 1
with the path db.sqlite or any other path on the emulator
with the path db1.sqlite or db2.sqlite (only ones tested so far but maybe any other path than db.sqlite) on the Essential phone

The buggy case happens:

with the path db.sqlite on the Essential phone

Hmm strange, maybe the Essential phone isn't properly deleting all the app's files when uninstalling?

So I did some more investigation on the buggy Essential phone using the Device File Explorer in Android Studio and I could see that:

the data package in data/data/com.vincentkammerer.capae_redirections is completely deleted when the app is uninstalled, as expected. (com.vincentkammerer.capae_redirections is my app).
when I then install the app and set a breakpoint in the main function, right before executing runApp, the data package is created and a database folder is created, with a db.sqlite file in it! (even though my code references a db2.sqlite for its path).
when I keep executing the normal flow after the breakpoint, the data package now includes the database db2.sqlite, along with the useless db.sqlite.

I have repeated the same workflow with my working Google Pixel 1 and only the database db2.sqlite is created, as expected.
Here under some screenshots.
Buggy phone = Essential
Fresh install, breakpoint before runApp

After normal execution after breakpoint

Working phone = Google Pixel
Fresh install, breakpoint before runApp

After normal execution after breakpoint

Just to be sure - your code works on the essential phone if you chose a the different database name (e.g. db2.sqlite)? There are no "no such table" errors?

when I then install the app and set a breakpoint in the main function, right before executing runApp, the data package is created and a database folder is created, with a db.sqlite file in it! (even though my code references a db2.sqlite for its path).

To be honest I'm not sure what could cause this. db.sqlite is a pretty general database name, maybe there is some other component writing that file (seems bizarre that this only happens on Essential Phones though). You might find out a bit more if you pull that file from the device and analyze it locally. If you have the command line tool for sqlite installed, you can use these commands to analyze the table structure. Maybe that gives some insights on why the file was written.

Hi @simolus3 . Yes, my code works fine on the buggy Essential phone when I set the database name to db2.sqlite: no error is logged.
I just ran a fresh install again and downloaded the 2 databases that are created: db.sqlite and db2.sqlite, and inspected them with the sqlite3 CLI.

It looks like the db structure of db.sqlite is the one of a previous version of the app, which I had tested on my wife's phone about a week ago. Indeed, capae_redirections is the first table I created, and the number field has now been renamed to phone_number.
I grepped my project directory for db.sqlite and even number and can find no code that would be responsible for creating that db or that db structure.
Moreover, I can see that the data directory is completely removed when I uninstall the app, as you can see here.

So it looks like the Essential is keeping a cached version of the db somewhere, and copying it when the app installs again.
It looks like this is not an issue with moor but probably a bug with the phone itself. Let's hope that this thread can help others diagnose why they get such errors..

So it looks like the Essential is keeping a cached version of the db somewhere, and copying it when the app installs again.

Oh boy. But thanks a lot for finding the root cause of this issue! I'm wondering if that's the same cause for similar issues mentioned by others...
Also, I'm puzzled how that could cause "no such table" errors when the table name from the cached database is the same.
I'll definitely put something like this in moor's FAQ section on the docs, I'm just not sure what developers could actually do against that. Writing code to delete the database file and re-open the database when a no such table error is thrown feels kind of dangerous.

I have done a few more tests and can now see that:

If the app is completely uninstalled (application icon dragged from the application list to Uninstall):

the data directory for my app is completely deleted
when I then reinstall my app, the cached file db.sqlite is recreated

If the app is not uninstalled, but that its storage and cached data (long press on icon > App Info > Storage & Cache > Clear Storage + Clear Cache)

the data directory for my app exists but is empty, as expected
when I then reinstall my app from Android Studio, the cached db.sqlite file is not here.
when I then uninstall the app and reinstall it, the cached db.sqlite reappears.

So it really looks like this recreation of an old version of the database happens only when the app has been completely uninstalled and then reinstalled.
After complete uninstallation (application icon dragged from the application list to Uninstall) and reinstallation from Android Studio

After clearing Storage and Cache and reinstallation from Android Studio

Also, I'm puzzled how that could cause "no such table" errors when the table name from the cached database is the same.

It looks like the "no such table" error is not triggered when the table name is the same, but rather because my database includes new tables (capae_ussds and capae_alarms - see sqlite3 output above).

I think I found the culprit!
https://stackoverflow.com/a/41355502/2542603
As explained in https://developer.android.com/guide/topics/data/autobackup.html , even after a complete uninstallation, the data may be kept by Google Drive and reinstalled before the app launches.

It looks like one of the solutions to this could be to recommend developers to set
<application android:allowBackup="false">

when iterating / developing prototypes, as explained in  https://developer.android.com/guide/topics/data/autobackup.html#EnablingAutoBackup
Once they're ready to deploy their apps for the first time, they can then decide whether they want to enable that feature again.

This threat saved my week. My users are running in this issue too. And this seems the same issue that I'm facing right now.
Device:
Xiaomi K20
Android 9

My users are running in this issue too

That would likely indicate another problem, then :( This can pretty much only happen if you change the tables without writing a migration and instead rely on uninstalls to reset the database.

Same error here.
My app just show information, users do not write anything on database. So, instead use migration scripts (that enlarge the apk of my point of view), I just remove the old database and do copy a new one. I control this saving the version number of the current database in 'shared preferences', and the new version of the new release is a static value inside my databaseHelper class. If is higher, I delete the old .db and copy the new.
While works for most of users, some starts to complaining about this errors now.
The -journal database files should be causing it?

I think it might be those journal files, yes. To be sure, maybe you can put the database into its own subfolder, so that journal and lock files will be in the same folder. Then you can just delete the entire folder without missing anything.
Another approach would be to write DROP TABLE statements for everything and then set PRAGMA user_version = 0. Moor should then re-create the database when opening it again.

You might have had a syntax error with your onCreate.
I had similar issues and what I did was to uninstall the app and this will delete the database file. Check that your syntax works by copying the syntax to an SQLite browser or mini app to verify that it's working. Paste back the working syntax and it should be okay.
That was what I did when I was faced with this issue.

I will leave this here in case someone makes the same mistake as I did;
For me the source of the issue was using a custom constraint for foreign keys with the wrong table name:
IntColumn get fkOtherTableId =>
      integer().customConstraint("REFERENCES otherTable(id)")();

should have been
IntColumn get fkOtherTableId =>
      integer().customConstraint("REFERENCES other_table(id)")();

So, if you get this error on an insert, be sure to have a look at your constraints.


[GO][PARQUET] Arrow DATE64 type is coerced into Parquet TIMESTAMP[ms] logical type instead of DATE (32-bit)

Describe the bug, including details regarding any error messages, version, and platform.
The Parquet DATE logical type must annotate an int32 representing days since the UNIX epoc per the spec. The Arrow DATE64 (ms since UNIX epoch) type does not have a direct analog in Parquet, so it must be coerced into a compatible representation when writing Arrow data to Parquet.
The prevailing convention is to coerce DATE64 to int32 seconds since the UNIX epoch (Parquet DATE logical type) [e.g. C++, Rust]. The behavior for handling an int64 value not on a date boundary (i.e. not divisible by 86400000) is not defined. Some implementations validate this condition while others truncate to the date the physical value falls within.
The current Go implementation diverges from the approach followed by these languages, coercing instead to a UTC-normalized TIMESTAMP[ms]. This may lead to surprising behavior in cross-language use-cases and alters the original semantics of the type (at least for non-arrow consumers that don't handle store_schema). It seems that it would increase overall compatibility in the ecosystem to align Go to the convention currently followed in the other implementations.
See also: https://lists.apache.org/thread/q036r1q3cw5ysn3zkpvljx3s9ho18419
Component(s)
Go, Parquet

I'm planning to open a PR with the proposed change.


pull request for e2e test at 01/14/2017 08:56:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Rename script, .desktop, icon, etc spyder3 => spyder4

Searching spyder3 in this repository still finds script, .desktop, icon, etc file names, they should be renamed spyder4.

That's a requirement of Linux distros: the 3 in spyder3 refers to Python 3, not to Spyder 3.

IMHO that's not a requirement. You could rename it spyder, or python3-spyder, or python3-spyder4, etc. spyder3 is misleading.

Every other package on Linux uses the same convention (e.g. ipython vs. ipython3), so we're just merely following the trend.
If you find this misleading, please use Anaconda, which doesn't have this problem (i.e. our executable script is named spyder in Python 2 and 3).

That convention depends on the actual distribution. For instance, Arch Linux provides a package ipython for Python 3 (which includes executables usr/bin/ipython and usr/bin/ipython3), and a package ipython2 for Python 2 (which includes executable usr/bin/ipython2). Fedora, which has already moved away from Python2 (as most other distributions are doing) provides a main package ipython which depends on python3-ipython (and others).
See also the find_entry_points function in setupbase.py. On Windows ipython installs both ipython.exe and ipython3.exe.
Since Spyder requires Python 3, in your mainline package you could define only the spyder script, or both spyder and spyder3 scripts if you will (it would behave like ipython). Then of course each Linux distribution mantainer can apply a customization to its distributed package if needed.
Just my 2 cents of course.

Spyder still works for Python 2 and 3.

Oh sorry, I thought I read that Spyder 4 deprecated Python 2 support, never mind. In this case you could define both spyder and spyder3 for Python 3, and spyder2 for Python 2. No doubts that nowadays most users have Python 3 installed, and would expect to run Spyder with command spyder. I have Python 3 installed, and I can run IPython both with commands ipython and ipython3.


add Tabaco National High School

@zendleann I am sorry, the domain deped.gov.ph is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Add support for associated link name, session id, and clean up ManagementNode

Feature changes

Removes sessionId from createManagementNode. Multi-session deals with many session ids, we don't want to create a different management node for each session id.
Adds support for associating the link name.
Moves lastPeekedSequence into receiver. The receiver can peek different messages depending on its sessionId, this will result in the incorrectly mapped sequence number if we use peek() or peekBatch(int).
Cleans up ManagementNode by using overloads and reducing the number of interface methods.
Adds tests.

Bug fixes

Fixes bug where management node by its key was not properly returned.
Fixes bug where session'd entity operations were not correct on management node.

Part of a larger PR for multi-sessioned support. Related to #10183

/azp run java - servicebus - tests

/azp run java - servicebus - tests


Using a dedicated type for IRIs (and URLs)

Hi,
Would you consider using dedicated types for IRIs?
This is still pre-1.0, but using iri_string instead of raw &str or String seems more appropriate.
I understand that keeping existing code using reqwest with regular strings would be a must even before reqwest gets to 1.0, but allowing users to type new code properly would be great.

nvm, I see you use the url library and my problem is that there's no easy From between the IRI and URL libraries.


xz opt binaries lacking executable bit

gist-logs
xz, xzdec, lzmainfo & lzmadec from the xz package all appear to be missing the executable bit when installed via linuxbrew.
I have confirmed on the binaries found in
$HOMEBREW_PREFIX/opt/xz/bin/ and $HOMEBREW_PREFIX/Cellar/xz/5.2.0/bin/ and verified that OS X is not affected.

I'm not able to reproduce your issue.
sjackman at xhost11 in ~
$ brew reinstall xz
==> Reinstalling xz
==> Downloading http://fossies.org/linux/misc/xz-5.2.0.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/gsc/btl/linuxbrew/Cellar/xz/5.2
==> make install
/gsc/btl/linuxbrew/Cellar/xz/5.2.0: 65 files, 1.9M, built in 31 seconds
sjackman at xhost11 in ~
$ ls -l `find /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin -type f`
-r-xr-xr-x 1 sjackman assembly 13336 Feb 25 06:26 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/lzmadec
-r-xr-xr-x 1 sjackman assembly 12656 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/lzmainfo
-r-xr-xr-x 1 sjackman assembly 80560 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xz
-r-xr-xr-x 1 sjackman assembly 13344 Feb 25 06:26 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xzdec
-r-xr-xr-x 1 sjackman assembly  6272 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xzdiff
-r-xr-xr-x 1 sjackman assembly  5628 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xzgrep
-r-xr-xr-x 1 sjackman assembly  1802 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xzless
-r-xr-xr-x 1 sjackman assembly  2161 Feb 25 06:27 /gsc/btl/linuxbrew/Cellar/xz/5.2.0/bin/xzmore


fix(helm): add message if release deleted successfully

kubernetes has explicit delete message that user can know resources being deleted for sure,
suggest also add this behavior to helm, as it is too 'quiet' for deletion operation right now.

looks great. thanks @iamzhout


[Feature Request] Self clean and steri clean

It would be amazing to have these options

There is now 1 service to update any settings.
If you prefer a different way to integrate, you can propose by opening a new issue :)


fix: fix package files

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


high cpu usage when idle

I searched and found
bug #380
but is closed and is 1 year old.
What versions are you running?
Chromium 83.0.4103.97 Arch Linux
go version go1.14.4 linux/amd64
What did you do? Include clear steps.
I start using chromedp for a bot im building
What did you expect to see?
to not use more memory/CPU as when I do this manually when the browser is open
What did you see instead?
it used more than 3 times the amount of memory and CPU usage when doing the same steps with chromedp
Question: Anyways to lower this super intensive use of CPU?
this is a VR site, maybe is not using the GPU as it should and instead using the CPU?

@mvdan Hello ok so today I advanced in the bot and I took a picture of the ridicules CPU use here is attached, also here is the code, in case I am doing something bad, or I can modify something so is not that crazy..
gitlab repo: https://gitlab.com/rek2/gohubsbot/-/tree/master
picture:

as I mention of my two posts, I am not saying that this is chromedp fault, but will be nice if I can get some tips on lower the CPU use, as you can see in the picture is just way to much.
Thanks

This does not look like it's related to chromedp to me, given that it's the browser and no the Go program eating up all the CPU. Is it possible that this is related to whatever website you are visiting being CPU-intensive? If not can you provide us with a minimal code snippet that causes it? Not really practical to dig through your repo.

Hello I moved away from chromedp so goingt o close this, but it was def chromedp the SAME action was been doing manually with chrome open with 3 tabs and even like that it takes less resources  than doing it only 1 time with chromedp.  thanks for responding tho.


[BUG] It stuck in an infinite loop when parsing specific css.

If you run this, you will never get a response.
const juice = require('juice');
const result = juice(`<style>.my-class:not(.is-content-justification-space-between, .is-content-justification-right) {}</style>`);
console.log('result', result);

If there is only one class inside the :not(...), or if the class names are shorter - it could not be reproduced.
Node version: v10.24.1
Juice version: 8.0.0

I think this will solve it
https://github.com/Automattic/juice/pull/442

I recently encountered this as well and I believe it's because of an issue with mensch, the library used to transform CSS into tokens.
Selectors are split with split(',') which in this situation creates a token like :not(.is-content-justification-space-between with no closing parenthesis.
When this token is passed to the Slick parser, it blocks at this line as the Regex evaluation seems to never completes.
There is a PR open to fix this in mensch (https://github.com/brettstimmerman/mensch/pull/29) but it uses a pattern with negative lookbehind which is not supported on all browsers.
If it helps, here is a test case to reproduce this issue:
.css file:
#root [mstyles='flowchart_container'] :is([mstyles~='flowchart_block_simple'],[mstyles~='flowchart_block_multi'],[mstyles~='flowchart_block_dashed'],[mstyles~='flowchart_icon_container']) {
	background: var(--background);
	border-color: var(--on-background);
}

.html file:

.out file:


"CTRL" + "Z" Sprite Corruption...

Bug description:
Pushing "CTRL" + "Z" Will sometimes cause a sprite to corrupt and look different than what was expected.
Steps to reproduce the bug

go to piskelapp.com
fill or tinker around with a sprite
push "CTRL" + "Z"

Environment details

operating system: Windows 11
browser (or offline application version): Brave

Sprite details

number of frames: 6
sprite resolution: 80 x 80
session duration: 12

@LandonBoi123 is this what happens?

I was able to follow your instructions and this is what happened
No errors in the console

tried on edge and Vivaldi, Firefox could not replicate, seems to only happen on the first frame

Encountered this issue today, on Windows 11 Firefox. What Piskel looked like upon opening:

Here's what happens when I draw and undo:

Occurred on Firefox version 103.0.1.

Also occurs after updating to Firefox 104.0.1.

weird seems like a similar but slightly different issue I will take a look soon


Document on customizable redirect page support for OAuth 2.0 Form Post Response Mode

$subject should be documented. Refer https://wso2.org/jira/browse/IDENTITY-5630

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


tcpproxy example compile error Fixes gh-856

Issues associated with this PR
https://github.com/sofastack/sofa-mosn/issues/856
Your PR should present related issues you want to solve.
Sign the CLA
Make sure you have signed the CLA
Solutions
You should show your solutions about the issues in your PR, including the overall solutions,
details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases.
And you need to show the ut result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #857 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #857      +/-   ##
==========================================
- Coverage   55.76%   55.65%   -0.11%
==========================================
  Files         234      234
  Lines       23771    23771
==========================================
- Hits        13256    13230      -26
- Misses       9307     9329      +22
- Partials     1208     1212       +4

Impacted Files
Coverage Δ

pkg/stream/stream.go
46.66% <0%> (-13.34%)
:arrow_down:

pkg/network/connection.go
33.69% <0%> (-0.92%)
:arrow_down:

pkg/module/http2/server.go
81.7% <0%> (-0.81%)
:arrow_down:

pkg/module/http2/transport.go
78.44% <0%> (-0.44%)
:arrow_down:

Continue to review full report at Codecov.

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


Allow same-name components but on different applications.

Closes https://github.com/redhat-developer/ocdev/issues/214
Allows the ability to define the same component name but on different applications.

@ashetty1 Is it possible for you to build this (then do a cp ocdev binary to your folder) and try this out with the end-to-end testing?
I'm trying to make this pass but I'm getting stuck on the "pinging" code.
Usecase #5 When push is made
  should push reflect changes
  /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:195
$ oc get svc usecase5-nodejs -o go-template='{{.spec.clusterIP}}:{{(index .spec.ports 0).port}}'
<IP_ADDRESS>:8080

Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging h$
tp://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://172.$
0.79.251:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:$
080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080Pinging http://<IP_ADDRESS>:8080
• Failure [309.195 seconds]
Usecase #5
/home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:116
  When push is made
  /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:194
    should push reflect changes [It]
    /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:195

    could not ping the specific service in given time: 10 minutes

    /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:81
------------------------------
Usecase #5 adding storage
  should default to active component when no component name is passed
  /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:240

Ignore the "Ping http://<IP_ADDRESS>:8080" I added that to have a bit of verbosity. Does this pass locally on your machine?

@ashetty1
So I looked into it further...
Tests seem to pass now, but that's only because I uncommented the
I don't see why we are pinging the cluster IP despite nothing appearing on 8080. There's no oc expose or ocdev url before the ping.
How are we using: https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L199 for pinging when only ClusterIP is exposed (and I'm unable to ping that endpoint via minishift)

Sorry, missed this. Will look into this earliest tomorrow.
Possibly, https://github.com/redhat-developer/ocdev/blob/d69a341345aaadf56ba9fdbeefeac49419b9442d/tests/e2e/e2e_test.go#L196 won't work for all cases?

@ashetty1 That's what I was thinking. I removed https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L196 from the testing suite and this is able to pass (with the exception of storage which I'm working on)

@ashetty1
A few things testing side that I had to modify that were not working on minishift that I've added to this PR:

Removed the "ping" function
Removed running at oc system:admin (it is actually not needed and tests pass fine without it

Ayyyy tests are green :100:

@cdrage I have addressed the admin login part while refactoring teh e2e code: #322. Thank you so much for that tip!

@kadel @ashetty1 @containscafeine ready for review :+1:

Blocked until we get @containscafeine 's storage go-client PR in. https://github.com/redhat-developer/ocdev/pull/295

https://github.com/redhat-developer/ocdev/pull/295 merged, I'll start work again on this / get this updated.


Object subtyping rules

The docs mention that Object is a supertype of the other object types. However, it sometimes can act as a subtype, eg, I can assign from Object to Foo in the example below without errors. But I do get an error when I pass an Object to a function that takes a Foo. Bug or feature?
// @flow

class Foo {}

function f(x: Foo, y: Object) {
  x = y; // was expecting error here, got nothing
}

function g(x: Foo) {}
g(new Object); // error as expected

This is with the latest release, v0.22.1.

Ah, thanks for the report! It's a docs bug. Object is a supertype and a subtype of object types, by design. The typing rule, for reference.
I will be sure to update the docs. The same behavior is true of Function, which has the same docs bug.

Aside, I wish we had named this type AnyObject instead. We could certainly have a MixedObject type—do you think that would be generally useful?

If Object is a subtype of all objects, shouldn't we be able to pass it to a function that takes a Foo?

We could certainly have a MixedObject type—do you think that would be generally useful?

In Closure Compiler, the Object type is the top object (the MixedObject as you say) and we don't have an AnyObject type. Has worked out OK for us. I don't have strong evidence in favor of one or the other though.

If Object is a subtype of all objects, shouldn't we be able to pass it to a function that takes a Foo?

The type of new Object isn't Object, confusingly. It's {}.

In Closure Compiler, the Object type is the top object

Our model is a bit unintuitive here, because we don't treat everything as an object. number, for example, isn't a subtype of Object or {}, but is a subtype of any and mixed. It sounds like mixed is the Flow equivalent of Closure Compiler's Object type.

The type of new Object isn't Object, confusingly. It's {}.

Oh, I would never have guessed that :)

we don't treat everything as an object.

We don't either; number is not a subtype of Object in Closure Compiler.

It sounds like mixed is the Flow equivalent of Closure Compiler's Object type.

AFAIU, Flow's mixed is the same as Closure Compiler's top type, written *.
I'm looking into these things because I'm trying to document the differences between the two type systems. I'll keep you posted.

I'm looking into these things because I'm trying to document the differences between the two type systems.

Oh, great! Looking forward to that.

Oh, and since you're getting into the weeds here, let me add that the type of new Object and the literal expression {} is considered unsealed. That's a dimension of the type which isn't exposed in the type annotation.

Object is now just an alias for any, and deprecated. You can make it an error with the unclear-type Flow lint rule. You can check the docs on arbitrary objects: https://flow.org/en/docs/types/objects/#arbitrary-objects


>= and <= are not supported

+=, -=, *=, /= are supported in #83, but >= and <= are not.

@XFFXFF  I'm verry interested in this issue, maybe let me try it? : D