How to add a search drop down to Adminlte

First of all i really would like to thank his excellency president @almasaeed2010 of Adminlte for such a wonderful work. However i will "thank" him better when i am done with my project. What makes this community great is not just the awesome design but the fact that u know that the creator of this community and some nice people like @lenamtl will be there to help.
Now please how can i add a dropdown search menu as we see on facebook mobile. I can add the search Icon but how to make it dropdown like on facebook mobile or like on w3schools.com on mobile ?
Pl

Hi,
You can try to use this one from this Bootstrap template
http://www.bootstrapzero.com/bootstrap-template/facebook

Hello,
Do you mean you want a dropdown search menu in the navbar?
Thanks for the compliments! :+1:

@lenamtl  You deseve it. Thanks a lot
However how to add this to AdminLte
@almasaeed2010  You deserve it.
This is what i would like to add to Adminlte. Here is a screenshot of facebook on windows phone when i click the search button there is a dropdown menu that comes with the search field

Is there a way to make my search field drop down onclik like that ?

@kressly this is somewhat difficult to create. I could suggest a few things to get you started but I don't think I can really create something like that in a short period of time.
Here is what I would do. I would add a search icon to the navbar and make it display a dropdown menu. Within the dropdown menu I'd add a search text box and let a div under it (in its own
) that displays the results. Overall, this is what should be put in the custom-navbar-menu section.

      <input type="text" class="form-control" name="search" id="search-input" />

The customizations you will have to do:
1- Disable closing the dropdown on click.
2- Listen key down event on the search-input text box.
3- Display results in the #results section.
4- Test against different browsers and screen sizes.
Of course, there are options to get a great search UI and more reliable without using the dropdown part. I would suggest a search modal that is fired when you click the search button in the navbar. Another really good example could be found here.
I hope this helps a little.

Thanks @almasaeed2010
But it does the drop down However when i click in the input field again, it disappears.

Hello @kressly
I mentioned that you will run into this issue in point 1. You will need to use JS to override Bootstrap's close on click feature for that specific menu. Perhaps this might help
http://stackoverflow.com/questions/11617048/stop-just-one-dropdown-toggle-from-closing-on-click

Ok Thanks a lot


Fixed #22055 -- Show traceback when Resolver404 is raised in views

This is an initial draft to fix ticket #22055 - 404 page does not display stack trace when Resolver404 is raised from a view.
The desired behaviour is that, in debug mode:

Resolver404 raised from django.core returns a 404 page.
Http404 raised at any time returns a 404 page.
Resolver404 raised in a view (as in by an incorrect lookup) returns a 500 page with a 404 status code (for backwards compatibility) and a backtrace to enable debugging of which call to resolve requires amendment.

The implementation is as such:

Resolver404 exception now has a class attribute of traceback=True which can be set at initialisation.
django.urls.resolve also accepts a keyword argument of traceback, defaulting to True, which is passed to Resolver404 if raised by the function.
If a Resolver404 is raised with the default value of traceback=True, a 500 error page with a status code of 404 will be shown instead of a 404 error page.
In django.core, calls to django.urls.resolve are made with traceback=False to suppress the 500 page and display the normal 404 page.

Some tests have been added to verify this behaviour.
I would be interested in any feedback on whether there are additional locations where traceback=False might need to be set on calls to django.urls.resolve.
I did consider implementing the "urlconf traceback" seen on the regular 404 page - where Django tells the user what url patterns have been tried to find the page - in the 500 page template, but this would require a considerable refactor of django.core.views.debug and so I have left it for now.
Thanks!

I'm not super familiar with the code involved but the first thing that called my attention is that the new traceback param in Resolver404  has a default set to True. My gut feeling is that this default should be False to ensure the previous behavior by default, and have the specific callsites that want the new behavior to pass it as True.
Have you consider this already? What's your view?
Adding to the above, I have added a comment to the ticket mentioning that, to me, is hard to justify this change given the only documented use case. Would you have any other use case to share that would make the need of this change more evident? Thanks!

I'm not super familiar with the code involved but the first thing that called my attention is that the new traceback param in Resolver404 has a default set to True. My gut feeling is that this default should be False to ensure the previous behavior by default, and have the specific callsites that want the new behavior to pass it as True.

Hi @nessita, thanks for the comments!
The code I have written is simply working off the spec which was proposed by Grzegorz Nosek in the Trac ticket - although admittedly there was no consensus on it. He stated that raising Resolver404 should always display a stack trace unless it was raised from Django core. This behaviour would be consistent with ensuring that any time a developer mistypes a URL path in their code a stack trace is generated (as would be consistent with any other error in the parameters of any other kind of method), but that a regular 404 page is displayed when a user mistypes a URL.
I note your comments on the Trac about whether this change is necessary or not. I'll just note that I have no strong feelings about it. I simply saw a ticket on the Trac and worked on it. If you feel the changes are not necessary then I won't be offended :)

@anorthall Thanks :+1:
Closing per ticket.


Make burning/simulating async

Now it stalls the browser (though app work fine) so make it async and update status regularily

Done as of tag v1.4


Problem downloading video from cspan.

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ x] I've verified and I assure that I'm running youtube-dl 2016.12.22

Before submitting an issue make sure you have:

[ x] At least skimmed through README and most notably FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

youtube-dl -U --verbose https://www.c-span.org/video/?114917-1/armed-services
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-U', u'--verbose', u'https://www.c-span.org/video/?114917-1/armed-services']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2016.12.22
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.6
[debug] exe versions: avconv 11.8-6, avprobe 11.8-6
[debug] Proxy map: {}
youtube-dl is up-to-date (2016.12.22)
[CSpan] 114917: Downloading webpage
ERROR: unable to find video id and type; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/dethrophes/scripts/python/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/home/dethrophes/scripts/python/youtube-dl/youtube_dl/extractor/common.py", line 358, in extract
return self._real_extract(url)
File "/home/dethrophes/scripts/python/youtube-dl/youtube_dl/extractor/cspan.py", line 85, in _real_extract
raise ExtractorError('unable to find video id and type')
ExtractorError: unable to find video id and type; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I can't seem to access this video from browser. Have you tried another link on their website?

I seem to not have a great time with the cspan website, I'm not sure if there aren't some georetrictions or something.
Anyway If I open https://www.c-span.org/video/?114917-1/armed-services it doesn't show a video.
However if I look at the source and use the iframe link it works.

e.g. http://www.ustream.tv/embed/recorded/58428542
From what I can piece together, they have different sources for congressional/house hearings, they direct link to the congress videos when they are available.
It looks like the congress ay have switched sources, at some point, they now self host the videos, it looks like they previously used ustream to host them.
Or something like that.

I seem to not have a great time with the cspan website, I'm not sure if there aren't some georetrictions or something.
Anyway If I open https://www.c-span.org/video/?114917-1/armed-services it doesn't show a video.
However if I look at the source and use the iframe link it works.

e.g. http://www.ustream.tv/embed/recorded/58428542
From what I can piece together, they have different sources for congressional/house hearings, they direct link to the congress videos when they are available.
It looks like the congress ay have switched sources, at some point, they now self host the videos, it looks like they previously used ustream to host them.
Or something like that.

Thanks for the report. Ustream videos on C-Span will be supported in the next version.

Doesn't seem to be working with the inlined videos hosted on the senate site. e.g.https://www.c-span.org/video/?419435-1/emerging-us-defense-challenges-worldwide-threats

Apparently this video has been gone


Updated MongoDB helm chart patch

Patch for new bitnami mongodb integrated recently.

Source repositories need to be restored in upcoming changes.


Run tier3 on a daily schedule

Done: https://buildkite.com/granola/mina-indexer-tier-3/settings/schedules

Relates to #1504


:)

Requesting all Canada/USA channels
and a permalink for Android users so it can sync all channels in one apk
https://pastebin.com/raw/0AxHuqZv (example)

"All in one" playlist already exists:
https://raw.githubusercontent.com/freearhey/iptv/master/index.all.m3u

Thanks how festive

There are around 6000 channels and only 1400 of them are Chinese. But if you want you can simply load a playlist for a specific country from this list - https://github.com/freearhey/iptv#playlists-by-country

I'll just make a custom list and load it that way


Update run documentation

Many thanks @cchantep! I think we can close #48 with this update.

Ok, thx. Just had the root question.


Zed's keybindings don't work in ACE's "normal" vim mode

After the update, things like Ctrl-F, Ctrl-E stopped working from normal mode in vim keybinding. You need to enter insert mode to have those keybindings available. Was this an intended change? It used to work.

This is not vim mode specific, goto is pretty broken after updating ACE, I'll roll it back.

Pushed submodule revert for ACE. Please run git submodule update and see if that fixes it.

New vim mode overwrites several ctrl-* shortcuts on windows
'<C-Space>',  'W'
'<C-BS>',     'B', context: 'normal'
'<C-n>',      'j'
'<C-p>',      'k'
'<C-[>',      '<Esc>'
'<C-c>',      '<Esc>'
'<C-[>',      '<Esc>', context: 'insert'
'<C-c>',      '<Esc>', context: 'insert'
'<PageUp>',   '<C-b>'
'<PageDown>', '<C-f>'
'<C-f>',      'moveByPage', forward: true
'<C-b>',      'moveByPage', forward: false
'<C-d>',      'moveByScroll', forward: true
'<C-u>',      'moveByScroll', forward: false
'<C-w>',      delete word in insert mode
'<C-i>',      'jumpListWalk', forward: true
'<C-o>',      'jumpListWalk', forward: false
'<C-e>',      'scroll', forward: true, linewise: true
'<C-y>',      'scroll', forward: false, linewise: true
'<C-v>',      'toggleVisualMode', blockwise: true
'<C-r>',      'redo'
'<C-a>',      'incrementNumberToken', increase: true
'<C-x>',      'incrementNumberToken', increase: false

I am not actually sure if this is good or not, on one hand it is more vim compatible, but on other hand Zed is better than vim so who needs 100% vim compatibility:)?

@nightwing Any way for us (on the Zed side) to disable some of those keys? It does indeed break our own Ctrl-E functionality (apparently vim mode takes precedence).

Temporary workaround for anyone wondering:
diff --git a/keybinding-vim.js b/keybinding-vim.js
index 0ccd2ee..cf3d070 100644
--- a/keybinding-vim.js
+++ b/keybinding-vim.js
@@ -889,7 +889,7 @@ dom.importCssString(".normal-mode .ace_cursor{\
     { keys: '<C-w>', type: 'operatorMotion', operator: 'delete', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false }, context: 'insert' },
     { keys: '<C-i>', type: 'action', action: 'jumpListWalk', actionArgs: { forward: true }},
     { keys: '<C-o>', type: 'action', action: 'jumpListWalk', actionArgs: { forward: false }},
-    { keys: '<C-e>', type: 'action', action: 'scroll', actionArgs: { forward: true, linewise: true }},
+    // { keys: '<C-e>', type: 'action', action: 'scroll', actionArgs: { forward: true, linewise: true }},
     { keys: '<C-y>', type: 'action', action: 'scroll', actionArgs: { forward: false, linewise: true }},
     { keys: 'a', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'charAfter' }, context: 'normal' },
     { keys: 'A', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'eol' }, context: 'normal' },

https://github.com/zefhemel/ace-builds

Ok, it looks like they default keymap is accessible from the outside so I can probably filter out a few keys that way.

Yes filtering out is the only way for now, since unmap doesn't remove default keybindings.


[WIP] Markdown card

Refs TryGhost/Ghost#7429

Added mobiledoc card, this uses the mobiledoc editor from within Ghost. In the future we'll pull this out and replace it with a textarea as the preview is too small to fit in the content.
Made the HTML editor a codemirror editor (pulled in from ghost-admin to save duplicating libraries).
Ghost-Admin now passes the paths for the ghost-api and the image directory for tools.
Fixed the scrolling issue.
Integrated UI updates

Closing in favour of https://github.com/TryGhost/Ghost-Admin/pull/355


Require overall success if no context is given for status check

When enforcing a status check, an administrator is currently required to specify a context to check against.
This pull request performs an overall check using the last commit status if no context is specified, which allows checks to be enforced without previously merging commits into separate branches.
This should simplify the workflow for most cases, while still allowing the current workflow to be used.

What happens if no status checks have been reported for the commit yet?

What happens if no status checks have been reported for the commit yet?

Answering myself: At least one successful status check required. So this can be useful if not having more than one status check set up.

Codecov Report

Merging #8318 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8318      +/-   ##
==========================================
- Coverage   41.54%   41.52%   -0.03%
==========================================
  Files         494      494
  Lines       65385    65392       +7
==========================================
- Hits        27165    27152      -13
- Misses      34726    34745      +19
- Partials     3494     3495       +1

Impacted Files
Coverage Δ

services/pull/commit_status.go
8.51% <0%> (-1.49%)
:arrow_down:

modules/sync/unique_queue.go
78.57% <0%> (-10.72%)
:arrow_down:

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

models/repo_indexer.go
68.21% <0%> (-1.94%)
:arrow_down:

routers/repo/view.go
42.53% <0%> (-1.02%)
:arrow_down:

models/repo_list.go
73.17% <0%> (-0.98%)
:arrow_down:

models/gpg_key.go
56.66% <0%> (+0.83%)
: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 9c2a584...2debc44. Read the comment docs.


Doesn't work at CentOS6 due to unsupported systemctl

CentOS6 uses service command instead of systemctl. Diagtool shows the following error.
It would be helpful if we can skip unsupported commands and then show a result of only supported command in the log
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluent-diagtool --precheck -t fluentd
/opt/td-agent/embedded/lib/ruby/2.4.0/open3.rb:199:in `spawn': No such file or directory - systemctl (Errno::ENOENT)
from /opt/td-agent/embedded/lib/ruby/2.4.0/open3.rb:199:in `popen_run'
from /opt/td-agent/embedded/lib/ruby/2.4.0/open3.rb:95:in `popen3'
from /opt/td-agent/embedded/lib/ruby/2.4.0/open3.rb:258:in `capture3'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-diagtool-1.0.1/lib/fluent/diagtool/collectutils.rb:107:in `_find_fluentd_info'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-diagtool-1.0.1/lib/fluent/diagtool/collectutils.rb:42:in `initialize'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-diagtool-1.0.1/lib/fluent/diagtool/diagutils.rb:43:in `new'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-diagtool-1.0.1/lib/fluent/diagtool/diagutils.rb:43:in `run_precheck'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-diagtool-1.0.1/exe/fluent-diagtool:42:in `<top (required)>'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluent-diagtool:23:in `load'
from /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluent-diagtool:23:in `<main>'

CentOS 6 already reached EOL.
There is no need to dare to support it anymore.


How can i use proxy on http request?

read angular 2 docs but seems like even proxy option does not exist.
I need to maintain proxy connection on entire application in every http reqeusts, so need this feature so much.
(because our country's censorship)
Is there any ways to figure out this problem? thanks.

Angular 2 is mostly a web framework and I doubt it will ever deal with proxy settings -- that's usually handled by the browser. NativeScript provides a HTTP implementation that wraps the system libraries. That's why configuring a proxy there should take effect and all XMLHttpRequest connections should just use that proxy.
I just tested this with a local proxy and Android, and it seems to work just fine.


Redirect "/cli" to dispatcher

Since we added cli to the webroot (and that's fine), users may have problems if they a page that should be visible as "http://www.example.com/cli".
So, we need to update the code for .htaccess.
The previous code simply compared the .htaccess data searching for the exact chunk defined by:
# -- concrete5 urls start --
....
# -- concrete5 urls end --

This new code takes a smarter approach: it considers the code between those two placeholders as to be automatically handled by concrete5 (this is necessary since the .htaccess code has changed and users may be come from a previous version).

Hmm, I didn't notice that we moved it. Any reason we moved it out into the
web root from its own folder?
On Wed, May 20, 2015 at 3:38 AM, Michele Locati<EMAIL_ADDRESS>wrote:

Since we added cli to the webroot (and that's fine), users may have
problems if they a page that should be visible as "
http://www.example.com/cli".
So, we need to update the code for .htaccess.
The previous code simply compared the .htaccess data searching for the
exact chunk defined by:
-- concrete5 urls start --
....
-- concrete5 urls end --
This new code takes a smarter approach: it considers the code between
those two placeholders as to be automatically handled by concrete5 (this is
necessary since the .htaccess code has changed and users may be come from a
previous version).
You can view, comment on, or merge this pull request online at:
https://github.com/concrete5/concrete5/pull/2466
Commit Summary

Redirect cli commands to dispatcher
PSR

File Changes

M
web/concrete/controllers/single_page/dashboard/system/seo/urls.php
https://github.com/concrete5/concrete5/pull/2466/files#diff-0 (150)

Patch Links:

https://github.com/concrete5/concrete5/pull/2466.patch
https://github.com/concrete5/concrete5/pull/2466.diff

—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/pull/2466.

Well, I think that this tool could be useful even for people that don't work directly with the GitHub version of concrete5.
Furthermore, I do really like the solution suggested by @fabian, where the root of the website is the same as the root of the repository.
But obviously these kind of choices are up to you :wink:

Well, I think that this tool could be useful even for people that don't work directly with the GitHub version of concrete5.
Furthermore, I do really like the solution suggested by @fabian, where the root of the website is the same as the root of the repository.

:+1:

Ah, excellent point about it not being present for people who don't use
Github. That makes sense.
What if we moved it into the concrete/ directory into concrete/bin/ or
something like that? I'm not sure that location makes the most sense but it
would get rid of the problem of /cli not working in concrete5.
On Wed, May 20, 2015 at 6:28 AM, Joe Meyer<EMAIL_ADDRESS>wrote:

Well, I think that this tool could be useful even for people that don't
work directly with the GitHub version of concrete5.
Furthermore, I do really like the solution suggested by @fabian
https://github.com/fabian, where the root of the website is the same as
the root of the repository.
[image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/pull/2466#issuecomment-103889032.

That's not a big problem to move it somewhere else.
Furthermore doing so, we solve the problem of updates (currently the cli always uses /concrete as the DIR_BASE_CORE dir)

See #2468

This is no more needed


Message exporting and importing creates empty messages

Steps to reproduce:

Make sure you have at least one language in "Manage languages" and set it as default. I added en and es.
If there are no messages, under "Translate messages", scan for messages to add new messages.
Export messages to CSV file and save the file. This file should have the columns, code, default, en, and es.
Import CSV file and select "Auto match columns"

The imported messages will have a message_data JSON object that contains empty strings.
Example actual value:
{"x":"Welcome to my blog.","en":"","es":""}

Expected value:
{"x":"Welcome to my blog."}

This is a problem because if the cache is ever cleared (Translate messages > Clear cache), empty strings will be outputted to the page instead of the default value because of this code:
https://github.com/wintercms/wn-translate-plugin/blob/7fa0de32e10f2674e3b7f4f2fa4322ef33bd6fc5/models/Message.php#L69-L71

@multiwebinc I've given this a test - I did not originally see the same issue when none of the translations had been entered for either en or es. It still showed the default translation (x).
It was only after I entered in the en translations but left the es translations blank that I got the issue. I'll try your fix now and will merge if it works.

I've just had a further thought on this - I believe that there may be scenarios where it would be legitimate for a particular language string might be empty for a certain language - for example, if there's no literal translation or if a feature isn't used for a certain language. I think we can't be presumptuous in this scenario that it needs to therefore use the default language.
@multiwebinc @LukeTowers do you have any thoughts on this?

Since this is just for the import process the fundamental question that needs to be answered is "is there a change in behavior when exporting and then importing with the current logic?" It sounds like there might be because it turns non existent values into empty strings which prevents fallbacks from being used.
@bennothommo are you suggesting that people could be purposely setting those translated values to empty strings? If so, two things to consider, first, does the current code actually allow for that state to be reached intentionally, and second is that actually a valid use case?
If empty strings is a valid and separate use case from not set strings then another solution could be to distinguish between an empty string value and a null value in the exporting of the data.

If so, two things to consider, first, does the current code actually allow for that state to be reached intentionally, and second is that actually a valid use case?

Those are both very good points. It doesn't seem possible to reach this state intentionally since setting the translation value to an empty string in the backend removes that language from the JSON value in the database. To intentionally reach this state, the user would need to either manually edit the entry in the database or import a CSV and then clear the cache. In either case, they would need to already be familiar with how this plugin behaves with empty strings unless they arrived there by accident.
As for it being a valid use case, I would lean more on the side of "no", since when getting something translated, you would typically pass all of the strings to the translator. The translator will not necessarily know that a particular string needs to be left blank only for a particular language and the CSV output does not include a column for notes. There are other ways to accomplish hiding/showing a string for a specific language and I would feel that translating something with an empty string would be more of a hack than a feature.

Fixed by https://github.com/wintercms/wn-translate-plugin/commit/eb1a6ca8bade819c1548e5d43e22c67e9183c653


box-shadow draw bug

Description

i use box-shadow in list component ，when  i scroll the list，the shadow is drawed  out of the list
Environment
Weex Version: 0.17.0
Device Mode: MI 5s  AND All Devices

Broken Example

.m-gift-card {
flex-direction: column;
justify-content: space-between;
height: 105wx;
margin-left: 10wx;
margin-right: 10wx;
border-radius: 5wx;
margin-bottom: 5wx;
margin-top: 5wx;
border-width: 1px;
box-shadow: 10wx,20wx 5px #666666;
}
Steps to Reproduce

Not support using , in box-shadow yet. You should write box-shadow: 20wx 5px #666666; without 10wx,.

i find the problem in <IP_ADDRESS> version, your plan is useless, i do it by keep the theme color


Add check for descriptive-style docstring verb (as per Google)

According to the Google conventions guide:

The docstring should be descriptive-style ... rather than imperative-style

Ideally, there should be an opposity to D401 when is enabled when using the google convention flag.

I think this is as simple as checking if the first word ends in 's'. 😄
Scanning through imperitives.txt, the only word I saw whose descriptive-style wouldn't "just end in 's'" was "rollback", however that would become "rolls back" which then ends with an 's' 😉

I think this is as simple as checking if the first word ends in 's'. 😄
Scanning through imperitives.txt, the only word I saw whose descriptive-style wouldn't "just end in 's'" was "rollback", however that would become "rolls back" which then ends with an 's' 😉

I would also appreciate an opposite for D401.
Another aspect besides the Google style guide: Some organizations use Python plus other programming languages and build a common documentation with that. Many of the major online documentation sites of the main programming languages seem to use the descriptive style. A common mood for all in-house languages makes sense in such cases.
https://docs.python.org/3/library/functions.html#max
https://en.cppreference.com/w/cpp/algorithm/max
https://www.cplusplus.com/reference/algorithm/max/
https://doc.rust-lang.org/std/cmp/fn.max.html
https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#max-int-int-
https://docs.microsoft.com/en-us/dotnet/api/system.math.max?view=net-5.0
https://erlang.org/doc/man/erlang.html#max-2
https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH__DOUBLE.html#group__CUDA__MATH__DOUBLE_1g28ce8e15ef5149c271eba95663becba2
https://docs.opencv.org/4.5.0/db/de0/group__core__utils.html#ga2938a33996791626f9f122e054ed34c4
https://developer.apple.com/documentation/objectivec/1441508-object_getindexedivars
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.math/max.html
https://perldoc.perl.org/List::Util#max
(Of these only Python and Cuda use imperative mood.)


Force Switch to Desktop view

Is there a way to get the mobile display (viewport < 600) switch to full desktop display via the restive call?  (i.e., if I'm using turbo classes like "mobi" and "phone" on mobile display, is there a way to remove those classes from the body tag when a certain link to "switch views" is clicked)?

Not natively within Restive. However, I'm sure you can use JQuery to remove the class when a button is clicked. For example:
$( ".your_link_selector" ).on( "click", function() {
  $("body").removeClass('mobi');
});

Is this what you wanted to achieve?

Yes this is what I was asking about, however when I tried it it doesn’t seem to be working.
Not natively within Restive. However, I'm sure you can use JQuery to remove the class when a button is clicked. For example:
$( ".your_link_selector" ).on( "click", function() {
$("body").removeClass('mobi');
});
Is this what you wanted to achieve?
—
Reply to this email directly or view it on GitHubhttps://github.com/obihill/restive.js/issues/30#issuecomment-184920507.

I just tried a test and it works:
Here's what I put in my :

And here's what's in my :

Remove mobile

When I click on the Remove mobile link, it removes the classes. Can you create a test page and see if this works for you?

So, I'll close this for now, but reopen if you still have issues.


[Bug][Framework] Removed data scopes are still in effect in sync tasks

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Reported by a user in Slack:

When one edits the scopes attached to a blueprint and removes a data scope, the associated sync tasks, don't get removed/disabled. They keep running on the next sync

I haven't tried reproducing this issue locally, whoever picks this up please reproduce the issue first, thanks!
The user is on v0.15.1-beta5
What do you expect to happen
See above
How to reproduce
See above
Anything else
No response
Version
v0.15.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I try these steps but haven't reproduced this issue:

add a new repo / delete a repo / replace a repo in gitlab
wait for the next cron run or run it manually
All these pipelines run with new repos(scopes). Do you mean the scope hasn't updated when clicking "rerun failed tasks"?

Or maybe you can add some more informations.

Closed by #4787


🌱 Revise questions.yaml and add missing options

What this PR does / why we need it:
We need to provide best UX with questions.yaml while installing turtles from UI. This change refactors the manifest and adds missing helm chart options, or features which may force users to fall back to helm cli installation.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #451
Special notes for your reviewer:
Screencast from 2024-04-02 15-05-57.webm
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[x] adds or updates e2e tests

Screencast from 2024-04-02 17-36-24.webm
Here is a demo of install + uninstall + re-install running locally


Facebook / Eventbrite event scraping

Find events on facebook and eventbrite that look like town halls.
Add them to the "pending events" list so they can be curated.

@meganrm @nathanmwilliams
Can someone with access to the official THP facebook setup a facebook app? Then I need the following info:  App Access Token (make sure the type is set to server!), app_id, and app_secret.
Also do we have an eventbrite account?  I need an api key for it.  If there's no account you guys want me to go ahead and make one?
Looks like a lot of code for this should actually be pretty simple.  Might not even need the SDK.  What terms do we want to search for besides "townhall", "town hall", and "town-hall"?

We do not have an Eventbrite account so feel free to make one.
Simplest if I just invite you @pdvorchik to be an admin for our Facebook?
For my twitter search I've found the following terms are useful:
town
hall
halls
forum
listening
coffee
Will we be able to make this search narrow to just official MOC facebook pages? Obviously those terms will bring in a ton of unrelated event otherwise.

@nathanmwilliams Yeah if you want to add me as an admin I can do the rest.   My account is https://www.facebook.com/paolo.dvorchik
I can limit it to the offical MOC pages for facebook, but then won't we loose all the empty town halls and it wouldn't work with eventbrite?  Perhaps we can do two different kinds of searches, one that's loose with your list above, and then the pure "town hall" terms for the rest combined with being locked to events in the US?
Either way, once I get the apps setup I can run some test searches and see what sorta noise we get,

Cool. Yeah. Maybe let's see how noisy the broader search data is and then narrow from there as we see fit.

Also, emailed you re: Facebook and a few other matters.

@nathanmwilliams @meganrm Here are the first batch of results from eventbrite.  Let me know what you guys think.
There's a lot more data we can get from eventbrite too (description, if the even is free, if it's online, seating capacity) but I'm keeping it simple for demo purposes.
We get 18 hits using the terms: town hall senator, townhall senator, town hall congresswoman, townhall congresswoman, town hall congressman, townhall congressman:
Name: Senator Anderson's Parental Rights Town Hall, start in utc: 2017-08-12T17:00:00Z, url: https://www.eventbrite.com/e/senator-andersons-parental-rights-town-hall-tickets-36324089329?aff=ebapi
Name: Wilson Town Hall Meeting, start in utc: 2017-07-23T20:00:00Z, url: https://www.eventbrite.com/e/wilson-town-hall-meeting-tickets-35962830795?aff=ebapi
Name: Healthcare Town Hall, start in utc: 2017-08-03T23:30:00Z, url: https://www.eventbrite.com/e/healthcare-town-hall-tickets-36206336126?aff=ebapi
Name: Be The Solution: Youth & Family Immigration Town Hall , start in utc: 2017-09-10T17:00:00Z, url: https://www.eventbrite.com/e/be-the-solution-youth-family-immigration-town-hall-tickets-36276901188?aff=ebapi
Name: Damani for Alderman, start in utc: 2017-08-23T21:00:00Z, url: https://www.eventbrite.com/e/damani-for-alderman-tickets-36236474270?aff=ebapi
Name: We the People: a conversation about healthcare, start in utc: 2017-08-10T23:00:00Z, url: https://www.eventbrite.com/e/we-the-people-a-conversation-about-healthcare-registration-36200866767?aff=ebapi
Name: "Scenes and Songs from FANNIE LOU," Fannie Lou Hamer Honored at Yale Event, start in utc: 2017-10-01T19:00:00Z, url: https://www.eventbrite.com/e/scenes-and-songs-from-fannie-lou-fannie-lou-hamer-honored-at-yale-event-tickets-34394325353?aff=ebapi
Name: 2017 U.S-Nigeria Legislative & Executive Leadership Exchange Forum & Awards, start in utc: 2017-09-25T13:00:00Z, url: https://www.eventbrite.com/e/2017-us-nigeria-legislative-executive-leadership-exchange-forum-awards-registration-34724974333?aff=ebapi
Name: Indivisible WA 8th District: Town hall featuring Pramila Jayapal, start in utc: 2017-07-22T22:00:00Z, url: https://www.eventbrite.com/e/indivisible-wa-8th-district-town-hall-featuring-pramila-jayapal-tickets-35727257188?aff=ebapi
Name: Congressman Carbajal Town Hall, start in utc: 2017-08-24T00:00:00Z, url: https://www.eventbrite.com/e/congressman-carbajal-town-hall-tickets-35544275886?aff=ebapi
Name: Congressman Adam Smith Town Hall , start in utc: 2017-07-29T17:00:00Z, url: https://www.eventbrite.com/e/congressman-adam-smith-town-hall-tickets-36287664381?aff=ebapi
Name: Get Organized: Congressman Nadler's Community Town Hall, start in utc: 2017-08-01T22:00:00Z, url: https://www.eventbrite.com/e/get-organized-congressman-nadlers-community-town-hall-tickets-36211221739?aff=ebapi
Name: Veterans Town Hall with Rep. Lou Correa, start in utc: 2017-08-21T22:00:00Z, url: https://www.eventbrite.com/e/veterans-town-hall-with-rep-lou-correa-tickets-36284380559?aff=ebapi
Name: TOWN HALL: Entrepreneurship, Policy and Innovation in America , start in utc: 2017-08-04T01:00:00Z, url: https://www.eventbrite.com/e/town-hall-entrepreneurship-policy-and-innovation-in-america-tickets-36163543131?aff=ebapi
Name: Ca-48 Town Hall: Presented by Indivisible OC 48, start in utc: 2017-08-02T01:30:00Z, url: https://www.eventbrite.com/e/ca-48-town-hall-presented-by-indivisible-oc-48-tickets-35394649349?aff=ebapi
Name: Indivisible WA 8th District: Town hall featuring Pramila Jayapal, start in utc: 2017-07-22T22:00:00Z, url: https://www.eventbrite.com/e/indivisible-wa-8th-district-town-hall-featuring-pramila-jayapal-tickets-35727257188?aff=ebapi
Name: A Millennial Town Hall in Omaha, Hosted by Rep. Eric Swalwell (CA-15), start in utc: 2017-08-10T22:30:00Z, url: https://www.eventbrite.com/e/a-millennial-town-hall-in-omaha-hosted-by-rep-eric-swalwell-ca-15-tickets-35997357064?aff=ebapi
Name: North South Rail Link Salem MA Public Forum, start in utc: 2017-08-29T23:00:00Z, url: https://www.eventbrite.com/e/north-south-rail-link-salem-ma-public-forum-tickets-36432660067?aff=ebapi
We get another 46 if we include townhall representative, and town hall representative.  Though NB:  This list includes duplicates, and with them removed it'd be a few less.
Name: Free Community BBQ - The Colony, TX, start in utc: 2017-07-22T22:00:00Z, url: https://www.eventbrite.com/e/free-community-bbq-the-colony-tx-tickets-35893800323?aff=ebapi
Name: Florida Minority Enterprise Development Conference 2017, start in utc: 2017-08-15T12:00:00Z, url: https://www.eventbrite.com/e/florida-minority-enterprise-development-conference-2017-tickets-28171004232?aff=ebapi
Name: FITZROY TOWN HALL, start in utc: 2017-07-30T00:00:00Z, url: https://www.eventbrite.com.au/e/fitzroy-town-hall-tickets-36037494115?aff=ebapi
Name: Wilson Town Hall Meeting, start in utc: 2017-07-23T20:00:00Z, url: https://www.eventbrite.com/e/wilson-town-hall-meeting-tickets-35962830795?aff=ebapi
Name: Healthcare Town Hall, start in utc: 2017-08-03T23:30:00Z, url: https://www.eventbrite.com/e/healthcare-town-hall-tickets-36206336126?aff=ebapi
Name: Multicultural Town Hall, start in utc: 2017-07-22T16:00:00Z, url: https://www.eventbrite.com/e/multicultural-town-hall-tickets-35678905567?aff=ebapi
Name: Tri-County Town Hall, start in utc: 2017-08-18T01:00:00Z, url: https://www.eventbrite.com/e/tri-county-town-hall-registration-35970980170?aff=ebapi
Name: SICKLE CELL TOWN HALL MEETING, start in utc: 2017-09-22T23:00:00Z, url: https://www.eventbrite.com/e/sickle-cell-town-hall-meeting-tickets-35973950053?aff=ebapi
Name: TOWN HALL: Entrepreneurship, Policy and Innovation in America , start in utc: 2017-08-04T01:00:00Z, url: https://www.eventbrite.com/e/town-hall-entrepreneurship-policy-and-innovation-in-america-tickets-36163543131?aff=ebapi
Name: Pat Meehan Empty Swimsuit Town Hall , start in utc: 2017-07-29T22:00:00Z, url: https://www.eventbrite.com/e/pat-meehan-empty-swimsuit-town-hall-tickets-36051668511?aff=ebapi
Name: Be The Solution: Youth & Family Immigration Town Hall , start in utc: 2017-09-10T17:00:00Z, url: https://www.eventbrite.com/e/be-the-solution-youth-family-immigration-town-hall-tickets-36276901188?aff=ebapi
Name: Ca-48 Town Hall: Presented by Indivisible OC 48, start in utc: 2017-08-02T01:30:00Z, url: https://www.eventbrite.com/e/ca-48-town-hall-presented-by-indivisible-oc-48-tickets-35394649349?aff=ebapi
Name: Indivisible WA 8th District: Town hall featuring Pramila Jayapal, start in utc: 2017-07-22T22:00:00Z, url: https://www.eventbrite.com/e/indivisible-wa-8th-district-town-hall-featuring-pramila-jayapal-tickets-35727257188?aff=ebapi
Name: A Millennial Town Hall in Omaha, Hosted by Rep. Eric Swalwell (CA-15), start in utc: 2017-08-10T22:30:00Z, url: https://www.eventbrite.com/e/a-millennial-town-hall-in-omaha-hosted-by-rep-eric-swalwell-ca-15-tickets-35997357064?aff=ebapi
Name: Let's Talk About It: The Opioid Epidemic Town Hall Meeting, start in utc: 2017-08-03T21:30:00Z, url: https://www.eventbrite.com/e/lets-talk-about-it-the-opioid-epidemic-town-hall-meeting-tickets-35986605907?aff=ebapi
Name: Clay Book Production , start in utc: 2017-08-01T11:00:00Z, url: https://www.eventbrite.co.uk/e/clay-book-production-tickets-36221018040?aff=ebapi
Name: Clay Book Production, start in utc: 2017-08-01T13:00:00Z, url: https://www.eventbrite.co.uk/e/clay-book-production-tickets-36221097277?aff=ebapi
Name: Mayors' Megawatt Challenge Forum Nov 8th - Exhibition, start in utc: 2017-11-08T13:00:00Z, url: https://www.eventbrite.ca/e/mayors-megawatt-challenge-forum-nov-8th-exhibition-tickets-26611562901?aff=ebapi
Name: Mayors' Megawatt Challenge Forum Nov 8th - Industry, start in utc: 2017-11-08T13:00:00Z, url: https://www.eventbrite.ca/e/mayors-megawatt-challenge-forum-nov-8th-industry-tickets-31225862395?aff=ebapi
Name: Clay Book Production, start in utc: 2017-08-02T09:00:00Z, url: https://www.eventbrite.co.uk/e/clay-book-production-tickets-36221227667?aff=ebapi
Name: Clay Book Production, start in utc: 2017-08-01T15:00:00Z, url: https://www.eventbrite.co.uk/e/clay-book-production-tickets-36221123355?aff=ebapi
Name: Summer Wine & Cheese Fundraiser, start in utc: 2017-07-22T21:00:00Z, url: https://www.eventbrite.com/e/summer-wine-cheese-fundraiser-tickets-35787193459?aff=ebapi
Name: HBA 0.1K Micro Run, start in utc: 2017-09-17T19:00:00Z, url: https://www.eventbrite.com/e/hba-01k-micro-run-tickets-31492361501?aff=ebapi
Name: Small Business Conversations - Ballarat (VIC), start in utc: 2017-08-01T04:00:00Z, url: https://www.eventbrite.com.au/e/small-business-conversations-ballarat-vic-tickets-34055976342?aff=ebapi
Name: Back 2 School: Melbourne Spikers Trivia Night 2017, start in utc: 2017-08-05T09:00:00Z, url: https://www.eventbrite.com.au/e/back-2-school-melbourne-spikers-trivia-night-2017-tickets-35697434989?aff=ebapi
Name: We the People: a conversation about healthcare, start in utc: 2017-08-10T23:00:00Z, url: https://www.eventbrite.com/e/we-the-people-a-conversation-about-healthcare-registration-36200866767?aff=ebapi
Name: Edna Ryan Awards Night 20th Anniversary, start in utc: 2017-10-13T07:00:00Z, url: https://www.eventbrite.com.au/e/edna-ryan-awards-night-20th-anniversary-tickets-34402222975?aff=ebapi
Name: M-NJ Industry Summit Apprenticeships - Meeting the Workforce Challenge, start in utc: 2017-08-23T12:15:00Z, url: https://www.eventbrite.com/e/m-nj-industry-summit-apprenticeships-meeting-the-workforce-challenge-tickets-36069706463?aff=ebapi
Name: "I Am Of Cape Cod" Book Party, start in utc: 2017-08-01T22:30:00Z, url: https://www.eventbrite.com/e/i-am-of-cape-cod-book-party-tickets-36162681554?aff=ebapi
Name: Diverse Magazine 3rd Diversity & Inclusion Conference 2017, start in utc: 2017-10-18T07:00:00Z, url: https://www.eventbrite.co.uk/e/diverse-magazine-3rd-diversity-inclusion-conference-2017-tickets-31994986867?aff=ebapi
Name: The Public Bubble: Diversity in the Public Sector, start in utc: 2017-07-26T17:30:00Z, url: https://www.eventbrite.co.uk/e/the-public-bubble-diversity-in-the-public-sector-tickets-35726103738?aff=ebapi
Name: Damani for Alderman, start in utc: 2017-08-23T21:00:00Z, url: https://www.eventbrite.com/e/damani-for-alderman-tickets-36236474270?aff=ebapi
Name: Stronger Together - Celebrating women in business, start in utc: 2017-07-24T01:00:00Z, url: https://www.eventbrite.com.au/e/stronger-together-celebrating-women-in-business-tickets-35677417115?aff=ebapi
Name: Workshop: Building your personal brand, start in utc: 2017-07-29T04:00:00Z, url: https://www.eventbrite.com.au/e/workshop-building-your-personal-brand-tickets-35423284999?aff=ebapi
Name: Beyond the Bicycle Conference 2017, start in utc: 2017-11-07T09:30:00Z, url: https://www.eventbrite.co.uk/e/beyond-the-bicycle-conference-2017-tickets-34717241203?aff=ebapi
Name: 10th Annual Boston GreenFest Resilience, Race, and Equity EcoForum Registration, start in utc: 2017-08-13T14:00:00Z, url: https://www.eventbrite.com/e/10th-annual-boston-greenfest-resilience-race-and-equity-ecoforum-registration-tickets-36029396896?aff=ebapi
Name: The Tools for Making Successful Places - A Lead Event with West Dunbartonshire Council, start in utc: 2017-08-22T09:00:00Z, url: https://www.eventbrite.co.uk/e/the-tools-for-making-successful-places-a-lead-event-with-west-dunbartonshire-council-tickets-34820342582?aff=ebapi
Name: Sponsorship Opportunities: 2017 Professional Women in Advocacy Conference, start in utc: 2017-11-05T23:00:00Z, url: https://www.eventbrite.com/e/sponsorship-opportunities-2017-professional-women-in-advocacy-conference-registration-32095135414?aff=ebapi
Name: The Other Renewables Forum, start in utc: 2017-08-12T03:30:00Z, url: https://www.eventbrite.com.au/e/the-other-renewables-forum-tickets-36184993289?aff=ebapi
Name: 08 Days 07 nights Cairo, Alexandria, Aswan and Luxor including 03 nights Nile cruise Tour, start in utc: 2015-12-18T17:00:00Z, https://www.eventbrite.com/e/08-days-07-nights-cairo-alexandria-aswan-and-luxor-including-03-nights-nile-cruise-tour-tickets-20014645343?aff=ebapi
Name: "Scenes and Songs from FANNIE LOU," Fannie Lou Hamer Honored at Yale Event, start in utc: 2017-10-01T19:00:00Z, url: https://www.eventbrite.com/e/scenes-and-songs-from-fannie-lou-fannie-lou-hamer-honored-at-yale-event-tickets-34394325353?aff=ebapi
Name: Birjoo Mehta on the Vayus - 2017, start in utc: 2017-08-31T22:00:00Z, url: https://www.eventbrite.com/e/birjoo-mehta-on-the-vayus-2017-tickets-30231539348?aff=ebapi
Name: PASIC17 - Percussive Arts Society International Convention, start in utc: 2017-11-08T22:00:00Z, url: https://www.eventbrite.com/e/pasic17-percussive-arts-society-international-convention-tickets-33430137441?aff=ebapi
Name: Canada & Libraries as One, start in utc: 2017-09-14T14:00:00Z, url: https://www.eventbrite.ca/e/canada-libraries-as-one-tickets-34042165032?aff=ebapi
Name: Edinburgh Blues 'n' Rock Festival, start in utc: 2017-07-29T12:30:00Z, url: https://www.eventbrite.co.uk/e/edinburgh-blues-n-rock-festival-tickets-33658683027?aff=ebapi
Name: Indeterminate States: trans-cultural; trans-racial; trans-gender. , start in utc: 2018-08-02T14:00:00Z, url: https://www.eventbrite.com/e/indeterminate-states-trans-cultural-trans-racial-trans-gender-tickets-35830850037?aff=ebapi
I'll run some tests on facebook later.  Honestly it might be worth just sending in all the current MoC facebook events if there's not a ton.  But we'll see what the numbers look like.

Looks like a good start. I think we need to add some additional search terms outside of "town hall" and "townhall" though, since many MOCs don't use that term. For instance, here's GK Butterfield's "community discussion"
https://www.eventbrite.com/e/forward-together-bertie-community-discussion-registration-36068841877?aff=es2
Also, is there a way to specifically search official accounts of MOCs?

@nathanmwilliams Do we have a list of MoC's eventbrite accounts?  I'm not seeing one anywhere.  If we wanted the research team to put one together we could totally do that.
In that case, and in the case of facebook, let's look at the volume of events.  If it's not too high maybe we don't want to use keywords at all, just pass through everything?

We could make this a project by a dedicated research team if valuable. In the lead up to August recess we probably don't have the humanpower to spare but could do this down the line.
That said, I don't think we'd exclusively want to use these. Because it would also be great to pull in Adopt-a-Districts and Empty Chairs, which won't be hosted by official MOC accounts (and also, unfortunately, also have a wide variety of nomenclature--"empty suit town halls" "ghost town halls" "with or without town halls," etc)

Gotcha.  So let's get something up and running (facebook we can use the MoC events, eventbrite we can do the general searches).  Then once it's working we can start adding other stuff like the MoC eventbrite accounts later.
In the interim if there's MoC eventbrite events you already know of that aren't showing up, like the Butterfield one, lemme know and I can start making a list.

Great. Agreed.
Another future feature that would be great is scraping actual MOC websites. Our vol researchers should be doing this of course but we never have 100% reliability and we occasionally miss events (ex: https://marshall.house.gov/media/press-releases/marshall-adds-dates-july-listening-tour). As you can see, these are all "town halls" but Marshall doesn't use the phrase once on the page.

Yeah I'd love to be able to scrape all the things (tm).

Awesome! Would it make sense to have a small research vol brigade assemble a spreadsheet with all the MOC web urls? Or maybe that's something ProPublic or GovTrack already has?

We already have their normal web pages, but afaik no one has a list of the event calendar urls.  So yeah, I'd love to see a list of those (and also a list of the MoC eventbrite accounts).
I'll have to see what the calendars look like before I can start playing with scraping (it's more complicated that using the APIs, and we don't want tons of false positives).
I have the basics of the facebook code done.  Now to try eventbrite...then to test it all (kinda a pita as I don't have access to some of the endpoints but maybe @meganrm can help me once I get to that stage).


[Feature GIF from Video] Process multiple videos to gif files

Thanks for developing such great Alfred workflows.
Could you please support batch processing multiple videos into GIF files?

Hey @hologerry
Thanks for the kind words! Right now, batch processing isn’t on the roadmap, and I’m probably not going to add it anytime soon. I appreciate the suggestion, though!


[📑 Docs]: Automation Github Workflows

What Dev Docs changes are you proposing?
This is the main effort the Maintainers Growth Working Group is working at this moment.
Based on the feedback provided by @derberg to the Maintainers Growth Working Group, to create a new section under the community section, that contains documentation about the GitHub Workflows used globally across the AsyncAPI org.
Those workflows are located under https://github.com/asyncapi/.github/tree/master/.github.
Ideally, the documentation should live in https://github.com/asyncapi/.github repository. That means we would need to somehow deploy it to our website (for example, by creating an automated PR to website repo every time a doc changes).
This is a very first and vague draft of an issue. That means help is more than welcome to turn this into a detailed project. I suggest we rely heavily on @alequetzalli criteria, who during our last WG meeting showed that this was already on its mind since got sent as part of the GSOD submission.
cc all MGWG members + stakeholders: @alequetzalli @Mayaleeeee @thulieblack @AceTheCreator @smoya @derberg
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yes! We'll add these docs to the plan outlined for expanding our Community Docs, as noted here: https://github.com/orgs/asyncapi/discussions/1136.
Once I have the basics sent my way, I can write these docs.


CM-214: Display year-round if there's no parkOperationSubAreaDates

Jira Ticket:
CM-214
Jira Ticket URL:
https://bcparksdigital.atlassian.net/browse/CM-214
Description:
Display "year-round" if subArea.parkOperationSubAreaDates is empty.
Golden Ears Marine Backcountry was not rendered either on legacy/DEV/TEST/BETA. Its subArea.hasDates was also false but subArea.parkOperationSubAreaDates was not empty. That's why subArea.parkOperationSubAreaDates is used in the filter conditions to display "year-round" for the edge case that doesn't have any subArea.parkOperationSubAreaDates like Golden Ears Backcountry.

Closed it as changing the approach. Details: https://bcparksdigital.atlassian.net/browse/CM-214


python312Packages.boiboite-opener-framework: disable pythonImportsCheck

Race condition in scapy https://github.com/secdev/scapy/pull/4558
ZHF: https://github.com/NixOS/nixpkgs/issues/352882

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353071

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.boiboite-opener-framework
python311Packages.boiboite-opener-framework.dist
python312Packages.boiboite-opener-framework
python312Packages.boiboite-opener-framework.dist

FYI https://github.com/secdev/scapy/pull/4558 is now fixed in 2.6.1. Sorry about that


Initial implementation for header dependencies

Compiler changes:

add kwargs and parse out headers from the parser arguments
add ability to infer header dependencies using the header names, similar to
query parameters

Engine changes:

parse the headers and invoke the parser with the additional named argument

Fixed issue identified in #261 and added tests.  This is ready to be merged.
Note: a separate change will be implemented to assign dynamic object values to header parameters.  This change only contains the ability to parse response headers and use them to initialize other parameters.

Sounds good. Please add some user documentation in the next part/PR.


feat: base _blank to open links in new window

Problem
Options and Popup pages cannot have links that open in the same window. However, there are no errors if your links are missing target="_blank".
Changes
Default all links to open in a new window/tab via <base target="_blank">.

LGTM


[FEATURE] Support for TogetherAI

Add support for TogetherAI under LLM nodes - https://js.langchain.com/docs/integrations/llms/togetherai

Must have access to API to test it out
Must enable streaming mode - https://js.langchain.com/docs/integrations/llms/togetherai#streaming

I can work on this.

Thanks! We have the integration in already, shouldve close this issue

I see chatmodels/ChatTogetherAI and embeddings/TogetherAIEmbedding, but not llms/TogetherAI, did I miss something?

Oh yeah we don't have that yet, feel free to add the integration for LLM node


install and test

Installed on linux the banner returns macos.
One might expect typing q that the software would have a newline printed when exiting.
$ cd /tmp
$ git clone -q https://github.com/ycaseau/CLAIRE4.git
$ mkdir -p ~/go && mv CLAIRE4/init.cl ~/go
$ rm CLAIRE4/src/*/{Core.go,Generate.go,Language.go,Optimize.go,Reader.go}
$ mv CLAIRE4/src ~/go/ && cd ~/go
$ export GO111MODULE=off && export PATH=/usr/local/go/bin:${PATH}
$ go build src/claire4.go
$ ./claire4
-- CLAIRE run-time library v 4.1.2 [os: macos, compiler:go ] --
Hello CLAIRE4, this is our init.cl file
Done.
claire> q
eval[1]> $

https://sites.google.com/view/claire4/getting-started/tutorial
cf: release.cl
The output from the tutorial.
% claire
claire> load("release")
eval[1] true
claire> main()
eval[2] claire release 4.0.4
claire> q
%

From my test there appears output with an unexpected unknown line.
$ cat << EOF > release.cl
> main() -> printf("claire release ~A\n", release())
> EOF
$ ./claire4
-- CLAIRE run-time library v 4.1.2 [os: macos, compiler:go ] --
Hello CLAIRE4, this is our init.cl file
Done.
claire> load("release")
eval[1]> true
claire> main()
eval[2]> claire release 4.1.2
unknown
claire> q
eval[3]> $

Excepting init.cl and readme.cl the same named files in meta are newer than those in src/meta.
$ diff CLAIRE4/meta/call.cl CLAIRE4/src/meta/call.cl | sed 4q
4c4
< //| Copyright (C) 1994 - 2021 Yves Caseau. All Rights Reserved  |
---
> //| Copyright (C) 1994 - 2013 Yves Caseau. All Rights Reserved  |
$ diff CLAIRE4/meta/init.cl CLAIRE4/src/meta/init.cl
$ diff CLAIRE4/meta/readme.cl CLAIRE4/src/meta/readme.cl
$

Hi,
The banner just tel that the compiler was compiled on a Mac.

banner

$ ed -s ~/go/src/Core/Core-meta.go <<<'748,755p'
  ClEnv.Version = 1.2
  PRINC("-- CLAIRE run-time library v 4.")
  F_princ_float(1.2)
  PRINC(" [os: ")
  PRINC("macos")
  PRINC(", compiler:")
  PRINC("go")
  PRINC(" ] --\n")
$ ed -s ~/go/src/Kernel/ClEnv.go <<<'57'
        Osname             *ClaireString    // the name of the env "macos","win","linux",...
$ ed -s ~/go/src/Kernel/ClEnv.go <<<'156'
        ClEnv.Osname = MakeString("macos")
$

Any insight into clarifying what encoding this file is actually in?
test/nonreg/Bug6.cl
the file utility returns that Bug6.cl is UTF-8 text
but on 2 lines beginning with semicolons there are illegible characters

moving to U+20AC
I file my objection here to the stated intention to use that unicode character in the source code.
https://sites.google.com/view/claire4/faq#h.z7v2ebdnfxxx

Set membership is %, which is ugly (and conflict with the common usage of % for modulo) but will move to €, which looks more like the mathematical symbol for membership (∈)

Hello,
a couple of answers, since there are a couple of questions/issues.
(1) duly noted for the q / exit behavior. Clearly MacOS and Linux behave differently as far as the stdoutput port is concerned.
I need to find myself a linux machine :)
I  had one earlier but not for the past few years
(2) the "bug*" test files have been collected over 30 years, where CLAIRE main dev env has move from Linux to Windows and Windows to MacOS. Some files have old character encodings
lines 142/144 of bug6.cl
// introduce a new char for ALI
;[�(x:integer) -> x * x]
;(check("sqr �",�(2) = 4))
is precisely a test to see if strange characters could be used .... This comes from Windows, and works on MacOS
(3) the banner is produced at cross-compile time, that means that you should recompile CLAIRE 4 on you machine to make it specific to your OS. (cf. Section (5) of the installation guide)
-> you update init.cl (to reflect the default OS)
-> you recompile claire4.go thanks to
sclaire4 -sf Generate -o claire4
This is not very friendly, I would agree, so a good suggestion to change in a future version.
(4) I am curious about why using € for membership would cause a problem. Obviously, for upward compatibility reasons, % will continue to work for membership .... but I figured that € was closer to the mathematical membership.
Also % is seen as modulo by programmers, so it is not very satisfying.

time permitting
might you address the unexpected unknown line

(2)

pull #5 has some non-English strings typo corrected
personally I have not run any of the tests

(3)

read the guide prior to setting up for installation
my initial presumption had been that detection of the OS was part of the code

(4)

ugly, ...conflict with the common usage of % for modulo
not very satisfying
personally, I don't doubt the sincerity of those phrases
of course on my Danish laptop there exists a key combination to generate U+20AC
a close friend of mine of many years had written an epilogue to the Danish translation of the book "The New Europeans"
personally I do not sympathise with the Common Market in general as it was referred to in the early 70s

my current circumstance allocates for a bit free time for me to fix some of the documentation

elsewhere I've encountered the string casted but is seems to be incorrect English
grep -nr casted CLAIRE4

not sure on my end of what the replacement stings might be were these factually changed
grep -nr facy CLAIRE4
grep -nr inded CLAIRE4
grep -n indente CLAIRE4/test/nonreg/Bug3.cl

my presumption is this could be changed to inferred at the output locations in compile/*.cl and src/Generate/*.go
grep -nr infered CLAIRE4

@ycaseau
were you amenable to a pull or pulls fixing the exposed typographical errors
please inform if you prefer a limit on the number of lines changed in a single pull

print U+2208
emacs
C-x 8 RET and in the echo buffer the Unicode name or #x2208 and then RET
vim
while in insert mode
C-k (-

linux machine
print U+2208

possibly claire on POSIX could be segregated from other bash or C shell use
by using for claire a shell with a customised keymap
es: a shell with higher-order functions
https://github.com/wryun/es-shell
XS: The eXtensible Shell
XS meson build [abandonware]
a few years ago I built it using a python3 virtual environment (venv) with meson-0.54.x and again with meson-0.56.x
see the  ./buildscan.sh  output in a repo fork with modified README.md; guess the C++ code could be improved
XS autotools build
on my Linux box for this version I had to use the variable LIBS="-lgccpp" before running ./configure

XS-library [abandonware]
XS-library/xs/lib.d/math.xs
a Free Software Foundation employee's comments on the foregoing
I looked at math.xs, and boy is it ugly.
In addition, it seems to mean using functional programming to decompose a list.  That is a pain in the neck.
I don't know whether it is more bad or less bad than programming in shell syntax.  But at least there' an excuse in that case: programming is built around a command line syntax.  I see no excuse for making the math.xs syntax so inconvenient.  If they're designing a new language from zero, why take such a big step backard?

@ycaseau

claire4 -sf Generate -o claire4

when init.cl is modified the command above will overwrite claire4.go
it is unclear what in init.cl to add or modify
where after running the above command and a recompile the banner will display the correct OS

built claire on Windows
release.cl
at least running in Windows PowerShell
after returning claire release 4.1.2  also is returned on the next line unknown

the q / exit

noted is that in contrast to the herein report regarding linux the  behavior is as expected

For consistency among the community I'd probably use the same mapping as established for these keyboards.
https://dfns.dyalog.com/n_keyboards.htm
en-US, en-GB, da-DK, fr-FR, de-DE, es-ES, fr-BE, fi-FI, it-IT [keyboards]
What key sequence is used is another matter.
ELEMENT OF"∊" (U+2208)
UNION "∪" (U+222A)
  ┌────┐
  │E   │
  │€ ∊ │
  └────┘

  ┌────┐
  │V   │
  │  ∪ │
  └────┘

The program could be started by a wrapper shell script which calls the alternate keyboard prior to starting claire.

One might expect typing q that the software would have a newline printed when exiting.

@SteveL-MSFT
Don't spend time on this, but if you have a quick explanation of the pwsh code involved perhaps you can post it.
Linux
exiting claire running e.g. in uxterm there is no newline printed
exiting claire running in pwsh there is a newline printed  [same as running in powershell.exe on Windows]
I am curious if you've an explanation for this behaviour?

ELEMENT OF "∊" (U+2208)
UNION "∪" (U+222A)

Notwithstanding a sympathy for retaining the option to run CLAIRE in a "dumb" terminal.
It can be coded in elisp that a line or region is sent to another emacs buffer.
For vim there is also this plugin using for example GNU screen or tmux.
https://github.com/jpalardy/vim-slime
Send text to a target as a REPL.
Julia has approached the entering of Unicode math symbols by typing the backslashed LaTeX symbol name.
The Julia approach of course will not function in a "dumb" terminal.


syz-manager exits abnormally after May-24

@a-nogikh
Hi Alex,
I think after recent modification to pkg/repro/repro.go, we are seeing syz-manager exits abnormally.
Perhaps it related to below commits onwards.
commit f7e4c7256881bef31f5332d73c569a82cdd6cfbe
Author: Aleksandr Nogikh<EMAIL_ADDRESS>Date:   Wed May 24 17:51:52 2023 +0200

    pkg/report: restructure the shutdown process

    Only use ctx.bootRequests to indicate that no further VMs are needed.

    Do not return from Run() until we have fully stopped the VM creation
    loop as there's a risk it might interfere with fuzzing.

Can u check once?
Thanks

Thanks for reporting!
The all VMs failed to boot error comes from here (1):
https://github.com/google/syzkaller/blob/52ae002a69946d44626bb626463c27ea196a6551/pkg/repro/repro.go#L558-L561
So ctx.instances was already closed here:
https://github.com/google/syzkaller/blob/52ae002a69946d44626bb626463c27ea196a6551/pkg/repro/repro.go#L680-L681
I assume that the syzkaller revision from your screen is d9b02a53a6f8a9f6af36ffdf2ac399e3376de807, so it panic'ed on this send over the channel:
https://github.com/google/syzkaller/blob/d9b02a53a6f8a9f6af36ffdf2ac399e3376de807/pkg/repro/repro.go#L731-L733
This is very strange. Judging by the all VMs failed to boot error, ctx.instances must have been closed by this time, but it's only closed at the bottom of the method, after all goroutines that interact with ctx.bootRequests have finished..
So it's likely an error from a different reproduction process.
In that case, I can only see a scenario when reproduction process fails and finishes so fast that this loop did not finish:
https://github.com/google/syzkaller/blob/52ae002a69946d44626bb626463c27ea196a6551/pkg/repro/repro.go#L648
By any chance, are you seeing these errors only when a syz-manager is getting stopped? That could explain things.


Redis 3.x Clustering Support?

Are there plans to add Redis 3.x clustering support?

@pluttrell some plans exist but I can't commit on an ETA ATM... would love to merge your PR though :wink:


fix grpc (v1.3.x) compilation error with gcc 7.x

fix compilation error fallthrough case by adding explicit fall through compilation directive
casting error due to int -> uint8_t conversion
compatibility issue related openssl version between 1.02 and 1.1

@nicolasnoble

Our Makefiles are autogenerated after running
tools/buildgen/generate_projects.sh
Any changes would need to be made there I believe.


Made many small updates/corrections to README.md.

Rebased onto commits in Pull Request #101 .
Includes:

Corrections of spelling/grammar errors
Addition of links to relevant pages/anchors
A few small rewrites (that hopefully improve clarity)

Note: I verbified the section to “Licensing” to avoid having to choose between “Licence” and “License”. (See: Licence vs. license.)

thanks ! :)


avoid using System.Runtime.CompilerServices.Unsafe but don't remove packageReference

avoid using System.Runtime.CompilerServices.Unsafe but don't remove packageReference
that is modified pull request
original pull request available here
modification in comparsion with original is: restored reference to Microsoft.Extensions.Primitive but still don't use it
performance implications still added because at this moment stable System.Memory isn't available and it can't be added within minor build.

original description:
I found bug and fixed it.
The bug is: System.Runtime.CompilerServices.Unsafe isn't supported in current version Xamarin.Mac v4.x.x.x (and probably, Mono v4.5 and later), which supports netstandard2.0. So lot of packages, which require this library as dependency or sub-dependency are not-runnable at those platforms (but still compilable). As example, have a look at Microsoft.EntityFrameworkCore.Sqlite
Current fix make those bunch of packages usable with Xamarin.Mac and Mono.
below you may see piece of output of application which uses package Microsoft.EntityFrameworkCore.Sqlite

...
Loaded assembly: /Users/testuser/Projects/exampleapplication/exampleapplication.Mac/bin/Debug/exampleapplication.app/Contents/MonoBundle/Microsoft.Extensions.Primitives.dll [External]
Could not find System.Runtime.CompilerServices.Unsafe referenced by assembly Microsoft.Extensions.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60.
Could not find System.Runtime.CompilerServices.Unsafe referenced by assembly Microsoft.Extensions.Caching.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60.
Could not find System.Runtime.CompilerServices.Unsafe referenced by assembly Microsoft.EntityFrameworkCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60.
Could not find System.Runtime.CompilerServices.Unsafe referenced by assembly exampleapplication, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null.

ping @lsvhome ? We're going to close this out as this change was made for performance reasons and there's no proof that you haven't regressed that performance with this change.


[SPARK-40944][SQL] Relax ordering constraint for CREATE TABLE column options

What changes were proposed in this pull request?
Relax ordering constraint for CREATE TABLE column options.
Before this PR, the grammar for each CREATE TABLE column was:
createOrReplaceTableColType
    : colName=errorCapturingIdentifier dataType (NOT NULL)? defaultExpression? commentSpec?
    ;

There was a constraint on the order of: (NOT NULL, DEFAULT value, COMMENT value). This PR updates the grammar to allow these options in any order instead, to improve usability.
Why are the changes needed?
This helps make the SQL syntax more usable.
Does this PR introduce any user-facing change?
Yes, the SQL syntax updates slightly.
How was this patch tested?
Existing parser tests plus a new unit test.

Can one of the admins verify this patch?

Can we retrigger the test? It seems falky.

Can we retrigger the test? It seems flaky.

Yeah, I've been syncing my apache/spark fork and pushing a few times in case someone has since merged a fix for this flaky test. Let's see how this latest one goes.

@cloud-fan now a different test flaked:

I am going to re-try it agin...

Thanks, merging to master


Allow updating Compile option for SDK

When using Embedded sdk in ESP32 Azure IoT kit project (https://www.espressif.com/en/products/devkits/esp32-azure-kit/overview), cmake build is failing with warning.  As azure-sdk-for-c treats this waring as error in  gcc based build, building Embedded sdk is failing. Is it possible to allow caller of cmake to control atleast which warning are treated as error?
Current warning treated as error is because of flag: -pedantic
Warning in our code is:
<>/Code/esp/stable/esp-idf/components/newlib/platform_include/assert.h:24:2: error: #include_next is a GCC extension [-Werror]
#include_next <assert.h>

likely closes this but I'll tag @RickWinter and @ahsonkhan to verify
https://github.com/Azure/azure-sdk-for-c/pull/1791

log_esp2 (1).txt
log_esp1.txt
log_esp4 (1).txt
log_esp3.txt

closed by #1791


Always add the document boxes to correct field set

The override of the method getFormItems in the ExtJS class Shopware.apps.Config.view.form.DocumentPaypalUnified is used to add the document elements of paypal to the document element configuration in the backend.

Unfortunately the override always adds this to the second field set found in the right panel of the window. In case another plugin adds a field set before, then the override will add the document elements to the wrong fieldset. Therefore they will not be editable for the user anymore.

The PR improves the determination of the correct field set so that the document element are always added to the correct fieldset.

Good to go! Please open the PR and close this one once that is done.

Closed in favor of https://github.com/shopwareLabs/SwagPaymentPayPalUnified/pull/4/files


https://doc.traefik.io/traefik/ is down

Do you want to request a feature or report a bug?

Bug

The documentation links are 404ing: https://doc.traefik.io/traefik/
I am unable to access any child pages as well: https://doc.traefik.io/traefik/getting-started/configuration-overview/

Traefik just stopped working for me all of a sudden so I go to the docs and they are also down. Weird day already :/

Traefik just stopped working for me all of a sudden so I go to the docs and they are also down. Weird day already :/

Same.

Same.

Hello, the problem is fixed :tada:

Hello, the problem is fixed :tada:


[BUG] Uploading image not working

Hi, I have problem with Inventree version [0.6.3] when I trying upload image from file or from link. After selected image file and clicking Submit I always get error:
Unhandled Error Code
Error code: 500
URL: /api/part/2008/
I have deployment on Docker. I also tested adding file as attachment to ensure that my configuration of media folder is correct.
Hope that is easy to fix.

Hi there @pawcio0928 !
Could you add the version information from the version modal (upper right corner) and look into the logs for an error message? Error 500 is something on the server but not very descriptive. There is a help page on that.

Yep @pawcio0928 as @matmair says we'll need to see what the error message actually is :)

Thank you @matmair  and @SchrodingersGat.
I miss that errors in admin panel.
Traceback (most recent call last):
File "/home/inventree/.local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/generics.py", line 288, in patch
return self.partial_update(request, *args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/mixins.py", line 82, in partial_update
return self.update(request, *args, **kwargs)
File "/home/inventree/InvenTree/part/api.py", line 586, in update
response = super().update(request, *args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/mixins.py", line 68, in update
self.perform_update(serializer)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/mixins.py", line 78, in perform_update
serializer.save()
File "/home/inventree/InvenTree/InvenTree/serializers.py", line 183, in save
super().save(**kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/serializers.py", line 200, in save
self.instance = self.update(self.instance, validated_data)
File "/home/inventree/InvenTree/InvenTree/serializers.py", line 195, in update
instance = super().update(instance, validated_data)
File "/home/inventree/.local/lib/python3.8/site-packages/rest_framework/serializers.py", line 983, in update
instance.save()
File "/home/inventree/InvenTree/part/models.py", line 457, in save
super().save(*args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/mptt/models.py", line 1014, in save
super(MPTTModel, self).save(*args, **kwargs)
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/base.py", line 739, in save
self.save_base(using=using, force_insert=force_insert,
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/base.py", line 776, in save_base
updated = self._save_table(
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/base.py", line 855, in _save_table
values = [(f, None, (getattr(self, f.attname) if raw else f.pre_save(self, False)))
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/base.py", line 855, in
values = [(f, None, (getattr(self, f.attname) if raw else f.pre_save(self, False)))
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/fields/files.py", line 302, in pre_save
file.save(file.name, file.file, save=False)
File "/home/inventree/.local/lib/python3.8/site-packages/stdimage/models.py", line 29, in save
super().save(name, content, save)
File "/home/inventree/.local/lib/python3.8/site-packages/django/db/models/fields/files.py", line 89, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File "/home/inventree/.local/lib/python3.8/site-packages/django/core/files/storage.py", line 54, in save
name = self._save(name, content)
File "/home/inventree/.local/lib/python3.8/site-packages/django/core/files/storage.py", line 279, in _save
fd = os.open(full_path, self.OS_OPEN_FLAGS, 0o666)
PermissionError: [Errno 13] Permission denied: '/home/inventree/data/media/part_images/448692_1.png'
Version Information:
InvenTree-Version: 0.6.3
Django Version: 3.2.12
Commit Hash: 86b0b50
Commit Date: 2022-03-30
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
I checked in a folder on a server but file is not added.

It would appear that the server (running inside the docker container application) does not have write permission to the /media directory.
Did you set that up according to the docs? How / where are you storing the uploaded media files?

@SchrodingersGat I found out that I migrated from old version I just copied folder with part_images and this made problem in my configuration. Thank you for your help.
I have one suggestion to add webp image as supported format.


Page unresponsive for large local CSV input.

Hi
I am having trouble with my browser with this csv file https://www.dropbox.com/s/coqryr8vskfghtb/TransactionTrendForPivotJS_2007.csv?dl=0
which contains almost 75881 rows of data. Script stops responding while trying to drag some columns. What may cause this problem. Is there nay data limitation to display columns properly? Or is this a browser issue?
Screenshot:

I suspect the issue is less with the input size (which is large-ish but not prohibitive) and more with the output size... based on the screenshot, you are trying to create multiple rows per transaction, and then date-based columns, which leads to a giant table with millions of cells. This is poorly supported by browsers in general.

What I am trying now is to connect to a report server and show data directly from servers. So the data can be very large. And user can be very playful with columns. Is there any work around to visualize data in smaller chunks?

There's no way to render only part of the output, no. You can use the new hiddenFromDragDrop parameter to prevent users from using extremely-high-cardinality attributes in the table though.

Looking at screen shot. It is simply not right to pull value fields to the left column as row fields. Please draw it the other way

@hkbeer
Unfortunately my users can do pretty much anything with the fields.

One way to solve it is to hide the value fields from the drop-area

"What I am trying now is to connect to a report server and show data directly from servers. So the data can be very large. And user can be very playful with columns. Is there any work around to visualize data in smaller chunks?"
Since you have server code control, if I am you I would narrow down the data on server side before rendering or passing to PivotUi. So you may aggregate the data first using SQL etc before pulling the data into the pivotUi. This is also what I am doing now.

Unfortunately my users can do pretty much anything with the fields.

In this case pure js-only pivot table solution is not suitable for you... the problem of large pivot table can be solved with server-side pagination (or reasonable top-N limits for rows/columns) but you need some backend for this.
Several years ago we also started with pivottable.js but found a lot of limitations related to dataset size - they come from the fact that all data and rendering are performed on the client-side. As result we created alternative solution that can be used for pivot tables generation even for big data (with ROLAP approach). I'm not providing the link as it is commercial product ( @nicolaskruchten let me know if it is ok to mention the product ).

@VitaliyMF I have no problem with people mentioning alternatives :)

Well, I've failed to convince my company to build their own data visualization solution. They have moved to PowerBI which is a huge blow for me. Thanks for your suggestion @VitalilyMF


2017 week 1-8 is missing

Hi, I get this error:
TypeError                                 Traceback (most recent call last)
 in ()
----> 1 games = nfl.games(2017,week=3)
2 players = nfl.combine(games)
/Users/mrr/anaconda2/lib/python2.7/site-packages/nflgame/init.pyc in games(year, week, home, away, kind, started)
227 def games_gen(year, week=None, home=None, away=None,
228               kind='REG', started=False):
--> 229     """
230     games returns a generator of all games matching the given criteria. Each
231     game can then be queried for player statistics and information about
TypeError: 'NoneType' object is not iterable

import nflgame
games = nflgame.games(2017)
print len(games)

1

ochawkeye's solution in this thread solved the issue for me. Have a crack at it, if you haven't already.

Thank you!


Why is my BAR1 Memory always occupied?

I successfully enabled Resizeable Bar a few days ago, but I found that my BAR1 usage is different from everyone else's, my BAR1 is always in a run-out state, even though i'm not running any programs.
My BAR1 usage:

Other people's BAR1 usage:

have you figured it out? mine does the same

Interesting, I'm observing this too:

MB: Asrock Z370 Extreme4
BIOS: L4.21B (CAM support from manufacturer, no additional bios image patching)
GPU: NVIDIA GeForce RTX 2080 FE
CPU: Intel Core i7-8086K

==============NVSMI LOG==============

Timestamp                                 : Tue Jul 23 12:34:41 2024
Driver Version                            : 560.70
CUDA Version                              : 12.6

Attached GPUs                             : 1
GPU 00000000:01:00.0
    FB Memory Usage
        Total                             : 8192 MiB
        Reserved                          : 203 MiB
        Used                              : 659 MiB
        Free                              : 7331 MiB
    BAR1 Memory Usage
        Total                             : 8192 MiB
        Used                              : 8165 MiB
        Free                              : 27 MiB
    Conf Compute Protected Memory Usage
        Total                             : N/A
        Used                              : N/A
        Free                              : N/A

Since I'm unsure of the source of that value, it could have a different meaning than what we are attributing to it. Windows' task manager shows a normal vram usage (as well as GPU-Z).

Same issue here.

Anyone figure this out yet?

A quick scroll through the more recent posts in working cards, it might be to do with the driver version. 552.55 is the latest driver i could see that has BAR1 usage low.
Im in the same boat, does it affect performance or is it just a difference in reporting?

dunno it's occurred from driver or hardware in my test playing apex does not affect any performance while rebar on still the same 10 - 15% gain performance, my only concern is the microcode from oem (old) it's cause micro stuttering even when not playing game just update the microcode all seamlessly work fine.

I'm afraid that everyone is having this issue because I'm also observe the same results in nVidia smi tool than the exposed here. Almost all the BAR1 memory is being occupied even when there is no programs running

I noticed on one of the recent drivers I installed (curiously it was not an official update, but rather some hotfix I believe) showed BAR1 not being used, however upon launching/playing any game, it would still show the same numbers, even with rebar force-enabled via nvidiaprofileinspector. Updated to a newer driver a few days later and BAR1 went back to showing fully used again. Perhaps unrelated but I also noticed that when rebar is enabled, performance would plummet for me rather than increase, whether rebar was force-enabled via nvidiaprofileinspector or not. I don't play a whole lot of games lately so the only two examples I have are Apex Legends and Quake Live, which are both older titles.

Works well with this version https://www.nvidia.com/download/driverResults.aspx/224483/en-us/

Works well with this version https://www.nvidia.com/download/driverResults.aspx/224483/en-us/

You are right. I've just tested it and now the used memory usage is only 2MiB.

That makes sense. I figured out what happened for me was I used to a driver updater and it installed a vulkan beta driver which is based on older drivers (Likely 55x.xx). So that's why it showed "Used: 2 MiB" for me too. But yeah, I didn't see any usage above that when gaming, nor did I see any performance benefit.

So can anybody test it with Dead Space Remake for example? Would it give any performance boost at all?

It could be interesting to make some tests to see if there is any performance benefits when nvidia-smi.exe displays less memory usage in BAR1

Works well with this version https://www.nvidia.com/download/driverResults.aspx/224483/en-us/

It's not sure that these results are equal to "works well". It just means that all that memory is not being used and this is doesn't inmediately means that it have some benefits in performance.


ci: change build.yml

chore: remove CHANGELOG.md
ci: change build.yml

Codecov Report

Merging #25 (6ec20b9) into master (cb69507) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          124       124
  Branches        20        20
=========================================
  Hits           124       124

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 cb69507...6ec20b9. Read the comment docs.


Question about the apollo3.5 or apollo 5.0 ues the ESD CAN PCIE 402

System information

**Linux Ubuntu 14.04 the platform is Nuvo-6108GC **:
Apollo installed from (source or binary):
Apollo version (5.0):

Steps to reproduce the issue:

**I used the esd can pcie 402 and the driver is the apollo-contrib  Then when I install the esd can driver,In the apollo DreamView the modules ESD-CAN is ready just like ESD-CAN: NTCAN_SUCCESS but when I used the radar or something send can message,there are some errors: NTCAN_TX_TIMEOUT **:

Supporting materials (linux shell log):
cyber_launch start modules/drivers/radar/conti_radar/launch/conti_radar.launch
[cyber_launch_11914] INFO Launch file [/apollo/modules/drivers/radar/conti_radar/launch/conti_radar.launch]
[cyber_launch_11914] INFO ========================================================================================================================
[cyber_launch_11914] INFO Load module [conti_radar] library: [conti_radar] [CYBER_DEFAULT] conf: [/apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag] exception_handler: []
[cyber_launch_11914] INFO Start process [conti_radar] successfully. pid: 11922
[cyber_launch_11914] INFO ------------------------------------------------------------------------------------------------------------------------
[conti_radar]  WARNING: Logging before InitGoogleLogging() is written to STDERR
[conti_radar]  I0725 10:39:44.021991 11922 module_argument.cc:81] [] command: mainboard -d /apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag -p conti_radar -s CYBER_DEFAULT
[conti_radar]  I0725 10:39:44.024611 11922 global_data.cc:150] [] host ip: <IP_ADDRESS>
[conti_radar]  I0725 10:39:44.025679 11922 module_argument.cc:57] [] binary_name_ is mainboard, process_group_ is conti_radar, has 1 dag conf
[conti_radar]  I0725 10:39:44.026468 11922 module_argument.cc:60] [] dag_conf: /apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag
[conti_radar]  E0725 10:39:44.231446 11922 esd_can_client.cc:148] [mainboard] send message failed, error code: 258, NTCAN_TX_TIMEOUT - Transmit operation timed out
[conti_radar]  E0725 10:39:44.231544 11922 conti_radar_canbus_component.cc:135] [conti_radar] Failed to configure radar.
[conti_radar]  E0725 10:39:44.231555 11922 component.h:155] [mainboard] Component Init() failed.
[conti_radar]  E0725 10:39:44.232511 11922 module_controller.cc:59] [mainboard] Failed to load module: /apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag
[conti_radar]  E0725 10:39:44.233851 11922 mainboard.cc:43] [mainboard] module start error.
[conti_radar]
[cyber_launch_11914] ERROR Process [conti_radar] has finished. [pid 11922, cmd mainboard -d /apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag -p conti_radar -s CYBER_DEFAULT].
[cyber_launch_11914] INFO All processes has died.
[cyber_launch_11914] INFO Cyber exit.
[cyber_launch_11914] INFO All processes have been stopped.

Can you help me ? Thanks

Most of the time,the can device is not connected by that channel. if it is connected,check the Termination resistor，it should has two 120 ohm resistor.

Most of the time,the can device is not connected by that channel. if it is connected,check the Termination resistor，it should has two 120 ohm resistor.


policy_effect validator does not detect unacceptable syntax

If you put
[policy_effect]
e = some(whe re (p.eft == allow))
# note the  ^  space inside the `where`

the validator claims that it is valid.
For now, I believe the only way to truly validate this portion is by making sure the string for e is exactly one of the four allowed strings (including spaces), as discussed here https://github.com/casbin/casbin/issues/211

@nodece

Hi @shlomi-nx ,  added policy effect validator to editor.


Minimum described PHP version is wrong

In the composer.json file, the minimum PHP version is described as >=5.4.0. However, on line 40 of guzzlehttp/guzzle/tests/perf.php a PHP 5.5 generator is used.
yield $client->createRequest('GET', '/guzzle-server/perf');
Although this is in the tests directory and is not required for Guzzle to work properly, this causes my builds to fail on a box running PHP 5.4.

The minimum version is correct. Why is your build running this script?

On Mar 5, 2015, at 2:12 AM, Jamie Hollern<EMAIL_ADDRESS>wrote:
In the composer.json file, the minimum PHP version is described as >=5.4.0. However, on line 40 of guzzlehttp/guzzle/tests/perf.php a PHP 5.5 generator is used.
yield $client->createRequest('GET', '/guzzle-server/perf');
Although this is in the tests directory and is not required for Guzzle to work properly, this causes my builds to fail on a box running PHP 5.4.
—
Reply to this email directly or view it on GitHub.


nginxModules.spnego-http-auth-nginx-module: init at 16.04.2020

Motivation for this change
This nginx module provides Kerberos authentication and is not packaged yet.
Things done

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

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

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

Are you happy with this contribution @Izorkin ?

@lbpdt can you consolidate the PR into one commit? - git rebase -i HEAD~2

Squashed - thanks for the review!


Keras 2.3.1 backport to 19.09

Motivation for this change
19.09 Keras 2.2.4 is not compatible with Tensorflow 1.14 due to multi-gpu
Fixes: https://github.com/NixOS/nixpkgs/issues/72799
Things done

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

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

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

Notify maintainers
cc @CMCDragonkai

@NikolaMandic

@GrahamcOfBorg build python27Packages.Keras
@GrahamcOfBorg build python37Packages.Keras

The 20.03 should be coming out very soon. I think we could merge this, but I have one concern: it is whether with this bump we might break something unrelated to the multi-gpu backend.

We are currently using it with no problems.

@CMCDragonkai So, can we close this without merge?

Now 20.03 is here to be, we can close this one.


frozen class is made immutable before attrs_post_init gets a turn

This code:
from attr import attrib, attrs

@attrs(frozen=True)
class Foo(object):
    def __attrs_post_init__(self):
        self._thing = object()

Foo()

Raises FrozenInstanceError:
wsanchez$ python /tmp/foo.py
Traceback (most recent call last):
  File "/tmp/foo.py", line 8, in <module>
    Foo()
  File "<attrs generated init 97d170e1550eee4afc0af065b78cda302a97674c>", line 3, in __init__
  File "/tmp/foo.py", line 6, in __attrs_post_init__
    self._thing = object()
  File "/.../attr/_make.py", line 201, in _frozen_setattrs
    raise FrozenInstanceError()
attr.exceptions.FrozenInstanceError

It would be nice if __attrs_post_init__ can set attributes before the object is frozen.

Ref #111

I believe this is a dupe of #120.
The problem is as I explained there that the object never actually is unfrozen.  We just work around the frozen-ness.  Would any of the ideas in the other issue there suite you?

Yes that looks like a dup, thanks.


the display problem with RichText

Steps to Reproduce
I use maxLines and overflow in RichText,like below:
return new Container(
      padding: new EdgeInsets.only(left: 62.0, top: 8.0, bottom: 8.0),
      child: new RichText(
        text: new TextSpan(children: handleFontTextHasTags(data.content)),
        textAlign: TextAlign.justify,
        maxLines: 1,
        overflow: TextOverflow.ellipsis,
      ),
    );

But '...' shows wrong

Flutter doctor
[âˆš] Flutter (Channel beta, v0.3.2, on Microsoft Windows [Version 6.1.7601], lo
cale zh-CN)
    â€¢ Flutter version 0.3.2 at D:\flutter
    â€¢ Framework revision 44b7e7d3f4 (7 weeks ago), 2018-04-20 01:02:44 -0700
    â€¢ Engine revision 09d05a3891
    â€¢ Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[âˆš] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    â€¢ Android SDK at D:\android-sdk
    â€¢ Android NDK at D:\android-sdk\ndk-bundle
    â€¢ Platform android-27, build-tools 27.0.3
    â€¢ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b
02)
    â€¢ All Android licenses accepted.

[âˆš] Android Studio (version 3.1)
    â€¢ Android Studio at C:\Program Files\Android\Android Studio
    â€¢ Flutter plugin version 23.2.2
    â€¢ Dart plugin version 173.4700
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b
02)

[âˆš] Connected devices (1 available)
    â€¢ ALP AL00 â€¢ D3H7N18313001938 â€¢ android-arm64 â€¢ Android 8.0.0 (API 2
6)

â€¢ No issues found!

This sounds like a dup of #18198
Seems this was already fixed with #5486 and should even already be available in master

I'm going to close this issue.
Please add a comment if you think this is not the linked issue or if it doesn't fix your problem.