A history of actions done

What would you like to be added:
Whenever I add securities or take loans, there is currently no way to have a look on what I have done in the past.
I would love to be able to have a record of all my actions I have done. This could be a separate thing, but I think this is very important to have a track of what happened/was done by me. I think this should be done as well as possible, to have a simple and easy to read function.
Why is this needed:
I do not think, that only an external company should have the "easy-to-use" UI with basic functions. DeFiChain has a very nice light wallet, and should also provide that feature. This would improve the UI/UX immensely.

Hi @benameless , thanks for your feedback, Transactions on the app is still WIP, however you can track your vault / address transactions via https://defiscan.live/ at the moment. Hope it helps.

Hi @benameless , regarding the issue UTXO transaction (sent/receive) are missing in the listaccounthistory at Jellyfish addresses (Light-Wallet) #1732, we can further discuss the issue there. We would like to keep same issues in one thread. Thank you.


Update New-AutoSensitivityLabelRule.md

Docs Build status updates of commit ca0e89a:
:clock10: Full build: the average full build time is 17 min(s) 34 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ca0e89a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-AutoSensitivityLabelRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 4d1be6d:
:clock10: Full build: the average full build time is 17 min(s) 34 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4d1be6d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-AutoSensitivityLabelRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 924a73c:
:clock10: Full build: the average full build time is 17 min(s) 34 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 924a73c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-AutoSensitivityLabelRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Remove ecliptik.com from showcase - no longer using simple.css

@kevquirk just an fyi that I'm no longer using simple.css on my personal site ecliptik.com which is featured on https://simplecss.org/showcase.
I really enjoyed the theme and it was nice having it on the showcase, but this week I moved over to using a different theme (console.css) since I liked the terminal/gemini type look for the page.
Thank you for making simple.css, it's a wonderful framework to use.

Thanks for letting me know - that is a cool looking theme!


Bump version number.

Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1365254#c17. If someone needs a release feel free to note it, and we'll do anyway :)


Create workflow for publishing Zarf package on new releases

We do not currently have a workflow to build and publish a Zarf package for the backend-llama-cpp-python.
### Tasks
- [ ] Workflow for building & publishing Zarf package

Related to https://github.com/defenseunicorns/leapfrogai-backend-llama-cpp-python/issues/12


How to get secure image in Imageloader?

My Image Url Have some username and  password .. then only we can accesss

Hello!, could you give a little bit of context.


[alpinelinux] New Alpine Linux releases

Refs:

https://alpinelinux.org/posts/Alpine-3.10.9-3.11.11-3.12.7-released.html
https://alpinelinux.org/posts/Alpine-3.13.5-released.html

I updated the change log links and now everything is okay -> thanks & merge


feat: Spotify segment for windows(no dependency)

Prerequisites

[ ] I have read and understand the CONTRIBUTING guide
[ ] The commit message follows the conventional commits guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Description
see

The win32 interface has been created but I don't know exactly where to inject it. Right now I added a function in environment.go with a windows implementation and a not implemented error for others.

Almost there now! 👏🏻

Squash and rebase. I’ll do it tonight.


[FIX] Date erased when Finding created from Template

When creating a Finding from a Template, the date given to the finding is not taken into account. Instead, date provided is erased by the date of the day.
This fix allows to create a Finding, from a Template, with a given date or date of the day.

merged for release 2.9.0


[FEATURE] I wish I could check the Log for Recurring Job events in the Longhorn UI.

Is your feature request related to a problem? Please describe (👍 if you like this request)
Unable to check the log for Recurring Job.

Describe the solution you'd like
I wish I could check the Log for Recurring Job events in the Longhorn UI.
For example, when I click Longhorn Volume, I think it's good to have a screen below that shows the log for Recurring Job like Event Log.

Describe alternatives you've considered

Additional context

Maybe it could be done together with https://github.com/longhorn/longhorn/issues/8404
cc @derekbit @innobead

@DamiaSan

Maybe it could be done together with https://github.com/longhorn/longhorn/issues/8404
Thank you for your kind reply.


Twap: Integrate and Add migration tests

Closes: https://github.com/osmosis-labs/osmosis/issues/2198
What is the purpose of the change
Integrates and adds migration test. The migration logic is implemented using the last pool id, not by creating a method that iterates through all pools and gets all pool IDs.
This PR also introduces test cases for the upgrade itself, and the migration method.
Brief Changelog
Add migration test for existing pools on the twap module.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? not documented

I think we should merge this after @p0mvn 's comment for transient store being tested is addressed

Addressed! Merging :)


[BUG] Insane delay after pressing enter

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
ive seen only one guy describe the same issue
when i press enter to get a new line in insert mode, it takes a good few seconds before nvim catches up and actually draws to the screen, although my input is still read and i can still type whats supposed to be in the next line, it just takes a while to actually show it
this only happens when flutter-tools is running (ive only tested it on the lib/main.dart file)
Expected Behavior
upon pressing enter, a new line should be created without a delay of drawing it to the screen
Steps To Reproduce

have my configuration (idk if this happens with other configs)
open a dart file (mainly lib/main.dart in a flutter project)
type some code
press enter
should be noted that it seems to appear more often when splitting brackets in this manner]
(| is the cursor):

appBar: AppBar(|)
press enter

Environment
Markdown

OS:

Artix Linux
6.5.5-artix1-1

Flutter version:

Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (11 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0

Is flutter in $PATH: yes definitely
neovim:

NVIM v0.9.2
Build type: Release
LuaJIT 2.1.1694285958

nvim config: https://codeberg.org/qube/dot-squared/src/branch/main/.config/nvim

### Anything else?

_No response_

For whatever it's worth, I'm having this issue as well, and only with dartls. Other language servers I'm using (C#, lua, markdown, some others) don't show this issue. I haven't been able to find anything else on the internet about it.

From what i searched, the problem is with dart treesitter when it idents something. When i was searching about this i found two temporary solutions that worked for others:
Removing dart treesitter
Disabling dart treesitter ident
I don't know if this will help you, but it doesn't hurt to try.

I found that always 2 processes are started dart language-server. Once I exit nvim and come back only one is running. Will also try the treesitter removal to see if that helps.

https://github.com/nvim-treesitter/nvim-treesitter/issues/4945#issuecomment-1691168369


Add !avataritem which uses humanoid description

Adds !avataritem which instead depends on humanoid descriptions and is usable with any avatar item, also supporting the new layered clothing (when enabled in StarterPlayer). Replaces !hat, !shirt, and !pants which is now an alias instead.

Merging after I do some testing.

do some testing.
We do a little bit of testing.

do some testing.

We do a little bit of testing.

We do a little too much testing.

do some testing.

We do a little bit of testing.

We do a little too much testing.

We do a massive amount of testing.


Allow multiple summaries per pull request

Tackles the first case in https://github.com/scientific-python/changelist/issues/45:

1pr-to-many: A pull requests addresses multiple things which should ideally appear as multiple summaries. Possibly even in separate sections.

It would be good to have this in before the next release of scikit-image. So that changelist can gracefully deal with https://github.com/scikit-image/scikit-image/pull/6695.

Okay, finally Python 3.9 is happy (sorry for the notification noise). I think this is ready to merge.
As a real world example, this
changelist scikit-image/scikit-image 54316d5~1 54316d5

includes just the merge commit from https://github.com/scikit-image/scikit-image/pull/6695 and creates the following notes:
Details
# scikit-image x.y.z

We're happy to announce the release of scikit-image x.y.z!

## New Features

- Add parameter `mode` to `binary_erosion`, `binary_dilation`, `binary_opening` and `binary_closing` in`skimage.morphology`. These new parameters determine how array borders are handled ([#6695](https://github.com/scikit-image/scikit-image/pull/6695)).
- Add parameters `mode` and `cval` to `erosion`, `dilation`, `opening`, `closing`, `white_tophat`, and `black_tophat` in `skimage.morphology`. These new parameters determine how array borders are handled ([#6695](https://github.com/scikit-image/scikit-image/pull/6695)).
- Add functions `mirror_footprint` and `pad_footprint` to `skimage.morphology` ([#6695](https://github.com/scikit-image/scikit-image/pull/6695)).

## API Changes

- Parameters `shift_x` and `shift_y` in `skimage.morphology.erosion` and `skimage.morphology.dilation` are deprecated. Use `pad_footprint` or modify the footprint manually instead ([#6695](https://github.com/scikit-image/scikit-image/pull/6695)).

## Bug Fixes

- Ensure `skimage.morphology.closing` and `skimage.morphology.opening` are extensive and anti-extensive, respectively, if the footprint is not mirror symmetric ([#6695](https://github.com/scikit-image/scikit-image/pull/6695)).

## Contributors

2 authors added to this release (alphabetically):

- Cris Luengo ([@crisluengo](https://github.com/crisluengo))
- Lars Grüter ([@lagru](https://github.com/lagru))

3 reviewers added to this release (alphabetically):

- Cris Luengo ([@crisluengo](https://github.com/crisluengo))
- Lars Grüter ([@lagru](https://github.com/lagru))
- Stefan van der Walt ([@stefanv](https://github.com/stefanv))

_These lists are automatically generated, and may not be complete or may contain
duplicates._

Let me know what you think. :)

@stefanv, could I ask you to have a look at this if you have the time? :pray: Not the highest priority in my opinion but I'd hate to rush this just before our next skimage release.

@lagru Let me know if you intend to make any other changes, otherwise I'll merge.

@stefanv. I've addressed all your comments and switched to the {label="Some label"} based syntax. This {...} block can be added anywhere once in the summary. So it can be used as a fenced_code_attributes that is hidden, or anywhere else so that it's visible.
I've also added basic tests for this in test_objects.py.

As we talked about, I've added a section in the README to document the new feature and make it clearer how to use it. It's duplicating the documentation in the config a little bit, but it's probably less hidden this way and should read nicer (no talk of regex).

Thanks Lars!


Call the newly created Deflater's end() in non multithread compression

First of all let me say your mutlithread compression's speed is amazingin.
In my I use case I need to use the single thread compression: withMultiThreadedCompressionEnabled(false). I noticed that in this mode a new Deflater is created for the compression and after the compression this Deflater's end() method is not called. The explicit end() call releases native memory immediately. Without that the "end" is invoked by the "finalizer" when the objects go through GC. In this case our system went into what seems like native memory leak.
I propose to call end() at the end of single thread compression.

I just released 0.15.0 to sonatype. It will be published shortly!


1.21

I really liked using this, is it gonna update to 1.21?

Not sure about this. With mojang's tendency to add more and more data-driven content, and especially item stack components in 1.20.5, it becomes impossible to move items between worlds, which was the original problem this mod was intended to solve. Updating to further minecraft versions whilst keeping this ability would require a big redesign and rewrite of the mod, which I don't have the time nor desire right now. It will most likely happen eventually, but not soon


Added Palash to contributors list, and added missing hyphens on other…

I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Controlled filters - removing filter

Description
Hi, currently if I want to have server side filter, I am able to control the filters - add and change them. But if I am filtering by multiple columns, and I want to remove just one, I cant since onFilter is empty, with no indication of which column should be removed.

ColumnFiltersState is a array of ColumnFilter and each filter has a id equal to a column. OnFilter allays gets the next column filter state as argument. To find out witch column was removed you have to compare it to the last filter state.


Do not attempt to log in vcx_set_default_logger call

Signed-off-by: Patrik Stas<EMAIL_ADDRESS>

Codecov Report

Merging #594 (3cbe6eb) into main (804bd43) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #594   +/-   ##
=======================================
  Coverage   59.10%   59.10%
=======================================
  Files         198      198
  Lines       19047    19047
  Branches     4358     4358
=======================================
  Hits        11257    11257
  Misses       3458     3458
  Partials     4332     4332

Flag
Coverage Δ

integration-aries-vcx
47.65% <ø> (ø)

unittests-agency-client
29.33% <ø> (ø)

unittests-aries-vcx
47.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update Linux daily build to run tests in a single agent, also collect CLR traces in Windows daily build

PR Summary

Update Linux daily build to run tests in a single agent
Collect CLR traces in Windows daily build

Download the CAP utility package from https://pscoretestdata.blob.core.windows.net/dotnet-cap/windows.zip
Start trace collection before test run
Stop trace collection after test run

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

Collect CLR traces in Windows daily build

Can you share more information about this?

@iSazonov CLR Customer Assistance Program (CAP):

The CLR CAP was created with two goals in mind: proactively help partner teams resolve CLR related issues and help the our team gain better insights into how the CLR is performing on first party services. The CLR CAP is 100% based on the collection and analysis of events in CLR (ETW in Windows for .NET Frameworks and EventPipe technology for .NET Core runtime).


CLI Command opening new db connection for every route

Describe the bug
For every route the npm task opens a new database connection instead of continuing to use the existing one from other routes.
npx remix-sitemap
🔍 Found config file: file:///srv/APP_NAME/remix-sitemap.config.js
🔍 Generating sitemap...
🔍 Found routes: root, routes/admin.course.$courseID.$unitID.$lessonID.delete, routes/admin.transaction_.$transactionID.card.delete, routes/admin.transaction_.$transactionID.card.scrub, routes/admin.course.$courseID.$unitID.$lessonID, routes/admin.account_.$accountID.transactions, routes/admin.course.$courseID.$unitID.delete, routes/dictionary_.$dictID_.edit.bulk-import, routes/course_.$courseID_.$unitID.$lessonID, routes/org.$orgID.profile_.$profileID.edit, routes/admin.transaction_.$transactionID, routes/dictionary_.$dictID_.media.$order, routes/admin.account_.$accountID.delete, routes/dictionary_.$dictID_.edit.delete, routes/list_.view.$listID_.edit_.delete, routes/org.$orgID.group_.$groupID_.edit, routes/dictionary_.$dictID_.edit.signs, routes/resource_.$resID_.edit.category, routes/resource_.$resID_.edit.language, routes/admin.analytic.sign.individual, routes/admin.course.$courseID.$unitID, routes/category_.$catID_.edit_.delete, routes/dictionary_.$dictID_.thumbnail, routes/org.$orgID.profile.bulk-delete, routes/sign.$signID_.edit_.dictionary, routes/admin.course.$courseID.delete, routes/admin.region.$regionID.delete, routes/login.profile.$organisationID, routes/admin.analytic.subscriptions, routes/admin.referral.$refID.delete, routes/org.$orgID_.invite.$inviteID, routes/resource_.$resID_.edit.signs, routes/admin.analytic.sign.weekday, routes/admin.price.$priceID.delete, routes/admin.vocab.$vocabID.delete, routes/org.$orgID.profile.qr-codes, routes/sign.$signID_.edit.category, routes/sign.$signID_.edit.language, routes/sign.$signID_.edit_.keyword, routes/admin.post_.$postID.delete, routes/course_.$courseID_.$unitID, routes/dictionary_.$dictID._index, routes/org.$orgID.group_.$groupID, routes/resource_.$resID.thumbnail, routes/transaction.$transactionID, routes/admin.account_.$accountID, routes/api.asp.sign.$signID.poll, routes/dictionary_.$dictID.signs, routes/dictionary_.$dictID_.edit, routes/game_.select.$mode.$catID, routes/resource_.$resID.download, routes/sign.$signID.video.$order, routes/sign.$signID_.edit.delete, routes/sign.$signID_.edit.region, routes/admin.keyword.$keywordID, routes/admin.sign.missing.$type, routes/list_.view.$listID_.edit, routes/account.change-password, routes/account_.retrieve-email, routes/list_.pdf.custom-poster, routes/sign.$signID.image-crop, routes/sign.$signID.image-full, routes/about.babysign.product, routes/about.terms-conditions, routes/admin.course.$courseID, routes/admin.organisation.new, routes/admin.region.$regionID, routes/blob.$blobID.thumbnail, routes/category_.$catID_.edit, routes/org.$orgID.permissions, routes/org.$orgID.transaction, routes/quiz_.$id_.edit.delete, routes/resource_.$resID_.edit, routes/subscribe.organisation, routes/about.babysign._index, routes/admin.referral.$refID, routes/explore_.sign.popular, routes/explore_.sign.updated, routes/about.babysign.signs, routes/about.babysign.songs, routes/account.update-email, routes/admin.keyword._index, routes/admin.price.$priceID, routes/admin.vocab.$vocabID, routes/explore_.sign.random, routes/list_.pdf.dictionary, routes/list_.pdf.flash-card, routes/login.profile._index, routes/sign.$signID.clipart, routes/account.transaction, routes/admin.analytic.list, routes/admin.analytic.sign, routes/admin.blob.priority, routes/admin.post_.$postID, routes/dictionary_.$dictID, routes/list_.pdf.circle-it, routes/list_.share.$listID, routes/sign.$signID_.embed, routes/about.dictionaries, routes/admin.organisation, routes/article.$articleID, routes/game_.match.$catID, routes/list.custom-poster, routes/list_.pdf.matching, routes/list_.pdf.spell-it, routes/list_.view.$listID, routes/org.$orgID.profile, routes/sign.$signID.photo, routes/sign.$signID_.edit, routes/subscribe.personal, routes/account_.retrieve, routes/admin.blob.upload, routes/admin.sign_.media, routes/admin.transaction, routes/api.random.phrase, routes/course_.$courseID, routes/explore_.sign.new, routes/list_.pdf.dominos, routes/org.$orgID._index, routes/admin.dictionary, routes/blob.$blobID.raw, routes/org.$orgID.admin, routes/org.$orgID.group, routes/org.$orgID.seats, routes/resource_.$resID, routes/subscribe._index, routes/admin.mail-test, routes/admin.normalise, routes/category.$catID, routes/category._index, routes/choose-language, routes/list.dictionary, routes/list.flash-card, routes/quiz_.$id_.edit, routes/referral.$refID, routes/about.verified, routes/admin.category, routes/admin.referral, routes/admin.sign-old, routes/list.circle-it, routes/login.personal, routes/about.keysign, routes/admin.account, routes/admin.keyword, routes/explore_.sign, routes/list.matching, routes/list.spell-it, routes/login.profile, routes/news_.$newsID, routes/about._index, routes/about.auslan, routes/account.edit, routes/admin._index, routes/admin.course, routes/admin.demask, routes/admin.region, routes/api.category, routes/game_.number, routes/list.dominos, routes/login._index, routes/sign.$signID, routes/admin.price, routes/admin.stats, routes/admin.vocab, routes/api.keyword, routes/healthcheck, routes/list._index, routes/about.font, routes/admin.blob, routes/admin.list, routes/admin.mail, routes/admin.post, routes/admin.quiz, routes/admin.sign, routes/dictionary, routes/game_.math, routes/game_.time, routes/org.$orgID, routes/org._index, routes/util_.beta, routes/quiz_.$id, routes/subscribe, routes/browse.$, routes/category, routes/resource, routes/tutorial, routes/account, routes/contact, routes/desktop, routes/profile, routes/_index, routes/course, routes/logout, routes/search, routes/about, routes/admin, routes/cdn.$, routes/login, routes/eula, routes/game, routes/join, routes/list, routes/news, routes/api, routes/org, routes/pwa
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
🔌 setting up prisma client to redacted.postgres.database.com:25060
/srv/APP_NAME/node_modules/esbuild/lib/main.js:1073
        return callback(new Error(error), null);
                        ^

Error: The service was stopped: write EPIPE
    at /srv/APP_NAME/node_modules/esbuild/lib/main.js:1073:25
    at responseCallbacks.<computed> (/srv/APP_NAME/node_modules/esbuild/lib/main.js:697:9)
    at afterClose (/srv/APP_NAME/node_modules/esbuild/lib/main.js:687:28)
    at /srv/APP_NAME/node_modules/esbuild/lib/main.js:2129:11
    at onwriteError (node:internal/streams/writable:425:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

Node.js v20.7.0

Almost every single route imports ~/db.server.ts which is where the database connection is initalized
import { PrismaClient } from "@prisma/client";
import invariant from "tiny-invariant";

let prisma: PrismaClient;

declare global {
	var __db__: PrismaClient;
}

// this is needed because in development we don't want to restart
// the server with every change, but we want to make sure we don't
// create a new connection to the DB with every change either.
// in production we'll have a single connection to the DB.
if (process.env.NODE_ENV === "production") {
	prisma = getClient();
} else {
	if (!global.__db__) {
		global.__db__ = getClient();
	}
	prisma = global.__db__;
}

function getClient() {
	const { DATABASE_URL } = process.env;
	invariant(typeof DATABASE_URL === "string", "DATABASE_URL env var not set");

	const databaseUrl = new URL(DATABASE_URL);
	console.log(`🔌 setting up prisma client to ${databaseUrl.host}`);
	// NOTE: during development if you change anything in this function, remember
	// that this only runs once per server restart and won't automatically be
	// re-run per request like everything else is. So if you need to change
	// something in this file, you'll need to manually restart the server.
	const client = new PrismaClient({
		datasources: {
			db: {
				url: databaseUrl.toString(),
			},
		},
	});
	// connect eagerly
	// client.$connect(); disabled because it always causes sitemap generation to crash
	//   but with it disabled, it only crashes most, but not all of the time...

	return client;
}

export { prisma };

Interestingly this only occurs when running on the production server, but not in my local environment which is extra odd.

When reading the sitemap functions in each route, are they done in parrallel or in squence? Promise.all()
Because if they are bulk dispatched all at once, this would create a connection overflow in Prisma

These two lines sitemaps.ts:150, sitemaps.ts:167, while they are not the direct cause, they will exassurbate the issue, because it means it will attempt to run the sitemap function for every single route at once. When you attempt to run multiple queries at once in prisma it will attempt to streamline as many as possible. So if I have a connection limit of 10, it will open 10 connections.
Then since I have 207 different routes, it will open only 10 connections and as each query completes it will then schedule another awaiting one on the new open available connection, but the time it gets near to the end it starts timing out because the queries aren't able to be executed on a db connection.
I'll make a PR implementing a rate limiter which reads from a config to limit the promise all execution based on a config varaible if present

With further testing this issue does occur when using
prisma = getClient();

Instead of
if (!global.__db__) {
	global.__db__ = getClient();
}
prisma = global.__db__;

Which implies that global variables shared between different files importing it are not actually being shared, and multiple unique instances are being loaded.
The update in the PR does mitigate the issue a bit


Support for original SSDU

Add support for exact architecture used in SSDU

Refactor ResNet into a model so that it can be used with Unrolled
Add scale layer
Add sample SSDU config
Update initialization for MoDL
Add utilities to make ResNet mimic that of SSDU

Codecov Report
Patch coverage: 84.61% and project coverage change: +0.01 :tada:

Comparison is base (91da809) 72.26% compared to head (450c946) 72.28%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   72.26%   72.28%   +0.01%
==========================================
  Files          75       75
  Lines        5210     5231      +21
  Branches     1061     1063       +2
==========================================
+ Hits         3765     3781      +16
- Misses       1101     1103       +2
- Partials      344      347       +3

Flag
Coverage Δ

unittests
72.22% <84.61%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

meddlr/ops/opt.py
20.00% <ø> (ø)

meddlr/data/build.py
58.27% <33.33%> (-1.46%)
:arrow_down:

meddlr/ops/complex.py
53.45% <66.66%> (-0.39%)
:arrow_down:

meddlr/config/defaults.py
100.00% <100.00%> (ø)

meddlr/metrics/functional/sem_seg.py
84.26% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Old-style Publisher fields cause the job to be rejected

If you use bacalhau create to submit a job spec which uses the old-style Publisher: <type> syntax, the job is rejected despite the fact this is meant to be backwards-compatible.
This is because although we have a job transform to migrate the Publisher field to a PublisherSpec, it only runs after the job validation which now checks that PublisherSpec is present and sane. So effectively, there is not backwards compatibility here.

Still needed?


MTU problems after enabling IPSEC

It seems that with MTU set to 1500 (which is pretty standard) ipsec on CF ( and AWS ) has problems with packet size and fragmentation. We enabled IPSEC on routers to cells to protect connections to our apps but some requests with bigger payload were just failing. It seems that there is DF flag set for IP header forcing interfaces to drop packets larger than MTU.
I've performed some tests:
MTU tests
root@90209631-59ca-4902-a1c4-428a9ac50a7f:~# ping -c 1 -M do -s 1430 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 1430(1458) bytes of data.
1438 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.252 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.252/0.252/0.252/0.000 ms

root@90209631-59ca-4902-a1c4-428a9ac50a7f:~# ping -c 1 -M do -s 1431 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 1431(1459) bytes of data.
ping: local error: Message too long, mtu=1458

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

ICMP ping reporting mtu=1458 so it seems that:

IP header - 20 bytes
ICMP header 8 bytes
payload 1430
total 1458
ipsec header + auth data is 42 bytes??

Workaround

I've tested setting MTU manually to 1400 and it seems to solve the problem.
Using AWS jumbo frames ( MTU 9000 ) solves the problem as well

We habe developed and tested this on OpenStack and didn't see issues with the MTU. If you look at the original bosh-ipsec release from CloudCredo you will notice that there was some provisioning for that (see https://github.com/CloudCredo/bosh-ipsec). As we did not terminate the connection in warden containers but on the hosts itself it did not appear to be neccessary.
We are currently working on an update of the release on AWS which should also minimize the configuration effort. Unfortunately due to the holiday season it will be January (at least) before I can reproduce your findings and get results from our own AWS activities.

Ok, thanks. We are also gonna test this after holiday season https://github.com/alphagov/paas-cf/pull/684. So for now just heads up that such problem exists and needs to be tested - I'll close this issue.

@combor I just found your ticket looking for a solution to the same problem I have with IPsec.
Nice to see you again, we used to work together in 2008-2010.
And thank you for a workaround - that solves the problem :-)

I'm glat that it helped. See you around :)


Fixed :meth:~OpenGLRenderer.get_frame when window is created

Overview: What does this pull request change?

Motivation and Explanation: Why and how do your changes improve the library?

When calling get_frame in the opengl renderer, it fails as it is using the wrong pixel shape
Traceback (most recent call last):
╭──────────────────────────────────────────────────────────────────────────────╮
│ File                                                                         │
│"/Users/ryan/PycharmProjects/manim-community/manim/cli/render/commands.py",   │
│line 108, in render                                                           │
│    105             while keep_running:                                       │
│    106                 for SceneClass in scene_classes_from_file(file):      │
│    107                     scene = SceneClass(renderer)                      │
│  ❱ 108                     rerun = scene.render()                            │
│    109                     if rerun or config["write_all"]:                  │
│    110                         renderer.num_plays = 0                        │
│    111                         continue                                      │
│ File "/Users/ryan/PycharmProjects/manim-community/manim/scene/scene.py", line│
│215, in render                                                                │
│     212         """                                                          │
│     213         self.setup()                                                 │
│     214         try:                                                         │
│  ❱  215             self.construct()                                         │
│     216         except EndSceneEarlyException:                               │
│     217             pass                                                     │
│     218         except RerunSceneException as e:                             │
│ File "../scenes/playground.py", line 42, in construct                        │
│     39                                                                       │
│     40     def construct(self):                                              │
│     41         self.add(Square())                                            │
│  ❱  42         self.renderer.get_frame()                                     │
│     43                                                                       │
│     44                                                                       │
│     45 # class PMPointExample(Scene):                                        │
│ File "/Users/ryan/PycharmProjects/manim-community/manim/renderer/opengl_rende│
│rer.py", line 497, in get_frame                                               │
│    494         # get current pixel values as numpy data in order to test outp│
│    495         raw = self.get_raw_frame_buffer_object_data(dtype="f1")       │
│    496         result_dimensions = (config["pixel_height"], config["pixel_wid│
│  ❱ 497         np_buf = np.frombuffer(raw, dtype="uint8").reshape(result_dime│
│    498         np_buf = np.flipud(np_buf)                                    │
│    499         return np_buf                                                 │
│    500                                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯
ValueError: cannot reshape array of size 3686400 into shape (480,854,4)

Process finished with exit code 1

To reproduce you can run the command ../scenes/example.py --renderer opengl -pql.
class Test(Scene):

    def construct(self):
        self.add(Square())
        self.renderer.get_frame()

The method was only working when there was preview window, such as when outputting a movie file.
Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[x] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

LGTM! Just curious, did you just happen to catch this bug or was it impacting another functionality?

I have been reusing cairo tests to run with opengl renderer and one of those tests caught the bug

@ryanmccauley211, there is a minor merge conflict -- do you have time to resolve it? This can be merged afterwards.

@ryanmccauley211, there is a minor merge conflict -- do you have time to resolve it? This can be merged afterwards.

done


deepflow-server API  should  add authentication[FR]

Search before asking

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

Description
deepflow-server API  should  add authentication
eg:
http://${deepflow_server_node_ip}:${port}/v1/query/
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

The Community Edition does not have plans to support authentication. However, you can add a wrapper service layer to provide an authentication mechanism.


Windows Terminal crashes after trying to close tabs

Environment
Windows build number: 10.0.18363.752
Windows Terminal version (if applicable): 0.10.781.0

Any other software?

Steps to reproduce

Start Windows Terminal
Start more than 40+ tabs by pressing Ctrl and Shift + T
Now try to close the tabs as soon as possible

Expected behavior

Windows Terminal should not crash

Actual behavior

Windows Terminal crashes

Hey could you file feedback using the Feedback hub so we could get a stack trace to investigate?
/feedback

@zadjii-msft Should I include the link in the comment?

@Qantex yes please, it's basically impossible for us to find it without the link ☺

https://github.com/microsoft/terminal/issues/5245

@Qantex That's just the link to this issue, not to the feedback 😄

@zadjii-msft I thought you meant this section.

My dude, can you do this on your feedback?

That will make a aka.ms link, and then you can send that aka.ms link to us. :smile:

@DHowett Sure, I will now send a feedback via the feedback application.

@zadjii-msft Is it sufficient if I add a link in the description of the feedback application?

@Qantex ...
You need to

Write a feedback item
Copy the link FROM the feedback item
Paste the link INTO github
Submit the link TO github so that we can receive the link

3\. Paste the link INTO github

@DHowett What do you mean?

@DHowett I did it, but the other employee said I had to include it in the feedback application.

The feedback application shows that the message cannot be tracked without registration. Do I need to create a Microsoft account?
I will send the message tomorrow and add the link in the comments section.
Good night

https://aka.ms/AA84d4u

@zadjii-msft @DHowett I have now added the link in a comment and sent it.

Thank you. We will continue the investigation.

I can't reproduce this in v0.11, and it looks like it might have been a /dupe of #4613.

@DHowett I have looked at the alleged duplicate and must say that my report is not a duplicate in my view.

I can't reproduce this in v0.11

To see the error from its own perspective, you need to train your timing.

#4613 fixed 13 different places where we would crash during the startup and shutdown of individual terminals. It is very likely, but not 100% certain, that it fixed this issue. 😄


Example page's broken urls

Hi,
Your example pages have broken links. Dist directory is not on there,
Example,
https://neuron-digital.github.io/wjplayer/examples/hls_split.html
hls_split.html:77 durationchange
blob:https://neuron-digital.github.io/187d43f6-c52a-42e1-9573-47214e4a94c5:1 Uncaught ReferenceError: e is not defined
blob:https://neuron-digital.github.io/187d43f6-c52a-42e1-9573-47214e4a94c5:1 Uncaught ReferenceError: e is not defined
blob:https://neuron-digital.github.io/0b9697a2-2d52-431d-8a63-fc95d3c439d9:1 Uncaught ReferenceError: e is not defined
blob:https://neuron-digital.github.io/0b9697a2-2d52-431d-8a63-fc95d3c439d9:1 Uncaught ReferenceError: e is not defined
hls_split.html:1 The SSL certificate used to load resources from https://static.life.ru has been distrusted. See https://g.co/chrome/symantecpkicerts for more information.
.185142e5f273e565511ebe3a8494cf95.jpg:1 Failed to load resource: net::ERR_CERT_SYMANTEC_LEGACY
static.life.ru/posts/2016/09/907639/video/185142e5f273e565511ebe3a8494cf95-4800.ts:1 Failed to load resource: net::ERR_CERT_SYMANTEC_LEGACY
log.js:87 VIDEOJS: WARN: Problem encountered with the current HLS playlist. Trying again since it is the final playlist.
e.logByType @ log.js:87
wjplayer.css:1 Failed to load resource: the server responded with a status of 404 ()
nmd.css:1 Failed to load resource: the server responded with a status of 404 ()

@talaysa Thank you! I'll fix it
or PR welcome :)

You're welcome :)


java superclass instance variables badly infered in subclass

Master.java
public class Master {
  public int field;

  public Master() {
    field = 4;
  }
}

slave.mirah
class Slave < Master
  def testField
    field
  end
end

Slave.new.testField

gives:
Inference Error:
Cannot find instance method field() on Slave
slave.mirah:3: Cannot find instance method field() on Slave
field
^^^^^^^^^

Two things. Mirah uses Ruby style instance variable syntax, so referring to them looks like this: @field.
Second, currently all instance variables are private. So,
class A
  def initialize
    @a = :a
  end
end

class B < A
  def cool
    puts @a
  end
end

will have an inference error, because Bs don't have access to @a. It'd be nice if instance variables either weren't private by default or at least Mirah would let you access instance variables that would be accessible based on the Java classes permissions.
Currently, if it's your Java code, you can work around this by adding a getter method and using that from the subclass. If it's not your code, Mirah won't work for you right now.
If you want to look into contributing a patch to add this functionality, I'm sure people would be willing to help (myself included).

thanks for your response.
I'll be glad to write a patch to add this functionnality. However i think i will need a starting point ;)


Use relative paths instead of embedding the full site url to prevent CORS issues when switching domains

Fixed in 1!0.1.0a10.


className property added for input field.

Sorry for the delay @cy6eria. I'm really busy this week, so I'll try to get back to you this weekend or early next week! One thing I noticed is that your PR changes 20.000 lines of code, this makes things really hard to review. Is there any way to get your change smaller?

@martijnrusschen This is correct, I've checked it (I need it for my project too)
Look at the end of files changed, he just adds this.props.className if it has one.

Hey!
Thanks for taking the time to write this! I will look in to this PR first thing tomorrow, as I have the feeling that there might be a better way to do this. I'm also going to look in to a solution to the unreadable PR's because of the big changes in the compiled files.

I'm wondering, are error classes the only use case for adding this className? I'm kinda weary of adding classes like this, as is it doesn't really seem to scale that much (e.g. I'm afraid that someone wants a different className for selected days in the future).
We could also think of adding a property that indicates that the datepicker is in an error state.
All in all, if we cant figure out a better way I'd be OK landing this once the comments are addressed, as I don't want to block you for such a small request.

This has been fixed in b61725c82750ac4963c38c12cdc8cbf1c1ded33e, not sure if this was fixed before, but it looks like that this PR isn't needed anymore.


[Don't merge. FC] Switch Cambodia to use UK Application Centre

Colour copy of documents is required when applying
New courier fee is 23.01 (which means it's an IPS 3 group I guess)

This should go live on 21st Sep 2015

LGTM :+1:


'Enterprise' visibility option

When trying to create a new Azure DevOps project today (12 July 2021), there is a third option for project visibility: Enterprise. This article should be updated to include this option and how it compares to Private and Public options.
[Enter feedback here]

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

ID: 993e00a3-b7d1-8095-5960-f6f12e8606a4
Version Independent ID: e125d539-3678-2ab4-3591-f055e7225cbc
Content: Create a project - Azure DevOps
Content Source: docs/organizations/projects/create-project.md
Product: devops
Technology: devops-accounts
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @Customery, Thanks for your feedback. "Enterprise" isn't an option for visibility when you're creating a project. This may have once been an internal MSFT option. Thanks again!


Pass expression as string to another func

Trying to pass  expression as string  to another function which execute expression and return value in boolean ie ifexpression function
Func<string, string, string> replace = (str, repstr) => str.Replace("u", repstr);

var target1 = new Interpreter()
  .SetFunction("substring", substring)
  .SetFunction("replace", replace)
  .SetFunction("toLower", toLower)
  .SetFunction("toUpper", toUpper)
  .SetFunction("indexOf", indexOf);
Func<string, string, string, object> ifexpression =
  (str, str1, str2) => target1.Eval<bool>(str)?str1:str2;
var target = new Interpreter().SetFunction("ifexpression", ifexpression);

Have expression like
// EXCEPTION OCCURED ON THIS EXPRESSION
var valuesss5 = target.Eval(
"ifexpression(\"replace(\"umesh\",\"S\") == \"Smesh\" \", \"shende\" , \"dilip\" )"
);

Expected
shende
Actual
DynamicExpresso.Exceptions.ParseException: '')' or ',' expected (at index 23).'

Not sure but I think that you are not using the right escaping. If you want to evaluate the string "Hello world" (with the double quote), you should pass the following expression: "\"Hello world\"". Now in your case you want to pass a string that contains other strings ... so you should escape the string passed to ifexpression but also the literals strings \"umesh\", ...
In your example I think that the interpreter try to evaluate the following expression:
ifexpression("replace("umesh","S") == "Smesh" ", "shende" , "dilip" )

And you can see that it is wrong...
I think that you should write:
var valuesss5 = target.Eval(
"ifexpression(\"replace(\\\"umesh\\\",\\\"S\\\") == \\\"Smesh\\\" \", \"shende\" , \"dilip\" )"
);


Use PlugUpdate cause error msg: 'Post-update hook for rnvimr ... Exit status: 2'

v0.3.0 have removed the Makefile, so use Plug 'kevinhwang91/rnvimr' instead of Plug 'kevinhwang91/rnvimr', {'do': 'make sync'}
Please delete the installed Rnvimr and then reinstall it, because the previously synchronized cache was already in the plugin, Rnvimr will always use cached configuration rather than user configuration.
Update example:

Wrtie Plug 'kevinhwang91/rnvimr' to nvim configuration and exit
rm -rf ~/.config/nvim/plugged/rnvimr
Execute :PlugInstall in nvim

Get more detail please refer to the CHANGES file.
https://github.com/kevinhwang91/rnvimr/blob/248405f13887c08a4112d8c01d6ed49072b25f5e/CHANGES#L1-L25

U should put Plug 'kevinhwang91/rnvimr'
no need make sync yet

So now you don't need to sync? Or if you have changed ranger config then you need to reinstall rnvimr completely?

So now you don't need to sync?

Yes.

Or if you have changed ranger config then you need to reinstall rnvimr completely?

No, rnvimr will read the user's config path on the fly.
The old cache produced by :RnvimrSync will be always executed in the latest version(v0.3.0), because the cache was inside ranger/plugins. The original lib path has moved to ranger/plugins.
In order to clean the cache inside ranger directory, reinstall again for upgrade rnvimr to v0.3.0 is necessary.

Ok, got it. Thank you.

Close this issue because https://github.com/kevinhwang91/rnvimr/issues/50.


Docu restructuring

Update Readme
Remove obsolete npm scripts

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Allow caching of password

I have a Hugo website, using Netlify, and would like to know how to not require all pages on the site to ask for the password if it has already been entered on another page. Any help would be greatly appreciated. The following is my Netlify build command
hugo && npm install && find public -type f -name '*.html' -exec staticrypt {} ****** \\;
Thanks,
Eli

Hey, I needed the same thing!
I rewrited a part of the password_template.html file to save the pass in the sessionstorage once the user entered the good password.
You can look here: https://github.com/Embraser01/staticrypt/blob/gh-pages/password_template.html
Then for netlify it's really easy!
My netlify.toml:
[build]
publish = "public"
command = "hugo --gc --minify && ./crypt.sh"

[context.production.environment]
HUGO_VERSION = "0.54.0"
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo  --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && ./crypt.sh"

[context.deploy-preview.environment]
HUGO_VERSION = "0.54.0"

[context.branch-deploy]
command = "hugo  --gc --minify -b $DEPLOY_PRIME_URL && ./crypt.sh"

[context.branch-deploy.environment]
HUGO_VERSION = "0.54.0"

With the following ./crypt.sh:
#!/usr/bin/env bash
set -e

npm install -g https://github.com/Embraser01/staticrypt

find ./public -type f -name "*.html" -exec staticrypt {} $SITE_PASSWORD -o {} \;

It will replace all your html files by the encrypted ones. There is still a flash on each pages because I only decrypt after onload but I'll try to improve that quickly.
Also, it's not ideal to save the password as is in the sessionstorage... It would be good to secure it (no idea for now)

It didn't work:
Here are my deploy logs:
9:28:45 AM: Build ready to start 9:28:48 AM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63 9:28:48 AM: build-image tag: v3.3.2 9:28:48 AM: buildbot version: ef8d0929ed0baabafd8bbb7d0b021e1fc24180c0 9:28:48 AM: Fetching cached dependencies 9:28:48 AM: Starting to download cache of 112.0MB 9:28:49 AM: Finished downloading cache in 909.223499ms 9:28:49 AM: Starting to extract cache 9:28:52 AM: Finished extracting cache in 3.364383592s 9:28:52 AM: Finished fetching cache in 4.319441718s 9:28:52 AM: Starting to prepare the repo for build 9:28:53 AM: Preparing Git Reference refs/heads/master 9:28:54 AM: Found netlify.toml. Overriding site configuration 9:28:54 AM: Different build command detected, going to use the one specified in the toml file: 'hugo --gc --minify && ./crypt.sh' versus 'hugo' in the site 9:28:54 AM: Starting build script 9:28:54 AM: Installing dependencies 9:28:54 AM: Started restoring cached node version 9:28:57 AM: Finished restoring cached node version 9:28:57 AM: v10.16.0 is already installed. 9:28:59 AM: Now using node v10.16.0 (npm v6.9.0) 9:28:59 AM: Attempting ruby version 2.6.2, read from environment 9:29:01 AM: Using ruby version 2.6.2 9:29:01 AM: Using PHP version 5.6 9:29:01 AM: Started restoring cached node modules 9:29:01 AM: Finished restoring cached node modules 9:29:01 AM: Started restoring cached go cache 9:29:01 AM: Finished restoring cached go cache 9:29:01 AM: unset GOOS; 9:29:01 AM: unset GOARCH; 9:29:01 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64'; 9:29:01 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}"; 9:29:01 AM: go version >&2; 9:29:01 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env'; 9:29:01 AM: go version go1.12 linux/amd64 9:29:01 AM: Installing missing commands 9:29:01 AM: Verify run directory 9:29:01 AM: Executing user command: hugo --gc --minify && ./crypt.sh 9:29:02 AM: Building sites … 9:29:02 AM: Total in 5 ms 9:29:02 AM: Error: Error building site: unmarshal failed: unexpected end of JSON input 9:29:02 AM: Skipping functions preparation step: no functions directory set 9:29:02 AM: Caching artifacts 9:29:02 AM: Started saving node modules 9:29:02 AM: Finished saving node modules 9:29:02 AM: Started saving pip cache 9:29:02 AM: Finished saving pip cache 9:29:02 AM: Started saving emacs cask dependencies 9:29:02 AM: Finished saving emacs cask dependencies 9:29:02 AM: Started saving maven dependencies 9:29:02 AM: Finished saving maven dependencies 9:29:02 AM: Started saving boot dependencies 9:29:02 AM: failed during stage 'building site': Build script returned non-zero exit code: 255 9:29:02 AM: Finished saving boot dependencies 9:29:02 AM: Started saving go dependencies 9:29:02 AM: Finished saving go dependencies 9:29:02 AM: Error running command: Build script returned non-zero exit code: 255 9:29:02 AM: Failing build: Failed to build site 9:29:02 AM: Finished processing build request in 14.251211938s

It seems to be an error related to your hugo site (otherwise, it would have printed the results of hugo). Does it compile on your local machine?

Re:

Hey, I needed the same thing!
I rewrited a part of the password_template.html file to save the pass in the sessionstorage once the user entered the good password.
You can look here: https://github.com/Embraser01/staticrypt/blob/gh-pages/password_template.html
Then for netlify it's really easy!
My netlify.toml:
[build]
publish = "public"
command = "hugo --gc --minify && ./crypt.sh"

[context.production.environment]
HUGO_VERSION = "0.54.0"
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo  --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && ./crypt.sh"

[context.deploy-preview.environment]
HUGO_VERSION = "0.54.0"

[context.branch-deploy]
command = "hugo  --gc --minify -b $DEPLOY_PRIME_URL && ./crypt.sh"

[context.branch-deploy.environment]
HUGO_VERSION = "0.54.0"

With the following ./crypt.sh:
#!/usr/bin/env bash
set -e

npm install -g https://github.com/Embraser01/staticrypt

find ./public -type f -name "*.html" -exec staticrypt {} $SITE_PASSWORD -o {} \;

It will replace all your html files by the encrypted ones. There is still a flash on each pages because I only decrypt after onload but I'll try to improve that quickly.
Also, it's not ideal to save the password as is in the sessionstorage... It would be good to secure it (no idea for now)

I'm not 100 percent sure on how to set it up, but this is what I did:
added a crypt.sh with the following code:
#!/usr/bin/env bash
set -e

npm install -g https://github.com/Embraser01/staticrypt

find ./public -type f -name "*.html" -exec staticrypt {} **** -o {} \\;

And, this is my netlify.toml:
[build]
  publish = "public"
  command = "hugo && npm install && ./crypt.sh"
[build.environment]
  HUGO_VERSION = "0.55.6"
  HUGO_THEME = "hugo-hero-theme"
  HUGO_BASEURL = "/"

I got it working using this command
set -e && find ./_site -type f -name '*.html' -exec staticrypt -f _javascripts/password_template.html {} $PASSWORD -o {} \\;
and by tweaking the password template script, replacing
document.getElementById('staticrypt-form').addEventListener('submit', function(e) {
    e.preventDefault();
    var passphrase = document.getElementById('staticrypt-password').value,
        encryptedMsg = '{encrypted}',
        encryptedHMAC = encryptedMsg.substring(0, 64),
        encryptedHTML = encryptedMsg.substring(64),
        decryptedHMAC = CryptoJS.HmacSHA256(encryptedHTML, CryptoJS.SHA256(passphrase).toString()).toString();
    if (decryptedHMAC !== encryptedHMAC) {
        alert('Bad passphrase!');
        return;
    }
    var plainHTML = decrypt(encryptedHTML, passphrase);
    document.write(plainHTML);
    document.close();
});

with
function insertPlainHTML(password) {
    encryptedMsg = '{encrypted}',
    encryptedHMAC = encryptedMsg.substring(0, 64),
    encryptedHTML = encryptedMsg.substring(64),
    decryptedHMAC = CryptoJS.HmacSHA256(encryptedHTML, CryptoJS.SHA256(password).toString()).toString();

    if (decryptedHMAC !== encryptedHMAC) {
        // alert('Bad password!');
        localStorage.removeItem('password');
        return;
    }
    localStorage.setItem('password', btoa(password));
    document.write(decrypt(encryptedHTML, password));
    document.close();
}

window.addEventListener('DOMContentLoaded', function() {
    if (localStorage.getItem('password')) {
        insertPlainHTML(atob(localStorage.getItem('password')))
    } else {
        document.getElementById('staticrypt-form').addEventListener('submit', function(e) {
            e.preventDefault();
            insertPlainHTML(document.getElementById('staticrypt-password').value);
        });
    }
});

Stupid question do I need to run ./crypt.sh locally or somewahere in netlify or in hugo template?

Any examples of this working for gatsby?
Asking for me a friend :)

^ Got it working
find ./public -type f -name \"*.html\" -exec npx staticrypt -f \"./src/components/password_template.html\" {} **** -o {} \\;

Anyone know how to do this for Jekyll?

Stupid question do I need to run ./crypt.sh locally or somewahere in netlify or in hugo template?

In netlify, in your build command

This is very awesome @Embraser01  -- has anybody made any progress in removing the flash of the password box before decryption? I've just start looking at the code a bit but hoping to find some way to replace that with a loading spinner or similar.

Hi,
I am using the following Gatsby template https://jamtemplates.com/templates/gatsby-yellowcake and Deployed it to netlify via a private Gitlab repository.
I am using the following tutorial https://medium.com/@j0hnm4r5/password-protecting-a-website-with-the-free-tier-of-netlify-and-publishing-with-a-single-npm-e509af9f108f to password protect a single file public/index.html
and it works great.
What I did was I replace whatever was in my package.json "scripts": { by what the tutorial mentions.
Then I changed my netlify.toml command to command = "npm run publish"
and under https://app.netlify.com/sites/elements-development/settings/deploys I also changed the build command to npm publish
However, how can I password protect each individual page / the whole website please?
Kind regards,
888

Can you help me with the following question:
https://stackoverflow.com/questions/65129417/gatsby-browser-remembers-password-jekyll-browser-does-not-remember-password

Hey all, thanks for the issue and discussion. This is closed in #124 , which adds a "Remember me" checkbox. The passphrase is stored hashed + salted in localStorage, meaning it's a slightly bigger attack surface for decryting the encrypted page, but should mitigate password reuse leakage (see discussion in #120 ).
@staticman-cosmos regarding the flash of the password box - you could modify the password_template file to show a spinner by default and hide the whole password box with a hidden class, and in the onload function you check:

if there is a stored passphrase, decrypt and show that
if there isn't (or it's wrong), show the password box instead

This means that you might have very quick flash of spinner before the password box shows for a new user.


Address dependency management issues

https://github.com/ciena-blueplanet/ember-test-utils/issues/100 MUST be resolved before this issue can be addressed.  Some of the individual tasks may be able to be worked on before the completion of the dependent issue.  If doing so indicate which tasks have been completed by checking them off in the list below, as well as adding a comment to this issue indicating the name of the branch you have pushed to this repo so that work can completed once the dependent task has been addressed.

Tasks that have the text "(verified)" after them are ones that have either already been tested or are known to work.  This does not mean that you should not still be cautious but you likely don't have to do as much research as you might initially be inclinded to.
None of the tasks make a determination of whether a dependency should be a dependency or devDependency UNLESS otherwise stated.  Even then it is prudent to confirm this indicator.
All dependencies should float to ^ unless the directions in the tasks indicate otherwise.

NPM

[ ] determine if ember-cli-sri is being used.  if not remove it.  if so ^2.1.1 is latest
[ ] remove ember-cli-release (verified)
[ ] determine whether bluebird is needed.  ^3.5.1 is latest
[ ] upgrade ember-ajax to ^2.5.6 (verified)
[ ] remove from blueprint:

ember-hook
ember-cli-mocha
ember-hook
ember-sinon
ember-test-utils

[ ] remove from blueprint and make devDependency

ember-cli-frost-blueprints

[ ] add these dependencies and remove from devDependencies

chai-jquery @ ^2.0.1
ember-cli-chai @ 0.4.3
ember-cli-mocha @ 0.14.4
ember-hook @ 1.4.2
ember-sinon @ ^0.7.0,
ember-test-utils @ ^7.0.2
sinon-chai @ ^2.14.0

[ ] pin ember-hook to 1.4.2
[ ] determine whether ember-hook needs to be a dependency
[ ] remove everything from blueprint no longer needed
[ ] place copy of https://github.com/ember-cli/ember-cli-mocha/blob/master/blueprints/ember-cli-mocha/files/tests/test-helper.js into own blueprints, changing the linting format

add notes to this repo about why doing this action

[ ] pin ember-cli-htmlbars-inline-precompile to 0.3.12

BOWER

[x] n/a

JIRA: FROST-662


fix(mock-api): provide an explainatory error message when the mocks API hoisting doesn't work

closes #1084

I think it's better to move this to factory evaluation, and check for "ReferenceError". The code is in mocker.ts

I think it's better to move this to factory evaluation, and check for "ReferenceError". The code is in mocker.ts

Thanks for the review!
Uhm, I'm not sure I fully understand what you mean, this error happens because after the hoising vi.mock is called before the vi variable declaration.
We never reach the factory evaluation (which happens somewhere around here, right?), because the error is raised at the very start of the module execution.

Thanks for the review!
Uhm, I'm not sure I fully understand what you mean, this error happens because after the hoising vi.mock is called before the vi variable declaration.
We never reach the factory evaluation (which happens somewhere around here, right?), because the error is raised at the very start of the module execution.

Yes, that is why I left a review. I don't like raising the error here, I think better to format an error that actually happens, since parsing is unsafe.

In this case callFunctionMock is never reached.
I've tried to throw an error at the start of the function:
  private async callFunctionMock(dep: string, mock: () => any) {
    throw new Error('callFunctionMock')

I still get:
ReferenceError: Cannot access '__vite_ssr_import_0__' before initialization

I think better to format an error that actually happen

WDYT if we wrap the hoisted statements in a try/catch?
I'm thinking about something like this:
-     m.prepend(`${m.slice(startIndex, endIndex)}\n`)
+    m.prepend(`try { ${m.slice(startIndex, endIndex)} } catch(err) { isReferenceError(err) ? throw MOCK_ERROR : throw err } \n`)

Anyway, if this becomes too complex we could simply close the PR.

If it will never be reached, then it shouldn't throw, that's the point.

I'm still missing the point, sorry 😞
I think that it throws because the vi.mock(module) is executed before the initialization of the vi variable.
I wanted to make the error look better than Cannot access '__vite_ssr_import_0__' before initialization because it doesn't even mention real the source of the error.
I'm very new to this codebase, so I'm sure I'm missing something big.

I'm still missing the point, sorry 😞
I think that it throws because the vi.mock(module) is executed before the initialization of the vi variable.
I wanted to make the error look better than Cannot access '__vite_ssr_import_0__' before initialization because it doesn't even mention real the source of the error.
I'm very new to this codebase, so I'm sure I'm missing something big.

 I was thinking about usage inside factory, but it will throw on initializing vi.mock. Sorry, I got confused!


Get-DbaDatabase, proper messaging function typo

Type of Change

[x] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose
Use a function that exists. Blame on Ctrl+C/Ctrl+V.

Good catch!


[Core] Create external concept libraries

[ ] Geography (Countries, cities, territories?)
[ ] Biology (species, taxonomy)
[ ] Mathematical Units
[ ] Physical Materials
[ ] Historical Events
[ ] Fairy Tales
[ ] Famous characters
[ ] Space (stars, asteroids, galaxies)
...

They can all produce a Knowledge Base instance that could be merged with other knowledge bases.

Story generator (another project):
Generate characters
Generate places
Generate actions

Story generator (another project):
Generate characters
Generate places
Generate actions

Forest < Place
Village < Place
             - Near Forest
House < Place
            - Inside (at) Village
Girl < Being
       - Lives (at) House

Forest < Place
Village < Place
             - Near Forest
House < Place
            - Inside (at) Village
Girl < Being
       - Lives (at) House


Create Generator module

Codecov Report

Merging #8 into master will increase coverage by 0.15%.
The diff coverage is 50.79%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   95.49%   95.65%   +0.15%
==========================================
  Files          25       28       +3
  Lines         733      760      +27
==========================================
+ Hits          700      727      +27
  Misses         33       33

Impacted Files
Coverage Δ

lib/xronor.rb
100% <100%> (ø)
:arrow_up:

spec/lib/xronor/cli_spec.rb
100% <100%> (ø)

lib/xronor/cli.rb
100% <100%> (+62%)
:arrow_up:

lib/xronor/generator/cloud_watch_events.rb
26.31% <26.31%> (ø)

lib/xronor/generator/crontab.rb
62.5% <62.5%> (ø)

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 1d93752...0b3bb8e. Read the comment docs.


ImportError: /nms_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs

Hi,
when running the test_recognizer.py,
ImportError: /home/SENSETIME/xusu/Tasks/mmaction/mmaction/ops/nms/nms_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs
Actually, I have encountered this question in installing mmdetectoin, and solved it by installing the cudatoolkit of same version as out of my virtual conda environment. But this time it doen't work, I am using Pytorch 1.1.0, cudnn 7.6.0, cudatoolkit9.0, torchvision 0.3.0, python 3.7
I believe it is not because of inconsisitency of compile time and run time environment, since I run the script soon as I finish the compilation.
Please help me figure it out, thanks.

Problem solved. I used to use gcc/g++ 4.9 and ran into this issue, it goes well after switch to 5.0.


Update to use async methods in WatsonTcp

This goes with the recent changes on the async-to-the-core branch of WatsonTcp.

Thanks again @brudo , merged, added some documentation, rev'ed to 1.0.6, committed/pushed, and updated NuGet.  I really appreciate the time you spent on this sir!


Add in 2-factor authentication via TOTP

This PR adds in the ability for users to add a 2nd factor authentication via TOTP (time-based one-time passwords) for local authentication (only).
Changes:

Add TOTP check in local auth
Update database to include totp field in auth_scheme_data table
5 new TOTP-related api methods for local auth (effectively: hasTotp, generateTotp, registerTotp, finishLoginWithTotp, removeTotp) -- note, admins have access to query user's totp status and remove totp from a user account
Users with TOTP enabled will now reach a screen where they must provide TOTP details before they can continue.
New security section to account settings to add/remove TOTP to a user account
Admins can now remove TOTP for a user via admin's User Management, specifically with the action "Remove Two-factor authentication" (includes confirmation prompt)

TODO: Check what happens if a user has both TOTP and reset password flags set
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

It looks like there is a bug in the template here. It's dropping the string of the object rather than the path itself.

As noted in a separate conversation, the missing icon is actually due to an earlier merged  PR that updated file-loader. A separate PR will fix this issue (PR #112 )


[Toggle Expanders] Cannot read property 'querySelectorAll' of null

When following the link from https://github.com/Mottie/GitHub-userscripts/wiki/GitHub-toggle-expanders to https://github.com/torvalds/linux/commits/master, if I Control+Shift+click on a commit, nothing expands, and in my Javascript console I see:
userscript.html?id=0fae92d5-5b1e-4dfe-b375-9b8c648189cd:30 Uncaught TypeError: Cannot read property 'querySelectorAll' of null
    at toggle (userscript.html?id=0fae92d5-5b1e-4dfe-b375-9b8c648189cd:30)
    at Window.eval (userscript.html?id=0fae92d5-5b1e-4dfe-b375-9b8c648189cd:52)
    at <anonymous>:2:494
    at c.<computed> (eval at exec_fn (master:1), <anonymous>:55:182)

Hi @aspiers!
I was just working on this fix.
I was thinking about changing it so that Shift+Click only toggle the expanders of the current date. Then Shift+Ctrl+Click would toggle all expanders on the page. This is different that the previous behavior where Shift+Click  would toggle all the expanders and including the Ctrl did nothing different (except for the outdated blocks). What do you think of this change?

Thanks @Mottie!  Yes, this sounds exactly right to me.

This has been fixed in the latest version!

Works perfectly, thanks again :-)


[Flow] Update fusion heuristics to enable non adhoc  dequant-matvec f…

…usion.

For documentation: The test/case(nofuse_by_collapse_matmul) come from in Llama2 where the embeddingBag is a non direct ancestor to Dequant-Matvec's matvec, and the embedding bag has multiple use. This leads to multiple fuseByCollapsingControlFn and ends up trying to collapse the dequant generic, which is not great. This PR would fix it.

Closing stale PR.


 My initial use case is to be able implement media query-fenced styles more programmatically — this would save a lot of find-and-replace operations when adjusting breakpoints and reduce the chances of mistyping a media query by hand.
A couple ideas come to mind:
Optionally export styleguide as a JS object
Exporting the styleguide as a JS object would allow me to compose my styleguide out of smaller, reusable bits of Javascript. For example
// app/lib/queries.mjs
export default {
  sm: '30em',
  md: '48em',
  lg: '64em',
  xl: '90em',
}

// styleguide.mjs
import queries from 'app/lib/queries'

export default {
  queries,
  …
}

// app/elements/my-component.mjs
import queries from 'app/lib/queries'

export default function MyComponent({ html }) {
  return html`
    <style>
      :host { color: palevioletred; }
      @media screen and (min-width: ${queries.lg}) {
        :host { color: rebeccapurple; }
      }
    </style>
    Hello world
  `
}

Provide a built-in helper to use the styleguide's values
A built-in API for accessing the styleguide's values would eliminate some DIY work of the previous option; this may be more or less desirable for an end user.
Something to explore here is this would, for some properties, provide two different ways to refer to the same data. For example, colours defined in the styleguide's colors and theme fields could now be referenced with both JS and via the CSS custom properties that are generated by Enhance Styles. This could be confusing…?
An example of how this might work:
// app/elements/my-component.mjs
import { useStyleguide } from '@enhance/enhance-styles' // I know, this name is probably too Reacty 😅

export default function MyComponent {
  const { queries } = useStyleguide()

  return html`
    <style>
      :host { color: palevioletred; }
      @media screen and (min-width: ${queries.lg}) {
        :host { color: rebeccapurple; }
      }
    </style>
    Hello world
  `
}

These are just the first two ideas that came to mind, happy to investigate alternatives!

Something to keep in mind: Enhance Styles already generates CSS custom properties for colours; conceivably, it could do the same for other styleguide values like border radiuses, border widths, fonts, etc. Media queries are the one field that this pattern doesn't work with, because CSS custom properties can't (currently) be used with media queries. Hence this idea. However, this approach may invite more complexity than it solves.
For example, the aforementioned issue of the secondary approach exposing some styleguide values as both CSS custom properties and as data via JS.
Additionally, what happens when some styles are rendered on the client instead of SSR? Does this open the door to a potential Bad Time?

I ran into the same issue and would love to be able to access the query properties in my custom elements. Otherwise, we end up hard-coding these values in a lot of places. So I too would love to see a solution for this problem as well.

Nice, I much prefer that naming to what I'd roughed out too 😂

Similar: should we expose entries in styleguide.fonts as custom properties?
E.g.:
{
  "fonts": {
    "sans": "Helvetica Neue, Helvetica, sans-serif"
  }
}

.foo {
  font-family: var(--font-sans);

https://discord.com/channels/1012099764713705472/1059964929681141870/1139639690241245216

Closing as we're now tracking this as a potential feature for Enhance Styles v7


Generic instance for Void

Would it make sense to have a generic instance for Void, similar to the instance for Unit?

I think so, yes.

Is there is a way to get a value of type Void? If we wanted to write the instance as below. But maybe there is a better way to write the instance.
instance genericVoid :: Generic Void where
     toSpine _ = SVoid
     toSignature _ = SigVoid
     fromSpine SVoid = Just ?void
     fromSpine _ = Nothing

I think the trick is to define SVoid as | SVoid Void.

Or just fromSpine _ = Nothing since a value can't exist for it?

Yes, that works too 😄

Thanks! Is there a preference for one over the other?

I prefer the SVoid Void option, only because it makes it clear that that sort of spine is not inhabitable.

Sounds good to me. Thanks again.


(apache-httpd) installLocation is not the apache root

Specifying installLocation leads to a folder having the readme file and main apache folder.
Can we fix it so installationLocation should specify to a folder containing bin subfolder.
Also, the port is 8080 by default while the repo says it's 80

Port docs fixed (will be visible in next releaase)
Regarding installLocation, such is the vendor archive. I agree with you that original decision was bad. This can be changed, but it may be problematic to anyone who already uses current package. The parameter is also named wrong, it should have been /InstallDir as usual.

I discovered this in the package yesterday, and I've fix this by modifying the package to not create the Apache24 directory. I would love to have my fix included in the official package and I can do a pull request if you are interested. I solved it by adding a /noApacheDir option, so the package should be perfectly backward compatible.
The problem was that I wanted to install apache in the C:\myapp\apache directory but when I installed the package using command choco install apache-httpd -y --params '"/installLocation:C:\myapp\apache"' it installed Apache in the C:\myapp\apache\Apache24 directory.
With my modified package I can use this command choco install apache-httpd -y --params '"/installLocation:C:\myapp\apache /noApacheDir"' and Apache is correctly installed in the C:\myapp\apache directory as I wished.
I've also ensured that upgrades and uninstalling works fine.
Would you be interested in merging this pull request into the official package?

Would you be interested in merging this pull request into the official package?

choco install apache-httpd -y --params '"/installLocation:C:\myapp\apache /noApacheDir"'

This looks terrible, and is not intuitive and nobody does that ever :)
I will accept PR that works as this:

It should install in the dir provided, not subdir, always, by default it should install the current way.
installLocation should be also provided as installDir which is standard

There is no need for any mumbo jumbo sush as /noApacheDir.

This ofc breaks compatibility for those that used this param which is IMO better then mumbo jumbo. We could depricate current package.

So let me make sure I understand you correctly =) The pull request should change the package so:
choco install apache-httpd -y --params '"/installDir:C:\myapp\apache
or:
choco install apache-httpd -y --params '"/installLocation:C:\myapp\apache
installs to C:\myapp\apache, and:
choco install apache-httpd -y
installs to same directory as before which is $Env:AppData\Apache24.

Yes.
I believe that is the best approach.  That way,

those that didn't specify custom location will have the same thing (majority)
those that did are minority and for them it will break (NOTE would be required if current package is used).

You simply if ($pp.InstallDir) { unwrrap the folder after install and before everything else } else { keep the same }
This is relateivelly new package and its better to fix things now then later.
Maybe someobody else doesn't think so (/cc @AdmiringWorm @gep13 ).
I provided names from other repos in case deprecation is choosen.

👍 Sounds good! I'll modify my changes to work like that and let you know when I have a pull request ready for this issue.

I'm still interested in doing this. Will look at it in about a month.


Fixed #29063 -- Fixed migrate crash when specifying a name of partially applied squashed migrations.

ticket-29063
Supersedes #14643, which was merely an attempt to spruce up the NodeNotFoundError to be more informative.
The original ticket does not say with specificity how to reproduce the issue. Mariusz demonstrated on #14643 that several related scenarios already have sufficient messaging. The scenario in this regression test--attempting to migrate to an incompletely applied squashed migration, and moreover, specifying it by name--is one we can fix at the source.
Given that, I think we can close the ticket with this change. (While an understandable suggestion, I don't think we need to be raising warnings, as the original report mused.)

@jacobtylerwalls Thanks :+1: I pushed small edits.


a mouse wheel problem when zooming

I have a problem when use leaflet1.2.
I zoom the map by mouse wheel,if slowly,It has no problem,but if quickly,the zoom of the map is wrong.
sometime it skep from 11 to 13,sometime skep from 4 to 6 etc, Thus results in a white area and no smooth feeling,like jumping!
but It has no problem in leaflet 0.7-*

Sounds like a duplicate of https://github.com/Leaflet/Leaflet/issues/5622.
If that is not your case, please provide steps to reproduce and a live example so that we can investigate, as specified in the issue template.

no complex step,just create a small project.
var  map=L.map({}).
var tileLayer=L.tileLayer('url',{}).addTo(map).
then run it and zoom the map by mouse wheel slowly and quickly,you can find it.


nodeos was killed. but restart takes too long time.

Why is nodeos killed so frequently?
Every time nodeos died, --replay-blockchain option should have been used.
Like bitcoin, is it impossible that only last few blocks needs to be replayed?
In case of steem, replaying is hell. EOS too in the future?
Sometimes, even --replay-blockchain option does not works. --hard-replay-blockchain is too.
then, I should have deleted all block data and restart from the very beginning.
It take too long time.
Is there something like checkpoint?

If nodeos is shut down cleanly, it can be relaunched with no arguments at all (besides --config-dir or --data-dir if those were used) and it will resume where it left off.    Nodeos is a stable, long-running process.  I myself have run it for weeks at a time without incident.
--hard-replay is a checkpoint type system, which will replay as much of the block log as is good, then switch to synchronization after it can no longer continue reading from the old log.  Replay time is limited by your hardware.


Mark old log_points style SDK as deprecated

The old Python api's in the log_points style should be marked as @deprecated in 0.9 before being removed in 0.10. Each depreciated function should include a description of what to use instead.

Pattern established in #3500. Still need to actually do this for all functions


DenseNet cannot work correctly while other models (such as Inception-ResNetv2) works

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[Yes] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[Yes] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

Hi,
I am using the latest master branch in Keras and is trying to use the DenseNet implementation on a particular dataset. However, when training on the dataset, it throws the errors below:
Traceback (most recent call last):
  File "train_georgetest.py", line 233, in <module>
    validation_data=DataGenSequence(labels, partition['valid'], current_stat                                                                                e='validation')
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /keras/legacy/interfaces.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /keras/engine/training.py", line 2164, in fit_generator
    class_weight=class_weight)
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /keras/engine/training.py", line 1836, in train_on_batch
    outputs = self.train_function(ins)
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /keras/backend/tensorflow_backend.py", line 2475, in __call__
    **self.session_kwargs)
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/datadrive/xiaoyzhu/python3forvalidation/lib/python3.5/site-packages                                                                                /tensorflow/python/client/session.py", line 1096, in _run
    % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (16, 14) for Tensor 'dense_1_target:0                                                                                ', which has shape '(?, ?, ?, ?)'

and my model is built with the code below:
def build_model():
    """

    Returns: a model with specified weights

    """
    # define the model, use pre-trained weights for image_net
    base_model = DenseNet121(input_shape=(224, 224, 3),
                             weights='imagenet',
                             include_top=False,
                             pooling='avg')

    x = base_model.output
    predictions = Dense(14, activation='sigmoid')(x)
    model = Model(inputs=base_model.input, outputs=predictions)
    return model

However, if I change the base_model to a different one, such as Inception-ResNetv2, it works fine (at least start training process).
I suspect there might some implementation error in the newly committed DenseNet? The same code also works fine for the DenseNet in Keras_contrib (https://github.com/keras-team/keras-contrib/tree/master/keras_contrib/applications).
I am using Tensorflow 1.4.1, Keras from master branch, and Ubuntu 16.04.

@myutwo150 you are right. Alternatively, @xiaoyongzhu can use Flatten.
(e.g.,
x = Flatten()(base_model.output)
x = Dense(14, activation='sigmoid')(x)

)

am curious what will happen if you add new classifier layers like this:
x = GlobalAveragePooling2D(flat_layer)
classifier = Dense(128, activation = 'relu', kernel_initializer = 'he_uniform')(x)


Add MEGAsync 4.3.1

Microsoft Reviewers: Open in CodeFlow

@superusercode would you help me with this please? :smile:

looks like the CI failed to download the installer @NathanBnm . The choco equivalent looks pretty much identical https://github.com/teknowledgist/Chocolatey-packages/blob/master/automatic/megasync/tools/chocolateyinstall.ps1

@superusercode this is weird it's working perfectly when running winget -m install 4.3.1.yaml

Blocked by #91

Duplicate of #1620


Unable to update the highlighted content

There's no support for re-highlighting the content dynamically. I have fixed it outside of the component, but I'll create a PR to fix this in the main repo.

Fixed in https://github.com/elisiondesign/vue-code-highlight/pull/5/commits/eb582611d3012df416dfcec15e59adf23a1b5a24

Hi, thanks for the PR. I'm merging it asap.

I merged the PR and removed the demo, since it's not needed. I will add some note to readme instead.


[Core] Clique engine for Aleth

probably needs refactoring for additional engine
ref https://github.com/ethereum/aleth/issues/5057

ref https://github.com/ethereum/aleth/issues/5522

@chainsafeth @MPtherealMVP Can you put a Gitcoin bounty for it? We can help with integration and mentoring.

we have very bad experience with gitcoin, especially with more complex tasks like that. it would be easier to find a developer willing to commit to this work first and then agree on a budget.

Ok. Who is suppose to look for the developer then?

Yo i’m gonna look for him/her/they! @chfast - will ping u tomorrow

Please put this request on hold until further notice.