Fixed mysql error while using MariaDB 10.3

Description

Questions
Answers

Why?
The column name "rows" is a reserved word and must be escaped in mariadb 10.3

BC breaks?
no

Tests exists & pass?
yes

Related tickets?
https://forum.shopware.com/discussion/47103/mariadb-syntax-fehler-aufgrund-von-reserviertem-wort#latest

How to test?
Install mariadb 10.3 and create a new shopping world

Requirements met?
Yep

This is also the case for the latest stable version of MariaDB (version 10.2.6), since "rows" was reserved in version 10.2.4.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-19145.
Please use this issue to track the state of your pull request.

Merged with https://github.com/shopware/shopware/commit/d33b45e26aa54baeb1cca0ba9400c981d14be1db

any chance to get a backport of this ticket for 5.2.x ? not everyone can update that quick to 5.3 because of plugin dependencies and this is a small fix which can be easily backported?

Currently, the 5.2 branch will only get security fixes for the next time. So I doubt that we'll back-port this change, since we do not support MariaDB officially. Please refer to the performance guide for more information.

thanks @janbuecker so i ll fix it myself until we can update to 5.3.


Wrong API call GET --> DELETE

https://github.com/SebRut/pygrocy/blob/8024659df34fb259371fed89afe89312e07e9c86/pygrocy/grocy_api_client.py#L325
Need to be changed into DELETE instead of GET

Hi, I would like to work on this. Is there anyone working on it?


fix: Remove non existing import NotificationStyles in error service

What:

Remove a non existing import in the error handler service for NotificationStyles.
Can cause an error when typescript compiling the application.

Codecov Report

Merging #429 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #429   +/-   ##
=======================================
  Coverage   87.77%   87.77%
=======================================
  Files          67       67
  Lines         990      990
  Branches       41       41
=======================================
  Hits          869      869
  Misses        103      103
  Partials       18       18

Impacted Files
Coverage Δ

...pp/core/error-handler/app-error-handler.service.ts
61.53% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @Doehl !
Thank you for your contribution! You might considering also running npm run contributors:add -- Doehl code and npm run contributors:generate and commiting it to your PR to appear in the contributors list ;)
Cheers!

Hi tomatrajan,
Thanks, I have added my self as contributor


#25-Transparency

PR Adds support for transparent pen, rect and ellipses.
I think this is more of a Draft than an actual PR, but I think it could be helpful to get some quick pointers.
It enables support for transparency, and while rather straightforward I do see some potential improvements, in both tool icon generation - tool color and toggling.

@edemaine I see you linked #25 but with a few changes this might also be able to tackle #173 ?

@edemaine -- also, I've kept changing the PR all day, but I think I have it where I'm now ready for you to tear it apart.

@edemaine I think I hit most or all of your changes.  Thanks - it should be much more cocreate-y

@flooie Please push your changes...

@edemaine lol - thats embarrassing.

Thanks @flooie for working on this! I'm excited to play around with it (and we'll see whether 25, 50, 75 are the right options in practice). It'll be deployed within the next ~30 minutes.


Scrobbling Songs I Have Not Listened To

I am using the Simple Last FM scrobbler on my Galaxy S4 running Android 4.2.2 Jelly Bean and the latest version of TouchWiz. The device is not rooted or modified in any way.
Primarly I listen to music with Google Play Music. I noticed in the last week that a bunch of songs have been scrobbled to my account that I have not listened to. They are popular songs, Artists including Maroon 5, Rhianna, Brittany Spears, and Trey Songz. I don't listen to these artists nor have I listened to them on my phone at all let alone recently.
There doesn't seem to be any rhyme or reason to when the songs are scrobbled, that I can tell at least. Different artists at different times sometimes close to one another sometimes spread out.
Any help in this area would be greatly appreciated

Is this still  a problem @rhartman93 ? If not, could you please CLOSE this issue.

@rhartman93 Please continue discussion in #145


table in readme to solve confusion between target and atack model with purpose and data they have seen

also what training arguments the users/functions have access to

As far as I understood the task, the requested tables in the README could look like the following. What do you think @Friedrich-Mueller?  For the MembershipInferenceBlackBoxRuleBasedAttack and MembershipInferenceAttackOnPointBasis I am not completely sure if this is correct but both attacks do not have an attack_model (correct me if I am wrong) and thus the attack_models do not have seen any data.
For the MembershipInferenceBlackBoxAttack:

training data
test data

target_model
yes
no

attack_model
yes
yes

For the MembershipInferenceBlackBoxRuleBasedAttack:

training data
test data

target_model
yes
no

attack_model
no
no

For the MembershipInferenceLabelOnlyDecisionBoundaryAttack:

training data
test data

target_model
yes
no

attack_model
yes
yes

For the MembershipInferenceAttackOnPointBasis:

training data
test data

target_model
yes
no

attack_model
no
no


Towards 1 million users (and beyond) for Open Food Facts Mobile App

Hi everyone,

Since the launch of the app a year ago, we now have a common goal: reach 1 million users.
We have a dedicated blog post explaining how to contribute to this project.
But to quote some parts of it:

We would like to build together a vision for the app, and collectively decide how we should try to reach this goal. What should Open Food Facts app — or even apps — look like to reach a maximum of people? This gives the opportunity to work all together.

We have multiple events to participate in this project, but it will really start today, with the Phase 3: https://forum.openfoodfacts.org/t/towards-1-million-users-and-beyond-for-open-food-facts-mobile-app/190

The first brainstorming session to define together a vision for the next version of the app will be at 6pm CET this evening, see you there! :)
Agenda, notes, video conference link etc. : https://docs.google.com/document/d/1NArBl4O11_W8LX1Vddus8oIgG8hfGSnaQ0hsM3dEMiw/edit#heading=h.kb3z9kxwnzg

Note: the second meeting is tonight @g123k @M123-dev @monsieurtanuki (thanks @galnaf for the post)
NEXT MOBILE APP - Creative meeting #1 ⭐ TODAY ⭐

Join us this Tuesday for an hour (18-19h CET) to organise the ideas from last week's brainstorm (you are welcome to join even if you were not there), to give positive & negative criticism on the assembled ideas, and to add a few more ideas, if time allows.
You can also add your ideas on the forum post ahead of the meeting (they'll be added to the Excalidraw board).

Call Details

Tues May 2nd · 18:00 - 19:00 (Europe/Paris)
Link to video call : https://meet.google.com/hkx-yvux-dfg
Or compose : (FR) +33 1 87 40 18 29 CODE : 910 555 851#
for other phone numbers : https://tel.meet/hkx-yvux-dfg?pin=7548960133122

We now have a tracking issue for the implementation. Closing this one.


CSS conflict issues

Just after fresh install, there are 4 warnings related to flex and block css classes:

Thank you for letting me know about this! This should be fixed in https://github.com/oddstronaut/gatsby-starter-tailwind/commit/ba8f356d0f2e6fa5f0af4dbf5d5d8c502140d948.

Great, thanks for the info!


hgff

@ngrotjohan What exactly is this? The title is cryptic and there's no details in the description.


Enable cached test results

We have a few unit tests that take 60s+ to run, so I was fairly surprised when executing buck2 test //... repeatedly invokes those tests even though the inputs haven't been modified.
Is this working as intended? I know that FB has Tpx internally and I'm not sure if that's the infrastructure which is supposed to handle avoiding reruns or not.

This is how how buck2 works: it does not cache test results. Maybe it should.
TPX does different things, it can for example skip disabled tests. But it does not cache test execution results either.

That's too bad, cached test results are a pretty killer feature. Is this logic that belongs in the test runner or as part of Buck2 core? Basically, would it be possible for me to write a test runner that caches results?

Test runner does not have this information.
I think we should pass it to test runner regardless of who should filter unchanged tests, buck2 or test runner.
But after that, I think it should be buck2 native option like buck2 test --skip-unchanged.

That's too bad, cached test results are a pretty killer feature.

This was a pretty contentious discussion internally between a number of teams. Ultimately, given Remote Execution's ability to cache, it was deemed something to at least consider. So, IIRC, we do internally have the option to opt-into caching results.
I do forget where this is implemented, and guess as you suspect that it'd be in the test runner. At best, it's buck2 core passing along the information to RE on behalf of the test runner? Perhaps @krallin might know or point towards someone that does.

FWIW, a few folk were considering doing a spike to experiment with Buck2 - we like the focus on developer experience, LSP integrations and the like - but our existing Bazel setup depends quite heavily on not running tests with unchanged inputs in order to deliver our sub-minute builds...
How much work do you think one would be looking at to get a minimum viable patch for this?

Note that you can write your own test rule which runs a command, writes out an artifact (e.g. the logs of the test) and then have your tests run at build time. Then you get everything that works on builds (caching, remote execution etc) for tests. The only thing you lose is the buck2 build/buck2 test distinction. Perhaps that would be the minimal viable patch, and should be entirely doable in custom Starlark rules.

This was a pretty contentious discussion internally between a number of teams.

@alexlian I'm curious what are the arguments against caching test results? Is it just because it can be done on RE side or there is something more fundamental?

Note that you can write your own test rule which runs a command, writes out an artifact (e.g. the logs of the test) and then have your tests run at build time.

Even though we're pretty excited about buck2, I don't think we're willing to give up the build/test distinction and cached tests are pretty important for us.
Is there a somewhat reasonable path to getting something like this supported? If someone was to put together a patch that enables it's support in conjunction with RE would it be accepted even though it's a "contentious" feature? Would a feature like this need to be driven internally?

I'd like to voice my support for this issue. I come from hardware development land, where unit 'tests' take between 10s of minutes to an hour+. This is a major concern about adopting Buck2, as these long tests should only run if the inputs change. Before a release, every test could be force run, but in typical day-to-day development the time savings are necessary to decrease cycle time.

I'm very surprised that it's not supported, it's part of RE API and part of what makes systems like buck2 and bazel appealing. Please consider implementing, this is a huge adoption blocker.

Yeah, I've always been on the side that the right thing to do is to cache test results, I'd love to see us internally move to that model. Maybe I'm biased from having test result caching like 10 years ago with bazel.
I don't think it'd be a particularly extensive change to support this, the model of test integration was done to support tests just being actions like any other (and so should be able to support both RE and caching like any other).


adding package reference should allow for major updates

Currently, we allow to hard bound to commit or tags, we should

[ ] change the default to add a reference to MAJOR.* to allow automatic updates.
[ ] not allow hardbinding to commits

We have versioning in place


XLABS sampler is slower than ksamper

I tested it in Comfyui, XLABS sampler is slower than ksamper

I agree. It is much slower. I would like to be able to use the controlnets with KSampler if possible or for XSampler to expose the choice to choose sampler_name like KSampler has. Also the results I get from XSampler are much WORSE than if I use deis in KSampler.

I've noticed this too. It's about 2x slower than standard Ksampler.
It's definitely the sampler and not controlnet, because using the xlabs sampler without controlnet still takes 2x as long.

agree, I thought it's my PC's problem, finally find Xlabs Sampler's

I can't find a way to get the same result out of Xlabs Sampler vs KSampler, or Xlabs Sampler vs SamplerCustomAdvaced.
WHY is Xlabs sampler even a thing?
There is an established workflow for using controlnets, with either KSampler or SamplerCustomAdvanced. Why now introduce yet another (inferior) node?

When I set timestep_to_start_cfg  equals or more than the steps, it runs as fast as ksampler.
You know how we set cfg to 1 when using flux with ksampler, timestep_to_start_cfg must be setting it more than 1, so it slows down.

When I set timestep_to_start_cfg equals or more than the steps, it runs as fast as ksampler.
You know how we set cfg to 1 when using flux with ksampler, timestep_to_start_cfg must be setting it more than 1, so it slows down.

Thanks!


Does not work with Yarn PnP

Current behavior
When using Yarn berry, the pnp linker will not allow a TS configuration -- see failing case here: https://github.com/AaronBuxbaum/cypress-cucumber-preprocessor/tree/master/examples/yarn-pnp-ts-fails
Furthermore, even when you're using JS, it will throw during the preprocessing step. Note that I'm currently using the esbuild plugin, which may or may not matter. See failing case here: https://github.com/AaronBuxbaum/cypress-cucumber-preprocessor/tree/master/examples/yarn-pnp-cucumber
cypress/e2e/navigation/healthcheck.feature:3:37: ERROR: Could not resolve "/home/abuxbaum/Nuro/frontend/.yarn/__virtual__/@badeball-cypress-cucumber-preprocessor-virtual-151461ef74/0/cache/@badeball-cypress-cucumber-preprocessor-npm-12.0.0-8d30ea0002-53ffdf9717.zip/node_modules/@badeball/cypress-cucumber-preprocessor/lib/registry"
cypress/e2e/navigation/healthcheck.ts:1:34: ERROR: Could not resolve "@badeball/cypress-cucumber-preprocessor"
    at failureErrorWithLog (/home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:1621:15)
    at /home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:1263:28
    at runOnEndCallbacks (/home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:1043:63)
    at buildResponseToResult (/home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:1261:7)
    at /home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:1374:14
    at /home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:675:9
    at handleIncomingPacket (/home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:772:9)
    at Socket.readFromStdout (/home/abuxbaum/Nuro/frontend/.yarn/unplugged/esbuild-npm-0.14.51-a22b50b89c/node_modules/esbuild/lib/main.js:641:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Desired behavior
It should work exactly the same as with a node-modules linker.
Test code to reproduce
https://github.com/AaronBuxbaum/cypress-cucumber-preprocessor/tree/master/examples/yarn-pnp-ts-fails
https://github.com/AaronBuxbaum/cypress-cucumber-preprocessor/tree/master/examples/yarn-pnp-cucumber
Versions

Cypress version: 10.3.1
Preprocessor version: 12.0.0
Node version: 16.16.0

Checklist

[x] I've read the FAQ.
[x] I've read Instructions for logging issues.
[x] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

When using Yarn berry

What does this entail? What do I have to do to reproduce the error?

The Yarn binary is actually checked into Git. So just cd into the example repos provided and run yarn. Then you can yarn cypress to run the tests!

Does using berry work with Cypress minus the preprocessor, IE. just regular Cypress?

Does using berry work with Cypress minus the preprocessor, IE. just regular Cypress?

Yes — I’ll double check if the TS config file works, but it definitely works with a JS config file

You need to tell esbuild how to handle packages now that they're not found at the usual location. See the following patch.
diff --git a/examples/yarn-pnp-cucumber/cypress.config.js b/examples/yarn-pnp-cucumber/cypress.config.js
index faa71fb..97c8d72 100644
--- a/examples/yarn-pnp-cucumber/cypress.config.js
+++ b/examples/yarn-pnp-cucumber/cypress.config.js
@@ -2,6 +2,7 @@ const { defineConfig } = require("cypress");
 const createBundler = require("@bahmutov/cypress-esbuild-preprocessor");
 const { addCucumberPreprocessorPlugin } = require("@badeball/cypress-cucumber-preprocessor");
 const { createEsbuildPlugin } = require("@badeball/cypress-cucumber-preprocessor/esbuild");
+const {pnpPlugin} = require("@yarnpkg/esbuild-plugin-pnp");

 async function setupNodeEvents(
   on,
@@ -12,7 +13,7 @@ async function setupNodeEvents(
   on(
     "file:preprocessor",
     createBundler({
-      plugins: [createEsbuildPlugin(config)],
+      plugins: [createEsbuildPlugin(config), pnpPlugin()],
     })
   );

diff --git a/examples/yarn-pnp-cucumber/cypress/e2e/duckduckgo.ts b/examples/yarn-pnp-cucumber/cypress/e2e/duckduckgo.ts
index 3caf3d9..51a410d 100644
--- a/examples/yarn-pnp-cucumber/cypress/e2e/duckduckgo.ts
+++ b/examples/yarn-pnp-cucumber/cypress/e2e/duckduckgo.ts
@@ -1,4 +1,4 @@
-import { When, Then } from "@badeball/cypress-cucumber-preprocessor";
+import { When, Then } from "@badeball/cypress-cucumber-preprocessor/methods";

 When("I visit duckduckgo.com", () => {
   cy.visit("https://duckduckgo.com/");
diff --git a/examples/yarn-pnp-cucumber/package.json b/examples/yarn-pnp-cucumber/package.json
index 1aa13f5..73cf7c6 100644
--- a/examples/yarn-pnp-cucumber/package.json
+++ b/examples/yarn-pnp-cucumber/package.json
@@ -2,6 +2,7 @@
   "dependencies": {
     "@badeball/cypress-cucumber-preprocessor": "latest",
     "@bahmutov/cypress-esbuild-preprocessor": "latest",
+    "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
     "cypress": "latest",
     "typescript": "latest"
   },

The reason that When and Then is now imported from @badeball/cypress-cucumber-preprocessor/methods is https://github.com/yarnpkg/berry/issues/2987.

Aha! This works for me. And actually this has made .config.ts work too :D

Good to know! I am currently using Browserify, because I couldn’t make it work with Esbuild at all. And we would like to switch to Yarn berry, too. Does someone know it any of the bundlers works with Yarn berry out of the box?

Aha! This works for me. And actually this has made .config.ts work too :D

You mean cypress.config.ts, right?
Good to know! I am currently using Browserify, because I couldn’t make it work with Esbuild at all. And we would like to switch to Yarn berry, too. Does someone know if any of the bundlers works with Yarn berry together with Cypress and this preprocessor out of the box?

Feel free to pull down my repo and change the bundler to whatever you need! That said, generally speaking if you can get esbuild working, you can get anything working 😆

After some hours struggling with this issues, I found out the problem was esbuild version. I had to use "esbuild": "^0.14.51", to make it works (I had a recent one before).


Upgrade to etcd API v3?

Is there any plan to upgrade to etcd API v3?

Currently I'm locking at the changes and how to implement the current functionality with etcd API v3 (https://github.com/coreos/jetcd).


[Feature]: Beam Search with Temperature > 0

🚀 The feature, motivation and pitch
Huggingface generation interface allows beam search with nonzero temperature, allowing to generate more diverse beam search. The current version with zero temperature does not allow that flexibility.
Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

is it still beam search then?

Conceptually, yes. Even if we assume that it isn't, it is useful to generate more diverse responses.

added in https://github.com/vllm-project/vllm/pull/8928


python3Packages.onnxruntime: init at 1.12.1 (resurrected)

Description of changes
re-enable python module of onnxruntime. Mostly copied over work from @kevinmehall .
CC Maintainers:
@jonringer @ck3d
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I have added another change to python-packages.nix that it should use python3Packages as default instead of using python2.


WGDashboard v3.1 Suggestions

Traffic statistics function ❤  from #101
API interface ❤  from #101
Block peers without deleting it. ❤  from #88
Remove peers after a certain amount of time. ❤  from #86
Kill Switch at Sign In page. ❤  from #85

—- @donaldzou Your platform has so much expandability potential -love it!
Was having issues where peers info didn't populate. (hangs forever) Noticed  especially when two sessions accessed portal at same time. Work around was to periodically delete tinydb file , when glitched, so it could rebuild.  —- Ultimately My fix was to re-write using MongoDB.     Works fantastic now!!!       — I now have an admin and user facing portals.  —- [ Added: ] Traffic data posted to each peers Mongo account;  API overlay to allow access with NodeJS as middleware;  email user tunnel creds;  Auto ip allocation;  instant domain name for public routable IP’s;  a disabled DB field to implement granular peer tunnel control.  Working on BGP peering automation now.    —- Its fantastically  expandable.

Hi @airgapper thank you!!! The v3.0 update, I moved from tinydb to SQLite, to prevent the issue you mentioned. It was caused by race condition when more than 1 flask session is accessing the same "Configuration" page ;) And I love how you developed new features with it!

just small tiny thing you could add to the updater
=> at the question if we want to update the wg-dashboard make the question like this [Y/n] Y in capital because it is the default setting and if some enters "Y" or "y" or "N" or "n" it should accept those letters, right now it only accepts capital letters

just small tiny thing you could add to the updater
=> at the question if we want to update the wg-dashboard make the question like this [Y/n] Y in capital because it is the default setting and if some enters "Y" or "y" or "N" or "n" it should accept those letters, right now it only accepts capital letters

Will do will do ;)

Is a backup and restore function possible?
Then this is my wish for v3.1 :)

Sorry for the dump question, but how can I block a peer? I only see how to switch of the whole configuration. Thank you!

Sorry for the dump question, but how can I block a peer? I only see how to switch of the whole configuration. Thank you!

Hi! This feature is not implement yet, but I'm planning to implement it in the next release ;) Stay tune!

As a suggestion, I would like a button to be implemented to reset the statistics of the total global traffic.

Allow for multiple wireguard servers (separate boxes).  using paramiko and subprocesses.

A Single Sign On option utilizing solutions such as SAML 2.0, OAUTH 2.0 or OpenID Connect

Please add traffic information to the main page.
So that you can see the configuration traffic without going into the configuration.

If possible, reduce the number of decimal places in the traffic display

.

What about making the Endpoint IP Adress clickable?

In my environment there are routers as a client behind that I can access from my site to configure them remotly. Would be awesome to be able to jump directly to them from the WG-Dashboard (in a new tab ofc).

is this project abandoned?

Nope, I’ve too busy with my main job. But I do see each issues, and planning to fix them during my vacation.
Get Outlook for iOShttps://aka.ms/o0ukef

From: exalite @.>
Sent: Friday, August 19, 2022 11:19:15 AM
To: donaldzou/WGDashboard @.>
Cc: Donald Zou @.>; Mention @.>
Subject: Re: [donaldzou/WGDashboard] WGDashboard v3.1 Suggestions (Issue #129)
is this project abandoned?
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdonaldzou%2FWGDashboard%2Fissues%2F129%23issuecomment-1220798992&data=05|01||9d420ad6d63742ec8b5c08da81f62e4a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637965191592212345|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1KsoywA09qrLBRLifLe15tNDMvNPShCbuJm%2B7uq4wes%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGARNULZETBEMCMEV3F7X63VZ6QXHANCNFSM5MGG7KBQ&data=05|01||9d420ad6d63742ec8b5c08da81f62e4a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637965191592212345|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=pWpx%2BX%2BHmIthWLEwA5wSplGCHTg%2BfLh5DJlh3OLUI04%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

I'm super happy that you guys been using this project. I will definitely make those update soon. But when you working 9-to-5 vs when you still at school is different ;) I hope you guys can understand that.

Everything is fine :) for my part I just see a problem here and there what can be improved
Recently we got your Dashboard working on alma Linux… was a bit hard to figure out what the problems are without good debuging output… but well we did it 👍
we should keep this thread for suggestions now right :)

First of all, awesome project! It really has potential to become something great!
Some suggestions:
I use a script that automatically generates my wireguard config. This script pulls down a list of hosts and public keys via central api, builds a wireguard config and then compares it to the installed version. If it differs, it installs the new version and reloads wireguard. This way I can deploy a new server, add it's info to the central api and within minutes it will setup a tunnel to all the other servers in the network.
This works great, but it makes it impossible for me to use WGDashboard, mainly due to the fact that WGDashboard erases all comments in the config file. I use # comments to track names and changes and since WGDashboard erases them my script detects it as a change and generates a new config. Is there a way to make WGDashboard ignore comments and just let them be?
Also, it would be nice if WGDashboard could save the "Name" field from the webinterface as a # comment in the config file. That way I could add names in the webinterface but still see them when working in console.

I don’t use the API thing as you do but the thing with comments would be realy nice, that’s how I started with WireGuard as well, and then there was WGDashboard 😂 I guess that is one of the downsides we have right now because wgdashboard is using an internal database for its connection names and the private keys for those clients to generate the QR codes with.
But hey hope is dying last (is that right translation, guess not)

@bolgovrussia
I like the granularity of 4 decimal places, but you can always change rounding from 4 down to 2

I would love for a button that restarts an interface, in order to accept changes after creating a new peer for example, i need to turn off and then turn on an interface. but a restart button would make it so much more practical. :)

We have been 7 months without updates, please I do not want to see myself in the obligation to change to another project, I like this one a lot. When will we have something new?

Option to rename wg0 to something else in dashboard

To keep it simple, there's no need to include "Peer" in the listing

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

Do you have any problems with current version?

HTTPS SSL
Please add HTTPS for WGDashboard.
And even if the SSL certificate is self-signed. It's better than no SSL at all.

for https you can use nginx proxy manager there you have also SSL certifikate with Lets Encrypt

I suggest adding traffic quota (or limitation) for each user + expiration date.
I assume expiration date is pretty straight forward: just a simple script that auto DISABLEs (temporarily deleted but kept somewhere for re-enabling) the user's (or peer's) account.
Also by traffic quota or limitation I mean the ability to limit data usage of a peer to X GB per month. I think this can probably be done using iptables quotas and peers' internal WG IPs but I'm not sure.

I usually use your project, I am from Central Asia and I would like to highlight the language selection function, people from other countries think they will use it too, is it possible to make a separate file with the language interface, in the future just add a new file and switch to it?
I use Google translator, I hope my thoughts will reach you.

Ask the creator, there will never be another update?

@eduardorosabales Yes. I'm planning to do a revamp of the backend and frontend, since it is written with Flask and jQuery (Not the best thing to do nowadays).. I'm starting on it so please bare with me.
As always, thanks all of you using my project and still using it :)

I use your project a lot, it has helped me a lot but improvements can be made and everything previously said here should be implemented.
More or less the estimated time you would be releasing an update

@donaldzou
It would be nice to have an interface language; most of the words are clear.
but I would still like a choice of language

@eduardorosabales Yes. I'm planning to do a revamp of the backend and frontend, since it is written with Flask and jQuery (Not the best thing to do nowadays).. I'm starting on it so please bare with me.
As always, thanks all of you using my project and still using it :)

nice to read you are coming back to the project and look to revamp. a nice easy one to do would be promote the beta version which looks so much better and gives dark mode would be good for them who are happy with Flask etc.

if anyone is curious, I will make all the updates under the branch v3.1-dev2023

Hello, I found a log service for WG on the website, checked its functionality, it works on the basis of handshakes, shows the time and date, user name, its external IP address from which users connected (at what time) and disconnected (at what time) .
Please consider adding this feature to your control panel, it will be very useful.
https://github.com/amitn322/wireguard

Luckily I've resumed work, and I'm already using your beta version, how happy I am, I would like you to put a type of quota for each peer so I could control my users by total bandwidth consumption... I would also like this counter It could be reset manually...
keep up your great work

@donaldzou check the previous message

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

Do you think it will be ready in less than 1 month, the truth is that I need it as soon as possible, I need to be able to control by installments and reset that counter

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

Do you think it will be ready in less than 1 month, the truth is that I need it as soon as possible, I need to be able to control by installments and reset that counter

Hi, I would love to finish the new update, but with my current work, school and personal life, I'm trying my best to finish it. Hope you can understand :)

Hello Dear
Please add expireation date for peers .
Thanks in advance

Hello Dear
Please add expireation date for peers .
Thanks in advance

Hello Dear
Please add expireation date for peers .
Thanks in advance

Hello Dear
Please add expireation date for peers .
Thanks in advance

For example, we should be able to choose the date when a peer will close.
Example: until <IP_ADDRESS>5
After the specified period of time, the peer becomes deactivated.

is this project abandoned?

is this project abandoned?

Hi! No it is not ☺ currently is university final season and I'm focusing on that so I can get the hell out of it🤣 I'm promising a new release of this project so please let me know if you have any suggestions. Thanks a lot!!

@donaldzou
When will the first release be released?
From the wishes:

Make a registration for users, where a person can download a QR CODE or a configuration file himself.
Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.

Thanks for the cool project. You will be a successful developer, colleague :)

@donaldzou
When will the first release be released?
From the wishes:

Make a registration for users, where a person can download a QR CODE or a configuration file himself.
Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.

Thanks for the cool project. You will be a successful developer, colleague :)

Hi @Profik,
I'm still working on some new features and testing it :) Thank you for providing these suggestions.

Make a registration for users, where a person can download a QR CODE or a configuration file himself.
I think is a great idea but at this point the dashboard is targeted for the admin instead of facing clients. But this is definitely a good suggestion in future release.

Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.
Currently I'm implementing where the dashboard can automatically restrict or delete a peer in a specific date or data usage is over a limit. If you want to try it out for fun, you can clone my v4.0 branch and check it out ;)

To all the people who is following this issue, I've been updating the v4.0 branch and posting some preview on the readme.md of the main branch! If you're interested, you can head to the v4.0 branch or the project and check it out :)

Roadmap on v4.0
I will keep updating this comment :)
Updates on the new features everyone requested 😄

[x] Traffic statistic on configuration page
[x] API interface w/ API Key (Still need to finish documentation).
[x] Block peers without deleting it (YES, we now have restrict). 🫶 to @xiki808.
[x] Remove peer after period or condition. 🫶 to #86, @poorp, @upgo7502, @rlrexyz, @Profik .
[x] Accept y/Y in .wgd.sh.  🫶 to @nicedevil007

Still need to work on

[ ] Backup & restore function on db and WireGuard file. 🫶 to @tokon2000
[ ] Reset Peer or Configuration's data usage. 🫶 to @eduardorosabales
[ ] Email configuration, thinking of using SendGrid or MailChip to avoid the hassle of creating domain and such. 🫶 to @adrinux
[ ] Add traffic information on main page. 🫶 to @bolgovrussia
[ ] Restart button for configuration. 🫶 to @airgapper
[ ] Different language. 🫶 to @bkeenke
[ ] Tracking when did peer connected and disconnected. 🫶 to @kontorskiy777
[ ] An interface facing the client to download with QR Code: Maybe a better way is to create an unique link, that link to a page where only show the QR code and a button to download, and the link can expire at a time. 🫶 to @Profik

New feature for v4.0 will cut off from here, other feature will release in later releases 😃

Features not consider at the moment. Sorry 🥹

Using SSO for login: The reason is I'm trying to keep the dashboard simple and not adding 3rd party service to add more complexity. 🫶 to @pradhyumk
Add rounding to 2 decimals on traffic. 🫶 to @bolgovrussia
Parsing comments in .conf: I've tried to implement the function, but I can't guaranteed the stability since there are tons way of writing comments in a config file. 🫶 to @bugsse
Remove "Peer" keyword on each peer: I'd like to keep the uniform design of each information. 🫶 to @ghost

Дорожная карта по версии 4.0
Я буду продолжать обновлять этот комментарий :)
Обновления новых функций, которые все просили 😄

[x] Статистика трафика на странице конфигурации
[x] Интерфейс API с ключом API (еще необходимо завершить документацию).
[x] Блокировать пиров, не удаляя их (ДА, теперь у нас есть ограничение). 🫶@xiki808.
[x] Удалить пир после периода или условия. 🫶 Запросить функцию, которая удаляет пиры по значению времени  #86 ,@poorp,@upgo7502,@rlrexyz,@Profik.
[x] Принять y/Y в .wgd.sh. 🫶 к@nicedevil007

Еще нужно поработать

[ ] Функция резервного копирования и восстановления базы данных и файла WireGuard. 🫶@tokon2000
[ ] Сбросьте использование данных Peer или Configuration. 🫶@eduardorosabales
[ ] Конфигурация электронной почты, думаю использовать SendGrid или MailChip, чтобы избежать хлопот с созданием домена и т.п. 🫶 to@adrinux
[ ] Добавьте информацию о дорожном движении на главную страницу. 🫶 to@bolgovrussia
[ ] Кнопка перезагрузки для настройки. 🫶 to@airgapper
[ ] Другой язык. 🫶 to@bkeenke
[ ] Отслеживание того, когда пир подключался и отключался. 🫶 to@kontorskiy777
[ ] Интерфейс, обращенный к клиенту для загрузки с QR-кодом: Возможно, лучшим способом будет создание уникальной ссылки, которая ведет на страницу, где отображаются только QR-код и кнопка для загрузки, и ссылка может истечь в определенный момент времени. 🫶 to@Profik

Новая функция v4.0будет отключена здесь, другие функции будут выпущены в более поздних версиях 😃

Функции не рассматриваются в данный момент. Извините 🥹

Использование единого входа для входа: Причина в том, что я пытаюсь сделать панель управления простой и не добавлять сторонние сервисы, чтобы не усложнять ее. 🫶@pradhyumk
Добавьте округление до 2 знаков после запятой по трафику. 🫶 to@bolgovrussia
Анализ комментариев в .conf: Я пытался реализовать функцию, но не могу гарантировать стабильность, так как существует множество способов записи комментариев в файле конфигурации. 🫶 to@bugsse
Удалить ключевое слово «Peer» для каждого узла: Я бы хотел сохранить единый дизайн каждой информации. 🫶 to@ghost

Dear friend, I will install this branch for myself, I will test and write about bugs or recommendations found.

 I will close this issues and created a new issue for the road map. Thanks all of you suggesting features throughout the last 3 years.

✌


Terragrunt with/without cache very slow

Describe the bug
Since upgrading to Mac OSX 15.0 i have had very slow terragrunt run times, minutes for what used to be not even seconds. I am currently using Apple Silicon, if thats relevant. Running the TF state lock and release with Azure Blob is getting stuck and sometimes takes 5 minutes to lock or release.
Versions

Terragrunt version: terragrunt version 0.67.12
OpenTofu/Terraform version: Terraform v1.9.6 on darwin_arm64
Environment details (Ubuntu 20.04, Windows 10, etc.): Mac OSX 15.0 Apple Silicon

Hi,
try running with --terragrunt-log-level debug to get more insights on what it takes more time to execute

FYI, we're seeing this with other users as well. For anyone who has access to the Gruntwork Community Slack workspace, see https://gruntwork-community.slack.com/archives/CHH9Y3Z62/p1727904354746019.

We are also observing in the recent version a performance degradation, it seems related to https://github.com/gruntwork-io/terragrunt/issues/3441 or some other caching mechanism is not working properly

Same issue here, 0.45.6.

Initializing the backend...

Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Using previously-installed hashicorp/aws v5.70.0

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
DEBU[0008] Copying lock file from /Users/oleksandr/Git/service/.terragrunt-cache/gGNb5Obmge953iorH-dffjmjDtM/FXLLX2_sKTFe8Wo5i_vXe4_ZS1o/modules/database-us/elasticache/service/.terraform.lock.hcl to /Users/oleksandr/Git/service  prefix=[/Users/oleksandr/Git/service]
DEBU[0008] Running command: terraform plan -input=false  prefix=[/Users/oleksandr/Git/service]
╷
│ Error: timeout while waiting for plugin to start
│
│
╵

Planning failed. Terraform encountered an error while generating this plan.

ERRO[0075] Terraform invocation failed in /Users/oleksandr/Git/service/.terragrunt-cache/gGNb5Obmge953iorH-dffjmjDtM/FXLLX2_sKTFe8Wo5i_vXe4_ZS1o/modules/database-us/elasticache/service  prefix=[/Users/oleksandr/Git/service]
ERRO[0075] 1 error occurred:
        * [/Users/oleksandr/Git/service/.terragrunt-cache/gGNb5Obmge953iorH-dffjmjDtM/FXLLX2_sKTFe8Wo5i_vXe4_ZS1o/modules/database-us/elasticache/service] exit status 1

terragrunt version v0.45.16
Terraform v1.5.1
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v5.70.0

MacOS 15.0 (24A335) M2 Pro

Hello,
It might be worth trying out the latest release: Terragrunt v0.68.5 with the following environment variable:
TERRAGRUNT_STRICT_CONTROL="skip-dependencies-inputs"

From my tests, this improves performance.


New package: GenGPT3 v0.2.0

Registering package: GenGPT3
Repository: https://github.com/probcomp/GenGPT3.jl
Created by: @ztangent
Version: v0.2.0
Commit: c6942625a985d5b73d761d17418f780cb1707aa9
Reviewed by: @ztangent
Reference: https://github.com/probcomp/GenGPT3.jl/commit/c6942625a985d5b73d761d17418f780cb1707aa9#commitcomment-140492178
Description: GPT-3 as a generative function in Gen.

Maybe this isn't a good name, rather just use GenGPT? I haven't looked closely, but it seems the code would work with GPT4 too, and future GPT5 etc.?
As times goes by GPT3 will get very outdated, and GPT4 likely free when GPT5 is out.
It seems bad to then be stuck with this name...
I do see GPT3GF and gpt3 and and the 3 could be dropped? Maybe not ahead of registration; possibly or just later and deprecated? Both could work, but at least change the name of the package?

Unless OpenAI decides to reverse course and expose more of their newer models via their original Completions API (rather than their newer Chat Completions API), which is the only API that provides the logprobs functionality required for this package, this package in fact only supports GPT-3 (and some of the now deprecated GPT-3.5 models), not GPT-4 and most probably not GPT-5.

Unless OpenAI decides to reverse course and expose more of their newer models via their original Completions API

I could well see that happening... but I don't know about that API vs. "newer Chat Completions API", I didn't even know about two versions, nor how different they are. Potentially you want to support that newer API, at least when its use is no-cost. In this package, or another, that's kind of the question. Also if you drop the 3 then you take a good name from those that want to support the newer, free or not.

this package in fact only supports GPT-3, not GPT-4 and most probably not GPT-5.

Then I don't object (as much!). I mean still do consider dropping the 3 from the package name in case something changes at OpenAI. You could not bother doing it in the API (for now).
It's up to you, I let you decide, note I added [noblock] to not stand in your way. I want this package registered either way, just thinking about the future. It would still work without the 3, and maybe more future-proof.
If you change your edit, adding [noblock] it will (I think) get automerged (tomorrow), so make sure you really still want that name...
[noblock]

Thanks for understanding! I will keep the name as is for now. In the future we may make a library that works with more LLM APIs then just OpenAI's, but that will likely require quite different code, and will be named something like GenWebLLMs.jl.


Many Webrings

What about nesting the resources and allowing people to create their own separate rings, rather than one massive one?
e.g. http://hotlinewebring.club/ruby/adarsh/next and http://hotlinewebring.club/fans_of_grumpy_cat/gabebw/next would create separate rings, which would keep affiliated sites actually linked together.

Interesting idea, but I don't think there's really a want to justify this feature at the moment. Plus, it's open source so the scope of the webring could be more limited to the domain. So, this is the Hotline Webring, vs other webrings out there that use this codebase.

I agree with @edwardloveall -- I think we don't have enough people to justify more than one webring.
Plus I kind of like having everyone in One Big Webring.


Android storage fix

FlutterSecureStorage raises an exception on some newer Android OS versions, especially when running on Pixels. Here's an example of exception from Pixel 6 with Android 12 - it's raised when OAuth2Helper tries to access the token:
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(Exception encountered, read, javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
	at com.android.org.conscrypt.NativeCrypto.EVP_CipherFinal_ex(Native Method)
	at com.android.org.conscrypt.OpenSSLEvpCipher.doFinalInternal(OpenSSLEvpCipher.java:152)
	at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:374)
	at javax.crypto.Cipher.doFinal(Cipher.java:2055)
	at t6.b.b(Unknown Source:30)
	at s6.d.m(Unknown Source:11)
	at s6.d.t(Unknown Source:10)
	at s6.d.f(Unknown Source:0)
	at s6.d$b.run(Unknown Source:244)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.os.HandlerThread.run(HandlerThread.java:67)
, null). Error thrown null.
       at StandardMethodCodec.decodeEnvelope(message_codecs.dart:607)
       at MethodChannel._invokeMethod(platform_channel.dart:167)
       at SecureStorage.read(secure_storage.dart:14)
       at TokenStorage.getToken(token_storage.dart:25)
       at OAuth2Helper.getTokenFromStorage(oauth2_helper.dart:116)

There's a recommended fix under an issue in flutter_secure_storage repository, regarding the same problem: https://github.com/mogol/flutter_secure_storage/issues/161#issuecomment-1170370204. This PR applies the fix to oauth2_client

Thank you @PiotrMitkowski!

I still have problems with the flutter_secure_storage on some android devices.
PlatformException(Exception encountered, read, java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.content.SharedPreferences.contains(java.lang.String)' on a null object reference at c5.a.b(Unknown Source:5) at c5.e$b.run(Unknown Source:221) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:224) at android.os.HandlerThread.run(HandlerThread.java:67) , null). Error thrown Error while authenticating.

There's a recommended fix under an issue in flutter_secure_storage repository, regarding the same problem:
https://github.com/mogol/flutter_secure_storage/issues/380#issuecomment-1387047459
I'll have to downgrade this package for now since it blocks certain users from using my app.

HI @maxhelskens, thank you, looks like the latest FlutterSecureStorage release fixes that issue.
I'll update the package asap!

@maxhelskens, I just published the new release with the updated dependencies. Can you check it out and see if your issue is solved?


Error while using tf.io.encode_jpeg

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): Colab
TensorFlow version (use command below): 2.5
Python version: 3.x
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: NA
GPU model and memory: NA

Describe the current behavior : Using tf.io.encode_jpeg is resulting in error,
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-7f8b07d2c90d> in <module>()
      1 import tensorflow as tf
      2
----> 3 tf.io.encode_jpeg('Developing_1.jpeg')

8 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/constant_op.py in convert_to_eager_tensor(value, ctx, dtype)
     96       dtype = dtypes.as_dtype(dtype).as_datatype_enum
     97   ctx.ensure_initialized()
---> 98   return ops.EagerTensor(value, ctx.device_name, dtype)
     99
    100

TypeError: Cannot convert 'Developing_1.jpeg' to EagerTensor of dtype uint8

Describe the expected behavior : There should be no error
Standalone code to reproduce the issue  :
import tensorflow as tf

tf.io.encode_jpeg('Any_Image.jpeg')

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

Hi @rakeshmothukuru1, tf.io.encode_jpeg takes a tensor as input, not a string: https://www.tensorflow.org/api_docs/python/tf/io/encode_jpeg
import tensorflow as tf

tf.io.encode_jpeg(tf.constant([[[1, 0, 1]]], tf.uint8))

image_path = '/content/Any_Image.jpeg'
image = tf.keras.preprocessing.image.load_img(image_path)
input_arr = tf.keras.preprocessing.image.img_to_array(image)
tf.io.encode_jpeg(input_arr)

@ymodak,
Thank you for the solution.

@ymodak,
Thank you for the solution.


Feature/legend changes #370

made changes to the legend

Hi Peter. Looks like a lot of files have (probably) had their line-endings changed. These need to be changed back to Linux line endings. See https://dev.to/wagslane/how-to-get-consistent-line-breaks-in-vs-code-lf-vs-crlf-2c3p if you're using VSCode, or something like https://support.nesi.org.nz/hc/en-gb/articles/218032857-Converting-from-Windows-style-to-UNIX-style-line-endings if not.

I'm going to add a gitattributes file to hopefully make sure we don't have line-endings issues in future


missing data after migration

Using this tool to migrate between mysql 5.1 and postgres 9.1 it seems to create all the tables properly but none of the data. In the command output I end up seeing something like:
Counting rows of invite_requests...
Rows counted
Loading invite_requests...
rows loaded in 0min 0s
Counting rows of org_invite_codes...
Rows counted
Loading org_invite_codes...
Seems to suggest it didn't load any rows.

I have same problem:
533 rows loaded in 0min 0s
Counting rows of gigs_venue...
Rows counted
Loading gigs_venue...
533 rows loaded from mysql but nothing saved into the postgres db.
Is there a log file or anything I could use to debug what's not working?

Possibly related to #31

Closing as duplicate of #31


Feature request: Only open marked items from Telescope when using open_with_trouble

Telescope has the ability to select search results using by pressing Tab.
Currently Trouble ignores selected lines and always opens the entire result list.
I think most users would expect that when selecting results, only the selected results should be opened in Trouble when running trouble.open_with_trouble.
Taken one step further, it would be awesome if there was a way to open all results, all selected results or all non-selected results. That would give a ton more control of what actually ends up in Trouble.

Well damn, I just checked the source code in case this was something I could add a PR for, and I found open_selected_with_trouble and smart_open_with_trouble :laughing:
I guess I'll rename the feature request and reduce the scope to "ability to open non-selected results".

that's too specific


Speech recognition example not working on MAIX DOCK

microphone not taking input.

can you please help!
still haven't got any resolution!!

mark

https://github.com/sipeed/MaixPy_scripts/blob/master/multimedia/speech_recognizer/demo_isolated_word_on_maixdock.py


Discord system proxy bots cant have pronouns

Since each proxy bot has it's own user ID, shouldn't it be possible for you to assign the pronouns of the person who the proxy is for to it? It's just that the pronouns db doesn't have a way to add Discord bots to it, only the system account.

bots like pluralkit have a pool of "bot accounts" and they are not 1 to 1 with a proxy therefor the userid of the "bot" is not unique to the proxy, they just update the name and image on the fly

We did not mention PluralKit. We use /plu/ral userproxies, which, as we said before, each have their own user ID.

then it would theoretically be possible but it would require a lot of effort since the current implantation get the userid from oauth, since bot accounts don't have that option we would have to find a way to verify ownership, but yes technically possible, also since pronouns are shared between linked accounts this might not be the best option for alters that have different pronouns.

i guess yeah since then wed have to make a login for each


Complete eval

@HalemoGPA  - as discussed, here is the goals of this task. We want to run the full eval via a simple command:
Evaluation:

python evaluate.py --api-key="my-key" and run the full Vidore evaluations.
python evaluate.py --api-key="my-key" --collection_name arxivqa_collection  and run just the arxivqa portion. The same should be with the other benchmarks
For now - we can only accept specific eval keys and return error if someone tries to do evaluation with a non-eval key. We don't want someone getting billed by accident.

Upsertion:

Upsertion is a one time task, so it shouldn't be in evaluate.py. It should be a one-time script that once things are upserted, we don't have to worry about again ever.
Example: python upsert.py --api-key="my-key" and this will upsert the vidore documents in the background
python upsert.py --api-key="my-key" --collection_name arxivqa_collection and this will upsert only the arxiqa_collection
I wouldn't worry about parallelization or anything fancy here. Keep it super simple.

Report:

We want a table similar to the one in the ColPali paper with the current leader in the Vidore leaderboard, the original ColPali numbers/comparsions, and ours.
We want an average query latency benchmark. It should indicate the number of documents as more documents, larger latency.

@Jonathan-Adly
Evaluation:

python evaluate.py --api-key="my-key" and run the full Vidore evaluations.
python evaluate.py --api-key="my-key" --collection_name arxivqa_collection  and run just the arxivqa portion. The same should be with the other benchmarks
For now - we can only accept specific eval keys and return error if someone tries to do evaluation with a non-eval key. We don't want someone getting billed by accident.

Upsertion:
Code is done in main.py. to-do list here:

make upsert.py file with the same code.
add retry mechanism to the upsertion function.
build code to upsert the missed documents in main upsertion function.

Report:

We want a table similar to the one in the ColPali paper with the current leader in the Vidore leaderboard, the original ColPali numbers/comparsions, and ours. (Currently pursuing)
We want an average query latency benchmark. It should indicate the number of documents as more documents, larger latency.

We are almost there!

Report:
- We want a table similar to the one in the ColPali paper with the current leader in the Vidore leaderboard, the original ColPali numbers/comparsions, and ours. (Currently pursuing)
Done
we still have upsertion edits.


Port the OAuth middleware from Katana

Do not port the OAuth authorization server, @blowdart says we should use the Thinktexture server instead.

For anyone still looking for the original OAuth Authorization Server in ASP.NET 5, I have ported the code and the original sample here:
https://github.com/XacronDevelopment/oauth-aspnet
The port includes backwards compatibility to allow ASP.NET 4.x resource servers to read the access tokens created by the authorization server.
The nuget packages are here:
https://www.nuget.org/packages/OAuth.AspNet.AuthServer
https://www.nuget.org/packages/OAuth.AspNet.Tokens
https://www.nuget.org/packages/OAuth.Owin.Tokens


How to select individual marker?

Hi,
I've a group of markers with and they all have unique ID. I've implemented Markercluster using the following code:
<MarkerClusterGroup
  ref={markerClusterGroup => {
	this.markerClusterGroup = markerClusterGroup;
	}}
	markers={vehicleMarkers}
	options={{
	showCoverageOnHover: false,
	spiderfyDistanceMultiplier: 2
	}}
	wrapperOptions={{ enableDefaultStyle: true }}
	markerOptions={{ icon: OnlineMarker }}
/>

The markers are as follow:
[{
  lat: 27.3214,
  lng: 81.4312,
  deviceId: 1A1,
  tooltip: this.renderTooltip("vehicle no")
},
........
]

How can I select specific marker with their deviceId?
When not using Markercluster, I could use ref on the Marker like: ref = {(1A1) => {this.1A1 = 1A1}}. The 1A1 would be dynamic.
Is it possible to assign ref to all the markers or is there anything I could do to make it work?
Thanks

Rendered marker at Leaflet Map doesn't have all info like id or whatever custom info that you will provide in vehicleMarkers list.
If you need to get all that info about marker that was clicked, you could do something like this:
onMarkerClick={(marker) => this.selectMarkerByCoordinates(marker.getLatLng())}

selectMarkerByCoordinates(coordinates) {
  vehicleMarkers.find((marker) => (marker.lat === coordinates.lat) && (marker.lng === coordinates.lng))
}

Another way is to add marker id to its options (you need move id to options object):
[{
  lat: 27.3214,
  lng: 81.4312,
  deviceId: 1A1,
  tooltip: this.renderTooltip("vehicle no"),
  options: { myCustomId:  '1A1' },
},
........
]

onMarkerClick={(marker) => console.log(marker.options.myCustomId)}

@tusharkhatiwada Could you please close that issue if there is everything ok and the question was resolved?
🚀 Thanks

Thanks for this @YUzhva wasn't aware you could append your own options to the options attribute. Maybe include that somewhere in your tutorial. Otherwise very happy with your lib!


Add async task to auto-approve CSRs

Because of network conditions that are specific to our lab infrastructure, the CSRs for workers deployed at install-time are not auto-approve. This means that unless a user manually approves the CSRs, and installation that includes workers will time out and the ansible task will fail (though if you approve the CSRs after this point, the OCP deployment will proceed to finish).
We should add an async task prior to starting the installer that looks for and approves CSRs in a loop until the installer task completes.

Interesting that I don't run into this even when I don't disable any NICs per say.

Are you deploying workers? It won't happen in a masters-only deployment.

I am, let me go back and see what I'm doing differently...

My bad, I did have the NIC disabled. This change needs to go into the parent repository at https://github.com/openshift-kni/baremetal-deploy/blob/master/ansible-ipi-install/roles/installer/tasks/60_deploy_ocp.ymlso, so the PR has to be opened against https://github.com/openshift-kni/baremetal-deploy since we don't want to maintain separate changes in the node-prep and installer roles. I'm happy to work on this or let someone else who'd like to make a contribution pick this up.

@jaredoconnell would you be interested in working on this? I can do a quick walkthrough of what is needed, if you have questions.

@jaredoconnell would you be interested in working on this? I can do a quick walkthrough of what is needed, if you have questions.
@dustinblack FYI

Sure. I can work on this.


[Feature Request] Nested Model tree option

This would be a great option to organize elements in a model, having elements sorted by relationship type and hierarchy, i.e. All parents elements with their composition and aggregation sub elements nested underneath them...
This would increase productivity and ease of use greatly instead of having to use visualizer or navigator to figure out which elements belongs with which or are grouped together...

@Phillipus FWIW, I think this is a valid feature. I did think a bit about it and it would be interesting if generalized enough. Of course the issue is that this is certainly a complex thing to implement :-)

OK, I'll re-open it. But it's not something I wish to work on. ;-)


bug: Can't place  in

Type: bug
Platform: all
I need to use some feature of ion-list directive, for example ion-option-button.
But any approach of putting input in ion-list doesn't looks right.
Please have a look at this codepen:
http://codepen.io/victorwoo/pen/Eaqymr/

Something like this can be done with just a few lines of css.
Note though, its ends up becoming a bit tough to swipe the item and reveal the option buttons, so it may not be great ux.
http://codepen.io/mhartington/pen/myNWeM


Build error in tensorflow lite minimal example

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.16.2
Custom code
No
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
11.4.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Following guide at https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/examples/minimal
Did not modify any files. The build step (5) fails with an undefined reference error (see log outputs).
Building standalone tensorflow lite with cmake following https://www.tensorflow.org/lite/guide/build_cmake works just fine.
Standalone code to reproduce the issue
sudo apt-get install cmake
wget http://es.archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb
sudo dpkg -i libffi7_3.3-4_amd64.deb
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
mkdir minimal_build
cd minimal_build
cmake ../tensorflow_src/tensorflow/lite/examples/minimal
cmake --build . -j

Relevant log output
[100%] Built target tensorflow-lite
[100%] Building CXX object CMakeFiles/minimal.dir/minimal.cc.o
[100%] Linking CXX executable minimal
/usr/bin/ld: tensorflow-lite/libtensorflow-lite.a(fully_connected.cc.o): in function `tflite::ops::builtin::fully_connected::EvalHybridDense4Bit(TfLiteContext*, TfLiteNode*, TfLiteFullyConnectedParams*, tflite::ops::builtin::fully_connected::OpData*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*)':
fully_connected.cc:(.text+0x3d02): undefined reference to `tflite::optimized_4bit::ReferenceBatchQuantizeFloats4Bit(float const*, int, int, signed char*, float*, int, int, int*)'
/usr/bin/ld: fully_connected.cc:(.text+0x3d50): undefined reference to `tflite::optimized_4bit::ReferenceAssignBiasAndComputeOffsets(int const*, float const*, float const*, float const*, float*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0x3db9): undefined reference to `void tflite::optimized_4bit::ReferenceRunKernel<4, 1, 32>(unsigned char const*, signed char const*, int*, int, int, int, int, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0x3ded): undefined reference to `void tflite::optimized_4bit::ReferenceUnpack<4, 1>(float*, int const*, int, int, float const*, float const*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0x3ff6): undefined reference to `tflite::optimized_4bit::ReferencePrepack(unsigned char*, signed char const*, int, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/minimal.dir/build.make:186: minimal] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1372: CMakeFiles/minimal.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Hi @pkgoogle ,
While replicating this issue I keep getting compilation error like below and the vm freezes, can you please take a look below
[100%] Building CXX object tensorflow-lite/CMakeFiles/tensorflow-lite.dir/home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/compiler/mlir/lite/experimental/remat/metadata_util.cc.o In file included from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h: In constructor ‘tflite::delegates::NnapiPlugin::NnapiPlugin(const tflite::TFLiteSettings&)’: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:74:52: warning: ‘SizeT flatbuffers::Vector<T, SizeT>::Length() const [with T = char; SizeT = unsigned int]’ is deprecated: use size() instead [-Wdeprecated-declarations]    74 |         nnapi_settings->accelerator_name()->Length() != 0) {       |                                                    ^ In file included from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/array.h:25,                  from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/flatbuffers.h:24,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/acceleration/configuration/configuration_generated.h:21,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:32,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/vector.h:168:9: note: declared here   168 |   SizeT Length() const { return size(); }       |         ^~~~~~ In file included from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h: In member function ‘void tflite::delegates::NnapiPlugin::SetCompilationCacheDir(const tflite::TFLiteSettings&)’: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:103:77: warning: ‘SizeT flatbuffers::Vector<T, SizeT>::Length() const [with T = char; SizeT = unsigned int]’ is deprecated: use size() instead [-Wdeprecated-declarations]   103 |         tflite_settings.compilation_caching_settings()->cache_dir()->Length() !=       |                                                                             ^ In file included from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/array.h:25,                  from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/flatbuffers.h:24,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/acceleration/configuration/configuration_generated.h:21,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:32,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/vector.h:168:9: note: declared here   168 |   SizeT Length() const { return size(); }       |         ^~~~~~ In file included from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:110:76: warning: ‘SizeT flatbuffers::Vector<T, SizeT>::Length() const [with T = char; SizeT = unsigned int]’ is deprecated: use size() instead [-Wdeprecated-declarations]   110 |                tflite_settings.nnapi_settings()->cache_directory()->Length() !=       |                                                                            ^ In file included from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/array.h:25,                  from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/flatbuffers.h:24,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/acceleration/configuration/configuration_generated.h:21,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:32,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/vector.h:168:9: note: declared here   168 |   SizeT Length() const { return size(); }       |         ^~~~~~ In file included from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h: In member function ‘void tflite::delegates::NnapiPlugin::SetModelToken(const tflite::TFLiteSettings&)’: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:122:26: warning: ‘SizeT flatbuffers::Vector<T, SizeT>::Length() const [with T = char; SizeT = unsigned int]’ is deprecated: use size() instead [-Wdeprecated-declarations]   122 |                 ->Length() != 0) {       |                          ^ In file included from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/array.h:25,                  from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/flatbuffers.h:24,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/acceleration/configuration/configuration_generated.h:21,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:32,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/vector.h:168:9: note: declared here   168 |   SizeT Length() const { return size(); }       |         ^~~~~~ In file included from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:127:72: warning: ‘SizeT flatbuffers::Vector<T, SizeT>::Length() const [with T = char; SizeT = unsigned int]’ is deprecated: use size() instead [-Wdeprecated-declarations]   127 |                tflite_settings.nnapi_settings()->model_token()->Length() != 0) {       |                                                                        ^ In file included from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/array.h:25,                  from /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/flatbuffers.h:24,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/acceleration/configuration/configuration_generated.h:21,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.h:32,                  from /home/sawantkumar/work/minimal_build/tensorflow_src/tensorflow/lite/core/acceleration/configuration/nnapi_plugin.cc:18: /home/sawantkumar/work/minimal_build/minimal_build/flatbuffers/include/flatbuffers/vector.h:168:9: note: declared here   168 |   SizeT Length() const { return size(); }

Hi @bossebandowski, I was able to build with these steps on the nightly branch, will that work for you?
My OS and gcc:
$ gcc --version
gcc (Debian 13.2.0-13) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ python --version
Python 3.10.12

I already have cmake installed and I don't need the optional steps so here are my steps:
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
cd tensorflow_src
git switch nightly
cd ..
mkdir minimal_build
cd minimal_build
cmake ../tensorflow_src/tensorflow/lite/examples/minimal
cmake --build . -j

Hey,
thanks for the reply. I updated to gcc-13 but I am still getting the same error.
gcc --version
gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

/usr/bin/ld: tensorflow-lite/libtensorflow-lite.a(fully_connected.cc.o): in function `tflite::ops::builtin::fully_connected::EvalHybridDense4Bit(TfLiteContext*, TfLiteNode*, TfLiteFullyConnectedParams*, tflite::ops::builtin::fully_connected::OpData*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*)':
fully_connected.cc:(.text+0xc919): undefined reference to `tflite::optimized_4bit::ReferenceBatchQuantizeFloats4Bit(float const*, int, int, signed char*, float*, int, int, int*)'
/usr/bin/ld: fully_connected.cc:(.text+0xc967): undefined reference to `tflite::optimized_4bit::ReferenceAssignBiasAndComputeOffsets(int const*, float const*, float const*, float const*, float*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xc9cf): undefined reference to `void tflite::optimized_4bit::ReferenceRunKernel<4, 1, 32>(unsigned char const*, signed char const*, int*, int, int, int, int, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xca02): undefined reference to `void tflite::optimized_4bit::ReferenceUnpack<4, 1>(float*, int const*, int, int, float const*, float const*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xcc2d): undefined reference to `tflite::optimized_4bit::ReferencePrepack(unsigned char*, signed char const*, int, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/minimal.dir/build.make:186: minimal] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1307: CMakeFiles/minimal.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Hi @bossebandowski, can you let me know these pieces of information?

which branch tensorflow is on (From your information, it seems you are building from master branch, I would try with nightly and see if that changes anything)
cmake version (mine is 3.28.3)

Thanks.

!cmake --version
cmake version 3.22.1

I just reproduced the issue from the nightly branch, same error message:
[100%] Linking CXX executable minimal
/usr/bin/ld: tensorflow-lite/libtensorflow-lite.a(fully_connected.cc.o): in function `tflite::ops::builtin::fully_connected::EvalHybridDense4Bit(TfLiteContext*, TfLiteNode*, TfLiteFullyConnectedParams*, tflite::ops::builtin::fully_connected::OpData*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*)':
fully_connected.cc:(.text+0xc85e): undefined reference to `tflite::optimized_4bit::ReferenceBatchQuantizeFloats4Bit(float const*, int, int, signed char*, float*, int, int, int*)'
/usr/bin/ld: fully_connected.cc:(.text+0xc8ab): undefined reference to `tflite::optimized_4bit::ReferenceAssignBiasAndComputeOffsets(int const*, float const*, float const*, float const*, float*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xc913): undefined reference to `void tflite::optimized_4bit::ReferenceRunKernel<4, 1, 32>(unsigned char const*, signed char const*, int*, int, int, int, int, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xc947): undefined reference to `void tflite::optimized_4bit::ReferenceUnpack<4, 1>(float*, int const*, int, int, float const*, float const*, int, int)'
/usr/bin/ld: fully_connected.cc:(.text+0xcb76): undefined reference to `tflite::optimized_4bit::ReferencePrepack(unsigned char*, signed char const*, int, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/minimal.dir/build.make:186: minimal] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1372: CMakeFiles/minimal.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Hi @bossebandowski, I tried with cmake==3.22.1, it worked fine on my end... I have a Debian system but they're pretty similar to Ubuntu. Are you following the optional steps or my steps exactly? Did you pull the latest files in nightly? Is there any way you can create a fresh environment? (A new VM and/or do this in a docker?)

Yes, still getting the same error after a fresh pull. Following your steps exactly. I have managed to get it to work on other machines though.

Hmm ok that means all the data points to me a particular environmental issue with that machine.. is there anyways you can reinstall everything there? or uninstall most things and reinstall? It's not likely to be productive if we can't reproduce it either. Thanks.

Sure. Closing this issue now as there does not seem to be a way forward.

@bossebandowski @pkgoogle :
Hi,
I stumbled accross the same error today. I also found an explanation for the linker errors in my case. The working copy resided in a path that contained the string sse. Therefore, the regular expression (.*neon.*|.*sse.*)\\.(cc|h) from tensorflow/lite/CMakeLists.txt matched and filtered the file fully_connected_reference.cc. Thus, the functions implemented in it were missing in libtensorflow-lite.a and I got linker errors.
One idea would be to improve the regular expression and use (.*neon_.*|.*sse_.*)\\.(cc|h), instead. This solved the issue on my machine.

Hi @pasweistorz, would you like to submit a PR for your fix? Thanks.

Yes, I can do that.

Hi @pkgoogle, I submitted the PR #81920 to fix this issue. But the sanity checks for the PR seem to make no progress. Is there anything missing from my side?

Hi @pasweistorz. Thanks! As far as I can tell no, there are ~5000 PRs, so we will get to it.


R0.12 cmake 2017

Can one of the admins verify this patch?

Can one of the admins verify this patch?

sorry my mistake


Compatibility with angular-utils-pagination

Coverage remained the same at 100.0% when pulling 616e658238b6b28cd3cebe90b70a10862147baf3 on rafalboguski:master into 90d26723bf034b6f829f78f1ebeda36dc3f837e6 on angular-ui:master.

Hi there. Just checking back on this after some time.

Can you provide a sample codepen (preferably by forking one of those in README) so that I can update the test cases to not fail on this PR?

After forking and giving a try on the project's demo it seems that ui-sortable can work without the ng-repeat-start change (even though I didn't complete the implementation to work for the rest pages). If you can't replace the ng-repeat-start with a simple ng-repeat, you can use the items option like this "items": "> * ng-repeat-start", like in the angular material integration example.


New RFC 3995/3996 tests: resolve issues

New RFC 3995/3996 test file:
rfc3998.V2.test.txt

The problem is the test - notify-job-id is supposed to be returned.


Safari 8- support of srcset

http://caniuse.com/#search=srcset
CodePen: http://codepen.io/crstauf/pen/VLRYve (works in Chrome, not Safari)
If you don't specify a data-src attribute, and only use data-srcset, Safari (v8 and lower) shows no image at all. Is it suggested to use both data-src and data-srcset? Will they conflict in any way?? In an effort to keep the code as short and clean as possible, I'm currently only using data-src if there's only one size for the image, otherwise, I use data-srcset with all image sizes listed, with no data-src.
What's the suggestion here?

For Safari and others browsers without srcset support you must use a polyfill, see the Readme https://github.com/aFarkas/lazysizes/blob/gh-pages/README.md#about-responsive-image-support-picture-andor-srcset

ahhhh, thank you. :-)

I think this is clarified now. Basically you have two options:

Use a polyfill
Use an additional fallback data-src in conjunction with your data-srcset


Remove tegola.Geometry from use in basic.XXXWebMercator functions

see #622
The original intent was to only change basic.ToWebMercator but this change propagated to cloning and walking functions within the basic package. That change propagated to basic.FromWebMercator, which I initially didn't want to change (see the first commit). But only fixing one of these functions seemed ugly and the fix for both didn't take much involvement.

Pull Request Test Coverage Report for Build 1693

11 of 127 (8.66%)  changed or added relevant lines in 5 files are covered.
37 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.09%) to 45.125%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

atlas/map.go
5
6
83.33%

mvt/feature.go
0
4
0.0%

basic/geometry_math.go
0
111
0.0%

Files with Coverage Reduction
New Missed Lines
%

atlas/map.go
1
62.21%

cache/s3/s3.go
2
71.71%

mvt/feature.go
34
40.51%

Totals

Change from base Build 1688:
-0.09%

Covered Lines:
5452

Relevant Lines:
12082

💛  - Coveralls


Fix undefined proxy_add_x_forwarded_host in asset-manager nginx.conf.

A reference to this was added in f0a205f but without a definition. Added the same definition as in 8d1e20d.
While we're there, also fix the missing newline at EOF of nginx.conf.

No worries!


Extra line feeds in cookiecutter

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/116
Originally created by @vischous on 2021-04-25 19:10:26

Line feeds take a bit of time to go replace to make the code look pretty
https://jinja.palletsprojects.com/en/2.11.x/templates/#whitespace-control
Seems like adding %- to most % places like https://gitlab.com/meltano/singer-sdk/-/blob/main/cookiecutter/tap-template/'Reference to deleted milestone 7'B%7Bcookiecutter.library_name%7D%7D/'Reference to deleted milestone 7'B%7Bcookiecutter.library_name%7D%7D/streams.py#L5 would do the trick

View 2 previous comments from the original issue on GitLab


Chartjs v4 support

Q
A

Bug fix?
no

New feature?
yes

Tickets
Fix #607

License
MIT

Tested it on my own project and it still worked :)

Apparently was still sleeping creating the PR here 🤣


Move and rename RingArray files

I forgot this in #296

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

Project coverage is 97.69%. Comparing base (ba7f400) to head (c642f08).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   93.63%   97.69%   +4.05%
==========================================
  Files          38       33       -5
  Lines        1084     1039      -45
  Branches       26       25       -1
==========================================
  Hits         1015     1015
+ Misses         69       24      -45

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


HBASE-24615 MutableRangeHistogram#updateSnapshotRangeMetrics doesn't calculate the distribution for last bucket.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 33s
Docker mode activated.

-0 :warning:
yetus
0m  9s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 20s
branch-2 passed

+1 :green_heart:
compile
0m 17s
branch-2 passed

+1 :green_heart:
shadedjars
5m 39s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 17s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 43s
the patch passed

+1 :green_heart:
compile
0m 18s
the patch passed

+1 :green_heart:
javac
0m 18s
the patch passed

+1 :green_heart:
shadedjars
5m 32s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 28s
hbase-hadoop2-compat in the patch passed.

25m 37s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2069

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 8c7c68b9edf4 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d3ec4886a1

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/testReport/

Max. process+thread count
221 (vs. ulimit of 12500)

modules
C: hbase-hadoop2-compat U: hbase-hadoop2-compat

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 46s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
5m 46s
branch-2 passed

+1 :green_heart:
compile
0m 22s
branch-2 passed

+1 :green_heart:
shadedjars
7m 45s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 23s
hbase-hadoop2-compat in branch-2 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 22s
the patch passed

+1 :green_heart:
compile
0m 25s
the patch passed

+1 :green_heart:
javac
0m 25s
the patch passed

+1 :green_heart:
shadedjars
8m  8s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 21s
hbase-hadoop2-compat in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
0m 44s
hbase-hadoop2-compat in the patch passed.

31m 18s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2069

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 58b342dc0f54 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d3ec4886a1

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-hadoop2-compat.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-hadoop2-compat.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/testReport/

Max. process+thread count
267 (vs. ulimit of 12500)

modules
C: hbase-hadoop2-compat U: hbase-hadoop2-compat

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 45s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 16s
branch-2 passed

+1 :green_heart:
checkstyle
0m 14s
branch-2 passed

+1 :green_heart:
spotbugs
0m 37s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 41s
the patch passed

-0 :warning:
checkstyle
0m 12s
hbase-hadoop2-compat: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 59s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
0m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

34m 47s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2069

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux caefadb3fdfa 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d3ec4886a1

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-hadoop2-compat.txt

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-hadoop2-compat U: hbase-hadoop2-compat

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2069/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Provider opentofu/aws ignores configuration block, leading to instance profile being used

Thank you for reporting an issue.
Hi,
I tried to replace hashicorp/aws with opentofu/aws and it get's installed fine using tofu init -reconfigure, but when I run tofu plan afterwards I get lots of errors of the form
Error: reading ECR Repository (XXX): operation error ECR: DescribeRepositories, https response error StatusCode: 400, RequestID: xxxxxxxxxxxx-40a8-4cd6-ab84-fb2ec3908d59, api error AccessDeniedException: User: arn:aws:sts::xxxxxxxxxxxx:assumed-role/role_name/i-1234567890 is not authorized to perform: ecr:DescribeRepositories on resource: arn:aws:ecr:eu-central-1:xxxxxxxxxxxx:repository/XXX because no identity-based policy allows the ecr:DescribeRepositories action

which works just fine with the hashicorp/aws provider (using the same version for both: 5.78.0).
OpenTofu Version
% tofu --version
OpenTofu v1.8.6
on linux_amd64
+ provider registry.opentofu.org/hashicorp/aws v5.78.0
+ provider registry.opentofu.org/opentofu/aws v5.78.0

OpenTofu Configuration Files
data "terraform_remote_state" "vpc" {
  backend = "s3"
  config  = {
    bucket  = var.s3_terraform_bucket
    key     = "terraform.tfstate"
    profile = var.profile
    region  = var.region
  }
}

provider "aws" {
  ##### These seem to be ignored by opentofu/aws #####
  profile = var.profile
  region  = var.region
}

# Setup DynamoDB table for locking
resource "aws_dynamodb_table" "terraform_lock" {
  attribute {
    name = "LockID"
    type = "S"
  }
  billing_mode = "PAY_PER_REQUEST"
  hash_key     = "LockID"
  name         = var.dynamodb_terraform_table
  tags         = {
  }
}

# Setup S3 bucket for storing the state
resource "aws_s3_bucket" "terraform_state" {
  bucket = var.s3_terraform_bucket
  tags   = {
  }
}

resource "aws_s3_bucket_server_side_encryption_configuration" "terraform_state" {
  bucket = aws_s3_bucket.terraform_state.id
  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm = "AES256"
    }
  }
}

resource "aws_s3_bucket_versioning" "terraform_state" {
  bucket = aws_s3_bucket.terraform_state.id
  versioning_configuration {
    status = "Enabled"
  }
}

# Configure Terraform
terraform {
  backend "s3" {
    bucket         = var.s3_terraform_bucket
    dynamodb_table = var.dynamodb_terraform_table
    encrypt        = true
    key            = "terraform.tfstate"
    profile        = var.profile
    region         = var.region
  }

  # Declare external modules
  required_providers {
    aws = {
      source  = "hashicorp/aws"   # WORKS
      #source  = "opentofu/aws"   # DOESN'T WORK
      version = "5.78.0"
    }
  }
}

Hi @dhs-rec it looks like you tried using both the OpenTofu and the HashiCorp namespace, which lead to a mixup.

Yes, that's what I'm doing. I'm trying to replace one with the other, that's why I currently have both installed (I also can't seem to find a way to uninstall the hashicorp one).

Using the OpenTofu namespace for the providers we are mirroring from HashiCorp is not advisable.

Hmm, ok. Why do they exist as opentofu/..., then?

Can you please check your state file for references to the OpenTofu namespace?

Not sure how I would do that.
Anyway, if it's not advisable to use opentofu/aws at all, it might be better not to switch, right? In this case, this should at least be documented somewhere, I guess...

Sure, that's fine. Thanks a lot.


Update readme

For each of the following check the box when you have verified either:

the changes have been made for each applicable version
no changes are required for the item
PR's that are submitted without running through the list below will be CLOSED

Affected versions:

[ ] Latest
[ ] 1.1
[ ] 1.0

The CSV is responsible in OLM installs for

[X] Operator permissions
[X] Operator deployment
[X] Operand permissions
[X] CRDs

The operator.yml is responsible in non-OLM installs for

[X] Operator permissions
[X] Operator deployment

The ansible role is responsible in non-OLM installs for:

[X] Operand permissions
[X] CRDs

The ansible role is always responsible for:

[X] Operand deployment

If this PR updates a release or replaces channel

[X] I created a new z release directory in deploy/olm-catalog/konveyor-operator
[X] I updated channels in the konveyor-operator.package.yaml
[X] I created a new release directory in deploy/non-olm
[X] I created or updated the major.minor link in deploy/non-olm
[X] Updated the .github/pull_request_template.md Affected versions list

@djwhatle Thanks for taking a look. I fixed some typos, added some additional instruction in the installation section, etc. I would appreciate it if you had another minute to look.
I also removed the controller-4.yml's. I think I want to strat discouraging their use, but haven't deleted them in case developers want to use them a bit longer until they've had time to change their workflows. In general I feel OLM is easy enough to use, even if looking for a pre-release version that we should be focusing on that installation method.


Support for loops

Currently the code for sequential_update_acyclic lines 542-548 will not run as expected when the current_node is part of two different simple cycles

for p in non_updated_parents:    for cycle in loop_status[1]:       if p in cycle and curr_node in cycle: # The current node and its parent node are in the same cycle          non_updated_parents.remove(p) # Then we can update the current node without knowing its parent          break if non_updated_parents != []:    can_update = False    for p in non_updated_parents:       current_nodes.append(p)