Truncate Doctrine\DBAL\Exception\DriverException message if too long

Hi have an issue---triggered by ownCloud and an erroneous vCard with a duplicated PHOTO field---where a database insertion request into MySQL via the Doctrine DBAL fails.
Essentially, the blob inserted is too big for MySQL, and it issues  a Syntax error or access violation: 1118 The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size.” which gets transformed into a Doctrine\DBAL\Exception\DriverException.
The message for the exception is An exception occurred while executing [QUERY] with params [PARAMS]. This is where the issue with Doctrine is: the blob is about 9MiB at this stage, and it is dumped verbatim as part of the PARAMS bit in the error message. This makes the Exception a bit hard to understand, as it is not concise enough, and this makes log files grow at a very very high rate.
A solution to this problem would be to either

truncate or ellipsise PARAMS longer than a given threshold in the error message, e.g., BEGIN:VCARD\r ... END:VCARD\r(line ending might or might not be a good idea to rely on)
not reproduce blobs, and replace them altogether with something like BLOB of 9MiB, or
a combination of both:  BEGIN:VCARD\r [about 9MiB of blob] END:VCARD\r.

Note that my example is with ownCloud and vCards, but the problem is more generic, with any blob too big for comfortable display.

Wrong repo, see doctrine/dbal#2523; sorry about the noise.


[Hotfix] files don't completely delete when storing attachments with a custom path.

Hi @amaelftah
My apologies for the mistake.
I checked the files don't completely delete when storing attachments with a custom path.
This is for quickly fixing and let me know if you have any suggestions.

@pitchayakit thanks a lot for picking up that ... can we add tests for that ?

@pitchayakit i have reverted this PR  and added github actions to run the tests so feel free to resubmit a PR with tests thanks a lot


Server Side Apply: Adds support for CertificateRequests controller to use SSA with Feature Gate

Branched from #4773 which should be merged first.
This PR implements Server Side Apply for CertificateRequests's controllers when the SeverSideApply Feature Gate (default disabled) is enabled.
Where Update or UpdateStatus was previously, two new funcs are used to check for this feature gate. If the feature gate is enabled, a new CertificateRequest object is made, and the relevant fields are copied across.
The Open API tags +listType=map, +listMapKey=type have been added to the CertificateRequest's Condition field so that each condition can be added, updated, removed, without a conflict, even if another independent manager is concerned with another existing condition.
See  https://github.com/jetstack/cert-manager/pull/4758 for more details and design.

ServerSideApply: The feature gate `ServerSideApply=true` configures the certificaterequest controllers to use Kubernetes Server Side Apply on CertificateRequest resources.

/milestone Next
/kind feature

/retest

/retest

/retest

/test pull-cert-manager-e2e-feature-gates-disabled

/test pull-cert-manager-e2e-feature-gates-disabled


Ignore type error in integration

What kind of changes does this PR include?

Changes to Starlight code

Description
Fixes an (intentional) type error in the Starlight integration (by explicitly ignoring it). The code that errors is required to support versions of Astro below v2.6, but can be picked up as an error by users running tsc in some circumstances.

size-limit report 📦

Path
Size

/index.html
13.17 KB (0%)

/_astro/*.js
16.55 KB (0%)

/_astro/*.css
8.55 KB (0%)


Replace $ with jQuery fullname to avoid conflict

To help for https://github.com/kmewhort/pointer_events_polyfill/issues/7

How about just wrapping it in an closure?
(function($) {
// Use $ here.
})(jQuery);


Set TERM to "dump" when running the client on Windows

This is a documentation request to clarify how lxc on client PC interacts with the container on server. How it passes through the barriers until it reaches the application. Without these details I can not complete Windows client.
Let's start with a story. On a fresh new container installed mc fails to start when run inside lxc exec session:
root@far2l:~# mc
The TERM environment variable is unset!

So what this TERM is? To explain that, it is important to understand how lxc (client) is connected to container when running lxc exec:

lxc (client) connects to lxd (server) using default port 8443 and speaking over HTTPS protocol
inside this HTTPS connection, lxc (client) connects its stdin to websocket that immediately sends any content to lxd side
on lxd side, it connected websocket to ???

*[ ] is websocket created inside initial HTTPS connection or a separate one is created?
*[ ] where lxd connects its stdin websocket to?
So far, only stdin was discussed, but stdout is connected in the same way - output received from lxd server, which is connected to ???, is received by client and rendered locally.
*[ ] where lxd gets data for its client's stdout websocket?
So, communication with container using lxc exec uses only two wires - stdin and stdout. Any key you type and files you send go over one wire (that's why you can't upload your files with lxc exec), and any output you receive (including text and colors, and other screen operations) go over second wire.
TERM variable is an instruction to the program on remote server side about how to treat input that comes from your client and how to prepare output for it. How your keys are encoded, how colors should be send back, etc.

[ ] who should set TERM variable? lxc, lxd or I myself (my program)?
[ ] where it is possible to set TERM - what are the phases of lxc exec?
[ ] why TERM is unset here?

Well, what is the next progressive step to implement "clear screen" and "cursor positioning"? Is there a specification that says which TERM values support this feature? Or what value should TERM take when it supports those features?

We could probably get away with setting it to whatever the client sets it to, as it should understand the same escape sequences that the host terminal does.

@tych0 but why lxc should set it? Where it happens? And when it should be set?

lxc should set it because it is the one who knows about the host terminal. It should be set for shell sessions, same as ssh. See the commit above for details.

Oh, wait. It looks like it should already be there...

Yeah, there is a patch that set this long ago, from lxd 0.2 onwards. In my testing it does seem to work; can you show the output of lxc exec --debug $container /bin/true?

@tych0 it won't help, because I am running lxc client on Windows. =) The reason I am asking is because I want to fill missing details.
DBUG[08-17|18:55:37] Posting {"command":["/bin/true"],"environment":{"HOME":"/root","USER":"root"},"height":53,"interactive":true,"wait-for-websocket":true,"width":182}
 to https://<IP_ADDRESS>:8443/1.0/containers/$container/exec
DBUG[08-17|18:55:38] Raw response: {"error":"not found","error_code":404,"type":"error"}

So I guess it should be set to dumb on Windows, but need some prooflinks that show which features are obligatory for dumb.

 I think most reasonably-close-to-unix-environments on windows (e.g. cygwin, mingw, and the new Ubuntu on Windows) will probably export a TERM if they really support it, but my guess is cmd.exe doesn't support any unix-style escape sequences.

Thanks.
Slipped away from my radar even though I just run into it again. =) Got to squeeze some new data about terminals at that time and lost the track of this issue. https://stackoverflow.com/questions/39001517/features-obligatory-for-term-dumb-terminal


Massive website update

OK, here is a pretty significant update to the website. We had lots of outdated content and things that needed to be fixed. Lots more to do, but this at least digs us out of the worst of the context/design debt. Some of the main things:

Remove JupyterCon 2017 content.
Took a pass at the text on all pages to make sure it is up-to-date and well written.
Updated language about governance, steering council, Code of Conduct.
Redesigned the documentation landing page to get rid of the hidden dropdowns. Also reorganized the categories.
Moved Donate to the bottom of the "About Us" page - Google Analytics showed that almost no one went to that page.
Lote of small design improvements and cleanup.
Updated NumFOCUS logo.

Fixes #46 #83 #207 #228 and many others we never opened.
@fperez @Carreau @hanazarea @Ruv7 @jzf2101
Home page:

Here is the Documentation page now:

Thanks for the review @willingc - I have addressed your comments and also added back some work @minrk had done. Should be ready to go!

Thanks!
On Wed, Oct 11, 2017 at 11:28 AM, Matthias Bussonnier <
<EMAIL_ADDRESS>wrote:

Merged #233 https://github.com/jupyter/jupyter.github.io/pull/233.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/jupyter.github.io/pull/233#event-1288798681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABr0O64SceewxroDVPbNoeUDYHadFR6ks5srQjmgaJpZM4Px8oZ
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Thanks all!


[Design QA] Space between top Nav Bar elements isn't right

space between elements on top bar should be 8px.. now it looks like there's more space
Devs:

Design:

Fixed


Merge dev-pathways into develop/index

This PR:

moves content from /develop/development-pathways into /develop/index
enhances "mapping" for user (links between content, etc)
removes the /develop/development-pathways page
updates the navigation as needed
corrects a broken link in Wallets (Nova was going to Talisman)

I did check with Grammarly. @eshaben, do you think we should keep or remove the In This Section cards from this page?
@kianenigma, I'm bringing you in here as these changes are trying to implement some of your feedback on the Develop section. There's more to do, but I think this brings us a little closer. Please feel free to make suggestions if you have better ideas on the specific items to link to for Learn, Build, Tools, and Resources for each dev path.

This PR is part of Issue #237


Slow startup

fda4_main.cpuprofile.txt
fda4_renderer.cpuprofile.txt

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:09.760Z)
OS Version: Windows_NT ia32 10.0.15063
CPUs: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (8 x 2673)
Memory (System): 8.99GB (3.86GB free)
Memory (Process): 151.09MB working set (158.19MB peak, 127.49MB private, 42.97MB shared)
Load (avg): 0, 0, 0
VM: 0%
Initial Startup: yes
Screen Reader: no
Empty Workspace: yes
Timings:

Component
Task
Time (ms)

main
start => app.isReady
31

main
app.isReady => window.loadUrl()
251

renderer
window.loadUrl() => begin to require(workbench.main.js)
1088

renderer
require(workbench.main.js)
605

renderer
create extension host => extensions onReady()
606

renderer
restore viewlet
0

renderer
restore editor view state
103

renderer
overall workbench load
349

main + renderer
start => extensions ready
2688

main + renderer
start => workbench ready
2339

I couldn't find anything suspicious in this profile. If you have been alerted it might have been false alarm. If are interesting in our performance work, be assured it is an on-going theme and you can find all performance issues using the perf-label: https://github.com/Microsoft/vscode/issues?utf8=✓&q= is%3Aissue label%3Aperf
Thanks and Happy Coding


All imports with csv files is failing.

Description

i want to import my products from one installation to another. however every attempt i make fails. and nothing is logged both in the container and app file.
Additional context
i am using shopware 6.1.5 in a docker container. and am also exporting the products from a server in the same environment and version. When i download and open the failed records this is all i see SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (label_db_test.product_category``
Is there something i should know or something am doing wrong?

Can you provide the profile and csv?

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


[Bug] Suddenly no more music

This has been happening constantly the past week, my bot is in a voice channel, and then suddenly the music stops. The bot is still there, not playing any music. I either have to play a music myself, or restart it, which is quite annoying... I get a very, very, very long error message in the cmd box, can't even screenshot all of it(also because I'm a bit lazy...) but here's the start:
http://image.prntscr.com/image/84ff41f5d9584881b1aec27207419e9b.png

It looks like the YTDL fails and it just throws a fit entirely. I've been having this issue for a few days now as well. Not sure what's starting it.

Are you still having this issue? Have you tried updating youtube-dl?  Is your firewall blocking the script?

I didn't really change anything, but it works as it's supposed to again. In my opinion, it had something to do with my network connection, I had trouble even joining a voice channel myself the days after, but after some time it all got fixed.

good to hear you got it working again


Add option changing TAB-key behaviour: Focus on the next tabindex, instead of selecting the top-suggestion

The default behaviour of the TAB-key is to select the top suggestion
We introduced a new option called 'tabAutocomplete' which is NOT mandatory and defaults to true.
If the option 'tabAutocomplete' is true, the TAB-key will select the top suggestion as usual
If the option 'tabAutocomplete' is NOT set, the TAB-key will select the top suggestion as usual
Only if you set the option 'tabAutocomplete' to false pressing the TAB key will change the focus on the html-element with the next tabindex.
Added option 'tabAutocomplete' to doc
Added two methods for tabAutocomplete = true resp. false to the unit-test typeahead_spec.js

i close this pull request and will make a new one based on the current sources.


[cocoapods] Add missing params argument to pod_version

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
When the cocoapods action was run with clean_install fastlane failed with a Unknown method 'params' error.
Description
This error was caused by pod_version being called without arguments.
Testing Steps
To reproduce the issue just run bundle exec fastlane run cocoapods clean_install:true
closes #15960

Thanks @pNre! Wonder how that slipped through 🤷♀


Comment on Community Activitiy Metrics Model

Please add any feedback here regarding the Community Activity Metrics Model

I like the direction towards sustainability, however, the following statement could be invalidated if a project reaches Maturity:

High levels of community activity may indicate that a project is sustainable and low levels of community activity may indicate that a project is at risk.

Also, a community may be receiving a higher volume of fixes or issues reporting without necessarily new features, this condition doesn't suggest sustainability since it lacks changing needs of stakeholders requirements.

I agree your both  comments. I would like put activity as part of sustainability. So we put it under ecosystem context areas: https://github.com/chaoss/wg-metrics-models/tree/main/context-areas

I'm going to go ahead and close this. If there are further comments we can address them at the next meeting, but I think this model is pretty solid now. It can be found here: https://chaoss.community/kb/metrics-model-community-activity/


initial project configuration

Smart contracts to verify "timestamps" this will work by "employees checking in and allowing smart contracts to verify checkin times"

[ ] setup webpack cli commands in package.json
[ ] initialize run.py
[ ] initialize and config init file
[ ] test project run
[ ] config database
[ ] config logging for smart contracts

TypeError: 'type' object is not iterable

https://stackoverflow.com/questions/32362148/typeerror-type-object-is-not-iterable-iterating-over-object-instances

#5 PR touches some points


Upgrade openshift/api to release-4.15 branch

https://github.com/openshift/api/tree/release-4.15
Pull request type

[x] Dependency upgrade

Test Plan

[x] :zap: CI

#1987

@viveksinghggits @pavannd1 Please DO NOT merge yet, it is not complete. I'd like to include an upgrade for Openshift's client-go module as well in the same PR.
Nevertheless, PTAL and LMK if there are any concerns.
Also, what is the plan for upgrading Openshift going forward if automatic upgrades don't work reliably?

Also, this includes a couple of minor upgrades to k8s dependencies. Those can be pushed separately in case we need to revert this change.


No UI on the open source version, or I missed something ?

Hello,
I don't have yet access to the tool (i'm on the waitlist), but wanted to test it.
Once ran, I did not really know anything about what was working or not, and didn't find any UI.
Is it a feature yet to open source ? is it something something you want to keep closed, or should I just seek more ?
Congrats for your product, can't wait to test it.

Hello @jrouaix. You're right, there's no user interface for Edgee's OSS edition, only for the Enterprise edition (managed service).
We know it's a bit hard to explore Edgee OSS without guidance, and we are working hard to improve the OSS documentation soon.
To tide you over, I invite you to join us on Slack and send me the email you used to register on edgee.cloud, I'll take you off the waitlist.


1.16.4 support

Describe the bug
1.16.4 is just not supported :)
NPCLib usage option
2
NPCLib JAR name
npclib-plugin-2.10-SNAPSHOT.jar
Server version
Paper 1.16.4 (build 260)
To Reproduce
Just start a server in 1.16.4

I don’t think much has changed since 1.16.2 so you could probably copy paste the 1.16r1 class and rename it and the version enum to MinecraftVersion https://github.com/MinecraftLibraries/NPCLib/blob/master/api/src/main/java/net/jitse/npclib/internal/MinecraftVersion.java

packets are changed, please check if you can do something for 1.16.4 thank you. :)

I’ll create a pull request when I get the chance.

https://github.com/Mooselk/NPCLib/releases/tag/2.9.1

I will post the official release in a bit.


Debugging: Ability to set a breakpoint and trace?

This is probably a feature request, but it would be nice if it was possible to do something like
tdb := import("tdb")
tdb.set_trace()

(similar to pdb in python), which would give a prompt, similar to the REPL prompt in the tengo CLI command and use to print state of variables and such.

There already is the  OpSuspend instruction to suspend the run of the VM, but there's yet no way to continue after suspending. Perhaps that could be added to enable debugging?


commit range post

Please feel free to make comments on the content or on the styling.
Please confirm:

[ ] Date to be published
[ ] Time to be published
[ ] Set draft to false when ready
[ ] Confirm things look ok on stage
[ ] Plan promotion

@olivekl  here is the post in PR form


Copy paste in visual mode

Suppose I made a selection in visual mode and I now want to access clipboard features. I noticed that CTRL+C doesn't work. What can I do to copy the selection to the system clipboard? Do I have to copy through the command palette every time or is there a better way?

 works for me

"+y

Just like in vim. This is a vim plugin, so it works the same as in vim. ctrl-c is cancel in vim.

Unbinding <C-c> would also work

Fair enough, thanks for the tips!

Unbinding <C-c> would also work

Could you please give instructions on how to unbind the keys?

Since <C-c> is a default mapping, you can't unmap it. The command imap <C-c> <Nop> works as expected in the terminal (meaning CtrlC now does nothing), but it keeps its "canceling" behavior in VS Code. Not sure how to make it stop.

Ah. This issue made it clear what the problem was.


How can i use method valueOf after using format function?

The format function returns a formatted String. Then valueOf a string is the same string.


Interactive Sum

Implementation of the Interactive Sum:
1 - sum() can be called on element_type that is default-constructable and summable;
2 - sum(seed) can be called on element_type that is summable;
3 - sum(selector) can be used with a callable that returns a default-constructable and summable type;
4 - sum(selector, seed) can be used with a callable that returns any summable type;

Hi @xunilrj, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft Open Technologies, Inc. and real humans are currently evaluating your PR.
TTYL, MSOTBOT;

Thank you!


GitKraken: Update GitKraken to version 10.2.0

What type of Apps related PR is this? (check all applicable)

[ ] ✨ Add Manifest
[ ] ♻ Refactor
[x] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 🚩 Other

Description
Update GitKraken to its latest version and this should also fix version update detection.
Related Tickets & Documents

N/A
[optional] What gif/emoji best describes this PR or how it makes you feel?

🐛✨
Did you verify the followings

Add/Modify a description in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Check URLs?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Update to the latest version?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Update Hashes?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Format the json manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Did you identify extra steps
Notes in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Dependencies?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Suggestions?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Pre-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Post-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

File persistence to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

All changes look good.
Wait for review from human collaborators.
gitkraken

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


Improvements and notes on aws

Coverage remained the same at 59.704% when pulling cf5a62e9fc89a77d069ff22787f317458934d0c5 on stgleb:aws_notes into 4411c7937a00730ea6640d397be11c24dc8cbefa on supergiant:master.


Add documentation url to about section of  repos item-relationship-service

Is your support request related to a problem? Please describe.

Describe the solution you'd like
Please add url 'https://eclipse-tractusx.github.io/item-relationship-service/docs/' to About section or repos https://github.com/eclipse-tractusx/item-relationship-service

Additional context

Hey @mkanal! Do you mean add the url https://eclipse-tractusx.github.io/item-relationship-service/docs/ to the about section (description) of the repository?

Hey @almadigabor yes please

Thanks @FaGru3n for pointing this out! I've created the PR, let's wait for it to be merged.

Hey @mkanal! Changes have been made, I'm closing the issue. Please reopen is any problem comes up.


CycleDetection

Looks like CycleDetection will fail if Graph has multiple component.

@amarbattulga  thanks, nice catch 👍  I just fixed that


Adjust URL during inlining for custom elements that extend native html elements

<img src="https://avatars.githubusercontent.com/u/984921?v=3" align="left" width="96" height="96"hspace="10"> Issue by jakemac53
Originally opened as dart-lang/sdk#19933

Currently only native html elements will adjust their url attributes during inlining. We should really be doing this for custom elements which extend certain native html elements as well.
For instance if you have a custom element that extends <img> then the src attribute should still be rewritten.
See issue #411 for more history.

dupe of https://github.com/dart-lang/polymer-dart/issues/365


Constant naming separate with underscore

Now StartDate become VALUE_STARTDATE
I suggest it become VALUE_START_DATE. To separate words with underscore.

Do we agree on these cases?

Microsoft_IIS => MICROSOFT_IIS
0Value => 0_VALUE
0value => 0_VALUE
CamelCase => CAMEL_CASE
camelCase => CAMEL_CASE
Value0Ok => VALUE_0_OK
value0ok => VALUE_0_OK
valueOk0 => VALUE_OK_0
other cases ?

If yes and if you're good at regexp, do you think a regexp could ease the preg_split of these strings?
I started some tests but failed ... :(
thx

I added some cases.
This regexp matches all /([A-Z]+[a-z]*)|([a-z]+)|(\d)+/
Here it can be checked: http://regexr.com/3cpb7

Microsoft_IIS
0Value
0value
CamelCase
CamelCase00
camelCase
Value0Ok
value0ok
value01ok
15value01ok
Rirght15value01ok
valueOk0

I may look what  to do next later.

indeed, I did not know this tool, it's very good :smile:
I modified the replace pattern to _$1_$2_$3_ so 0Value becomes ___0__Value___ too, then I'll only have to:

remove any _ at the beginning and at the end
replace multiple _ to only one _

Any additional thought?
Thx

I updated replacement to: $&_
It is giving us:

Microsoft__IIS_
0_Value_
0_value_
Camel_Case_
Camel_Case_00_
camel_Case_
Value_0_Ok_
value_0_ok_
value_01_ok_
15_value_01_ok_
Rirght_15_value_01_ok_
value_Ok_0_

It is simplier and looks better
So, you need to

remove trailing underscore
replace multiple _ to only one _

I'm impressed! I'll integrate it later.

I has to use $1$2$3_ instead of $&_ as it seemed to not work with PHP. Did I miss something?
I added you as contributor, is it ok with you? Do want me to add an email?

I first time saw this $& symbol on that site instead of $1, so, I assume it can be not implemented in PHP.
I am very glad for your decision, please add this email<EMAIL_ADDRESS>


Unable to login Using LDAP authentication

My dashboard.properties file is below:-
dbname=dashboarddb
dbpassword=dbpassword
dbhost=localhost
dbport=27017
dbreplicaset=false
dbhostport=localhost:27017
server.contextPath=/api
server.port=8080
auth.authenticationProviders=LDAP,STANDARD
auth.ldapServerUrl=ldap://XXXXXXXXXX.com:389
logging.file=./logs/api.log
logging.level.com.capitalone.dashboard=DEBUG
auth.adRootDn=DC=XXX,DC=XXX,DC=XXXX,DC=com
server.contextPath=/api
server.port=8080
and i am getting following error:-
2018-07-26 01:53:21,281 INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2018-07-26 01:53:21,295 INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"]
2018-07-26 01:53:21,312 INFO  o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
2018-07-26 01:53:21,342 INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 8080 (http)
2018-07-26 01:53:21,349 INFO  com.capitalone.dashboard.Application - Started Application in 17.653 seconds (JVM running for 18.481)
2018-07-26 01:53:39,595 INFO  o.a.c.c.C.[.[localhost].[/api] - Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-07-26 01:53:39,597 INFO  o.s.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization started
2018-07-26 01:53:39,629 INFO  o.s.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization completed in 31 ms
2018-07-26 01:53:50,587 DEBUG c.c.d.a.ldap.LdapLoginRequestFilter - Request is to process authentication
2018-07-26 01:53:51,042 DEBUG c.c.d.a.ldap.LdapLoginRequestFilter - Authentication request failed: org.springframework.security.authentication.BadCredentialsException: Bad credentials
2018-07-26 01:53:51,043 DEBUG c.c.d.a.ldap.LdapLoginRequestFilter - Updated SecurityContextHolder to contain null Authentication
2018-07-26 01:53:51,044 DEBUG c.c.d.a.ldap.LdapLoginRequestFilter - Delegating to authentication failure handler org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler@1e953c11
2018-07-26 01:54:16,582 DEBUG c.c.d.a.ldap.LdapLoginRequestFilter - Request is to process authentication
Although i am entering correct Username and password.

We already tried this but still facing the same issue.

yes,i tried but that was also not working.

Instead of auth.ldapServerUrl Can you try connecting directly to AD by adding the below:

auth.adUrl= would be the same as the Url you used for auth.ldapServerUrl
auth.adDomain=XXXXXX.com

@SandhuAmrit Any luck?

Reopen if this doesn't work for you


as a user, i can click on a task and expand all of its details in a modal

lofi wireframe:

may need to do #15 when dealing with the checkbox here. the handler should be the same as user clicking the checkbox outside of the modal just in <main> (when tasks are previewed) (see below)

#18 has completed all but one properties of a task from localStorage. what is missing is the "completed" status - if the task is completed, then the checkbox should already be ticked. there may need to be more thoughts on how to design a completed task (eg whether colour of the modal background should be the same as a completed <div> etc). leaving this issue open until #15 and #17

as of #24, if a task has completed status, the checkbox is already ticked
design of the task details modal for a completed task can be explored in the future - added as a potential task in #4 for future


Enable ESM & CI/CD deploy to NPM by GitHub Actions

The ESM PR is ready to be merged:

#8

After it can pass the CI and be merged, then we can enable publish to NPM by adding an NPM_TOKEN to secret in repo settings.

ping @mukaiu @hailiang-wang
Could we add NPM_TOKEN to the repo secret so that we can enable CI/CD for publishing to NPM automatically?
And it would be great if you can also add my NPM account (zixia) to maintainer of the npm module wechaty-chatopera, thank you very much!

npm maintainer has been added.

[x] NPM_TOKEN added
[x] maintainer added
[x] ESM enabled

Close this issue


[RESOURCES] Adding blog posts?

It could be interesting to add a new section for technical blog posts, bridging the gap between papers and code. This would exclude blog post specifically linked to a single paper and they could be added next to the paper in their section as [blog].

https://implicit-layers-tutorial.org/

https://physicsbaseddeeplearning.org/intro.html


add: Fitti

My main work, Bitcoin on Twitch, in action: https://twitter.com/Fittiboy/status/1422287674048720898

I‘ve also contributed to lnurl (LUD-17):
https://github.com/fiatjaf/lnurl-rfc/blob/luds/17.md#lud-17-protocol-schemes-and-raw-non-bech32-encoded-urls

This sounds like @arcbtc can easily provide an ACK here :)
And while we are at it: Ben, you might want to add yourself too!

Ack, Fitti is most excellent and should be added to everything.
I'll add myself if I can use my LNbits donation link?

@arcbtc Yes, you can use any URL to point to a donation page of yours.

Oooo, then I would like to also be added
I started
LNbits
LNPoS https://github.com/arcbtc/LNPoS

Oooo, then I would like to also be added as well please
I started:
LNbits https://github.com/lnbits/lnbits
LNPoS https://github.com/arcbtc/LNPoS
LNTrigger https://github.com/arcbtc/lntrigger
FOSSA https://github.com/arcbtc/The-Fossa
Muffin-Man https://github.com/arcbtc/The-Muffin-Man
Where39 https://github.com/arcbtc/where39
Nostr-Twitter https://github.com/arcbtc/nostr
Tip link: https://lnbits.com/paywall/GAqKguK5S8f6w5VNjS9DfK

Can you open a PR with a JSON document like Fitti did?

@arcbtc You can submit a PR like this one. All you need to do is put together a json file with all the information in it!

Got it! Will do. thanks!


Create project and py package

Packaging Python Projects — Python Packaging User Guide
Dependencies Management in Setuptools - setuptools 60.5.4 documentation (pypa.io)
Installing Python packages from local file system folder to virtualenv with pip - Stack Overflow

In project directory:
pip install build
python -m build
pip install -e .


Add an InvokeClient and InvokeHttpClient implementation

Add an InvokeClient to the Dapr.Client library to allow the use of the Invoke API Endpoints in the same way the StateClient currently works.

Closed by PR https://github.com/dapr/dotnet-sdk/pull/185


arch linux support?

Would be fantastic if this was added. I imagine you could write a really quick AUR release that just uses the latest ubuntu and extracts it

As of #3 I've switched to statically linking the toolset (specifically, dsymutil, libtool, and lld) so Arch Linux should now be supported out of the box!


ACP: operational semantics of "propagated"?

In the current specs the word "propagated" is used a lot. Looking at Definitions the word is used, but there is no operational semantics attached to it. Is some information copied to the created resources? Is it linked to?
So in 2.1.1 Control Access of the use cases, the following is added to the ACR of the root container.
<>
  acp:access :podControl ;
  acp:accessMembers :podControl .

<#myPodAccess>
  a acp:AccessControl ;
  acp:applyConstant :podControl ;
  acp:applyMembersConstant :podControl .

(see issue 31 re applyConstant).
But in the rest of the examples we never see a GET on the ACR resources that are created with new contents of a container, so we don't know what is meant to appear there when a resource is created.
I assume that a link to the policies is created in each ACR, so that clients can find out by following their nose what the access rules are.
In that case how would a client know  what statements in an ACR can be edited and which ones cannot?

Firstly I must apologise that applyConstant no longer exists. It was replaced with applyProtected and applyLocked. I'll have to update the docs to remove that.
your statement below is correct
"I assume that a link to the policies is created in each ACR, so that clients can find out by following their nose what the access rules are."
"In that case how would a client know what statements in an ACR can be edited and which ones cannot? "
In answer to that question there are two scenarios. If the policy is contained in the ACR itself and the agent has write permission as a result of the policies specified using acp:access then they can then they can edit that policy.
If however the policy is in a separate resource (which would be the case if the policy was propagated by the server as a result of applyMembers) then they would need write access on the ACR associated with the resource in which the policy is contained in order to have permission to edit that policy.
When it comes to permissions to edit statements in a given ACR there are three scenarios
1- The statement uses acp:apply. If the agent has write access as a result of the policies specified using acp:access then they can edit the acp:apply and acp:applyMembers statements.
2- The statement uses acp:applyProtected. If the agent has write access as a result of the policies specified using acp:access on the ACR where the policy was originally applied then they can remove the acp:applyProtected statement. If the agent has write access as a result of the policies specified using acp:accessProtected on this ACR, then they can add acp:applyProtected statements. The server maintains information on where a policy was originally propagated from i.e. the first resource where a policy was applied using acp:applyMembers.
3- The statement uses acp:applyLocked. If the agent has write access as a result of the policies specified using acp:access on the ACR for the root '/' resource, then they can remove the acp:applyLocked statement. If the agent has write access as a result of the policies specified using acp:accessLocked on this ACR, then they can add acp:applyLocked statements.


refactor: aliases

Introduces support for aliases in titus-frontend by using jsconfig.json in order to make non-relative imports relative to the root of the project.
Also restructures the project a bit to avoid too many files in the root and moving them to a lib subfolder.
Supersedes #597

@simoneb is just adding jsconfig.json enough to make aliases work for ts and babel? If so, yeah, that would be a better approach to make non-relative imports relative to the root of the project. I did not see jsconfig.json used before.

@simoneb is just adding jsconfig.json enough to make aliases work for ts and babel? If so, yeah, that would be a better approach to make non-relative imports relative to the root of the project. I did not see jsconfig.json used before.

Yes, the code you see in this PR works. Look up jsconfig in Google, for TS you'd use tsconfig but the idea is the same

@simoneb is just adding jsconfig.json enough to make aliases work for ts and babel? If so, yeah, that would be a better approach to make non-relative imports relative to the root of the project. I did not see jsconfig.json used before.

Yes, the code you see in this PR works. Look up jsconfig in Google, for TS you'd use tsconfig but the idea is the same

Not sure if I understand what jsconfig.json does. Is it VSCode only thing ? Seems like it changes ts config but that about webpack ? Sorry I don't have time right now to test it out.

@simoneb is just adding jsconfig.json enough to make aliases work for ts and babel? If so, yeah, that would be a better approach to make non-relative imports relative to the root of the project. I did not see jsconfig.json used before.

Yes, the code you see in this PR works. Look up jsconfig in Google, for TS you'd use tsconfig but the idea is the same

Not sure if I understand what jsconfig.json does. Is it VSCode only thing ? Seems like it changes ts config but that about webpack ? Sorry I don't have time right now to test it out but I can look later or tomorrow

https://create-react-app.dev/docs/importing-a-component/#absolute-imports


Ages: Prevent softlock when exiting Maku Road without shovel

Since Keysanity allows the player to backdoor past Maku Road including the keydoor, they could also leave it through the south exit - even without shovel.
Similar to the water reset on exiting D7, I adjusted the code to set a room flag for the outside room which removes the dirt when set.
(I haven't checked if one of the tileSubTable entries could be saved by a static replacement, considering the amout of dirt piles on that screen I have my doubts.)
Image of how it looks like exiting the cave:

Checked the rooms in the disassemly and found that the dirt pile tiles were single bytes unaffected by compression. Added the static replacement and removed the relevant entry from tileSubTable.


Web interface AJAX issues

Hello all,
I'm not sure if I'm missing something obvious but I've been trying to get this working for a number of hours now and I don't know what step I appear to be missing or doing wrong that's causing AJAX errors. I've followed the manual installation guide as outlined, provided any prerequisites and yet still when I try to load the settings page:

If I complete any of the fields and try to Update, instead of 2 AJAX errors I get 1 "submitted to Endpoint" response and 1 AJAX error popup. But refreshing the page simply wipes all the fields and I'm back to where I started. I'm deploying on Ubuntu Server 16.04.

Hey Psylence7,
Best way to troubleshoot an issue such as this is to check your web server logs.  You should see error logs when the web server attempts to proxy the connection to the backend.  This will tell you if you're having issues like a misconfigured IP address or port in the web server proxy configuration.
Otherwise, there's a handful of other issues that it could possibly be such as the backend is not running or there's something inhibiting the network connection.

You probably have this fixed now, but I had the same issue and I just had to start gosint again.


Support all cases for default value for pgsql db driver

https://www.postgresql.org/docs/current/ddl-default.html
QueryBuilder should parse default value correctly.
Default value can be:

Integer (0, 10000)
Double (0.22, 222.00)
Boolean (true/false)
String (or all available characters) in quotes ('123', 'text', 'https://google.com/?q=test#')
Function (next_val('serial'), my_func(column, 'value'))

I've searched all available cases and found something in Rails repo
What steps will reproduce the problem?
Needs to cover all described cases above (ex. write many regexps)
What is the expected result?
All cases described above are worked
What do you get instead?
Worked only one case: when in default value has following format: DEFAULT '\w*' :cry:
Additional info

Q
A

Yii version
2.0.*

PHP version
All

Operating system
All

It's also possible to define array not only as  '{}'::integer[] and '{1}'::integer[], but ARRAY[]::integer[] and ARRAY[1].
Plus you should convert function to expressions and somehow deal with them in validators... It's very deep rabbit's hole.

Plus you should convert function to expressions and somehow deal with them in validators... It's a very deep rabbit's hole.

No. Validators have nothing to do with this.
This issue only about parsing default value.

@xepozz well, there is ActiveRecord::loadDefaultValues()

I think needs to open new issue and link it to this.


Update version: FontForge.FontForge version 20230101

Pull request has been created with WinGet Automation 🪟📦🤖
Microsoft Reviewers: Open in CodeFlow

Hi @vedantmgoyal2009,
This manifest adds Apps and Features entries that aren't present in previous PR versions. Should these entries also be added to the previous versions?
(Automated response - build 582.)


ImportError: cannot import name load_from_yahoo

Hi@quantopian
My OS is ubuntu16.04, python version 2.7.12,
I installed zipline using command "pip install zipline"
then I tried to import load_from_yahoo using "from zipline.utils.factory import load_from_yahoo"
at the moment, I encountered this error.
"ImportError: cannot import name load_from_yahoo"
How can I solve this problem?

on windows8.1, conda4.2.0, python3.5
Installed zipline using "conda install -c Quantopian zipline"
but same result("ImportError: cannot import name load_from_yahoo")

Hi @gustavkkk. load_from_yahoo actually exists in zipline.data.loader and needs to be removed (x-ref #1805).
You can see the Release Notes for why we removed yahoo-related code.

Thank you very much, @FreddieV4 .  zipline.data.loader solved the issue.
Btw, when I run the following command
zipline_logging = logbook.NestedSetup([
logbook.NullHandler(level=logbook.DEBUG, bubble=True),
logbook.StreamHandler(sys.stdout, level=logbook.INFO),
logbook.StreamHandler(sys.stderr, level=logbook.ERROR),
])
,I encountered the following error.
TypeError: init() got an unexpected keyword argument 'bubble'
I looked into NullHandler. It has bubble argument. Could you help me solve this problem?

Hi @gustavkkk in regards to your logging issue, it looks like logbook.NullHandler() does not have a bubble parameter.
See the docs here

@FreddieV4 . Thank you for your answer.

Going to go ahead and close this 🙂


Add Filter for Non-Heavy to Heavy

Is your feature request related to a problem? Please describe.
Adding a filter, that allows to inhibit non-heav to heavz atom changes, could be useful for some folks!
Describe the solution you'd like
There should be a filter function no heavy-to-nonheavy
Additional context
some FE code, can not handle the bonded change.

This filter is already present! https://github.com/OpenFreeEnergy/kartograf/blob/bd63ed4efa1327b612b5293151fca4490256a923/src/kartograf/filters/element_change.py#L10


Containers dashboard heatmaps shows metrics from last 24 hours only

@simon3z @kbrock Please review

@zeari lol
If you have metrics.includes(:resource), then you need to have metrics.select('DISTINCT ON (metric_rollups.resource_id) metric_rollups.*') - so keep them together. But you just split them up?

If you have metrics.includes(:resource), then you need to have metrics.select('DISTINCT ON (metric_rollups.resource_id) metric_rollups.*') - so keep them together. But you just split them up?

Ah wait, dont I need distinct only in order to make sure I dont get 2 rollups for the same resource?
I dont think I have to use include(:resource) for that.

Thanks - misunderstood. distinct is for the data in the table, not for the includes.


final bundle size is quite large

Feel free to close this out if things are working as intended, but in a fresh app created with create-react-app requiring this library adds almost 2 MBs of code to the final bundle size. To contrast, adding the amazon-cognito-identity-js library adds only 0.08 MBs.
I would imagine the scope of what each library does is drastically different, but I'm wondering if there is something else that can be done to cut back on the final bundle size. Possibly moving some of the more barebones methods to their own module that we can include directly.

This additional increase to the bundle may be a side effect of running it through webpack / babel as well. I'm a little light on exactly why it's happening, just thought it worthwhile to bring it up since I didn't see it mentioned anywhere else.

You probably end up including the whole AWS SDK.
Basically this is the way you build only the necessary clients for the AWS SDK:
http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/building-sdk-for-browsers.html
node dist-tools/browser-builder.js
and specify the services you want to include.

If this library includes the full AWS lib (or it was implicitly done via webpack) that may be it. My only other AWS require in the app was aws-sdk/global which added about 0.6 MBs.

I think you are correct about the entire AWS lib being included. I have some code that avoids webpack and includes the minified version of this lib in another script tag and that was causing errors until I brought in the aws-sdk/clients/cognitosync library. When I was requiring this library through webpack before, it did not give the errors about the CognitoSync client.
I'm not sure where webpack / babel-loader is trying to pull in the full AWS library from this dist file's source though.

Ah, looks like a new NPM version was not published after the change to remove the bulk of AWS sdk from the minified version of this lib: https://github.com/aws/amazon-cognito-js/commit/47f6b8a52d703d9249e4a63ffcadc5a896e6c972
It would probably work for me as expected after a new release is cut that includes this fix.

any chance we could get a new version of this package published to NPM?  I'd love to get the bundle size fix that's been discussed here, and even though putting a GitHub commit hash in my package.json is supported and works it still feels a little dirty to have it there.

@orzechowskid whats the dependency look like in your package.json?
I'd like to shrink my bundle as well  =)

@DavidWells b57038c is the latest commit to amazon-cognito-js as of today:
"dependencies": {
-  "amazon-cognito-js": "^1.1.0"
+  "amazon-cognito-js": "aws/amazon-cognito-js#b57038ca817981a60bd8b26c2ddaff27c81b908a"
}

Just been looking at my bundle size and it seems #38 hasn't been released to NPM. Can someone release a the latest code to NPM?

@itrestian can we please get a new version of this packaged published with the changes?
I'd prefer not to pull from a github commit in my package.json


Where is the 3rd edition?

Yes, the guidelines are great, but they are nearly a decade old.  Has software plateaued?  Has nothing changed in 10 years such that a 3rd edition is unnecessary?  I have a tattered old copy of the 2nd edition and every time I picked it up it feels like I need to be wearing those gloves that people use in the antique book vault.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6372c771-955d-d043-7774-fcd7ff20b05c
Version Independent ID: 15347b19-b2bf-640b-9d3f-982b970f9936
Content: Framework Design Guidelines
Content Source: docs/standard/design-guidelines/index.md
Product: dotnet
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Agree. We need 3rd edition, specially for .Net Core (and ASP.NET Core)

Thanks for your feedback, @bobrundle. This content, though, is reprinted with the permission of its publisher, Pearson Education. We have no control over whether there will be a third edition. Given that, I'm going to close this issue, since it doesn't directly impact our documentation set.


Use voting validations for proposals

Related to https://github.com/snapshot-labs/snapshot/issues/3466

Is this PR ready for review?


fd: 4.0.0 -> 5.0.0

Motivation for this change
https://github.com/sharkdp/fd/releases/tag/v5.0.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Looks good. man page works too and I love it !

Thanks!


Fixed jni header warning logic

This should be pretty self explanatory. Simply moves the warning outside the loop.

LGTM.


Move DFX memory mapped regions to the mem_dict

Work done in this PR

Include bram controller in the ip_dict
I think it would be nice if the bram controller is included in the ip_dict so the read and write methods from DefaultIP can be used directly.
Move DFX memory mapped regions to the mem_dict
This goes hand in hand with #1352

This fix Xilinx/PYNQ-DEV#361

Codecov Report

Merging #1331 (fa6e247) into image_v2.8 (b85f453) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head fa6e247 differs from pull request most recent head bed1dee. Consider uploading reports for the commit bed1dee to get more accurate results

@@              Coverage Diff               @@
##           image_v2.8    #1331      +/-   ##
==============================================
- Coverage       46.47%   46.46%   -0.01%
==============================================
  Files              28       28
  Lines            4953     4954       +1
  Branches          971      972       +1
==============================================
  Hits             2302     2302
- Misses           2594     2595       +1
  Partials           57       57

Impacted Files
Coverage Δ

pynq/pl_server/hwh_parser.py
17.57% <0.00%> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

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

Move this to draft until we have a better solution for the AXI4-Lite interfaces on partial regions

TODO: test with HDL module in IPI


f_write without advancement of buffer pointer

Hello;
Is it possible to make use of f_write (or feasibly modify the code without too much intrusion) to pull data from a data address without having it internally advance the address it pulls from?
Ex:

Taking data from ADC Fifo address
Taking data from SPI read/write data register address
...

I'm unsure as to whether your library has modified FatFS extensively (so I'm asking here first! d:) ... I'm also quite new to C/C++ thus you'll have to forgive any erroneous terminology I use...
If this question isn't suited for the library (and is instead more suited for FatFS itself) please disregard and close this issue- I just figured it was worth a shot! Thanks!

I haven't modified FatFS at all (except for the configuration file), but I think you might find what your looking for in the SD/SPI block device driver (what FatFS calls the "storage device control module"). Specifically, have a look at spi_transfer in  sd_driver/spi.c.

Thanks for the hint Carl! Your hint is just what I needed to get me started! I'll report back at some point (I've many other priorities...!) on the results.
Much obliged! ^_^

Update: I wasn't able to get this working in the end (the SD card didn't write when I just slapped it with the ADC without properly pacing it/etc...) but I managed to get something going to capture the full 499.999 kHz of the Pi Pico ADC...
My quasi-solution is here under "f_write_audiobuf" in case anyone finds this over google
https://github.com/callous4567/vespertilio/blob/main/SRAM_SD_Testing/drivers/FatFs_SPI/ff14a/source/ff.h
At the moment I've been able to write audio files running at 499.999 kHz @ 16b that are around 1 GiB in size (I haven't tested anything else... realistically I am only using max. 250 mB files anyway.) That's with the SD card clock at 25 MHz & the Pico at the usual 125 MHz. The delay between 250~ish mB files is roughly 1-2 seconds to f_close, initiate a wave header, etc, which is satisfactory enough for me. I hope someone else finds this useful!
Thanks again for the library @carlk3 it really is fantastic- I don't know which parts you wrote or modified but it's very cleanly written! ^_^

Very interesting project! Impressive performance. You've got me thinking again about making a version of this library that uses the 4-wire SDIO protocol instead of SPI, for much greater speed. Of course, that would consume more GPIO pins.

Very interesting project! Impressive performance. You've got me thinking again about making a version of this library that uses the 4-wire SDIO protocol instead of SPI, for much greater speed. Of course, that would consume more GPIO pins.

Aye, SDIO would be fantastic ^_^ - I'm trying to see how far I can get single-bit SPI on this thing but it seems like getting the clock past 33 MHz isn't working... trying at 40 MHz or 50 MHz doesn't seem to get anywhere (I get an Invalid CRC error- I assume I need to enable High Speed Mode but I have no clue.)

I'm trying to see how far I can get single-bit SPI on this thing but it seems like getting the clock past 33 MHz isn't working... trying at 40 MHz or 50 MHz doesn't seem to get anywhere (I get an Invalid CRC error- I assume I need to enable High Speed Mode but I have no clue.)

You might be hitting some electrical limitations. It would be nice if you could put an oscilloscope on the SPI signals. You could experiment with the drive strength. For example, in hw_config:
        .set_drive_strength = true,
        .mosi_gpio_drive_strength = GPIO_DRIVE_STRENGTH_2MA,
        .sck_gpio_drive_strength = GPIO_DRIVE_STRENGTH_2MA,

        .ss_gpio_drive_strength = GPIO_DRIVE_STRENGTH_2MA,

It can go as high as GPIO_DRIVE_STRENGTH_12MA.
The line termination can make a big difference. Take a look at the CM1624. It is a tiny surface mount device meant to go into phones, I think, but its ELECTRICAL SCHEMATIC is informative. I've had pretty good luck with simply inserting series resistors (say, 40Ω) near the SD card socket. You can get ganged resistors to make that easier.

Aye- it likely is electrical as you say. Given that it worked fine at 44 MHz I am just assuming 3V3 signalling is enabled fine- otherwise it wouldn't want anything past 25 MHz (my understanding at least...) Sadly I don't have an oscilloscope- just a cheap logic analyzer that caps out at 12 MHz 😅.
My current PCB doesn't have any sort of termination sadly- it's my first PCB... has a big fat bit of perfboarded stuff on the back because of some mistakes I made on it! The next version (3rd, technically- I skipped wasting parts on #2 since it took so damn long to arrive and they add up to £50-ish) is currently sitting in Hong Kong celebrating lunar new year 😐.
It has some 0605 pads for source termination on it as a lot of folk (including you now!) have recommended... hopefully that makes the difference- I'll make sure to report back on whether it fixes the issue (after lunar new year I suppose xD) ...

Edit: the addition of termination didn't get it up to 50 MHz sadly... I won't be able to experiment with this more without a scope to see whether the signals get through well enough. The exact mode of failure is (specifically)
sd_read_block: Invalid CRC received 0xffff result of computation 0xded0
I'll just stick to 30-40 MHz!

Did you try messing with the drive strength? I've found that, paradoxically, sometimes lower is better. The very fast slew rate of the higher drive strengths is more likely to cause overshoots and reflections and stuff. Of course, to run at that speed you do need a darn fast slew rate. I don't know if there are enough numbers in the data sheets that you could figure it out analytically.

Aye, SDIO would be fantastic ^_^
I've added support for 4-bit wide SDIO in a new branch:
https://github.com/carlk3/no-OS-FatFS-SD-SPI-RPi-Pico/tree/sdio

Did you try messing with the drive strength? I've found that, paradoxically, sometimes lower is better. The very fast slew rate of the higher drive strengths is more likely to cause overshoots and reflections and stuff. Of course, to run at that speed you do need a darn fast slew rate. I don't know if there are enough numbers in the data sheets that you could figure it out analytically.

Aye I set it to the min and the max- neither fixed it. At this point I have most of my other code working fine and I only really need 1 MBps write in the worst-case-scenario so I'm safe enough running at 25 MHz. 50 would have been cool though ;-;

Aye, SDIO would be fantastic ^_^
I've added support for 4-bit wide SDIO in a new branch:
https://github.com/carlk3/no-OS-FatFS-SD-SPI-RPi-Pico/tree/sdio

Thanks! :D My next project will be more image-based (and so might need higher write speeds) and I'll keep the SDIO functionality in mind for that :p


Add FIR model in glm

This isn't being ported over from moss at the same time as the gamma HRF model.

Closed by #169


[Question] Install with Packer

Hello, this plugin looks great. Do you have some configuration to make it work with Packer?

use 'vim-denops/denops.vim'
use 'Shougo/ddc.vim'


Add RelativeAverageSpectralError

What does this PR do?
This PR adds a new metric Relative Average Spectral Error (RASE), and Root Mean Squared Error using Sliding Window the metric RASE is based upon.
Resolves part of #799
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hi @Piyush-97, thanks for wanting to contribute.
However, I cannot see that you have made any changes. Is that correct?

Yes, Sorry about that I was busy with some other work and couldn't give mush time to this.
You can assign this to someone else if this need to be completed fast.
Sorry again.

Hi @Piyush-97, thanks for wanting to contribute. However, I cannot see that you have made any changes. Is that correct?

Yes, Sorry about that I was busy with some other work and couldn't give mush time to this.
You can assign this to someone else if this need to be completed fast.
Sorry again.

@Piyush-97 is it still WIP or ready to go? :rabbit:

@Piyush-97 is it still WIP or ready to go? 🐰

I've been working on this PR.. I'll mark the PR as ready for review and try to find out where the problem with failing tests is.

@Piyush-97, how is it going here? :rabbit:

@Piyush-97 how is it going here? :rabbit:
we are considering a new feature release next week, do you think we can finish this addition by then so it will be included? :pray:

@Piyush-97 I think we are on a good path, mind checking the collisions and failing tests?

@Piyush-97, could you pls check and resolve conflicts? :otter:

Found out we have a bug in uniform_filter, which returns inconsistent results with a scipy implementation of this filter. Trying to figure out what's wrong there

Found out we have a bug in uniform_filter, which returns inconsistent results with a scipy implementation of this filter. Trying to figure out what's wrong there

interesting, do you have a draft PR with debugging? :rabbit:

@Borda I'm not sure, how they compute uniform_filter for multi-channel images

Already found a proper way how to compute that. I'll clean the code tomorrow and push it here :]

Awesome! :tada:

Already found a proper way how to compute that. I'll clean the code tomorrow and push it here :]

@stancld so what is the way we can finish it? :otter:


Problems with the raster.generate function ?

@Mary-h86 I recently generated my own tiles from a drone image with QGIS as you recommended in the issue #34
Here the output 👇

However, when I run my code especially in raster.generate(2) in Google Colab I have problems, first it does not generate the structure.json as in the reproducible example, so I wonder how can I implement my own image with tile2net in this part?

The location parameter you are passing is incorrect geographically and not in the right order! your latitude should be positive (+12.117778919,+12.116177610) and your coordinates should be passed in"lat ,lon, lat, lon" order. The location you entered is not valid, that is why the tool cannot build the correct grid to pair your tiles with it.
We highly recommend reading the two preparation guides carefully and if you are unsure, always check your coordinates with google maps to make sure you are passing the correct values.

I have just put the coordinates according google maps, but I have the same problem.
We have negative coordinates for Peru. How would I deal with that?

The problems lies in the mismatch between your tile and the location you are passing.
Based on the tile coordinates (tile numbers) from your screenshot, the lat and long are in the (12.117, -77.02) vicinity.
from tile2net.raster.tile_utils.genutils import num2deg
num2deg(299945,488726, 20)

(12.117879519823527, -77.02205657958984)

This means that your tiling was done incorrectly.
Did you project your images to 4326 first before tiling?
What is the extent shown on your QGIS extent when you want to pass it to create the tiles?

I have generated my tiles using QGIS and boundary box I have taken from the qgis tool itself, as shown in the screenshot.
I hereby attach the image used.

drone image

@ambarja
Thank  you for providing the images.
As we discussed yesterday, the problem is that your tile numbers (x,y) tiles do not match your location.
The tile numbers shown in your screenshot correspond to a region in the opposite latitude (positive lat) compared to your region. The raster creates a grid based on the coordinates you passed, and it cannot locate the correct tiles to stitch since the numbers do not match.
Looking at your code, your input_dir argument does not seem to be correct, unless you changed the name and folder structure.
I created the tiles using QGIS:
QGIS_Tiles
and did the stitch, which works (stitched are also there)
Lets say you have the tiles saved in a folder called test (use the ones attached):
location = '-12.11760696,-77.02180781,-12.11635790,-77.02005634'
raster = Raster(
    location=location,
    name='lima_test',
    input_dir='./test/20/x/y.png',
    output_dir = './test',
    zoom = 20
)

Now you can easily check what tile coordinates your Raster object expects:
raster.xtile min xtile

299945

raster.xtilem max xtile

299950

raster.ytile max ytile

559849

raster.ytilem   min ytile

559845

So the ytiles (the name of your png files ) should be between 559845 and 559849, which based on your screenshot, they were not.
One important point to note is the model is trained on the US cities where sidewalks generally have different materials compared to roads and the urban fabric is also different. The detection model unfortunately may not work as well in  your region, which is something we cannot address at the moment but it is in our extend our training data to be more generalizable.
Good Luck!

@Mary-h86 First of all thank you very much for your support, I understand that the models were initially trained in the USA, therefore the results in other areas may not be as adequate.
Is there a way to improve the model?
Thank you very much for everything.

@ambarja
Happy to help and glad to see that you are making the effort to map the pedestrian infrastructure in your area! Great job!
Regarding improving the model, this means additional training on new regions and for that, we need training data from your region: the orthorectified imagery together with the planimetric polygons of roads, sidewalks and crosswalks,  created based on the imagery so we can generate the training labels. Once we have that, I can go ahead and train the model on the new dataset.
Regarding QGIS, to be honest, I only use it for tiling purposes, and the version I am using now is : 3.30.3-'s-Hertogenbosch - QGIS code revision c006973ad1 on linux. I am not sure in what way your output is different, but i could see that the tiling was not done correctly for some reason. Our plan is to implement our own version of tiling later, as part of Tile2Net, so users are nor dependent on another tool to tile up their large images.
Since this was not a problem with Tile2Net and hopefully it is resolved now, I close this issue!


Add app.hipvisit.com pointing to application, hipvisit.com pointing to landing page

might need to change the convention to hipvisit.com/app - SSL certificate for wildcard domains is a bit expensive


refactor/updates

Migrate from jest to vitest;
update dependencies;
update eslint rules;
fix lint errors;
update build workflow;
update github workflows;

Codecov Report

Merging #21 (9b64ac9) into main (ceb736a) will increase coverage by 0.32%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main       #21      +/-   ##
===========================================
+ Coverage   99.67%   100.00%   +0.32%
===========================================
  Files          17        17
  Lines         306       942     +636
  Branches       69       183     +114
===========================================
+ Hits          305       942     +637
+ Misses          1         0       -1

Impacted Files
Coverage Δ

src/index.ts
100.00% <100.00%> (ø)

src/operations/detect-repeating-decimal.ts
100.00% <100.00%> (ø)

src/operations/index.ts
100.00% <100.00%> (ø)

src/operations/power.ts
100.00% <100.00%> (ø)

src/operations/ratio-to-repeated-decimal.ts
100.00% <100.00%> (+4.76%)
:arrow_up:

src/operations/to-string.ts
100.00% <100.00%> (ø)

src/parser/index.ts
100.00% <100.00%> (ø)

src/parser/matchers.ts
100.00% <100.00%> (ø)

src/parser/parser.ts
100.00% <100.00%> (ø)

src/parser/parsers-object.ts
100.00% <100.00%> (ø)

... and 21 more

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


 Please STOP asking for feedback.

If you are getting too many of the prompts, you can click on the gear in the pop-up and choose "Don't Show Again".


Finish replacing Daemon with State also in higher-level entity APIs

All higher-level entry points to entity-related functionality now
takes a State parameter as opposed to Daemon. With this commit, only
the REST-API layer is still depending direcly on Daemon, and that will
be squashed too in coming branches, effectively paving the ground for
new unit-testing possibilities.
Signed-off-by: Free Ekanayaka<EMAIL_ADDRESS>

jenkins: test this please

jenkins: test this please

jenkins: test this please


Add node 12.12.0 support for browsers

Changes
Adds base/node12.12.0-chrome77 directory
Configures Dockerfile, README and build with proper node version
Updates test to pick up on 12.12.0 image

Node 12.13.0 is the new node LTS version, might be worth skipping 12.12.0

That make sense, i will create the base for 12.13.0 and update the PR once it is realized

PR updated

adding it in #170 so closing this pr for now


feat: parsing nullable regex pattern

The library does not support nullable regex pattern afaik. And I happen to have a use case for it.
This PR should be able to parse such patterns, e.g:
"12".Extract<(int, int, int)>(@"(.)(.)(.)*"); // would throw "Null object cannot be converted to a value type."
"12".Extract<(int, int, int?)>(@"(.)(.)(.)"); // would throw "Regex didn't match"
"12".Extract<(int, int, int?)>(@"(.)(.)(.)*"); // would return (1, 2, null).

Wow, there was some misunderstanding from me. And it turns out this feature is already implemented.
My old regex threw a FormatException and I have no clue still, it matched though.
Adjusting the regex slightly and it extracts fine now.
// match but thrown when parsing
// System.FormatException : Input string was not in a correct format.
"1 2".Extract<(int, int, int?)>(@"(\d+)\s+(\d+)\s*(\d*)");

// new regex parsed fine
"1 2".Extract<(int, int, int?)>(@"(\d+)\s+(\d+)(?:\s+(\d+))");


Run test on SauceLabs.

Coverage remained the same at 95.21% when pulling db3b0fb210f77ece5518721d4a1aadf859656024 on saucelabs into 27d43e7f100a8db920c75a5549b255302f7dc198 on master.

Coverage decreased (-0.5%) to 94.743% when pulling 7b2c233250400eb0286fa21c0c6465ca6da7a758 on saucelabs into 27d43e7f100a8db920c75a5549b255302f7dc198 on master.

Coverage decreased (-0.5%) to 94.743% when pulling 827ff5dea97f2ed82d29d0a4fb7fc4b1afd69ed1 on saucelabs into 27d43e7f100a8db920c75a5549b255302f7dc198 on master.

Coverage remained the same at 95.21% when pulling f078b0ef43d9b399baedf063abd1430fee099fdf on saucelabs into 27d43e7f100a8db920c75a5549b255302f7dc198 on master.

Coverage decreased (-0.5%) to 94.743% when pulling d412c755c5083dbbf96c6229a27edde70171c7a9 on saucelabs into 27d43e7f100a8db920c75a5549b255302f7dc198 on master.


Pass updated models in the Collection "update" event

Fixed a couple bugs, addressed the nits and preformed the rebase for https://github.com/jashkenas/backbone/pull/3711. Should be a quick review /cc @akre54
Closes #3711; Fixes #3700

:thumbsup:

Ping #3921


Data Service Deployment Tests

What this PR does / why we need it: This PR has the PDS testcase to deploy data services
No of scenarios: 4

Deployment OnDemand, Deploy desired Image of a Data Service Version
Ex ENV Param
export DEPLOY_ALL_DATASERVICE=false
export DEPLOY_ALL_VERSIONS=false
export DATA_SERVICE=Redis
export DS_BUILD="27396ca"
export DS_VERSION="7.0.4"

Deployment OnDemand, Deploy All Supported Versions and supported Images of a Data Service
Ex ENV Param
export DEPLOY_ALL_DATASERVICE=false
export DEPLOY_ALL_VERSIONS=true
export DATA_SERVICE=Redis

Deploy all data services with all available Versions and Images
Ex ENV Param
export DEPLOY_ALL_DATASERVICE=true

Deploy all Images of data service version
Ex ENV Param
export DEPLOY_ALL_DATASERVICE=false
export DEPLOY_ALL_VERSIONS=false
export DEPLOY_ALL_IMAGES=true
export DATA_SERVICE=Redis
export DS_VERSION="7.0.4"

Testcase Execution logs:
https://gist.github.com/Madanagopal19/afc68fd8c96844946fa639a198434c73

Regression run Passed - https://jenkins.pwx.dev.purestorage.com/job/Dev/job/torpedo-dev01/176/parameters/


Configuring docker live restore mode

As per https://docs.docker.com/engine/admin/live-restore/ this enables live-restore mode for docker, ensuring pods don't die when a docker upgrade hits the wire

Hi @kim0, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@msftclas I already signed the cla ? How can I convince you to remove the tag :)

Did you just recently sign in? I thought it used to have a way to re-trigger without needing to close/reopen...

What cases does this help? Are you saying that unattended upgrades will actually restart the docker daemon rather than waiting for a reboot?

@colemickens .. Yes I just signed the CLA after pushing this PR .. I guess it didn't feel it
This helps in the following way. Assuming a docker update (security?) comes out, and you apply it. I believe apt will restart docker daemon for you. If it doesn't I would still restart it to really apply the update. Currently restarting the docker daemon kills all running containers/pods (sigh!). With this live-restore option, running pods are not killed. Instead they are swiftly handed over to the new docker daemon version.

@kim0 Does this option actually change the behavior in the reboot case - I would assume they're not checkpointing/restoring on reboot?
I don't want to take this unless someone can point me to docs that say apt is going to auto-restart docker. That sounds a bit unexpected to me.

@colemickens .. This mode changes nothing in the reboot case. A reboot is a reboot, and everything comes up fresh as usual. This mode does not do persistent checkpointing/restoring of containers, instead it only refers to passing of control of a running container from old dockerd to newer dockerd without killing the running container.
From my memory, I remembered upgrading docker-engine did kill running containers (which is why I always use that option on my servers, and which is why docker folks created the live-restore to begin with) .. However since you asked, I spun up a VM to verify. I found that it does kill running containers upon docker-engine upgrade. A full log is attached
dockerupgrade.log.txt

@kim0 Thank you very much for digging in and showing my assumption to be wrong.
I'm no longer opposed to this and am okay with the change. I will Approve this now and merge tomorrow if there are no objections.
Thanks!


Synology error after upgrading to 0.55 (JSON object must be str, not 'bytes')

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.55
Python release (python3 --version):
Python 3.5.3
Component/platform:
homeassistant.components.camera
Description of problem:
After upgrading to 0.55, an error is thrown by surveillance_station.py.
Expected:
No error.
Problem-relevant configuration.yaml entries and steps to reproduce:
camera:
  - platform: synology
    url: https://<IP_ADDRESS>:5001
    username: hass
    password: !secret syno_password
    verify_ssl: False

Traceback (if applicable):
2017-10-11 21:34:06 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform synology
Traceback (most recent call last):
  File "/home/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/synology.py", line 54, in async_setup_platform
    timeout=timeout
  File "/home/homeassistant/lib/python3.5/site-packages/synology/surveillance_station.py", line 9, in __init__
    self._api = Api(url, username, password, timeout, verify_ssl)
  File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 56, in __init__
    self._initialize_api_info()
  File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 66, in _initialize_api_info
    response = self._get_json(self._base_url + 'query.cgi', payload)
  File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 189, in _get_json
    content = json.loads(response.content)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

I've got a slightly different stack trace with hassio. It's not showing the same final error but just a 400 status returned.
2017-10-12 08:01:46 ERROR (MainThread) [homeassistant.components.camera.synology] Error when initializing SurveillanceStation
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/synology.py", line 54, in async_setup_platform
    timeout=timeout
  File "/usr/lib/python3.6/site-packages/synology/surveillance_station.py", line 9, in __init__
    self._api = Api(url, username, password, timeout, verify_ssl)
  File "/usr/lib/python3.6/site-packages/synology/api.py", line 57, in __init__
    self._initialize_api_sid()
  File "/usr/lib/python3.6/site-packages/synology/api.py", line 83, in _initialize_api_sid
    response = self._get_json(api['url'], payload)
  File "/usr/lib/python3.6/site-packages/synology/api.py", line 192, in _get_json
    raise ValueError('Invalid or failed response', content)
ValueError: ('Invalid or failed response', {'error': {'code': 400}, 'success': False})

Should be fixed in 0.55.1 or 0.56 https://github.com/home-assistant/home-assistant/pull/9754
In the meantime, you can use custom_component with the fix.

Great, thank you!

Thanks @arsaboo
Could you guide me to some docs how to use custom_component in the meantime? If that's possible at all on hassio

@DavidDeSloovere Just add this synology.py file to custom_components/camera/

I get a different error when using your file as a custom component:
Oct 15 17:52:06 nucleus hass[32310]: 2017-10-15 17:52:06 ERROR (MainThread) [custom_components.camera.synology] Error when initializing SurveillanceStation
Oct 15 17:52:06 nucleus hass[32310]: Traceback (most recent call last):
Oct 15 17:52:06 nucleus hass[32310]:   File "/home/homeassistant/.homeassistant/custom_components/camera/synology.py", line 54, in async_setup_platform
Oct 15 17:52:06 nucleus hass[32310]:     timeout=timeout
Oct 15 17:52:06 nucleus hass[32310]:   File "/home/homeassistant/lib/python3.5/site-packages/synology/surveillance_station.py", line 9, in __init__
Oct 15 17:52:06 nucleus hass[32310]:     self._api = Api(url, username, password, timeout, verify_ssl)
Oct 15 17:52:06 nucleus hass[32310]:   File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 56, in __init__
Oct 15 17:52:06 nucleus hass[32310]:     self._initialize_api_sid()
Oct 15 17:52:06 nucleus hass[32310]:   File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 82, in _initialize_api_sid
Oct 15 17:52:06 nucleus hass[32310]:     response = self._get_json(api['url'], payload)
Oct 15 17:52:06 nucleus hass[32310]:   File "/home/homeassistant/lib/python3.5/site-packages/synology/api.py", line 191, in _get_json
Oct 15 17:52:06 nucleus hass[32310]:     raise ValueError('Invalid or failed response', content)
Oct 15 17:52:06 nucleus hass[32310]: ValueError: ('Invalid or failed response', {'error': {'code': 400}, 'success': False})

@jradwan 400 means invalid password, make sure you have the right credentials in ur config

btw fix for the original issue is fixed in 0.55.1 which’s just released

I upgraded to 0.55.1 (thanks) but am still getting the 400 error. My credentials haven't changed, and I'm using secrets.yaml to store the passwords. Nothing else changed in my config.
But anyway, this issue is apparently fixed, so thanks for that. Will have to research this new problem separately. I see now that @DavidDeSloovere was having the same error.

I added a new issue for the other problem: #9908 @jradwan @DavidDeSloovere

Thanks, @mbrrg. I've jumped in over there.

The typo issue was fixed in 0.55.1 so I'm closing this.


Datatables show only 25 rows maximum in overrided view

#- Laravel Version: 5.3

Voyager Version: 0.9.35

Description:
I created a view to override the default voyager's view. The custom view is completely based on the way that voyager's views are built.
In a voyager view all the rows are called, in my custom view i can only see 25 records
Steps To Reproduce:

@dpapala so what's the problem?

Please let us know the problem and the content of your view.
Closed until provided.

The problem is that i have 200 records and i can only see 25. The pagination works fine. Besides the pagination, the maximum rows that i can see is 25

Below is the code of the view
`@extends('voyager::master')
@section('page_header')
Καλύψεις

 Προσθήκη νέας

@stop
@section('page_header_actions')
@stop
@section('content')

 field_1  field_2 field_3 field_4Actions

                            @foreach($coverages as $item)

                                    {{ $item->field_1 }}
                                    {{ $item->field_2 }}
                                    {{ $item->field_3 }}
                                    {{ $item->field_4 }}

id }}" id="delete-{{ $item->id }}">
                                             Delete

                                        id) }}" class="btn-sm btn-primary pull-right edit">
                                             Edit

                                        id) }}" class="btn-sm btn-warning pull-right">
                                             View

                            @endforeach

                <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>

 Are you sure you want to delete
                    this?

                <form action="coverages" id="delete_form" method="POST">
                    <input type="hidden" name="_method" value="DELETE">
                    <input type="hidden" name="_token" value="{{ csrf_token() }}">
                    <input type="submit" class="btn btn-danger pull-right delete-confirm"
                           value="Yes, Delete This">
                </form>
                <button type="button" class="btn btn-default pull-right" data-dismiss="modal">Cancel</button>

@stop
@section('javascript')

Please try update to the latest version @dpapala


Lint and documentation clean up

Normally I avoid making such commits, but I think this would be needed some time.
First, there are several documentation clean ups. Using more recent ExDoc I've managed to better separate sections in hexdocs. Now we have three major sections: API Reference, Overview, Changelog.
Second, this adds a lint checker to better enforce an Elixir style throughout the code base.  Another example is enforcing no spaces in tuples, maps and the like.
Third, this already prepares the Changelog and mix.exs for version 1.2.0.
Fourth, this also adds coverage report. This MIGHT BREAK TRAVIS as I think you will need to enable coveralls integration in your repo. Coverage seems pretty good at the moment.
I guess that is it! :smile:

It failed before because of missing travis config for the native bindings.

Changes Unknown when pulling 431602d0688821dfedb375b56092e2572a5cd599 on cs-victor-nascimento:master into ** on bryanjos:master**.

Nice! All good changes! Looks live coveralls was already set up.


EOM-CCSD

Adds modules for computing Hbar elements and doing a simple EOMCCSD computation.
This can be very slow, but if you have access to Numpy 1.12 adding the kwarg optimize=True in the contractions for evaluating the sigma vectors will save a lot of time.
The Davidson solver is not very robust and for some some cases where the number of roots requested involves the first one or two roots of a triplet set it will fail or converge to nonsensical complex roots.
Any suggestions on how to improve the efficiency or the stability of the Davidson routine would be appreciated

@amjames Can you rebase in the latest changes and look into updating your headers to match? See the MP folder for examples.

I may have missed it, but is this ready to go? If so I can pull it in, ill probably rearrange the calls a bit- but the core looks good.

@dgasmith I still need to fix this up a little bit the results are not correct I have an error in my sigma equations. I will add references as well.

@amjames Poke poke.

@dgasmith acknowledging the poke. I've been swamped getting posters ready for WATOC. I'm flying Thursday and I'm going to be fixing this up on the plane.

Great, thanks AJ. I hope to get out another paper round this week.

@amjames We're moving a head with this project, any updates on this?


add includeBlank option to docs

Hello!
I've just realized that the includeBlank option was not documented! Almost 2 years later >_<. I'm not sure if the text has totally correct grammar, so, please take a look!

Thanks!


Airbus Ship Detection

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Airbus Ship Detection
:red_circle: Aim : This project will help us in detecting the airbus ship using the dataset given
:red_circle: Dataset : https://www.kaggle.com/c/airbus-ship-detection/data
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'SWOC' and 'JWOC' contributors of 'ML-Crate' project.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Not able to download dataset @abhisheks008

You need to have a verified Kaggle profile to download the dataset @Nirvik07

Hello I would like to work on this project. Please assign it to me
Full name : Rajan Singh
GitHub Profile Link : https://github.com/ImRajans
Participant ID (If not, then put NA) : NA
Approach for this Project : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model..
What is your participant role? - Contributor

Issue assigned to you @ImRajans. Go ahead!

Issue has been un-assigned from you due to inactivity.
@ImRajans

Hello @abhisheks008 , I would like to work on this, can you assign this issue to me.
Full name : Bhanupriya Gupta
GitHub Profile Link : https://github.com/bhanupgpt
Participant ID (If not, then put NA) : NA
Approach for this Project : I plan to perform the exploratory data analysis and then I will try to implement the model using Random Forest, KNN, SVM, etc and compare all the algorithms to find out the best fitting one.
What is your participant role? KWoC

Issue assigned to you @bhanupgpt

Full name : Bhavya Kumar
GitHub Profile Link : https://github.com/bhavya-06darshnik
Participant ID (If not, then put NA) : NA
Approach for this Project : I'll do basic exploratory data analysis & then apply model using KNN, SVM, & find the most fitting one, after comparison.
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)
@abhisheks008 please assign me this issue as IWOC2024

Hi @bhavya-06darshnik try to focus on the following models for this project. Here are the models you can try out,

Random Forest
Decision Tree
SVM
XgBoost
Gradient Boosting
Logistic Regression
MLP Classifier
Lasso Regression
Ridge Regression

Issue assigned to you @bhavya-06darshnik

Unassigned as the open source event ended up.

Full name : Sebonti Patra
GitHub Profile Link : https://github.com/Shiroirose
Participant ID (If not, then put NA) : NA
Approach for this Project : I plan to do exploratory data analysis and then use algorithms like Logistic Regression, SVM, Decision Trees, Random Forest ,XGBoost and ANN and do hyperparameter tuning to find the best models and compare using accuracy and ROC scores.
What is your participant role? : SSOC
Please assign this issue to me .

Name-Divyansh Singh
Git Hub-https://github.com/divyansh-2707
Approach for this Project - To create ML models after data analysis and proper visualization
Participant Role-SSOC'24
Please Assign it to me.....@abhishek008

What are the models you are planning to implement for this problem statement?
@divyansh-2707

Full name : Tanuj Saxena
GitHub Profile Link :https://github.com/tanuj437
Participant ID (If not, then put NA) : NA
Approach for this Project : Will try to fit model starting with basic ones like Random Forest, SVM, Decision tree, Logistic regression and if the result isn't good like low accuracy and sensitivity will go with CNN and other images model
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.) SSOC'24

Assigned @tanuj437


job ignores STAR_genome parameter

In the sample submission form I selected Mosquito host and this is reflected in the job description in AWS batch but when the job actually runs it pulls from S3 the human STAR genome.   See job id 03e5f3f6-fa94-4d78-a22d-5c91f2e15092 and sample 301 on alpha.

The bug is quite obvious in the code.   It first gets the value from the environment variable, but then overwrites it with a constant (human genome).

@boris-dimitrov yep... another bug I missed in the recent pipeline refactoring, thanks for pointing it out. Luckily recent users have only been using the human genopme

No worries, my re-re-factoring is great for catching bugs ;)    I am testing the fix in https://github.com/chanzuckerberg/idseq-pipeline/pull/45/commits/d711ef3d1cacb585dc24f1c25afeb4b1601be131

Looks like STAR is now running correctly on a mosquito multipart genome:   https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logEventViewer:group=/aws/batch/job;stream=aegea_batch/default/8911f07f-813c-4336-98b2-1d523cf0522f

Fix merged.


Stats Page Support

Summary of changes
Now, individual users can get personalized summaries of the data they have access to.  This summary page can be customized to show summaries for...

All datasets to which the user has write access.
All datasets that have been "published"
All datasets that a user has either read or write access to that have been shared.

API Response
Request
GET http://localhost:8010/api/v1/dive_annotation/labels?published=false&shared=false
Response Example
[
  {
    "_id": "Bull",
    "count": 1882,
    "datasets": [
      {
        "id": "62583302bb61f47e1adc5112",
        "name": "20070609_SLAP5808_Orig"
      }
    ]
  },
  {
    "_id": "Fem",
    "count": 11910,
    "datasets": [
      {
        "id": "62583302bb61f47e1adc5112",
        "name": "20070609_SLAP5808_Orig"
      },
      {
        "id": "62583176bb61f47e1adc50d6",
        "name": "20171027.214830.290.029136"
      }
    ]
  },
  {
    "_id": "Groupers_Seabass",
    "count": 1,
    "datasets": [
      {
        "id": "62583176bb61f47e1adc50d6",
        "name": "20171027.214830.290.029136"
      }
    ]
  }
]

Fixes #1158

I missed this comment: https://github.com/Kitware/dive/pull/1239#discussion_r869477995
Is that still an issue?  It should be resolved before merge.  I'll look at it soon.

Yes, sorry I thought it was intentionally ignored.


FIX: Edb cfg padstack solderball

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

Project coverage is 82.48%. Comparing base (719ef9f) to head (6d55a5f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #911      +/-   ##
==========================================
+ Coverage   82.36%   82.48%   +0.11%
==========================================
  Files         159      160       +1
  Lines       20878    20987     +109
==========================================
+ Hits        17197    17311     +114
+ Misses       3681     3676       -5

----
🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


multimodal_prompt and image_generation_parameters in Request not supported by crfm-models

multimodal_prompt and image_generation_parameters are nested dataclasses, but the proxy server simply uses Request(**json.loads(args["request"])) here, which will produce nested dicts rather than nested dataclasses.

I suppose we will just not support image generation in the server...


why is 116

why here is 116
bench_test
100(range)*(16(key)+(16)value+8) = 4000bytes

It is bytes per operation:

SetBytes records the number of bytes processed in a single operation. If this is called, the benchmark will report ns/op and MB/s.

		p.keys[i], p.values[i] = []byte(fmt.Sprintf("%016d", i)), v.get(100)

The key is 16 bytes and the value is 100 bytes. We don't take overhead into consideration.


Investigate CORS related problems

As mentionned in #1766 :

suggest use of .htaccess CORS trick? see http://dev.nuclearrooster.com/2011/01/03/cors-with-apache-mod_headers-and-htaccess/
add to PHP headers? http://enable-cors.org/server_php.html

But first:

investigate why it would fail with some hosts?
any side effects adding this to everyone?

Hello ozh!
I'm encountering this issue (w/ DreamHost) and the .htaccess trick didn't seem to be fruitful for me. With regards to the PHP headers would I add that to the admin scripts only?
If I can sort out how to get past this issue I'll at least provide an explanation for a workaround until it's decided whether this needs to be globally addressed in YOURLs itself.
Thanks
/nnd

See #2094


Feature request: Movie File Output

Use Case
It is a common use case for After Effects to render out video files (.mov, .avi, etc).
Currently the submitter only supports frame based workflows.
Proposed Solution
We could look at the deadline-cloud-for-nuke submitter workflows and how they handle the mov outputs.
Essentially it will be a modification of the Step so that only a single task is created to render the entire MOV.

Definitely you should always have the ability to select chunk sizes it's way more efficient and faster.

Thanks for your feedback. Our team is having a RFC about chucking here https://github.com/OpenJobDescription/openjd-specifications/pull/54 feel free to leave your comments.

We merged the PR and now you can visit feature_dockable_submitter to use the submitter and we are working on making it as mainline shortly. Please let us know if you have any feedback on the new submitter.


Django 1.8 tests fail

Example error:
======================================================================
ERROR: test_fields (audit_log.tests.audit_log_tests.test_logging.TestOneToOne)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/audit_log/tests/audit_log_tests/test_logging.py", line 213, in test_fields
    self.run_client(c)
  File "/<<PKGBUILDDIR>>/audit_log/tests/audit_log_tests/test_logging.py", line 206, in run_client
    client.post('/propertyowner/create/', {'name': 'John Dory'})
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 512, in post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 313, in post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 379, in generic
    return self.request(**r)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 466, in request
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 249, in post
    return super(BaseCreateView, self).post(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 213, in post
    form = self.get_form()
  File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 73, in get_form
    form_class = self.get_form_class()
  File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 150, in get_form_class
    "the 'fields' attribute is prohibited." % self.__class__.__name__
ImproperlyConfigured: Using ModelFormMixin (base class of PropertyOwnerCreateView) without the 'fields' attribute is prohibited.

Looks like this may have been fixed in b633b5e766a8905a936175c62ec0412264782e56


Remove Aes lc escalate chip level test

This PR removes the  aes_lc_escalate chip level test from the test plan because it neither make sense nor can be  implemented by software, because the aes IP will only be  notified by the Alert Handler from the escalation phase 1, as the phase 1 is drastic enough to block the IBEX to fetch instructions and the only way to recover from this state is a system reset.

I think this is ok, but would be good to get @sriyerg's input as well.


About the multilingual slot filling dataset

Thanks for sharing the code and data.
It seems that you didn't include the multilingual slot-filling dataset in this repo. Is this dataset still NOT publicly available?

Hi, unfortunately that dataset is proprietary and not publicly available.

Got it. Thanks for your response.