Changes to Superuser's user name are not saved (Personabar)

Description
In the DNN 9.2.0 PersonaBar, the Users admin screens appear to let you change a SuperUsers' username. However, the change is not saved.
Steps to reproduce

Log into DNN as a super user
In the PersonaBar, browse to Manage, then Users
Change the Show dropdown to Superusers
Click on the cog (Account settings) icon for one of the Superuser accounts
Edit the User Name box
Click Save.

Current result
The change to the Superuser's user name is not saved.
Expected result
When showing the Account Settings for a Super User, either:

Allow the user name to be changed or
Change the UI so the User Name box cannot be edited (either make it read only, or replace with a plain text label).

Affected version

[x] 9.2

(I have not tested other versions)
Affected browser
n/a.

Additionally, is this the right repo to report issues with the Personabar? If not, let me know where is best :)

Thank for your report @OllyHodgson.

is this the right repo to report issues with the Personabar?

I think it's fine to report in DNN Platform. We can always move.
Persona Bar has two specific repositories dnnsoftware/Dnn.AdminExperience.Library and dnnsoftware/Dnn.AdminExperience.Extensions. I'm guessing that the problem would have to be fixed in the latter one. But without some insight it's not always clear if that's the case.

Still an issue in 9.3.2
Just checked when I tried to change the default host (host - dnnhost)
Cannot change the host username, kind of imporant I think....

Create new DNN installation
Log in with default host account
Try to change username to something else and click save
Does not work

Just checked the tables to see if it might actually be saving something but it isn't
Kind of strange that:

it looks like something which is not to difficult to solve (changing a username)
it looks like something pretty imporant
almost a year later it is still not solved
I mean I would understand if it was a minor thing, but changing the username of a host account should have some priority I would think....

I can still reproduce in 9.4.0 but nothing gets logged anywhere, not sure if PB related or API related, but assigning 9.4.1 milestone for now

Can still reproduce in 9.6.2 also, it is a frontend issue, the POST does not send the newly entered username when it's a host user for some reason. And tried another host it is not because it is the currently logged in host user, so I guess it's when it's any host user.

Have to look into more details about the implications of fixing this, but I took a quick look and GetUserDetail call says the user isHost = true but isAdmin = false.
Traditionnally in the backend code hosts are considered to always be admins everywhere. Something to dig into a bit further... But then the frontend code has a canEditSettings method and that method looks at if the user is an admin and does not check the isHost value.

We discussed this a bit and consider this by design. Users can't change their own username, admins can but in the context of a host, it could completely block other hosts out of a site by a malicious host.

The super user was never meant to have a profile, specifically for some of the reasons noted in this issue (and others).  Superusers should not be allowed to change these values since there isn't a profile to save to when the user account is IsSuperUser.

I just ran into this too.
I'm not sure I agree with the reasoning to close this as a malicious host can also execute SQL to change other Hosts Usernames.
Anyway, IMO if this is By Design the input should be made read only for hosts as now it seems like a bug.

We discussed this a bit and consider this by design. Users can't change their own username, admins can but in the context of a host, it could completely block other hosts out of a site by a malicious host.

When you change the Email address and password and or delete another Host user, you can lock them out too.

Well, wouldn't it be an idea to at least be able to change your own account.

@BondForWebSolutions Agreed


[Feature request] Support more application events

First of all, great idea in creating this plugin!
It's something that has bothered me for a while with my own plugins when they conflict with other plugins which register delegate methods for the same events.
I intend to make use of this plugin as a dependency for my fork of cordova-plugin-firebase - cordova-plugin-firebasex - as this is something that's already been raised as an issue: https://github.com/dpa99c/cordova-plugin-firebasex/issues/443
However, I'd need to extend you plugin to support the following additional application events:

applicationDidBecomeActive
applicationDidEnterBackground
didRegisterForRemoteNotificationsWithDeviceToken
didFailToRegisterForRemoteNotificationsWithError
didReceiveRemoteNotification

When I get some time, I'll put up a PR which adds support for these.
There may be some other useful ones on the UIApplicationDelegate class too that are worth adding at the same time.
I think long term it would be great if this plugin could be merged into the core of cordova-ios to provide this broadcast functionality out-of-the-box - it's something I've raised in the Cordova Slack.

OK, as @jcesarmobile rightly pointed out on Cordova Slack, adding delegates for remote notifications events will cause App Store warnings if the provision profile doesn't have push entitlement and can lead to binary rejection, so it's not a good idea to add these to this plugin.
In which case I will create a separate plugin based on this one (e.g. cordova-plugin-app-push-event) which explicitly broadcasts only push-related remote notification events.
However, applicationDidBecomeActive and applicationDidEnterBackground could still safely be added to this plugin.

It doesn't lead to binary rejection, Apple warns just in case you forgot and some people get scared about the warning. But still, not good that all apps that don't use push would get the warning after adding that.

@jcesarmobile thanks for clarifying - those warnings would probably cause a flood of issues so still worth keeping the push-specific stuff separate.


Items in pinned section are not sticky

Hi,
I have the problem that items I add to the pinned section are not working as sticky items. As soon as I move the item to the normal section, they behave like intended.

Hello,
only items in main list can behave as sticky. This is by design and reflects behavior of Settings and Help items in Google apps which do not belong in standard app flow and their activities do not have a navigation menu. At the same time pinned section disappeared from the specs so current behavior of the library is unlikely to change in this regard.


MM-29693 : Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 687

Summary
This PR aims to solve https://github.com/mattermost/mattermost-server/issues/15968
Ticket Link
Issue : https://github.com/mattermost/mattermost-server/issues/15968
JIRA : https://mattermost.atlassian.net/browse/MM-29693

Hello @haardikdharma10,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

THanks for the PR, @haardikdharma10. Many of us are just returning from the holidays.  Someone will review your PR shortly!

THanks for the PR, @haardikdharma10. Many of us are just returning from the holidays.  Someone will review your PR shortly!

Sure thing @jfrerich, hope everyone had a great vacation :)

Sure thing @jfrerich, hope everyone had a great vacation :)

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

@deanwhillier, gentle ping for review

@deanwhillier, gentle ping for review


Feature request | Custom message

Hi Hovancik, congratulations for the app. After trying many others I'm sticking to this one because of it's simplicity and beauty.
One thing that doesn't work for me are predefined ideas, so I was wondering about the possibility of adding a custom message. I would appreciate being able to write something like "Take a break" or "Be here now" in a settings field.
Regards,
Jorge

Hi,
there is no "easy" way in application interface, but you can do it by editing config file as it is mentioned in readme here: https://github.com/hovancik/stretchly#editing-breakmicrobreak-ideas
I hope this helps ;]
I plan to add break ideas editor in future, but it will take time as there are many many features that needs to be done.

Hi, I tried editing the config file as mentioned in the readme, but no matter how I do it the program keeps reloading the original ones. Is there something I am missing?

Thanks, I was missing useIdeasFromSettings": true it works now.

Awesome, glad it works. I'll enhance README.md.


Auto interact lag issue

Hey, I executed the script, and the auto interact is lagging me like decreasing FPS slowly. I was on mobile and it's still lagging me anyways.

we will see what we can do

we will see what we can do

And the Auto-Interact is still lagging me again


Validate High QC In AggregateQC Validation

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #839   👈

This stack of pull requests is managed by Graphite.


ResponsiveReactGridLayout mutates props

After updating to 0.17.1, my jest test is failing:
  const wrapper = mountConnected(<App />);
  ReactDOM.render(wrapper, div);
  ReactDOM.unmountComponentAtNode(div);

The error I get:
Cannot assign to read only property 'mobile' of object '#<Object>'

It is thrown here: https://github.com/STRML/react-grid-layout/blob/master/lib/ResponsiveReactGridLayout.jsx#L260
In addition, the application crashes, when changing the breakpoints.
The reason is that layouts is mutated, as it comes from nextProps. Instead, a new object should be created.
~As this particular code is not new, it might come from this change.~
Mutating props usually doesn't break things (even though it is discouraged), but in my case, immer makes the props explicitly readonly, which in the end breaks.
The issue is reproducable in my repository, after replacing xit with it.
I am happy to open a new PR if someone confirms my assumptions and the suggested solution.
P.S.: Thanks a lot for the latest updates!

This does not only let my test fail, but it also crashes the application when changing a breakpoint. I have provided and verified a fix in #1064 .

After a lot of debugging, I have finally found the core issue. It was not introduced with the latest react-grid-layout update, but with an update to redux-starter-kit. The change was introduced in v0.9.0, most likely with the immer update. With this update, immer rightly assumes that the state/props are immutable. Hence, my fix is still relevant/required.

@darekkay @STRML any update on this?
I faced the relevant issue (as I supposed):
Uncaught TypeError: Cannot assign to read only property 'w' of object '#<Object>'

Every time I add only one single item on the dashboard and trying to resize it crashes at this line:
at ReactGridLayout.onResize (ReactGridLayout.js:581)

I have the same issue @misha-panyushkin stated above:
Uncaught TypeError: Cannot assign to read only property 'w' of object '#<Object>'
at ReactGridLayout.onResize (ReactGridLayout.js:455)
      if (!hasCollisions) {   // Set new width and height.   l.w = w;   l.h = h; } // Create placeholder element (display only)
When I do resize a grid item. I suppose this issue got appeared with the latest update.

@yzvz yeap, the same thing. My workaround was to update the whole component on changing states between 0 grid items to 1 grid item as follows (my case the are no error while using more than 1 grid item):
<ResponsiveGridLayout
          key={`${!!layouts.lg.length}`}
          {...restProps}
>
</ResponsiveGridLayout>

@STRML thank you for a speedy reply! When to wait for a new release?

@STRML @daynin a new release with this fix would be much appreciated.

@misha-panyushkin @yzvz My PR fixed the issue on breakpoint change, but I am now also facing the issue you've mentioned on widget resize. It's a different place that requires a similar fix. I will look into it and provide another PR.

So if we're not supposed to mutate the layout, then what are our options for changing the grid via props? Using a new key each time we want an update is not an idea solution IMO.

So if we're not supposed to mutate the layout, then what are our options for changing the grid via props? Using a new key each time we want an update is not an idea solution IMO.

Im also wondering this


Guardian druid

Love these packs - thank you so much for releasing them. Are there any plans to implement one for Guardian Druid?

+1 Protection Palatin

Preliminary support for Guardian Druid is now available in 1.8.0.


Use PathBuf APIs to correctly do some path manipulation cross-platform

Under certain weird configurations (for example running default powershell through the Zed editor built from source on Windows), the path manipulation could create a file path that looked like \\?\C:\Path\To\Project/file.d, and Windows does not accept a / for paths that use the \\?\ syntax.
This would cause an error like failed to create fake .d file: Os { code: 123, kind: InvalidFilename, message: "The filename, directory name, or volume label syntax is incorrect." }

Makes sense, thanks!


How about the browser compatibility?

hi, I have read the document but did not find any declaration about the browser support.
Does anybody know that?

@youngwind You might be looking for Modernizr?

The is.js library uses chai as its assert library which errors in IE8 so it's safe to assume that solid support is modern browsers (current and previous browser releases) plus IE9 and up.


[Website] Add second author option to case-studies

Rsolves #24486

update case-studies/list.html, add options to case-studies to be able to add сoauthor to https://beam.apache.org/case-studies/
update related ADD_CASE_STUDY.md where it is noted how to add a new case-study

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM

R: @pabloem, could you kindly help with review?

nice! LGTM


Special characters not rendering.

I have a mustache template that I render in a Django project using pystache's Renderer. Some of the mustache strings contain html entities, but the renderer replaces the & character with &, which breaks the html entities. How do you get around this?

HTML escaping occurs by default.  You can get around this by using triple delimiters for literal rendering, e.g. {{{name}}}.  See the man page referenced in the README for more details.

Thanks a million; that works.


Hugo Migration - Extend kubectl with plugins ToC links missing - https://hugo-migration.docs.kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/

This is a...

[x] Bug Report

Problem:
In the table that contains links to sub pages (ToC) at the top of the page, Hugo is only displaying links that are at a hierarchy level of one sub-page deep in the top part of the page. For example:
Hugo: https://cl.ly/0p1z1x3Z3L1D
Production: https://cl.ly/1p0T150B180v
Page to Update:
https://hugo-migration.docs.kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/

It looks like this is a difference in the fact that Hugo isn't recognizing  and  tags (or their Markdown counterparts ##, and ###) and placing them in the Table of Contents

See https://github.com/kubernetes/website/issues/8253#issuecomment-386207295

I have commented about this in another thread, but the short version is that the "capture template" constructed pages currently only support one level in toc (h2).

By design. Only the H2 headings get picked up for the page TOC.


Minor UI improvements

Last release looks great! Two little things to polish when you have time:
I see a wrong version number in the About page.

Also contrast between icon and background on my mac is a bit odd. Can you use less saturated color for icon's background?

Wow, this is Electron version on about page, I'll fix it. Thanks for opening it, I've never done this :laughing:
Hm, I'll try to find a better color. Are you using El Capitan or Yosemite? On previous versions the icon will look really from another world and now many icons are saturated but yes, I agree now that it looks strange. I think, maybe I have to add a border as well?

What's your opinion about this version?

I think border can solve the issue! I've tried also to create something useful:

If you give me vector key symbol I can produce high res icon.
P.S. I'm on Yousemite.

I have a vector version of this logo, so I don't need a hires icon. I think I'll use my version - please, note slightly less saturated color on it. Here's it:

Great!

So, here's how the icon has changed:

That should be good! Though GitHub images are blurry on retina screen..

I just use monosnap to auto-shrink retina images.. This will be in the next version v0.2, together with About box fix. Thanks.

Icon looks much better now! Still there is a space for improvement. Not very natural comparing to other apps :)

It should have a gradient effect, I'll add it. And border will have more contrast. Will post an update today

Yep thanks :+1:

So, I come up with the following:

And the installer:

What do you think?

yeah! looks great, I like it!

I've rebuilt the last release with this new icon, here's the dmg: https://github.com/antelle/keeweb/releases/download/v0.2.0/KeeWeb.mac.dmg

I like it! Now it feels right :+1:

Thank you for putting attention to it


Remove "playground" related code in interview_generator.py?

Classes playground  and PlaygroundSection require login, yet Weaver doesn't. Should we remove all the code related to them in interview_generator.py?
The main benefit would be to prevent people from accidentally using functions provided by those code, only later realizing the login requirement, thus save a big "ouch".
Additionally it would clear up workspace and reduce distractions when we work with interview_generator.py.

I think that #310 does this. Maybe should have been its own PR, sorry.

That's great, thanks for doing that!
I double checked your py and found most of those code was removed, except  def url_list which is hidden in class DAAttachmentList.

Resolved in #310


Fix: samba howto contains some errors

permissions are not correct and aligned

 joeplaa howto: correct samba share article


Replaced request with typed-rest-client package

Task name: DownloadGitHubNpmPackageV1
Description: Replaced request with typed-rest-client package. Request is deprecated and contains a critical vulnerability.
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

Hi @v-nmursapall,
Could you review and test these changes, please?

@AndreyIvanov42  - The changes look ok, I will test them and get back to you. But i do not have write access to this repository, so it will have to be approved by Harshini K S.

@v-nmursapall Have you been able to test the changes?


I can't download tweets from Media page

Hello, when I use grabber for downloading from Twitter it downloads the images from the main page, downloading in the process a LOT of images from other non related people (+10.000 in some cases), I want to download images made by the artist, from "artist_name/media" but I don't know how to make Grabber do that, or if It can

By default, Grabber returns media from retweets and in the user's replies.
If you don't want retweets, you can use retweets:no in your search. Same thing with replies:yes/no.
See the documentation for (not that much) more details.


merge-homebrew: Allow using git mergetool

Use "git mergetool" if HOMEBREW_MERGETOOL is set.
I'm not a fan of resolving conflicts with a normal
editor.
Closes #43
Signed-off-by: Bob W. Hogg<EMAIL_ADDRESS>

Which mergetool do you use?

On Linux, meld. On Mac, tkdiff because the meld cask doesn't like me for some reason.

Thanks for giving me the motivation to finally try out git mergetool. The opendiff and FileMerge of macOS seem not terrible. There's also gvimdiff. I'm sure better tools as well.

I like to set merge.conflictstyle diff3 when looking at merge diffs. Tried that with linuxbrew, it breaks at multiple places, so I gave up. But this is what I use at work + vim.

Edited; thanks for the suggestions Shaun!

Thanks @sjackman, think I've finally got it this time.


Errors in error.log

I just installed new version.
i am receiving this in error.log when i try to see page
Is it easy fix?
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Warning:  socket_last_error() expects parameter 1 to be resource, integer given in /var/www/nfsen/nfsenutil.php on line 114, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Warning:  socket_last_error() expects parameter 1 to be resource, integer given in /var/www/nfsen/nfsenutil.php on line 115, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Warning:  socket_last_error() expects parameter 1 to be resource, integer given in /var/www/nfsen/nfsenutil.php on line 119, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[' in /var/www/nfsen/plugins/SSHCure/json/data/get_top_targets_compromise.php on line 32, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:01 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[' in /var/www/nfsen/plugins/SSHCure/json/data/get_top_targets_bruteforce.php on line 33, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Mon Apr 27 15:54:05 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=incoming
[Mon Apr 27 15:54:09 2015] [error] [client 131.x.x.x] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=outgoing

Since your Web server is complaining about 'syntax errors' in two projects (NfSen, first three reports, and SSHCure, remaining reports), it's more likely that you have a compatibility issue. I'm curious to know what is causing it.
Could you please check what is the version of PHP running on your system? And does NfSen itself run fine (i.e., when you navigate to http://netflow.server.com/nfsen.nfsen.php on your system)?

Hi Rick,
I dont have issue on nfsen
Nfsen is running good,
Surfmap is running good
here is error logs
[Fri May 01 09:30:03 2015] [error] [client <IP_ADDRESS>] PHP Notice:  Undefined variable: chan_id in /var/www/nfsen/profileadmin.php on line 593, referer: http://netflow.server.com/nfsen/nfsen.php?tab=3
[Fri May 01 09:30:03 2015] [error] [client <IP_ADDRESS>] PHP Notice:  Undefined variable: chan_id in /var/www/nfsen/profileadmin.php on line 594, referer: http://netflow.server.com/nfsen/nfsen.php?tab=3
[Fri May 01 09:30:39 2015] [error] [client <IP_ADDRESS>] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Fri May 01 09:30:39 2015] [error] [client <IP_ADDRESS>] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Fri May 01 09:30:39 2015] [error] [client <IP_ADDRESS>] PHP Parse error:  syntax error, unexpected '[' in /var/www/nfsen/plugins/SSHCure/json/data/get_top_targets_compromise.php on line 32, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Fri May 01 09:30:39 2015] [error] [client <IP_ADDRESS>] PHP Parse error:  syntax error, unexpected '[' in /var/www/nfsen/plugins/SSHCure/json/data/get_top_targets_bruteforce.php on line 33, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard
[Fri May 01 09:30:53 2015] [error] [client <IP_ADDRESS>] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/nfsen/plugins/SSHCure/json/data/get_attacks.php on line 39, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=outgoing
^C
[root@netflow:/var/www/nfsen]#
First 2 logs when i try to go Surfmap rest of them belongs to SSHCure. It keep saying Loading on the web page
here is php version
[root@netflow:/var/www/nfsen]# php -v
PHP 5.3.10-1ubuntu3.18 with Suhosin-Patch (cli) (built: Apr 17 2015 15:04:29)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

From: Rick Hofstede<EMAIL_ADDRESS>Sent: Tuesday, April 28, 2015 2:07 AM
To: SSHCure/SSHCure
Cc: Kapucu, Ali
Subject: Re: [SSHCure] Errors in error.log (#63)
Since your Web server is complaining about 'syntax errors' in two projects (NfSen, first three reports, and SSHCure, remaining reports), it's more likely that you have a compatibility issue. I'm curious to know what is causing it.
Could you please check what is the version of PHP running on your system? And does NfSen itself run fine (i.e., when you navigate to http://netflow.server.com/nfsen.nfsen.php on your system)?

Reply to this email directly or view it on GitHubhttps://github.com/SSHCure/SSHCure/issues/63#issuecomment-96928794.

Thanks for your feedback. It turns out that we had some syntax constructs that were only supported as of PHP 5.4, while you appear to be running PHP 5.3. Please checkout the latest master.

Thank you
That fixed it.
Looks like dashboard asking for get_internal_networks.php ?? but git has comment for rpc folder "Dashboard does not depend on json/rpc/get_internal_networks.php anymorehttps://github.com/SSHCure/SSHCure/commit/78db3e0e2af35eaab0f22e5bf3f82b414eaf599f"
[Fri May 01 10:00:32 2015] [error] [client <IP_ADDRESS>] script '/var/www/nfsen/plugins/SSHCure/json/rpc/get_internal_networks.php' not found or unable to stat, referer: http://netflow.server.com/nfsen/plugins/SSHCure/index.php?action=dashboard

From: Rick Hofstede<EMAIL_ADDRESS>Sent: Friday, May 1, 2015 9:57 AM
To: SSHCure/SSHCure
Cc: Kapucu, Ali
Subject: Re: [SSHCure] Errors in error.log (#63)
Thanks for your feedback. It turns out that we had some syntax constructs that were only supported as of PHP 5.4, while you appear to be running PHP 5.3. Please checkout the latest master.

Reply to this email directly or view it on GitHubhttps://github.com/SSHCure/SSHCure/issues/63#issuecomment-98139760.

Assuming that you've properly 'reinstalled' the latest version of SSHCure, I suspect your browser cache to be the problem here. We've indeed removed get_internal_networks.php yesterday, as well as the accompanying call from dashboard.js. There's probably an old version of dashboard.js in your cache.

You were right :)
--
Thanks

From: Rick Hofstede<EMAIL_ADDRESS>Sent: Friday, May 1, 2015 10:19 AM
To: SSHCure/SSHCure
Cc: Kapucu, Ali
Subject: Re: [SSHCure] Errors in error.log (#63)
Assuming that you've properly 'reinstalled' the latest version of SSHCure, I suspect your browser cache to be the problem here. We've indeed removed get_internal_networks.php yesterday, as well as the accompanying call from dashboard.js. There's probably an old version of dashboard.js in your cache.

Reply to this email directly or view it on GitHubhttps://github.com/SSHCure/SSHCure/issues/63#issuecomment-98143012.

Rick,
FYI,
Looks like same array syntax  are using on
json/html/*

Should be fixed now as well.


Res #171 Use mktemp for cross-linux compatibility

Arch Linux, among other distributions, have depricated use of the tempfile command. To make the baxter.sh script useful for all distributions, this commit switches the tempfile command to the mktemp command from the coreutils package. The functionality for Debian users should remain unchanged.
Thanks to @alainsanguinetti for reporting this under Issue #171

+1, I confirm that it works well on Arch Linux.

I forgot to mention that this works well for Debian, specifically Ubuntu 14.04. The functionality between tempdir and mktemp is practically the same for our purposes.


Allow setting of the umask for the consul daemon.

This allows setting of the umask before spawning the consul daemon. I'd like to be able to store secrets in Consul, but by default Consul creates files as 0644 and directories as 0755, which leaves these secrets readable to anyone on the system.
Consul does respect umask, however, so by setting it before launching, we can avoid creating these files as world-readable.
Currently this defaults to 0022, (not writeable by world or group), but in a secure environment it's probably good to set to 0027 or 0077. I could be convinced to change the default to one of those.

I should note that I've tested the upstart and launchd versions of this, since I have Consul running on Ubuntu and OS X, but I haven't really verified that my systemd, sles, sysv, or debian init scripts work.

I've put quotes around the default, and rebased on top of master to fix the merge conflict with #105

hold on, syntax failures.

Travis is happy again.


Fix intermittent spec errors

Using the attribute rather than the association when constructing the existing record would sometimes cause duplicate record errors depending on the order of spec execution.

Somewhat ironically this failed sporadically but because of a different reason - the phantomjs download sometimes fails because Bitbucket is rate limiting downloads and there's a lot of usage.


Releases

Please add releases to the repo.
I could also create a pull request which integrates circleci or travis for you to automatically build and release on a new push to the master branch

There are some releases present in /rom.
It looks like that nobody cares about this repo.

My proposal would be to use the official github releases (https://github.com/myStrom/mystrom-button/releases) that you see them directly ^^
And yes it looks like


Bug: Orator doesn't reconnect after postgres connection loss

I can reproduce this reliably by running some queries and then restarting my database. Once the connection is lost, orator will continue to throw without attempting a reconnect because the connection closed exception isn't recognized by _caused_by_lost_connection
The exception thrown by psycopg2 is:
Traceback (most recent call last):
  File \"/usr/local/lib/python3.4/dist-packages/orator/connections/connection.py\", line 32, in _run
    result = wrapped(self, query, bindings, *args, **kwargs)
  File \"/usr/local/lib/python3.4/dist-packages/orator/connections/connection.py\", line 200, in select
    cursor = self._get_cursor_for_select(use_read_connection)
  File \"/usr/local/lib/python3.4/dist-packages/orator/connections/connection.py\", line 207, in _get_cursor_for_select
    self._cursor = self.get_read_connection().cursor()
  File \"/usr/local/lib/python3.4/dist-packages/psycopg2/extras.py\", line 107, in cursor
    return super(DictConnection, self).cursor(*args, **kwargs)
psycopg2.InterfaceError: connection already closed

Which is bubbled through orator as:
  File \"/usr/local/lib/python3.4/dist-packages/orator/orm/builder.py\", line 292, in paginate
    total = self.to_base().get_count_for_pagination()
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1137, in get_count_for_pagination
    total = self.count()
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1271, in count
    return int(self.aggregate('count', *columns))
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1348, in aggregate
    results = self.get(*columns)
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1049, in get
    return self.get_fresh(columns)
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1067, in get_fresh
    return self._processor.process_select(self, self._run_select())
  File \"/usr/local/lib/python3.4/dist-packages/orator/query/builder.py\", line 1079, in _run_select
    not self._use_write_connection
  File \"/usr/local/lib/python3.4/dist-packages/orator/connections/connection.py\", line 35, in _run
    e, query, bindings, wrapped
  File \"/usr/local/lib/python3.4/dist-packages/orator/connections/connection.py\", line 319, in _try_again_if_caused_by_lost_connection
    raise QueryException(query, bindings, e)
orator.exceptions.query.QueryException: connection already closed (SQL: SELECT COUNT(*) AS aggregate FROM "foo" ([]))

I was able to reproduce it too.
The underlying issue was that the error message server closed the connection unexpectedly was not caught by Orator and even if the database was restarted psycopg2 would keep raising the connection already closed error.
This shoudl be fixed in commit 95b526311e35281c220fd0a7a5158cd91da6eae4 on the 0.9 branch.

Great, thanks! Withdrew my PR.

Version 0.9.4 has just been released.


Unused log data causing memory errors

Hi all,
First, thanks for the library, really handy so I don't have to deal with sigv4 myself.
However, I'm running into an issue in this line:
https://github.com/opensearch-project/opensearch-py/blob/c8b04a5246dad6dcec05cf6f5bbf2eb14a9ec398/opensearchpy/connection/base.py#L232
where the request body is unnecessarily processed and ends up causing memory issues on a rather heavy bulk request. There's also the fact one might not want the body to be logged, there are security implications there in some cases. That's the reason behind the Pylint rule to use lazy evaluation on logging, one shouldn't pay the computational price for a log message that's not even persisted/desired.

Maybe something like
if logger. isEnabledFor(debug) ...

100% we should not process the body unless explicitly needed for logging, please contribute a fix @fabioasdias?


Release 1.0.3 on Maven Central

Hi @Jolanrensen
I was about to try out this lib with Spark 3.2.x, but it doesn't seem like version 1.0.3 is released on Maven Central. Would it be possible to release it there?
Thanks!

Definitely! @asm0dey? ;)
Until then you can also download the jar from the releases manually

Thank you!


PathEscape to encode " " as "%20" instead of "+" (for password)

or else password with SPACE doesn't work

scheme:[//[user:password@]host[:port]]path[?query][#fragment]
before "?" is Path
after "?" is Query
https://www.callicoder.com/golang-url-encoding-decoding/#:~:text=URL Encoding or Escaping a String in Go&text=Go provides the following two,inside a URL path segment.
(but it doesn't matter, because what matters is how oracle implemented it..)

thank you for your help

thank you for this repo


Remove conflicting dbPrefix setting in TiDBOptions

What problem does this PR solve?
Close #1276
Check List
Tests

Integration test

Code changes

Has exported variable/fields change

Side effects

Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to be included in the release note

/run-all-tests

/run-all-tests

/run-all-tests

delete label cherry-pick-2.1?

/run-all-tests


[wip] [feat] Default '*' reference for performance check run time addition

Fixes #811

Hello @ChristopherBignamini, Thank you for submitting the Pull Request!

In the file reframe/core/pipeline.py:

Line 1133:53: E231 missing whitespace after ','

Do see the ReFrame Coding Style Guide

@ChristopherBignamini Why this is a WIP?

@ChristopherBignamini Please take a look at the unit tests failures.

Codecov Report

Merging #866 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #866      +/-   ##
=========================================
- Coverage   91.71%   91.7%   -0.01%
=========================================
  Files          80      80
  Lines       10302   10314      +12
=========================================
+ Hits         9448    9458      +10
- Misses        854     856       +2

Impacted Files
Coverage Δ

reframe/core/pipeline.py
93.66% <100%> (+0.15%)
:arrow_up:

unittests/test_pipeline.py
97.32% <100%> (ø)
:arrow_up:

reframe/frontend/cli.py
81% <0%> (-0.55%)
:arrow_down:

reframe/settings.py
100% <0%> (ø)
: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 74ba134...86b2e23. Read the comment docs.


Use it on local files?

Is there a way to use this on local files, aka sb3 files on my system? I imagine it is a matter of making the load button into a file chooser, but I am not proficient enough to get how to do it.

I realize I should have been more specific. I am trying to use the generator on a local file, instead of a scratch url. The reason is that I am making quizzes for students, and I don't want to share the projects because they are tempted to look at the answers.

It is possible to use local files. Do the following:

Change the project file extension to ".zip" and extract the project.json file out of the ZIP file
Import it into your code like so:

import * as project from "/path/to/project.json"
import { toScratchblocks } from 'parse-sb3-blocks';

for (const key of Object.keys(project)) {
    console.log(toScratchblocks(key, project, 'en', { tabs: ' '.repeat(4) }))
}

It is possible to use local files. Do the following:

Change the project file extension to ".zip" and extract the project.json file out of the ZIP file
Import it into your code like so:

import * as project from "/path/to/project.json"
import { toScratchblocks } from 'parse-sb3-blocks';

for (const key of Object.keys(project)) {
    console.log(toScratchblocks(key, project, 'en', { tabs: ' '.repeat(4) }))
}

Thanks for the reply, which I only just noticed. I am a little stupider than you kindly give me credit for, which is to say, I wasn't very explicit. I either need more context for you answer, such as what kind of environment that lives in.
For example, in thee

@ajskateboarder Thanks for the reply, which I only just noticed. I am a little stupider than you kindly give me credit for. That is to say, I wasn't very explicit because I am too dumb to know what I am doing, and probably have no business doing it.
I either need more context for you answer, such as what kind of environment that lives in, or to perhaps explain better what I was thinking, aka:
My first plan was to create a codesandbox for it, with the code in the  demo code imported, or via another ide like jsfiddle (but jsfiddle doesn't seem to allow resources other than html, js, css files), that has access to the parser cdn via code like you gave....The problem is the demo.js has a bunch of stuff that checks the input is from scratch/turbowarp, and is expecting a url. It is that step that I need to obviate.
For example, in  the demo.html there is an input:
 <input
        type="file" // I changed this to file, but what do I do with the rest??
        placeholder="Project URL"
        id="urlInput"
        name="urlInput"
        class="generalInput longInput"
      />

In the demo.js there is an area that processes that input. I imagine your code would somehow fit in here, but i am don't quite have the chops to understand...
 const loadProject = async projectId => {
    let token = '';
    try {
        const tokenResp = await fetch(
            `https://trampoline.turbowarp.org/proxy/projects/${projectId}`
        );
        if (tokenResp.ok) {
            const tokenData = await tokenResp.json();
            token = `&token=${tokenData.project_token}`;
        }
    } catch (e) {
        console.error(e);
    }
    try {
        const resp = await fetch(
            `https://projects.scratch.mit.edu/${projectId}/?${Date.now()}${token}`
        );
        projectData = await resp.json();
    } catch (e) {
        console.error(e);
        errorElem.textContent = 'Project failed to load.';
        errorElem.hidden = false;
        return;
    }
    if (projectData.objName) {
        console.error('Project looks like in sb2 format.');
        errorElem.textContent = 'Project failed to load: the project is in sb2 format.';
        errorElem.hidden = false;
        return;
    }
    usedOpts.pid = encodeURIComponent(projectId);
    spriteChooser.hidden = false;
    Array.from(spriteChooserSelect.children)
        .filter(e => e.value !== '_stage_')
        .forEach(elem => {
            spriteChooserSelect.removeChild(elem);
        });
    projectData.targets
        .filter(t => !t.isStage)
        .forEach(target => {
            const option = document.createElement('option');
            option.value = option.innerText = target.name;
            spriteChooserSelect.appendChild(option);
        });
};

Oh, for the web, you can load parse-sb3-blocks from a CDN:
<script<EMAIL_ADDRESS>defer></script>

and use the parseSB3Blocks.toScratchblocks function. I think for this bit of code here:
    projectData.targets
        .filter(t => !t.isStage)
        .forEach(target => {
            const option = document.createElement('option');
            option.value = option.innerText = target.name;
            spriteChooserSelect.appendChild(option);
        });

You could use the target variable like so to produce the scratchblocks code for every script:
const flags = Object.keys(target.blocks).filter(key => target.blocks[key].opcode === 'event_whenflagclicked');
// list of strings
const scripts = flags.map(flag => parseSB3Blocks.toScratchblocks(flag, target.blocks, "en", {tab: "  "}))

Let me know if that's what you wanted, and sorry for the delay :P


sample project not working

First of all the IDE complains it can't resolve AppCompatActivity. Strangely it still can compile and install the APK onto the test device.
However, when running the app, this list isn't found by findById the result is null. NullpointerExceptions follow.

Have you tried with Hidden APIs v28?

Closed because no response.


Recorder 0 was false active

I am running ODAS with Respeaker mic array v2 Ubuntu. Odas is working but I don't know how to start and stop audio recording. Audio recordings are displayed for 0 sec in the log window.
ODAS stops working and gives the following error.
"Recorder 0 was false active"
Originally posted by @Bengisu2 in https://github.com/introlab/odas_web/issues/58#issuecomment-1001506554

hi,
I had the same problem: Recorder 0 was false active and the audio duration was 0 seconds. Did you solve this problem please? If solved, can you provide some information about the solution?
Thanks in advance


New version GenomicVectors: 0.4.1

Registering: GenomicVectors
Repository: https://github.com/phaverty/GenomicVectors.jl
Version: v0.4.1
Commit: 04cbb0ed3c2a5571e3d775c796650ae2acb452c5
Proposed by: @phaverty
Reviewed by: @phaverty
Reference: https://github.com/phaverty/GenomicVectors.jl/issues/20#issuecomment-488059318

https://github.com/JuliaRegistries/General/pull/452#issuecomment-488067739

I have fixed the build (some Project.toml and .travis.yml attention was required). As this is my first go with the new release system, hopefully you will forgive me for asking, "what do I do next?". (first, tied with RLEVectors :-) )


In-Engine FFT tools

There's a native plugin for KISS FFT that you might find interesting, and a number of built in analysers, which might be of interest.
Are these of any use? Personally, I'm interested in the FFTPeakPitchDetector, which can take a float buffer, and produce timestamps based on pitch ranges, I'm going to have to take a close look at that.

You've also mentioned that using USoundWave as a base means you lose out on FFT analysis, but if you're already building a procedural sound at runtime, why not prebuild the FFT data, on an opt-in basis?
UAudioComponent has functionality to get FFT data, which you can run on the tick. There could also be the option to not prebuild the FFT data, and just cache it as its' generated.
I think the best way to offer FFT would actually be to have a custom UAudioComponent, and offer things like IsBeat in there (as an event perhaps?), whilst storing "Cooked" FFT data in a largely default custom USoundWave, just with the various GetFFT methods overriden.
Does this not make it much more compatible with the engine, and so, easier for users to just drop in place and utilise?
This also means we never have to actually work out why those procedural soundwaves never stop/destroy.

This makes sense, AudioSynesthesia has good functionality for pre-analysis of audio data and can be used in the AudioAnalysisTools plugin. Thanks for sharing!
I will do this in the future :)

I actually started on a Synesthesia runtime plugin the other day, but I've realised I don't need audio importing, or analysis, in my project right now.
So, I've dumped the EXTREMELY basic PoC to a branch, maybe you can utilise it.


refactor: use ibis UDF functionality for remote_function

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Follow-up to https://github.com/googleapis/python-bigquery-dataframes/pull/53#discussion_r1427224630
🦕

I'm trying to debug the remaining unit test. It seems to be the string version of row_number() for order ID is the one that is ending up as an unresolvable operation.
Might be this reason?
import ibis
import pandas

df = pandas.DataFrame(
            {
                "col1": [1, 2, 3],
                "col2": ["a", "b", "c"],
                "col3": [0.1, 0.2, 0.3],
            }
        )
client = ibis.pandas.connect({"test_table": df})
table = client.table("test_table")
order_window = ibis.window(order_by=[ibis.asc("col1")])
order_id = ibis.row_number().over(order_window)
order_id
table[order_id]
table.select(table["col1"], order_id)
client.execute(table.select(table["col1"], order_id))

File ~/envs/bigframes/lib/python3.10/site-packages/ibis/backends/pandas/dispatch.py:26, in raise_unknown_op(node, *args, **kwargs)
     23 @execute_node.register(ops.Node, [object])
     24 def raise_unknown_op(node, *args, **kwargs):
     25     signature = ", ".join(type(arg).__name__ for arg in args)
---> 26     raise com.OperationNotDefinedError(
     27         "Operation is not implemented for this backend with "
     28         f"signature: execute_node({type(node).__name__}, {signature})"
     29     )

OperationNotDefinedError: Operation is not implemented for this backend with signature: execute_node(RowNumber, )

Looks like the regression in nsmallest tests are due to https://github.com/ibis-project/ibis/issues/7940

Looks like there are some changes I need to make to the remote functions type inference to account for the ibis 8.0.0 upgrade.
The nlargest / nsmallest tests are still failing though. I think I need to bump the minimum sqlglot: https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md#v2080---2024-01-08


Using media keys on XPS 15 9550

**OS: Windows 10 x64
**Issue Descriptions: When playing tracks and trying to skip tracks or go back to a track using the media keys the application freezes and crashes and ceases to be operable. Once the app crashes it is unresponsive until a restart is done.
**Steps to Reproduce: play song, hit pause media key, use previous track media key, then hit play media key, Crash should have happened by now

Disable desktop notifications and the windows media service.  One of them will be causing this 👍


Add CLI tool for running schemathesis test cases

Fix: https://github.com/kiwicom/schemathesis/issues/30

Thanks! We are going to fix the tests in master soon (caused by #83 )

The current master should be fixed now (GH actions are stuck for some reason)

In general LGTM! :) Please, check the comments above. However, it will be nice to know the coverage once the build is fixed

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f7affd0). Click here to learn what that means.
The diff coverage is 89.47%.

@@            Coverage Diff            @@
##             master      #86   +/-   ##
=========================================
  Coverage          ?   98.77%
=========================================
  Files             ?       12
  Lines             ?      408
  Branches          ?       60
=========================================
  Hits              ?      403
  Misses            ?        2
  Partials          ?        3

Flag
Coverage Δ

#unittests
98.77% <89.47%> (?)

Impacted Files
Coverage Δ

src/schemathesis/models.py
100% <ø> (ø)

src/schemathesis/runner.py
100% <100%> (ø)

src/schemathesis/commands.py
85.18% <85.18%> (ø)

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 f7affd0...8738f8d. Read the comment docs.

BTW the codecov report is outdated

yep, sometimes it is not updated :(  I think it is good to merge


Radzen datagrid cant filter on negative numbers

Radzen datagrid cant filter on negative numbers. Try fill in -5
Steps to reproduce the behavior:

Go to https://blazor.radzen.com/datagrid-performance
Click filter on Unit Price
try fill in -5 and Apply
the number will lose the minus sign which is not expected.
The down pile on the number box can go down to -5 ,  double and int can be negative

please note!
The example https://blazor.radzen.com/datagrid-odata dont seems to have any number fields in the example.
Then it would have showed that negative numbers must be filtered like
UnitPrice = (-1)
otherwise dynamic linq will fail which is strange
https://dynamic-linq.net/expression-language

I'm afraid that I cannot reproduce such problem:

Its something with the locale when its sv-SE (Sweden) the minus sign disappears on the blur event , can be tested like the picture bellow.


Troupe Delete

Though there is a link for "delete" next to the newly created troupe, clicking it does not actually delete the troupe. Also, some sort of deletion confirmation is vital to prevent accidental deletion of an active troupe.

Unable to reproduce.

I think this was fixed with the latest push, but let's make sure it's not an ownership issue.  Please try deleting one of the Louisville troupes as a user other than<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Confirming that I still cannot delete the troupe "Louisville: C/A/IA" using
the admin account<EMAIL_ADDRESS>If I create a new
troupe and attempt to delete it, the delete functions properly. "Test1 -
C/A/IA" deleted with no issue.
Katherine Ray King
Secretary
Underground Theater Inc. Board of Directors
On Tue, Jun 16, 2015 at 11:20 AM, Underground Theater <
<EMAIL_ADDRESS>wrote:

I think this was fixed with the latest push, but let's make sure it's not
an ownership issue. Please try deleting one of the Louisville troupes as a
user other than<EMAIL_ADDRESS>or<EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub
https://github.com/wastevens/ElysiumFrontend/issues/14#issuecomment-112468778
.

Defect was caused by not properly handling troupe-character and troupe-user relationships when deleting.  Fixed; closing.


[ACME] How to bootstrap using KV?

When bootstraping a new Traefik cluster using a KV store to store configuration and ACME certificates, is there any way to correctly bootstrap the KV store?
When I started my cluster, I had to launch a Traefik not connected to the KV store, then use the storeconfig subcommand to upload my account certificate.
If a way already exist, I was not able to find it in doc. If it isn't documented, please use this ticket to track the documentation update.
If Traefik is expected to handle this correctly, we can use this ticket to try to understand why it didn't in my case.

@Mika56 have you seen this part? http://docs.traefik.io/user-guide/cluster/ and http://docs.traefik.io/user-guide/kv-config/#store-configuration-in-key-value-store?

I've seen (and used) the storeconfig command, but you have to start a single Traefik instance and let it generate the ACME config, which isn't documented.
To be clear, what I mean is that if you start a Traefik cluster with the following keys:

acme/email<EMAIL_ADDRESS>acme/entryPoint: https
acme/storage: acme/account

and don't have the acme/account/object set, none of the Traefik instances will generate an account and store it there, at least that's what happened with me.

Can confirm this. I also had to manually remove the traefik/acme/storageFile key (had an empty value) created by storeconfig. I didn't set storageFile in my traefik.toml. It worked after I removed said key.
The relevant log output for reference:
time="2016-12-18T12:14:31Z" level=info msg="Starting server on :80"
time="2016-12-18T12:14:31Z" level=info msg="Starting server on :4443"
time="2016-12-18T12:14:33Z" level=error msg="Error creating TLS config Empty Store, please provide a key for certs storage"
time="2016-12-18T12:14:33Z" level=fatal msg="Error preparing server: Empty Store, please provide a key for certs storage"

Can confirm, you have to remove the storagefile key.

Same here I had to remove the storagefile key.

Same here, it is working now thanks

This caused me so much frustration until I figured out the right steps to bootstrap both the K/V store and ACME together in an HA configuration for use as a Kubernetes Ingress controller.  What I actually wanted was to just store the ACME certificates in the KV store, but not the configuration, but that doesn't seem to be possible, and it took me a while to figure that out.
In any case, this is what I'm doing now.  The info below isn't new and can be found in this issue, other issues, and/or the documentation, but I'm just spelling out in case it helps anyone else:

Create traefik.toml with the K/V configuration and ACME configuration (including storage = "traefik/acme/account").  All subsequent commands use this same traefik.toml.  This is what mine looks like:

    debug = true
    defaultEntryPoints = ["http","https"]

    [entryPoints]
      [entryPoints.http]
      address = ":80"
        [entryPoints.http.redirect]
        entryPoint = "https"
      [entryPoints.https]
      address = ":443"
        [entryPoints.https.tls]

    [kubernetes]

    [consul]
    endpoint = "consul:8500"

    [web]

    [acme]
    email =<EMAIL_ADDRESS>    storage = "traefik/acme/account"
    entryPoint = "https"
    acmeLogging = true
    onDemand = false
    onHostRule = true

Run traefik storeconfig to upload the of the configuration to the K/V store

Remove the traefik/acme/storagefile key from the K/V store (e.g. consul-cli kv delete traefik/acme/storagefile).

Then you can run traefik normally in an HA configuration.
If you miss step 2, you get this error:

level=error msg="Error creating TLS config Unknown entrypoint  for ACME configuration"
level=fatal msg="Error preparing server: Unknown entrypoint  for ACME configuration"

If you miss step 3, you get this error:

level=error msg="Error creating TLS config Empty Store, please provide a key for certs storage"
level=fatal msg="Error preparing server: Empty Store, please provide a key for certs storage"

Yes, it works after I removed the traefik/acme/storageFile key from consul manually after storeconfig.

I see the same results as @pickfire and have experienced the same as @borsboom (frustration)

I cannot get traefik with etcd backend running here.
traefik version 1.5.0-rc2 against etcd v3 with useAPIV3 = true.
I followed the process @bitsofinfo described above, but still get the following error when starting traefik:
traefik --web --kubernetes --etcd=true --etcd.endpoint=etcd-cluster-client:2379 --etcd.useAPIV3=true
time="2017-12-12T14:21:02Z" level=error msg="Error creating TLS config: Key not found in store"
time="2017-12-12T14:21:02Z" level=fatal msg="Error preparing server: Key not found in store"

I have deleted the traefik/acme/storagefile prio to starting traefik.

Some time ago, but i can remember a bug where you have to remove a space in the ETCD Database of ACME... may you can find something with that peace of information. BR

I mean, jokes aside, how do I get traefik in a h/a configuration running?
I cannot be that this project is solely used by small heroku like projects that run behind a single reverse proxy? What is happening?
My user journey with this project so far is a very frustrating one.
Something is definitely wrong, either the project should not promote to support any number of backends or it should fix every backend it promotes.
If there is something I can help with (testing wise) I am happy to help. My Go skills are not sufficient to look into the code.
I do not yet want to give up on traefik, as I like its implementation very much.
@bitsofinfo @emilevauge

@Overbryd the above works for me: https://github.com/containous/traefik/issues/927#issuecomment-350760419

@Overbryd exactly the same issue here with 1.5.0-rc2 but etcd v2 backend:
time="2017-12-16T09:16:11Z" level=error msg="Error creating TLS config: Key not found in store"
time="2017-12-16T09:16:11Z" level=fatal msg="Error preparing server: Key not found in store"

@bitsofinfo I followed the same steps and it is not working as you can see. Shame, I have it all working with nginx-ingress-controller and kube-lego, really trying here to give Traefik a chance but ... I think I wasted enough time with something that should be working as advertised.

@Overbryd @igoratencompass
I tried to reproduce your problem with a Docker thanks to the environment given in example here but I cannot.
Can you turn your log level to Debug logLevel = DEBUG and send both the logs and your whole Træfik configuration?
Note: If you want to test the cluster example, you have to use the shell script  as desbrided here :
./manage_cluster_docker_environment.sh --start --$kv_store with $kv_store =  etcd3 or etcd2 in your environments.

@nmengin I am running in debug mode. Unfortunately for the output to be helpful these:
time="2017-12-16T09:16:11Z" level=error msg="Error creating TLS config: Key not found in store"
time="2017-12-16T09:16:11Z" level=fatal msg="Error preparing server: Key not found in store"

should tell us exactly which key is it complaining about. Here is my log:
$ kc logs traefik-external-ingress-proxy-5b76dd8c54-btlnv
time="2017-12-18T23:02:14Z" level=warning msg="The ETCD API V2 is deprecated. Please use API V3 instead"
time="2017-12-18T23:02:27Z" level=info msg="Using TOML configuration file /etc/traefik/traefik.toml"
time="2017-12-18T23:02:27Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
time="2017-12-18T23:02:27Z" level=info msg="Traefik version v1.5.0-rc2 built on 2017-12-06_03:07:42PM"
time="2017-12-18T23:02:27Z" level=info msg="
Stats collection is disabled.
Help us improve Traefik by turning this feature on :)
More details on: https://docs.traefik.io/basic/#collected-data
"
time="2017-12-18T23:02:27Z" level=debug msg="Global configuration loaded {"LifeCycle":{"RequestAcceptGraceTimeout":0,"GraceTimeOut":0},"GraceTimeOut":0,"Debug":true,"CheckNewVersion":true,"SendAnonymousUsage":false,"AccessLogsFile":"","AccessLog":null,"TraefikLogsFile":"","TraefikLog":null,"LogLevel":"DEBUG","EntryPoints":{"http":{"Network":"","Address":":80","TLS":null,"Redirect":{"EntryPoint":"https","Regex":"","Replacement":""},"Auth":null,"WhitelistSourceRange":null,"Compress":true,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}},"https":{"Network":"","Address":":443","TLS":{"MinVersion":"VersionTLS12","CipherSuites":["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA","TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA","TLS_RSA_WITH_AES_128_GCM_SHA256","TLS_RSA_WITH_AES_256_GCM_SHA384","TLS_RSA_WITH_AES_128_CBC_SHA","TLS_RSA_WITH_AES_256_CBC_SHA"],"Certificates":[{"CertFile":"/ssl/tls.crt","KeyFile":"/ssl/tls.key"}],"ClientCAFiles":null,"ClientCA":{"Files":null,"Optional":false}},"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}},"traefik":{"Network":"","Address":":8080","TLS":null,"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}}},"Cluster":{"Node":"ad79ae71-1316-4b85-86e6-2392bb6b982c","Store":{"Store":{},"Prefix":"/traefik"}},"Constraints":[],"ACME":{"Email":"igorc@encompasscorporation.com","Domains":[{"Main":"virtual.local","SANs":["nodejs-app.virtual.local","encompass.virtual.local"]}],"Storage":"traefik/acme/account","StorageFile":"","OnDemand":true,"OnHostRule":true,"CAServer":"https://acme-staging.api.letsencrypt.org/directory","EntryPoint":"https","DNSProvider":"","DelayDontCheckDNS":0,"ACMELogging":true,"TLSConfig":null},"DefaultEntryPoints":["http","https"],"ProvidersThrottleDuration":2000000000,"MaxIdleConnsPerHost":200,"IdleTimeout":0,"InsecureSkipVerify":false,"RootCAs":null,"Retry":null,"HealthCheck":{"Interval":30000000000},"RespondingTimeouts":null,"ForwardingTimeouts":null,"Web":{"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Path":"/","Auth":null,"Debug":false},"Docker":null,"File":null,"Marathon":null,"Consul":null,"ConsulCatalog":null,"Etcd":{"Watch":true,"Filename":"","Constraints":[],"Trace":false,"DebugLogGeneratedTemplate":false,"Endpoint":"<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379","Prefix":"/traefik","TLS":null,"Username":"","Password":"","UseAPIV3":false},"Zookeeper":null,"Boltdb":null,"Kubernetes":{"Watch":true,"Filename":"","Constraints":[],"Trace":false,"DebugLogGeneratedTemplate":false,"Endpoint":"","Token":"","CertAuthFilePath":"","DisablePassHostHeaders":false,"EnablePassTLSCert":false,"Namespaces":null,"LabelSelector":"public-lb=traefik"},"Mesos":null,"Eureka":null,"ECS":null,"Rancher":null,"DynamoDB":null,"ServiceFabric":null,"Rest":null,"API":{"EntryPoint":"traefik","Dashboard":true,"Debug":true,"CurrentConfigurations":null,"Statistics":null,"Stats":null,"StatsRecorder":null},"Metrics":null,"Ping":{"EntryPoint":"traefik"}}"
time="2017-12-18T23:02:27Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:0xc4207e5170 Auth:<nil> WhitelistSourceRange:[] Compress:true ProxyProtocol:<nil> ForwardedHeaders:0xc4206054e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-12-18T23:02:27Z" level=info msg="Preparing server https &{Network: Address::443 TLS:0xc4207f2d00 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc420605500} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-12-18T23:02:27Z" level=debug msg="Add certificate for domains *.virtual.local"
time="2017-12-18T23:02:27Z" level=info msg="Starting server on :80"
time="2017-12-18T23:02:40Z" level=error msg="Error creating TLS config: Key not found in store"
time="2017-12-18T23:02:40Z" level=fatal msg="Error preparing server: Key not found in store"

and here is my config:
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: traefik-ingress-controller
  namespace: default

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
  name: traefik-ingress-controller
rules:
  - apiGroups:
      - ""
    resources:
      - services
      - endpoints
      - secrets
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - extensions
    resources:
      - ingresses
    verbs:
      - get
      - list
      - watch

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: traefik-ingress-controller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: traefik-ingress-controller
subjects:
- kind: ServiceAccount
  name: traefik-ingress-controller
  namespace: default

---
apiVersion: v1
kind: Service
metadata:
  labels:
    name: traefik-external-ingress-proxy
  name: traefik-external-ingress-proxy
  namespace: default
spec:
  selector:
    app: traefik-external-ingress-proxy
  type: NodePort
  externalTrafficPolicy: Local	# Pass client ip to backends
  ports:
  - name: http
    protocol: TCP
    port: 80
    nodePort: 31285
  - name: https
    protocol: TCP
    port: 443
    nodePort: 31287
  - name: http-admin
    protocol: TCP
    port: 8080
    nodePort: 31286
  selector:
    app: traefik-external-ingress-proxy

---
# Set kubernetes.io/ingress.class to "traefik" on Ingress to select this LB
# Only Ingresses labeled with public-lb=traefik will be monitored
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: traefik-external-ingress-proxy
  namespace: default
  labels:
    app: traefik-external-ingress-proxy
spec:
  replicas: 1
  revisionHistoryLimit: 3
  template:
    metadata:
      labels:
        app: traefik-external-ingress-proxy
        name: traefik-external-ingress-proxy
    spec:
      terminationGracePeriodSeconds: 60
      serviceAccountName: traefik-ingress-controller
      containers:
      - image: traefik:v1.5.0-rc2
        name: traefik-ingress-lb
        imagePullPolicy: IfNotPresent
        resources:
          limits:
            cpu: 200m
            memory: 2000Mi
          requests:
            cpu: 50m
            memory: 50Mi
        ports:
        - containerPort: 80
        - containerPort: 443
        - containerPort: 8080
        args:
        - --web
        - --kubernetes
        - --configfile=/etc/traefik/traefik.toml
        volumeMounts:
        - name: ssl
          mountPath: /etc/ssl
          readOnly: true
        - name: tls
          mountPath: /ssl
          readOnly: true
        - name: config
          mountPath: /etc/traefik
          readOnly: true
      volumes:
      - name: ssl
        hostPath:
          path: /etc/kubernetes/ssl
      - name: tls
        secret:
          secretName: traefik-cert
      - name: config
        configMap:
          name: traefik-external-ingress-proxy-config

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: traefik-external-ingress-proxy-config
  namespace: default
data:
  traefik.toml: |-
    logLevel = "DEBUG"
    debug = true
    defaultEntryPoints = ["http", "https"]

    [entryPoints]
      [entryPoints.http]
      address = ":80"
      compress = true
      [entryPoints.http.redirect]
      entryPoint = "https"
      [entryPoints.https]
      address = ":443"
      [entryPoints.https.tls]
      MinVersion = "VersionTLS12"
      CipherSuites = ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_CBC_SHA"]
      [[entryPoints.https.tls.certificates]]
      CertFile = "/ssl/tls.crt"
      KeyFile = "/ssl/tls.key"

    [etcd]
    endpoint = "<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379"
    watch = true
    prefix = "/traefik"

    [acme]
    email =<EMAIL_ADDRESS>    storage = "traefik/acme/account"
    entryPoint = "https"
    onHostRule = true
    onDemand = true
    acmeLogging = true
    # For Staging, comment out to go to Prod
    caServer = "https://acme-staging.api.letsencrypt.org/directory"
    [[acme.domains]]
    main = "virtual.local"
    sans = ["nodejs-app.virtual.local", "encompass.virtual.local"]

    [web]
    address = ":8080"

    [kubernetes]
    # only monitor Ingresses with this label
    labelselector = "public-lb=traefik"

The following job was used to populate the etcdv2 store:
---
apiVersion: batch/v1
kind: Job
metadata:
  name: traefik-etcd-config
spec:
  backoffLimit: 3
  activeDeadlineSeconds: 100
  template:
    metadata:
      name: traefik-etcd-config
    spec:
      containers:
      - name: storeconfig
        image: traefik:v1.5.0-rc2
        imagePullPolicy: IfNotPresent
        args: [ "storeconfig", "-c", "/etc/traefik/traefik.toml" ]
        volumeMounts:
        - name: config
          mountPath: /etc/traefik
          readOnly: true
        - name: tls
          mountPath: /ssl
          readOnly: true
      restartPolicy: Never
      volumes:
      - name: tls
        secret:
          secretName: traefik-cert
      - name: config
        configMap:
          name: traefik-external-ingress-proxy-config

Hello @igoratencompass .
I reproduced your problem.
It's due to a problem when we migrate data from configuration file to KV store (thanks to the storeconfig command) : if the field acme.storageFile is missing, all the key needed by ACME are not created.
I will fix that as soon as possible but you can use a workaround :

Create a file acme.json which just contains {}
Add it to the configMap and mount it into the Træfik Deployment with the right 600 (needed by ACME)
Add the field storageFile=$acme_json_path/acme.json into the [acme] part of your Træfik configuration of your configMap traefik-external-ingress-proxy-config ($acme_json_path is the path defined on the mount)
Execute the storeconfig Job
Delete the traefik/acme/storageFile entry from ETCD

Don't hesitate to contact us on our Slack for more information.

@nmengin I tried as instructed, the key I'm seeing though in the acme dir:
$ etcdctl ls traefik/acme/
/traefik/acme/caserver
/traefik/acme/dnsprovider
/traefik/acme/onhostrule
/traefik/acme/storage
/traefik/acme/storagefile
/traefik/acme/acmelogging
/traefik/acme/delaydontcheckdns
/traefik/acme/domains
/traefik/acme/email
/traefik/acme/entrypoint
/traefik/acme/ondemand

as you can see the key is not traefik/acme/storageFile but /traefik/acme/storagefile, maybe this is the reason I'm still seeing the same error? By the way this key was being created anyway even when I didn't have the storageFile = "/acme/acme.json" setting in teh ConfigMap and that's the key I was deleting.

@igoratencompass
Sorry, it was a mistake, I talked about the /traefik/acme/storagefile. I know this key is always inserted for now.
But if you don't provide the field storageFile = "/acme/acme.json", Træfik is not able to initiliaze correctly the acme keys into the KV store as you can see here.
Indeed, in the keys yous listed, /traefik/acme/account/xx keys are missing, that's why you can not start correctly your Træfik instance.
Morevover, there is a problem in the arguments given to Træfik : you have to replace
        args:
        - --web
        - --kubernetes
        - --configfile=/etc/traefik/traefik.toml

by
        args:
        - --web
        - --kubernetes
        - --etcd
        - --etcd.endPoint="<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379"

In the way to be sure to start Træfik with configuration from KV store.

Hi @nmengin
Yeah I changed the args but still same problem I guess due to the missing /traefik/acme/account/xx as you pointed out. Anything else that can be done?

Closed by #2598.

Confirming, this is now working with v1.5.0-rc3


speed question/issue

This is a follow-up to: https://github.com/kaue/jsonexport/issues/64
Thanks so much kaue! This works now for me, for all files I checked.
I did have a follow-up on speed: things slow down for files 1.5M or higher. For me (Win 10 Pro, Surface Pro, 16G RAM, Intel i7-7660U) when I tried a 3.9M file it took 42 minutes (command: jsonexport <json_filename> <output_filename>. Is this sort of time to complete expected?

@m-prof can you try running the benchmark/benchmark.js?

Sorry for being a noob but I am not getting this to work: I am trying ~\jsonexport\benchmark>node benchmark.js from a command prompt and I get error messages:
`internal/modules/cjs/loader.js:976
throw err;
^
Error: Cannot find module 'benchmark'
Require stack:

~\npm\node_modules\jsonexport-master\benchmark\benchmark.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:973:15)
    at Function.Module._load (internal/modules/cjs/loader.js:855:27)
    at Module.require (internal/modules/cjs/loader.js:1033:19)
    at require (internal/modules/cjs/helpers.js:72:18)
at Object. (~\npm\node_modules\jsonexport-master\benchmark\benchmark.js:3:17)
    at Module._compile (internal/modules/cjs/loader.js:1144:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)
    at Module.load (internal/modules/cjs/loader.js:993:32)
    at Function.Module._load (internal/modules/cjs/loader.js:892:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'~\npm\node_modules\jsonexport-master\benchmark\benchmark.js'
]
}`

I assume I am not executing this correctly!

@m-prof you are almost there :)
try running npm install first

Thanks. Not sure if this is sufficient but here is the output (there was a bunch of error messages also as well, let me know if I should post):
npm\node_modules\jsonexport\benchmark>node benchmark.js
Executed benchmark against node module: "jsonexport"
Count (1), Cycles (1), Elapsed (512.53 sec), Hz (0.00975936285335975 ops/sec)
Executed benchmark against node module: "jsonexport-stream"
Count (1), Cycles (1), Elapsed (10.388 sec), Hz (0.8795467729800702 ops/sec)


No simple and uniform way to visualize orientation and retardance-orientation overlays

@ziw-liu @mattersoflight and I discussed a few possible direction for recOrder visualizations:
Current behavior: reconstructions can be dragged and dropped into napari (thanks iohub!) , but there isn't an easy way to color the orientation channel or generate overlays.
Possible solutions:

Use a custom reader plugin - this won't allow us to generate overlays, so it won't work by itself.
Write RGB overlays alongside the reconstructions and use a custom reader plugin - this meets our requirements, but requires a lot of unnecessary data to be stored.
Use a CLI like recOrder view to generate RGB overlays in a napari window - this will work, and it could be unified with the recOrder GUI, but it requires a user to use the CLI...no drag and drop option.
@ziw-liu's latest idea - Use the napari event loop to generate an overlay whenever layers named "Retardance" and "Orientation" are added to the viewer with the recOrder-napari plugin running. This solution allows drag-and-drop visualization, and it seems intuitive to me that this will only work when you have the recOrder plugin open. This approach unifies our visualizations, doesn't bump our storage requirements, works for arbitrarily shaped arrays, and is a reasonably non-invasive change to make.

I really like option 4. A potential drawback is that it seems a bit "magic" (where did that overlay come from and why is it happening now?), but we might alleviate this by printing messages to the user.

Use a custom reader plugin - this won't allow us to generate overlays, so it won't work by itself.

Minor clarification: This does allow for generating overlays. Just that it cannot do so lazily for very large datasets.

After discussing we decided to start with option 4, and we'll explore some combination of 2 & 3 when we have a better sense of the workflows they enable.

@ziw-liu Option 4 is compatible with #329. We can add fields to control the overlay to a tab of the recOrder plugin (the tab where we show color overlays).

We can add fields to control the overlay to a tab of the recOrder plugin (the tab where we show color overlays).

There's actually existing code to do similar things in that tab. We hid it because it was buggy:
https://github.com/mehta-lab/recOrder/blob/802cc62cac537749ab5dce5535d7c0a18137f819/recOrder/plugin/main_widget.py#L2176-L2293

@talonchandler @edyoshikun @mattersoflight
Can you remind me if we made any decision wrt the viewer's behavior for multi-position datasets? It brings up the complexity quite a bit if it needs to handle delayed colormap compute for the many potential rendering modes (position-as-layer, stitched grid, stacked slider etc).

We decided that layers should represent channels and the positions will map
to dimensional slider.
On Tue, Apr 25, 2023, 7:43 PM Ziwen Liu @.***> wrote:

@talonchandler https://github.com/talonchandler @edyoshikun
https://github.com/edyoshikun @mattersoflight
https://github.com/mattersoflight
Can you remind me if we made any decision wrt the viewer's behavior for
multi-position datasets? It brings up the complexity quite a bit if it
needs to handle delayed colormap compute for the many potential rendering
modes (position-as-layer, stitched grid, stacked slider etc).
—
Reply to this email directly, view it on GitHub
https://github.com/mehta-lab/recOrder/issues/348#issuecomment-1522688580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWMLJ2NL2WK4IOULOWKLUTXDCDWZANCNFSM6AAAAAAXKGWBDY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Going to a room changes the name shown in top right

If user has linked an account, this name will be the name pulled from the linked account. If not, this name will be their email. It should be their username.

 Going to rooms changes name in top right


Fix BigQueryRow TimestampConverter rounding issue

Fixed rounding errors in TimestampConverter from double to DateTime for dates in the far future and updated scalar test with a value that fails for double and passes for decimal

Thanks for your contribution. Can I ask how you've observed this? I'm only asking because if the BigQuery servers are actually computing values using 64-bit binary floating point arithmetic in the first place, this might be "adding false precision" in a way. I'll need to validate with the team that we should be parsing this as a decimal.

I've just realized that there's another potential issue with this - an example in the documentation is "2.53402300800e11" which I suspect won't be handled by decimal.Parse. I'll need to validate whether the server actually returns values like that.

Additionally, could I check - if you have seen this, is it only when using legacy SQL? My impression is that the "unix seconds since epoch" is only used for the legacy SQL timestamp representation, not standard SQL. That doesn't mean we shouldn't fix it, of course, just trying to clarify the scope of the problem.

I've just tried this, inserting values 1 microsecond apart in the year 5000, and the values aren't being returned in the JSON precisely. (They are correct in storage.) They get returned in ~16 microsecond "chunks", which I strongly suspect means that basically they're being converted to double values before serialization... parsing as a decimal won't help on that front :(

I signed it!

I'm using the client library in my own app and one of my tests is a round trip of timestamp values with a random number of ticks.  Additionally, we use the value 9999-12-31 for our version_end_date for all type 2 dimension tables in our dimensional data warehouse.  Usually we use is_current_record = 1 for the "current" record but it's plausible an analyst would do "version_end_date = '9999-12-31'".

Description in the documentation for TIMESTAMP is "Represents an absolute point in time, with microsecond precision." which I don't think double precision floating point is being faithful to.  I realized after submitting this change that BQ is definitely representing this value as double under the hood though and had the same feeling about "adding false precision".

I'm glad to submit a bug ticket somewhere if you'd like.

decimal.Parse does indeed fail with "2.53402300800e11"

I've raised this internally already, but I have doubt that the backend implementation will change. I'll look into it more though.
(I think the scientific notation may be a red herring btw - I haven't seen any values coming back that way.)
Unless the backend changes, I don't think this change will help against the real service, even if fixes unit test problems.
Let's keep this open for now though, and I'll keep looking into options.

I signed it!

Okay, I've looked a little bit further, and the server is giving the result with 64-bit precision, so it's not like there's any more precision to be gained in this format.
In the JSON, the result is presented as strings - so it's possible that more precision could be supplied, with an expectation that clients that couldn't handle the extra precision would effectively ignore it.
I'll file an issue internally to request either a change to include the extra precision, or at least documentation to indicate this limitation.

I've followed up internally and requested that this is highlighted in the documentation. I don't think the behavior is likely to change at this point.
In terms of the 9999-12-31 value, that should be fine - it's well within the range where the number of whole seconds can be represented accurately by a double.
I'm going to close this PR now as I believe we've done everything we can within this repo. Thanks very much for raising the issue though!


No key validation for typed __pydantic_extra__

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Adding type annotation for __pydantic_extra__ only validates values of the extra fields.
I expected that annotating __pydantic_extra__ with something like Dict[constr(pattern="..."), str] would lead to validation of extra field names.
In the example below __pydantic_extra__ is annotated as Dict[constr(pattern="extra"), str] which I expected to lead to validation errors for any extra field names that do not contain "extra".
If this behavior is intended, documentation

By default, no validation will be applied to these extra items, but you can set a type for the values by overriding the type annotation for __pydantic_extra__:

should mention that field names are not validated.
Example Code
from typing import Dict
from typing_extensions import Annotated

from pydantic import BaseModel, ValidationError, constr

class ExtraWithIncorrectValue(BaseModel, extra="allow"):
    __pydantic_extra__: Dict[str, int]

# values are validated for extra fields
try:
    ExtraWithIncorrectValue(a="a")
except ValidationError:
    print("ExtraWithIncorrectValue raised an error")

class DictWithIncorrectConstrKey(BaseModel, extra="allow"):
    my_dict: Dict[constr(pattern="extra"), str]

# dict keys are validated
try:
    DictWithIncorrectConstrKey(my_dict={"a": "a"})
except ValidationError:
    print("DictWithIncorrectConstrKey raised an error")

class ExtraWithIncorrectConstrKey(BaseModel, extra="allow"):
    __pydantic_extra__: Dict[constr(pattern="extra"), str]

# extra field names are not validated
ExtraWithIncorrectConstrKey(a="a")
print("ExtraWithIncorrectConstrKey did not raise an error")

Python, Pydantic & OS Version
pydantic version: 2.7.1
        pydantic-core version: 2.18.2
          pydantic-core build: profile=release pgo=true
                 install path: /home/[redacted]/.cache/pypoetry/virtualenvs/[redacted]/lib/python3.12/site-packages/pydantic
               python version: 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417]
                     platform: Linux-6.8.9-zen1-1-zen-x86_64-with-glibc2.39
             related packages: typing_extensions-4.11.0
                       commit: unknown

Would also be great to be able to annotate __pydantic_extra__ as a whole:
    __pydantic_extra__: Annotated[dict[str, Any], MyValidator]

instead of calling MyValidator inside model_validator


Question of Dataset Open-Source

Thank you very much for the work done by your team! Do you have any plans to publish the training dataset or the source of the open source dataset in the future?

Hi. I'd like to confirm that the Qwen2VL team did not mention the dataset they used to train the model. Am I correct?
I found that Qwen2VL performs much better than llava/llama vision models on a dev set of a public dataset. I'd like to make sure there is no potential data leak.


Highlighted command --kubectl describe

In web page ,there is no space ,need some empty space,thanks!

This change is

the command  is subject ,but to long ,if adding "The command" in front of  will is  better?

Based on the file changes, this PR looks to be a duplicate of PR #2651 so I am closing it.


Is an implementation available for adding and removing dynamic endpoints during runtime?

Hello,
Within the bridge-app examples, there are simulations for adding and removing dynamic endpoints during runtime. I'm wondering if there is an existing implementation that can handle real dynamic endpoints during runtime, rather than just simulations?
Thank you!

@MonicaisHer The same exact APIs that bridge-app uses can be used for "real" endpoints.


phpdoc mismatch in Illuminate\Support\Facades\App.

Laravel Framework Version: 8.33.0

Description:
In the src/Illuminate/Support/Facades/App.php file, line 18, phpdoc for basePath method, you forgot the string $path = '' argument. This causes IDE's to throw false errors during package development.
Steps To Reproduce:
Calling Illuminate\Support\Facades\App::basePath('something') shows you that the method does accept an argument.

feel free to send in a pr 👍


SAMZA-1208 - IllegalFormatConversionException in LocalContainerRunner

@xinyuiscool Can you please review this PR? Thanks!

@xinyuiscool Can you please review this PR ?


Add support for dismissing the next upcoming alarm

Adds service and handler to dismiss the next alarm. It is useful when you get out of bed before alarm time but still don't want to pull out your phone.

@mwalling, thanks for the contribution. Hoping to have time to test this out this weekend and cut a release with it.
Would you mind adding the new service to the list of services in the Readme. Also, from what I remember you have to add the service to the strings.json file to have the correct suggestions/details when using the UI to call the service.

@mwalling, was able to test this out. Looks good! Going to issue a release with this.


Basic Node and Express - Use the .env File Test broken

Describe the Issue
When trying to test the 'Use the .env File' challenge, the Replit console crashes and the test fails on FCC's end. I believe this might be a issue similar to #40915.
Affected Page
https://www.freecodecamp.org/learn/back-end-development-and-apis/basic-node-and-express/use-the--env-file
Your code
Link to Replit
let express = require('express');
let app = express();
const path = require('path')

app.use('/', express.static(path.join(__dirname, 'views')))

app.use("/public", express.static(__dirname + "/public"));

app.get('/json', (req, res) => {
 res.json(process.env.MESSAGE_STYLE=="uppercase" ? {"message": "HELLO JSON"}: {"message": "Hello json"})
})

Expected behavior
Expected test to pass and detect the endpoint /json change according to the environment variable MESSAGE_STYLE.
Screenshots
Confirmed secret

System

Device: [Lenovo Thinkpad T460S]
OS: [Fedora 35 KDE]
Browser: [Brave]
Version: [1.40.113]

Additional context
Error message:
> npm start

><EMAIL_ADDRESS>start
> node server.js

Node is listening on port 3000...
*
*
https://www.freecodecamp.org
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:91:26
    at IncomingMessage.<anonymous> (/home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:33:7)
    at IncomingMessage.emit (node:events:394:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at IncomingMessage.Readable.push (node:internal/streams/readable:228:10)
    at HTTPParser.parserOnBody (node:_http_common:141:24)
    at Socket.socketOnData (node:_http_client:487:22)
    at Socket.emit (node:events:394:28)
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:99:28
    at IncomingMessage.<anonymous> (/home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:33:7)
    at IncomingMessage.emit (node:events:394:28)
    at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)
    at flow (node:internal/streams/readable:1012:34)
    at resume_ (node:internal/streams/readable:993:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
node:_http_outgoing:573
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:371:5)
    at ServerResponse.setHeader (node:_http_outgoing:573:11)
    at ServerResponse.header (/home/runner/boilerplate-express-1/node_modules/express/lib/response.js:771:10)
    at ServerResponse.send (/home/runner/boilerplate-express-1/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/home/runner/boilerplate-express-1/node_modules/express/lib/response.js:267:15)
    at /home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:108:15
    at IncomingMessage.<anonymous> (/home/runner/boilerplate-express-1/node_modules/fcc-express-bground/index.js:33:7)
    at IncomingMessage.emit (node:events:394:28)
    at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)
    at flow (node:internal/streams/readable:1012:34) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
exit status 1

This issue can be disregarded as after running npm update --save as suggested by FCC the error message no longer appears and the test functions properly.
It seems that the starter code for these challenges needs to be updated though:

Thank you for reporting this issue.
The origin of the issue should be fixed per https://github.com/freeCodeCamp/boilerplate-express/pull/96
Thank you and happy coding.


Conflict With Other SDK

I use the other sdk name: Zendesk
they all have Action method.
When they use in the same class,
it shows "Action is ambiguous for type lookup in this context"
how to fix it?

Thanks

Use Action.Action to disambiguate

You can also typealias one of those actions somewhere in your cose and use that alias instead (typalias ZAction = Zendesk.Action or typealias AAction =Action.Action)

thanks
But I had tried Action.Action and zendesk.action

It says no Action member in Action and Zendesk

and also no Action.Action in the func return

I'm not completely sure that autocomplete will help you out on this. Did you try to manually write Action.Action and try to compile anyway?

this is also tricky since Action is, at the same time, the name of our library and the name of the actual class. in this case, I'd suggest to create a separate file, with only
import Action
typealias AAction = Action

("AAction" is really ugly, please try to find something more suitable :D I'd use something like Selection or Command)
In the rest of your code, you should be able to use the alias instead.
Another thing you could try to do is to break up your code in more little pieces, and see if you can import Zendesk only where it's really needed (and hopefully where Action is NOT needed). Is zendesk imported through Bridging Header?

I had thought that it's my project's problem.
But after I created a new project and installed pod file Action.
I tried Action.Action.
it failed the same with my original project.

In my functions, they also failed with code
Action<Any, Any>.Action or Action.Action

Zendesk is install from podfile, the same with Action
and if I import Zendesk without Action.
It works well.
Maybe I should break up my code in more little pieces.
Thanks a lot!

Try this it should work.
swift

typealias FakeAction = Action

class FakeCalss {
    private let a: FakeAction<[Int], Int>
    private let b: FakeAction<[Int], String> { Observable.just("Fake-news") }

    init() {
         a = FakeAction { Observable.just($0.reduce(0, +)) }
    }

    func pushToProfessionOrgAction() -> FakeAction<String, Void> {
        return FakeAction { string in
            Observable.just(())
        }
    }
}

Hi, also encountering the same issue. Difference is that zendesk is being imported from an Objective-C bridging header, otherwise, creating a new file with only import and typealias would have worked. Do you have any idea on how I can workaround this issue? Thanks


Question regarding normal calculation: why is integrating gradient necessary?

Thanks for the cool work and sharing the well organized code. However, could you please explain the 'normal' calculation approach in the following line? I mean, usually 'normal' can be calculated either by taking the gradient of SDF network at the intersection point or even simply just by taking finite difference of SDF values in a small neighborhood around the intersection point. But what do you mean by 'integrating the gradients'? and why are you using the RGB network instead of the SDF network to calculate the 'normal'?
https://github.com/RaduAlexandru/permuto_sdf/blob/783c41fd4636b6457e2b0d63616dc82ec3b7d8d0/permuto_sdf_py/train_permuto_sdf.py#L141

Hi @tatban ,
Thank you for the interest in the work.
Indeed the normal can be computed by just taking the gradient at the intersection point.
However, since we use the Neus formulation for the SDF, the surface intersection can be seen as "fuzzy". At the beginning of optimization, the density is very cloudy and not sharp which means the weights on line 141 will also be fuzzy so I integrate the gradients over the whole ray.
This is mostly for visualization purposes since I want to visually how fuzzy the density is.
At the end of optimization, the density is sharp and therefore weights look more like a unit pulse so it gives the same results as what you mention (getting the gradient of only the point along the ray the intersects the surface).
Regarding the usage of the model_rgb, it is merely because the volume_integration code is a function of  this volume_renderer_neus which only lives inside model_rgb. However it doesn't use any member variables from the model_rgb so it could have also been pulled out of that object.
I hope this helps clarify the issue.

Thank you so much @RaduAlexandru for the nice explanation. It is clear now. So, I'm closing this issue.


This library is great, I integrated it in chatgpt app and everything works fine, thanks for the contribution

ref: https://github.com/lencx/ChatGPT/blob/main/src-tauri/src/assets/export.js

Thank you! The app looks nice as well.
One thing - Since your code is a direct copy-paste of mine - you can give a clearer credit to it in the Readme (for example "The share buttons code is copied directly from @liady extension: ... ").
Currently this extension appears only in the "related" part which is misleading.
Anyway good job on the app!

Thanks for the reminder, I have modified it in the readme.


Hide scheme from anchor text?

Would be nice to be able to hide http(s):// from the rendered link. e.g.:
Original:
<Linkify hideScheme>Go to https://www.github.com</Linkify>

Would render to:
Go to www.github.com

Perhaps we should re-phrase this issue, or file a new one?
In my use case I want to do something like this:
<Linkify textRender={text => new URL(text).hostname}>Go to https://www.github.com</Linkify>

so you get this output:
Go to www.github.com

That's just one example, but the idea that I can manipulate the text before it gets inserted.

https://github.com/tasti/react-linkify/pull/36
What do you think about this commit? There is exactly what you're looking for


tell the browser whether to use light or dark mode

currently, we set everything to dark mode manually by making the background dark and the test light but by using the color-scheme CSS property we can tell the browser we are using dark mode and it will make the default be dark mode.

lgtm, didn't test