register fails on channles requests.

stacktrace:
GraphQL request:2:3
1 | mutation {
2 |   register(
  |   ^
3 |     input: {email<EMAIL_ADDRESS>username: "stevenbrown", password1: "xW1S9aTlH@", password2: "xW1S9aTlH@"}
Traceback (most recent call last):
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/graphql/execution/execute.py", line 528, in await_result
    return_type, field_nodes, info, path, await result
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 435, in __call__
    ret = await asyncio.wait_for(future, timeout=None)
  File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
    return await fut
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/asgiref/sync.py", line 476, in thread_handler
    return func(*args, **kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/gqlauth/core/field_.py", line 27, in _resolve
    return super().get_result(source, info, args, kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/strawberry_django/fields/field.py", line 112, in get_result
    return super().get_result(source, info, args, kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/strawberry/field.py", line 167, in get_result
    return self.base_resolver(*args, **kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/strawberry/types/fields/resolver.py", line 187, in __call__
    return self.wrapped_func(*args, **kwargs)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/gqlauth/core/mixins.py", line 36, in field
    return cls.resolve_mutation(info, input)  # type: ignore
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/gqlauth/user/resolvers.py", line 138, in resolve_mutation
    user.status.send_activation_email(info)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/gqlauth/models.py", line 77, in send_activation_email
    email_context = self.get_email_context(
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/gqlauth/models.py", line 62, in get_email_context
    site = get_current_site(request)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/django/contrib/sites/shortcuts.py", line 18, in get_current_site
    return RequestSite(request)
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/django/contrib/sites/requests.py", line 11, in __init__
    self.domain = self.name = request.get_host()
AttributeError: 'GraphQLHTTPConsumer' object has no attribute 'get_host'
Stack (most recent call last):
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/strawberry/channels/handlers/http_handler.py", line 163, in execute
    result = await self.schema.execute(
  File "/home/nir/Desktop/tzv5hob/Backend/.venv/lib/python3.10/site-packages/strawberry/schema/schema.py", line 216, in execute
    self.process_errors(result.errors, execution_context=execution_context)

method to fix:
https://github.com/nrbnlulu/strawberry-django-auth/blob/7c97c5024c1dc1f6dacd3fcffca0f0046325bc1c/gqlauth/models.py#L59

@shmoon-kr

I tried to fix it:
request = info.context['request'] if isinstance(info.context, dict) else info.context.request
but it still raises an error
.
The error is in get_current_site()
I think the solution is to implement this function ourselves.


Unbreak build with libc++

Fixes #70. Tested with Clang/libc++ 17

libc++ 18 has atomic floats but libc++ < 18 may still be common on distros
libc++ 19 has tzdb and soon will have current_zone

I will try llvm 18 sortly with and without this PR. Would be good to add your patch in the guru ebuild.

You merge it after doing that test and seems to compile just fine. Just need to check if all feature work well and then I can close my issue as well

Ok scratch what I said above I still have gcc set and dint notice.
@jbeich what CXXFLAG you use to compile hyprlock since it failing on my end.
/usr/lib/llvm/17/bin/clang++-17  -I/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/. -I/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/protocols -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/lib64/libffi/include -isystem /usr/include/libmount -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/blkid -isystem /usr/include/fribidi  -stdlib=libc++ -march=native -O3 -pipe -fdiagnostics-color=always -flto=thin -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -pthread -MD -MT CMakeFiles/hyprlock.dir/src/config/ConfigManager.cpp.o -MF CMakeFiles/hyprlock.dir/src/config/ConfigManager.cpp.o.d -o CMakeFiles/hyprlock.dir/src/config/ConfigManager.cpp.o -c /var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp
/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp:91:6: error: no type named 'mutex' in namespace 'std'
   91 | std::mutex   configMtx;
      | ~~~~~^
/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp:94:10: error: no member named 'lock_guard' in namespace 'std'
   94 |     std::lock_guard<std::mutex> lg(configMtx);
      |     ~~~~~^
/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp:94:26: error: no member named 'mutex' in namespace 'std'
   94 |     std::lock_guard<std::mutex> lg(configMtx);
      |                     ~~~~~^
3 errors generated.

Ok I found the fix two files require:
#include <mutex>


[Enhancement Request] Using Regex for autofill form ids

Describe the Enhancement
Right now we are doing search on the dom for an exact id but we should switch over to a regular expression statement to apply the autofill to cases where there are slight differences from site to site. For example we don't want to check for an id called "First-name" and another called "firstName". Rather then manually try and come up with every permutation of words form ids can be using we can use regex to create a general case that can be applied to cover a large range of spellings/formats of id names.
Describe the current behavior
We just check for an exact id match which means latter on we would need to come up with multiple spellings and formats of the same id name... which is bad.
Describe alternatives to your enhancement
We use ai to determine what to input into the form. This should be a backup case for fields we aren't able to initially inject onto as injection will always be faster than having ai determine what to enter.
Screenshots
No response
Additional Context
No response

I dunno I almost think ai might be more reliable than this approach. Have some sort of prompt that says: Here's this fields id, and here's the question preceding it. Fill in the blank! That way we don't have to hard code all of these cases

AI will definitely be more reliable overall but it will also be slower. I think having multiple ways to do the same things wouldn't hurt. We start by injecting as it is faster than AI and easier to get up and running for most job applications, especially the ones like greenhouse where every form id is the exact same. After injection does what it does we move over to an AI model to hit the forms we missed. This way we can cover what we manually couldn't like custom application responses or weird form ids. The finally we just list to the user what we aren't able to fill out for them so they can easily search and fill out what is missing.


FE energy charts to be able to display historical data down to 5 min resolution

An epic to capture related tickets and discussions on the designs
related:

#65
https://github.com/opennem/opennem-fe/issues/22
https://github.com/opennem/opennem-fe/issues/16
https://github.com/opennem/opennem-fe/issues/7

few options:

seamless pan and zoom (hard)
date picker (a little fiddly)
previous/next period controls

keyboard shortcuts (e.g. shift + →, shift + ←) another possibility (though would need some on screen controls for discoverability)


Async onEnter's have complicated stack traces

If you use promises in async onEnter, you wind up having to catch twice, e.g:
makeNetworkRequest()
  .then(function() { doStuff(); callback(); })
  .catch(function(err) { callback(err); })
  .catch(function(err) { renderErrorMessage(); })

This is because the entire process of rendering is triggered by calling callback. Without the second catch, any rendering errors would reject the promise, which you have no further access to since react-router discards it. Hopefully you're using a promise library that tells you of unhandled promise rejections.
I wonder if this could be made safer - calling callback should make the route transition happen, but the subsequent rendering happens in a separate execution context, so that its errors bubble up to the top.

I think your example should be
makeNetworkRequest()
  .then(function(){ doStuff() })
  .then(function() { callback(); }, function(err) { callback(err); })
  .catch(function(err) { renderErrorMessage(); })

Otherwise, you might end up calling callback twice.
I'd say the issue with error swallowing is one of the bigger shortcomings of the promise spec. In some promise libraries you will find promise.done, with which you would do
makeNetworkRequest()
  .then(function(){ doStuff() })
  .done(function() { callback(); }, function(err) { callback(err); })

// or
makeNetworkRequest()
  .then(function(){ doStuff() })
  .then(function() { callback(); }, function(err) { callback(err); })
  .done()

It's not part of the spec, but I've seen some discussions, e.g. here. Apparently, they leave it up to the browser to report unhandled, rejected promises.
You could achieve the same with setTimeout:
makeNetworkRequest()
  .then(function(){ doStuff() })
  .then(
    function() { setTimeout(function() { callback(); })},
    function(err) { setTimeout(function() { callback(err); })}
  )

any rendering errors would reject the promise, which you have no further access to since react-router discards it

I wouldn't say the router discards it. The router provides a nodejs style callback interface, and you're using promises for your async operations which effectively wrap your callback invocations in a silent try-catch block. You would run into the same problems with other libraries that use callbacks.
Think about it this way: whenever you create a promise, you should either pass it on to some instance that handles its result (can't do that here since the router doesn't use promises), handle and "escape" the promise yourself (eg setTimeout), or at least be aware of the repercussions (error swallowing). Otherwise you end up with a hanging promise that no one owns but still carries some valuable information.

Thanks for the detailed answer, @taurose. Please feel free to close these kinds of issues after helping someone if you'd like :)

Thanks, @taurose. Hadn't thought of the setTimeout trick.


Getting Voice Notification Eventhough call is active

How do i restrict call notification if call is already active. For Eg : If there is ongoing call between person A and person B now if person C calls person A then person A should not receive call notification if there is ongoing call

Hi @wmt-raj-mobile
Currently Programmable Voice does not restrict calls to a client who is already in an active call. The application can decide what to do with the subsequent incoming call notification.


merge builders cleanup

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingAds/scripts/concepts/builders.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


dynamic/evidence 500

request:
https://scigraph-data.monarchinitiative.org/scigraph/dynamic/evidence/HP%3A0011014/HP%3A0000118?evidence_code=ECO%3A0000204
response
{
"code": 500,
"message": "There was an error processing your request. It has been logged (ID 8368d28a701a58b7)."
}

@benwbooth I know you're not familiar with this part of the code but can you see if there's something obvious here. Also the error ID is not very useful if we don't know what to do with it...


Form Rendering Issue Resolution in Next.js: A Comparative Analysis between Versions 13.5 and 14.4.7"

Preliminary Checks

[X] I have reviewed the documentation: https://clerk.com/docs

[X] I have searched for existing issues: https://github.com/clerkinc/javascript/issues

[X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)

[X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Reproduction / Replay Link
/
Publishable key
pk_test_Zmx5aW5nLXJhdmVuLTg3LmNsZXJrLmFjY291bnRzLmRldiQ
Description
In Next.js version 13.5, there was a significant problem where forms failed to render correctly or sometimes didn't render at all when using the clerk/next library. However, this issue was resolved in version 14.4.7, and forms now work as expected. This report highlights the specific issue and its resolution between these two versions of Next.js.
Environment
os => windows 10
nextjs => v13.5
@clerk/nextjs =>^4.25.3

When I log in, I am still redirected to /sign-in?redirect_url=xxx, which is a blank page, like this:

"@clerk/nextjs": "^4.25.3"
"next": "13.5.4"

When I log in, I am still redirected to /sign-in?redirect_url=xxx, which is a blank page, like this:

"@clerk/nextjs": "^4.25.3" "next": "13.5.4"
To achieve successful results, I recommend rolling back your Next.js version from v13.5 to v13.4.7. This adjustment should resolve your issues

When I log in, I am still redirected to /sign-in?redirect_url=xxx, which is a blank page, like this:

"@clerk/nextjs": "^4.25.3" "next": "13.5.4"
To achieve successful results, I recommend rolling back your Next.js version from v13.5 to v13.4.7. This adjustment should resolve your issues

I know what my problem is, I made a very stupid mistake. I accidentally typed an extra character in CLERK_SECRET_KEY.😢
Working very well now. "@clerk/nextjs": "^4.25.3" "next": "13.5.4"

Thanks for posting this one! I'm going to close this as it's not an active issue, but really appreciate the note and analysis 🙏


fix(build): update webpack jsx paths

Update webpack jsx paths to support windows builds/dev server
closes #10997

You can close this of windows is not supported officially but seems like this is the only issue that prevents development on windows

Thanks for this PR! I wish I had a Windows machine to test! I'll try to find someone that does.

@cemremengu are you able to rebase this and see if it's still needed on Webpack 5 (this PR was done against Webpack 4). If so, I'm happy to help get this through (I have a Windows machine on which I can test this)

closing in favor of https://github.com/apache/superset/pull/18685


feat(test): support sync point for integration test

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Changes

Support sync point for integration test
Add example tests in src/tests/sync/src/tests.rs.

With sync point, we can cooperate components execution by

specify sync points in non-test code,
specify actions for sync points in test code. Actions can be either "wait for a signal" or "emit a signal".
execute actions when sync point is triggered.

Limit:

the cluster must be launched by risedev playground, so that all components are in the same process.
only support shared-in-mem object store (can be improved)

TODO:

clean up shared in-mem object store after each tests.

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

Shall we use sync_point to replace sync for file and folder. It looks a bit confusing

Fixed.


mPQ and bPQ

can you share code to calculate bPQ and mPQ as stated in the paper, and how is it different from hovernet paper PQ metrics.

Thanks for your comment, the code to calculate bPQ and mPQ is from https://github.com/TIA-Lab/PanNuke-metrics which is officially provided by the PanNuKe datasets.


Release/2022 03 02 white buffalo

Try out this version of the Hiro Wallet - download extension builds.

Content:

https://github.com/hirosystems/stacks-wallet-web/pull/2172
https://github.com/hirosystems/stacks-wallet-web/pull/2272
https://github.com/hirosystems/stacks-wallet-web/pull/2288

If I run this branch locally I'm getting this when trying to create an account:

If I download and run the build here, I don't seem to run into it right away but I did at one point but not sure how to reproduce it yet. Could this be related to the app key issue? @kyranjamie anything with your work?

I'll take a look 🔎

@fbwoolf it does, yes. I just tried create & restore flows and works fine.

@fbwoolf it does, yes. I just tried create & restore flows and works fine.

Can you remove and reinstall the wallet while local is running then try to create an account, does that work?

Removing/reinstalling makes no difference 🤔

Removing/reinstalling makes no difference 🤔

This is so bizarre, I'll dm you in a bit to show you.

@beguene @timstackblock curious how your tests go with this build bc I've tried 3 times to get Test 1 to pass from these instructions but each time the salt isn't in localStorage? https://github.com/hirosystems/stacks-wallet-web/pull/2286
Test 2 also fails for me. I'll check the build and keep trying.

@beguene can you test the build on this in your AM?  I could not get your app key fix to work today with this build.  Also, I think we need to merge this PR and include it in this release PR to test? https://github.com/hirosystems/stacks-wallet-web/pull/2295

Good catch @fbwoolf, lets make sure to have #2295 so we have a roll back path

Thanks @fbwoolf, I will check it out.

@fbwoolf I tested the build and indeed it does not work but my initial PR build did worked. Then I merged Kyran's branch into dev and re-triggered the build. And now it works 🤔 Maybe my previous commit did not trigger a full re-build.
cc: @andresgalante @timstackblock @Eshwari007

@fbwoolf I tested the build and indeed it does not work but my initial PR build did worked. Then I merged Kyran's branch into dev and re-triggered the build. And now it works 🤔 Maybe my previous commit did not trigger a full re-build. cc: @andresgalante @timstackblock @Eshwari007

Great, thanks for double checking it for me. I will test the new build today and make sure it works for me too!

@fbwoolf Thanks a lot ! Having you double checking is really valuable 🚀

@fbwoolf thanks for your feedback I am seeing the salt come in as undefined here is a screenshot. I saw this work before the merge, the field was populated with a value now it is not.

While QAing this PR we found an issue in the wrap nothing smart contract to investigate later #2301

If this an error with the wrapped-nthng smart contract, why is it reported as an issue in the wallet?

While QAing this PR we found an issue in the wrap nothing smart contract to investigate later #2301

If this is an error with the wrapped-nthng smart contract, why is it reported as an issue in the wallet?

@fbwoolf I wanted to get our Dev's input in regards to the issue prior to moving it to the concerned repository


Skills marketplace readiness

This update, mostly just the README.md for the new home.mycroft.ai marketplace guidelines.
What else would you like to see before you consider the skill ready for general release (i.e., ready for submission to the official marketplace)?

Now that this is tidied up, how do you feel about submission for acceptance
to the mycroft.ai skills repo/marketplace? I don't mind doing the
"paperwork" if it is allowed to have a non owner to do that.
--Justin
On Mon, Jun 10, 2019, 14:07 nogre<EMAIL_ADDRESS>wrote:

Merged #11 https://github.com/nogre/ping-skill/pull/11 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nogre/ping-skill/pull/11?email_source=notifications&email_token=AALAR5DISM7FQK4GTOGZFYDPZ27BLA5CNFSM4HWYQQA2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR4XQMOI#event-2402223673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALAR5BEO5AGLA2TZILRBVLPZ27BLANCNFSM4HWYQQAQ
.

Feel free.

Thanks! Of course, just as I said this, mycroft core 19.08 installed and
now I'm having some intent recognition failure. So I'll work on that first,
then finally begin publishing.
-- Justin
On Tue, Oct 1, 2019 at 5:00 PM nogre<EMAIL_ADDRESS>wrote:

Feel free.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nogre/ping-skill/pull/11?email_source=notifications&email_token=AALAR5BLVPEW7RSLY7GNUC3QMPQCFA5CNFSM4HWYQQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEADDW2I#issuecomment-537279337,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALAR5A4LQCMZG7SWDLDTMTQMPQCFANCNFSM4HWYQQAQ
.


Stop writing launcher debug logs to container

Additional debug logging can be enabled through logging.conf if required

@zachhannum Do you have any concerns of including this change with the Workbench release?


Socket Support for chat feature

Socket support added, additional work required for chat rooms. Closing this one, and we'll create a story for chat.


Sideload doesn't work with content add-ins on mac

Article URL
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/sideload-an-office-add-in-on-ipad-and-mac
Issue
While sideload for task pane add-ins works without problems, errors occur when using sideload for content add-ins.
PowerPoint isn't listing my sideloaded content add-in in the drop down menu.
Add-in Error:
This add-in is no longer available. If this add-in's manifest was removed, please restore it to its previous location and try again.
System:
macOS 10.14.3
PowerPoint for Mac Version 16.23

@jglodde sorry to hear that you've run into this problem. I'm going to transfer this issue to the OfficeDev/office-js repository (which members of the product team monitor), since it seems likely that this is a product/platform bug and not a documentation bug.


Going into an infinite respring loop.

Describe the bug
A clear and concise description of what the bug is and what you expected to happen.
Whenever I try to respring my device, it goes into an infinite restring loop and I have to soft reset to get out of it and then re-jailbreak my phone.
Device (please complete the following information):

iOS Version: 12.1.2
iOS Device: iPhone X
unc0ver Version: 3.1.2

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[ ] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[ x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

Update: It seems that is it not the update, I have tried multiple restoreFS, I've tried reseting everything in my phone and reinstalling unc0ver 3.2.1 and even older ones like 3.0.1 which is the one that I had when everything was running perfectly. However, I'm still having issues when I respring my phone and another bug that I also notice is with the UnSub tweak. Here is what I'm getting. Please Help :(

Try installing everything. (If you haven't already). If you end up going into a respring loop, do a "Hard reset" on your iPhone to get out of it. Check your version of iOS to see if is compatible. Check "iPhone Storage" in "Settings - General" to see if you have ANY OTA Updates of a future, uncompatible version. If you do, delete it immediately.


About changing url？

hello, sorry, thank you very much for providing such a complete code, but I can’t find out where to change the url of the online video. Can anyone who knows please tell me?

The data of the online video list comes from https://gitee.com/lzl_s/Videos-Server/raw/master/tvs.json, but most of the online video links are invalid for now. You can update the list by providing another tvs.json with some different contents.

Also, you can provide your own way to load the data onto the online video list:
The OnlineVideoListModel fetches the data for the list from the remote server and fill them into a set of data classes.
The OnlineVideosFragment  binds the fetched data onto the list to show and to interact with the user events (click, long click, etc.).

Also, you can provide your own way to load the data onto the online video list:
The OnlineVideoListModel fetches the data for the list from the remote server and fill them into a set of data classes.
The OnlineVideosFragment binds the fetched data onto the list to show and to interact with the user events (click, long click, etc.).

thank you so much, I will try it, if you have any questions, I will trouble you

OK. ==


Flight tasks: in-flight param change not working for some params

I noticed that when I changed MPC_TILTMAX_AIR it did not get applied immediately, but only after changing flight tasks (flight mode).
It's set in here, and I think it affects all of these params.
@Stifael @MaEtUgR can you look into this?

As far as I understand this is done because every task can set his own maximum tilt (lower than the global maximum). So there would need to be a logic that knows if the task set a lower constraint and if not would use the global maximum even if it's changed during runtime of the task.
Makes sense in my opinion that this can be changed at any time. The case where the constraints are smaller is in my eyes less frewuent but nice to have supported.

I'm almost certain this problem still exists. We need to check if setting defaults from parameters on every loop iteration and then resetting them whenever the task has different limits it might not be the nicest implementation but at least UX would be fixed. @Stifael What's your opinion? (I can fix it after we decided)

another option would be to actually check for a particular parameter instead of checking against constraints  as it is done here. However, this would require a check for each loop as well

We may build such a check into the flight task base since setting new parameters in flight is a common requirement. Then the check could be uilt in and each task could add its necessary implementation to take the new parameters over.

I think the goal is to get rid of adjusting the controller limits from the flight task, it should rather constrain the setpoint of its output instead of relying on in between setpoints of the controller getting constrained. So I will work in this direction from now on. This should solve all our inherited and randomly changed controller limits problems including this one.


Can't import value that belongs to another class.

My status_record.rb in models file is this:
class StatusRecord < ActiveRecord::Base
extend Enumerize
  attr_accessible :absence_reason, :absence_time, :beginning, :end, :memo, :status, :student_list_id

  belongs_to :student_list
  enumerize :absence_time, in: [:halfyear, :oneyear, :other], default: :halfyear
end

and the csv file I import is like this:
 id,status,absence_time,beginning,end,absence_reason,memo,student_list_id
 1,rest,halfyear,2013-07-04,2014-01-04,sick,test_data,19191919

All value from id to memo successfully imported but the student_list_id didn't work.
It belongs to another class and I could't find a way to solve this problem.
Anyone can give me some advice?

I don't know if this is the same problem others were seeing, but I had to add a few calls to to_sym to get this to work. See the changes in my fork to see if that helps.
I'd be happy to submit a PR with those changes if anyone would be interested.

I just added a new maintainer to this project since I haven't had time to maintain it, so patches welcome if you want to send a PR.

I'm the new maintainer :) I'm working on moving the code to delegate all the association handling to the core Rails Admin code so this issue will go away.

:+1: Thanks @stephskardal and @monkbroc!

If you still use this gem, please update to version 1.0.0 and check if you issue is resolved.


Add Operaciones.py

What does the program do ?
A simple program to understand decorators in python
In what programming language it is written?
Python <3

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Readonly but can swipe

Hi, can readonly just cannot click the date but can swipe to the right and left?

npm install<EMAIL_ADDRESS>


Exposing metrics endpoint without requiring authentication

With this plugin installed it seems I need to configure a username and password for prometheus to scrape metrics from elasticsearch. We generally don't consider prometheus metrics to be sensitive.
Is there a way to remove the need for basic auth on the metrics endpoint?

similar issue
i am getting this error on prometheus:
server returned HTTP status 401 Unauthorized
is there any way to provide basic auth

Not sure, but can you try using super user elastic ?
Or maybe, by adding (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-privileges.html) monitor role to anonymous user.

facing the same issue with 6.8.0. has anybody found a workaround to this? thank you


Move smtp auth parameters into config

For historical reasons, the smtp auth config is in environment variables. We should move it into the config file like all the rest of the notifier auth parameters.

This was fixed in #308


Make path computation deterministic.

@chriseth Is this deterministic branch still active? Then rebasing against dev is suggested. Else we can close this PR and eventually delete it?

I think this was solved in a different way. Branch can be deleted.


FEATURE REQUEST: Add lockscreen.png to account for latest installer update

https://github.com/mandiant/VM-Packages/pull/683

PR merged.


[Marketplace]: Replace "model" to "agent" in confirmation toast message for adding to My workplace

EPAM AI DIAL chat version
0.20.0
How to reproduce

Actual result
The model added to my workspace
Expected result
The agent added to my workspace
Confidential information

[X] I confirm that do not share any confidential information

verified on staging successfully


Promote v0.39 release

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/924
Originally created by @dmor on 2019-08-26 18:32:30

[x]  blog post
[x]  tweet

View 3 previous comments from the original issue on GitLab


Consider using the Hashgraph consensus algorithm

There is a quite new algorithm providing all the needed features a distributed consensus algorithm must have. It's called Hashgraph. The paper states it's very efficient and the first implementations on GitHub seem to confirm that. There is an ongoing effort to test this algorithm under extreme conditions (very low bandwidth, big round trip time, etc.).
It's definitely worth checking out whether it could serve as a replacement for the current BHash.

Any ideas on it except for closing the Issue?


18 source release

Build a source jar
Attach to the verify lifecycle so it runs when you do mvn install or mvn deploy
but not when you run mvn package.  That can be changed if needed.
Should just go up on a mvn deploy.
Also formatted the pom in a separate commit that can be removed.
closes #18

I am with you on the source formatting, took me more than an hour to cherry pick through all the whitespace crud. Before we work on this again we should format all the source to conform to some style.


RFP - beeper

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL :https://www.beeper.com/
Direct download URL for the software / installer : https://download.beeper.com/windows/nsis/x64
Software summary / short description:
messenger wrapper that integrates multiple services

Hi, it seems this ticket is closed and it is still unfinished. may I know why?

See this comment. There was no update from you after that.


[Question][plugin feishu] use feishu only collect meetingdata

Question
when use feishu plugin like , after run blueprints, only see meeting data. If I want to collect other data, need extend feishu plugin? and the feishu plugin only collect metting data? if not , how can I collect other data, thanks
[
  [
    {
      "options": {
        "connectionId": 8,
        "numOfDaysToCollect": 80,
        "rateLimitPerSecond": 5
      },
      "plugin": "feishu"
    }
  ]
]

Screenshots
If applicable, add screenshots to help explain.
Additional context
Add any other context here.

Yes, only meeting data is collected for feishu plugin at the moment


The makefile command make images not work

Is this make images out of date? Should we remove it? It could cause some confusion here.
https://github.com/open-cluster-management-io/cluster-proxy/blob/b0c66d3772d692c6b1bd8dc42eaf00f119c501fa/Makefile#L137

/assign @yue9944882

make images is now removed, closing
/close


Go Live July 08

Push

Docs Build status updates of commit 8e03252:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/design/designing-apps-in-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/enable-and-configure-your-app-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/meeting-app-extensibility.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/mobile-in-meeting-dialog-view.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/mobilePostMeeting.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/mobilepremeeting.png
:white_check_mark:Succeeded
View

msteams-platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported

Expected Behavior
Return response body without errors
Actual Behavior
Cannot connect to the server because there is an error while parses the PKCS12 file.
Reproduction Steps

Document settings
Client Certificates tab
New Certificate
Add a p12 certificate for a domain
Create request and send to the domain which is created in step 4.

Is there an existing issue for this?

[x] I have searched the issue tracker for this problem.

Additional Information
Timeline logs:
* Preparing request to https://mytest_domainname
* Current time is 2022-08-08T16:53:18.142Z
* Using libcurl/7.79.1-DEV OpenSSL/3.0.0 zlib/1.2.11 brotli/1.0.9 WinIDN libssh2/1.9.0_DEV nghttp2/1.45.1
* Using default HTTP version
* Disable timeout
* Enable automatic URL encoding
* Disable SSL validation
* Enable cookie sending with jar of 4 cookies
* Adding SSL P12 certificate
*   Trying xxx.xxx.xxx.xxx:443...
* Connected to apigatewayb2b.test.bnymellon.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported
* Closing connection 0

Insomnia Version
2022.1.1 and newer versions
What operating system are you using?
Environment: Windows 10 21H2
Installation method
Download from website and click the executable file.
Last known Working Insomnia version
2021.7.2

Hi @haijunsu, could you double check if you can also reproduce this issue in our latest stable release (2022.5.0)?
We had a similar issue (#4543) a while back related to one of the dependencies we use (node-libcurl) and it might have something to do with the PKCS12 file being in a format not supported by recent curl/node-libcurl versions (other different example).

Hi @filfreire, I tried the latest stable release (2022.5.0) first and it didn't work. Then I tried every stable version backward until I found the version 2021.7.2 which worked.

Hi @filfreire, I think I have the same issue as the example. my certificate does have the information PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048. Since the certificate was generated by security team and protected by password and PEM pass phrase, I cannot convert it to verify the result.

Support for the RC2 cipher was moved into the OpenSSL legacy module in OpenSSL 3.x; I believe enabling this module would resolve the problem. It's something we'll have to look into.

What is the workaround? Same problem here.

The Windows and Linux version does NOT support using PFX, only  CRT File (Cert) together with a Key File. The Key File has to be in PEM-format.
I had exatcly the same issue on my Windows computer using Windows 10 and Insomnia 2022.6.0.
Here is the documentation that states that PFX is not supported:
https://docs.insomnia.rest/insomnia/client-certificates
It is mentioned twice on this help page.
The procedure to extract the crt-file and key-file is:
Use an openssl prior to openssl 3.x or it will throw an error due to the older insecure PFX-format that is not supported.
I used my Git Bash commandline which has OpenSSL 1.1.1q:
winpty openssl pkcs12 -in .pfx -clcerts -nokeys -out .crt
winpty openssl pkcs12 -in .pfx -nocerts -out .key
winpty openssl rsa -in .key -outform PEM .out .pem
<file.crt> is obviously the crt/cert file to point to and .pem is the key-file to point to. The .key is not necessary for Insomnia.

Support for the RC2 cipher was moved into the OpenSSL legacy module in OpenSSL 3.x; I believe enabling this module would resolve the problem. It's something we'll have to look into.

Thanks for this, this got me to the answer - I just needed to add the -legacy command line option to make it work.

The Windows and Linux version does NOT support using PFX, only CRT File (Cert) together with a Key File. The Key File has to be in PEM-format.
I had exatcly the same issue on my Windows computer using Windows 10 and Insomnia 2022.6.0.
Here is the documentation that states that PFX is not supported: https://docs.insomnia.rest/insomnia/client-certificates
It is mentioned twice on this help page.
The procedure to extract the crt-file and key-file is:
Use an openssl prior to openssl 3.x or it will throw an error due to the older insecure PFX-format that is not supported.
I used my Git Bash commandline which has OpenSSL 1.1.1q:
winpty openssl pkcs12 -in the-pfx-file.pfx -clcerts -nokeys -out the-crt-file.crt winpty openssl pkcs12 -in the-pfx-file.pfx -nocerts -out the-key-file.key winpty openssl rsa -in the-key-file.key -outform PEM .out the-pem-key-file.pem
(the winpty is used only in the Git Bash because the openssl command will freeze if not used. If you use openssl command in other shells it might not be necessary to prefix the openssl command with winpty).
the-crt-file.crt is obviously the crt/cert file to point to and the-pem-key-file.pem is the key-file to point to. The the-key-file.key is not necessary for Insomnia.

Support for the RC2 cipher was moved into the OpenSSL legacy module in OpenSSL 3.x; I believe enabling this module would resolve the problem. It's something we'll have to look into.

Thanks for this, this got me to the answer - I just needed to add the -legacy command line option to make it work.

Thanks for tips, combining this 2 answers - this what is working for me on Mac:
openssl pkcs12 -in cert.pfx -clcerts -nokeys -out the-crt-file.crt -legacy && \
openssl pkcs12 -in cert.pfx -nocerts -out the-key-file.key -legacy && \
openssl rsa -in the-key-file.key -outform PEM -out the-pem-key-file.pem

Thanks @dmytrokosiachenko and @petter-veni. Let's put their solutions together here.
For Windows
winpty openssl pkcs12 -in the-pfx-file.pfx -clcerts -nokeys -out the-crt-file.crt
winpty openssl pkcs12 -in the-pfx-file.pfx -nocerts -out the-key-file.key
winpty openssl rsa -in the-key-file.key -outform PEM .out the-pem-key-file.pem

For Mac
openssl pkcs12 -in cert.pfx -clcerts -nokeys -out the-crt-file.crt -legacy && \
openssl pkcs12 -in cert.pfx -nocerts -out the-key-file.key -legacy && \
openssl rsa -in the-key-file.key -outform PEM -out the-pem-key-file.pem

I have found a good solution to this problem.
Install the PFX format certificate through Windows, then export the certificate containing the key. Choose AES256 for the encryption method of export, and export the relevant certificate using OpenSSL.

Reopening, this could be interesting to try to solve again

I have the same issue in the latest stable version, any fix for this or need to go back to the old compatible version(2021.7.2)
Version: Insomnia 10.1.1 Build date: 10/24/2024 OS: Windows_NT x64 10.0.19045 Electron: 31.4.0 Node: 20.16.0 Node ABI: 125 V8: <IP_ADDRESS>-electron.0 Architecture: x64
Below the issue
`* Preparing request to https://www.xys

Current time is 2024-11-20T06:54:36.394Z
Enable automatic URL encoding
Adding SSL P12 certificate
Using default HTTP version
Enable timeout of 30000ms
Enable SSL validation
Trying 1XX.XX.XX:443...
Connected to www.wmb2bdev.sabb.com (1XX.XX.XX) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported
Closing connection 0`

Closed. There are some solutions in the thread.


update charging

Description of the issue
Charging is classified as electrical energy transfer, which seems wrong.
One could interpret the temporal electricity storage with subprocesses charging and decharging as electrical energy transfer, though.
Maybe also related to #1407
Ideas of solution
Charging should be classified as energy transformation, in which electrical energy is transformed into another kind of energy, e.g. chemical energy in a battery.
We could also think of defining the charging process in a larger context, as filling an energy storage of any kind. Then we could refine the processes into battery charging and others.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

Once we have #1407 we could make charging equivalent to an increase of the energy storage level.

The existing class comes from the inclusion of electric vehicles where energy is transferred from the electricity grid to the vehicle.
I think we have to differentiate between two processes:

The energy transfer to the battery (currently labeled as charging).
The energy transformation process in the battery (or other other any other energy storage object) itself.

energy storage (process) should be discussed together with charging, see #1622. Such a process only makes sense, when charging and discharging are referenced as subprocesses. Without them, storage is not process-like or a transformation (i.e. nothing is evolving in time etc.), but rather "continuant".
Originally posted by @stap-m in https://github.com/OpenEnergyPlatform/ontology/issues/1539#issuecomment-1779179734


Add support for custom icons by id in blender

On Blender apart from the existing icons which can be referenced by name, they can also be custom ones created which can be referenced by id
from bpy.utils import previews
icons = previews.new()

icon = icons.load(
    name="icon_name"),
    path="/custom/icon/path.png",
    path_type='IMAGE'
)
icon_value = icon.icon_id

This changes validates the menu icon data type and properly attempts to set it by the correct argument
So when setting up the menu items, we can have a full file path as the icon key value
This is a simplified implementation that leaves the handling of the icons to the dev configuring the menus, particularly if its needed to reuse icons in other places too, but we can also include the full icon setup and check if the icon value is a file path and in such case create the icon and use it directly, open for suggestions
:)

this looks great. will have a think how to best implement this.

this does create a warning.
it seems it can be ignored but would be nice if we could correctly handle this.
Exception ignored in: <function ImagePreviewCollection.__del__ at 0x000001FD01FA6680>
Traceback (most recent call last):
  File "C:\Users\hanne\Downloads\Blender_Launcher_v1.14.1_Windows_x64\stable\blender-3.2.0+stable.e05e1e369187\3.2\scripts\modules\bpy\utils\previews.py", line 66, in __del__
    raise ResourceWarning(
ResourceWarning: <ImagePreviewCollection id=0x1fd064c7650[1], <super: <class 'ImagePreviewCollection'>, <ImagePreviewCollection object>>>: left open, remove with 'bpy.utils.previews.remove()'
focus_object_changed <PySide2.QtWidgets.QMainWindow(0x1fd013a7890) at 0x000001FD019EDEC0>

used the blender docs to fix the warning https://docs.blender.org/api/current/bpy.utils.previews.html#module-bpy.utils.previews
also added a sample to test with pyblish-lite icon

Wow, this si awesome, thank you for the merge! <3


JupyterHub PAM Authentication: How to Persist Password After Docker Restart

Related: https://github.com/jupyterhub/jupyterhub/issues/535

closed by #156


Commute data

I finished up v1 of the commute model and controller.. ready to merge it into development.

i just merged change to CommuteData branch to move data into arrays exported in .js files instead of .json
can you test and merge in dev?


Bug: Validation: Closure rule in combination with rule permit_empty fails

PHP Version
8.2
CodeIgniter4 Version
4.3.4
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
When using permit_empty in combination with a closure rule the fatal error Object of class Closure could not be converted to string at SYSTEMPATH/Validation/Validation.php at line 279 occurs.
Steps to Reproduce
Use 'rules' => ['permit_empty', fn($value) => true] as validation config and supply an empty value for the field.
Expected Output

check if the key of the rule is one of required_with and required_without for closures too, as done for all other rules
closures should work in combination with permit_empty

Anything else?
It is likely that array_diff has difficulties with non-string values; which would be an issue with if_exist too.

Hi @michalsn, I also worked on a bug fix in the meantime.
Mix bug fix is only for PHP 8.2, so there might be some changes needed.
All in all, I primarily introduced processSingleRule to get rid of all the duplicate code.
https://github.com/codeigniter4/CodeIgniter4/compare/develop...element-code:CodeIgniter4:fix-validation-closures

@element-code Sounds great!
I didn't want to mix things up, so I only focused on fixing the reported bug. But feel free to send a PR that will refactor the code to make it better / cleaner.

@michalsn sounds good. I don't have the time to write extensive tests tho, is this something you would participate in?


avoid large logo to overflow

Hi,
I am having the same issue as in snide/sphinx_rtd_theme#258 (in my case the logo is in SVG format and used at multiple place, so it is not relevant to create a resized version of the file).
However I suggest a subtle different change than @vlttnv as setting img.logo to 100% will enlarge small images and make them ugly-looking.

Errata, it was meant to be snide/sphinx_rtd_theme/pull/299...


Update ComponentGraph to accept X and y as inputs

Closes #2480

@ParthivNaresh This is just to enable X and y for now, but doesn't enforce Users must specify the X and y inputs for each component in the graph. yet. I figured this was an important first step if we require users to enforce that they have the option to choose the original data too!


Multiple possible failures during bootstrap.py execution due to poor connection

Such as:
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Could not resolve host: chromium.googlesource.com
Clone of 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' into submodule path 'vendor/depot_tools' failed

Submodule path 'vendor/native_mate': checked out 'b7387da0854b20d376fdae0d93a01f83d080668d'
Cloning into 'vendor/node'...
remote: Counting objects: 171631, done.
remote: Compressing objects: 100% (3536/3536), done.
error: RPC failed; result=56, HTTP code = 200 MiB | 23.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Clone of 'https://github.com/atom/node.git' into submodule path 'vendor/node' failed
None
Traceback (most recent call last):
  File "./script/bootstrap.py", line 192, in <module>
    sys.exit(main())
  File "./script/bootstrap.py", line 39, in main
    update_submodules()
  File "./script/bootstrap.py", line 85, in update_submodules
    execute_stdout(['git', 'submodule', 'update', '--init', '--recursive'])
  File "/Volumes/HD2/projects/electron/script/lib/util.py", line 176, in execute_stdout
    raise e
subprocess.CalledProcessError: Command '['git', 'submodule', 'update', '--init', '--recursive']' returned non-zero exit status 1

I think they are mostly caused by connection error. Recently connection from China are performing poorly. Is there any possibility to have electron bootstrap download from mirror in China?

The most reliable way is to setup global VPN, the project downloads things from S3, GitHub, Google servers, it is impossible to provide mirrors for all of them.


[es-dev-server] Chrome 41 Transpilation Errors

Heyo, I'm running @open-wc/karma-esm and have compatibility as auto, when running a script with block-scoped declarations (let, const, etc), the file is not compiled on certain browsers such as chrome 41 and safari 9.
Chrome 41 and Safari 9 both support block-scoped variables, but they are only allowed in strict mode which causes some files written after this restriction went away to fail.

I think we're running into https://github.com/systemjs/systemjs/issues/2071#issuecomment-555355259 here, I wasnt sure if anyone still needs to test Chrome 41 so I didnt pursue further.
So we should cook up a PR to systemjs for this.

That's 100% the issue I was running into. There is less rush as the MWC team has decided that dev speed + IE support >> testing chrome 41 and safari 9 especially since googlebot is now evergreen and apple has a tight grip over safari updates.
Though it is a would-be-nice feature as caniuse has them at about 2% usage which is IE11-level (though perhaps a different market)

Going to close the issue here, this needs to be fixed on the SystemJS side.


Create Github Actions

Background on the problem the feature will solve/improved user experience
Add GitHub Actions to lint new code pushed to a branch or committed to a pull request. Code that passes all the steps in the GitHub action can be merged in the repository.
Describe the solution you'd like
A GitHub action runs whenever code is committed to any branch or PR is made to the main branch.
GitHub Actions uses YAML syntax to define the events, jobs, and steps. These YAML files are stored in your code repository, in a directory called .github/workflows.
The action will

[ ] lint JS files, we haven't chosen a linter so let's discuss options in the comments
[ ] lint markdown files in the repo

Tasks

[ ] Add linter (discuss in comments with @upkarlidder @josiemundi @demilolu) in .github/workflows folder. Prettier is a popular linter for both JS and MD files. See example in this Call for Code project.
[ ] Ensure steps run locally on your system
[ ] Read more about GitHub actions
[ ] Commit and push your GitHub action code.
[ ] Go to the Actions tab to see if it worked.

Acceptance Criteria

GitHub action runs for every new code commit and PR.

FYI @upkarlidder

@KComrade53 i know Hacktoberfest is over, but was wondering if you were still interested in this issue :)


RESULT PAGE DESIGN

Hi @nehakalbande I want to work on this issue, could you please assign this to me?

Yes sure @rajputarjun2001 Assigning to you
Please connect on discord, to discuss about the design.


Sparkreader is broken [regression] [P0]

Install opendp.whitenoise from pypi,
Execute an aggregation query on privatereader on top of Sparkreader, got an error
'NoneType' object has no attribute 'execute_ast'
this is a regression issue.
I'll send a PR later.

Resolved with linked PRs


Prepare site documentation

Prepare documentation:

architecture
technologies
access

Updatej readme.md in repo

Updatej readme.md in repo


Testing models with predict.py does not give me any results file

I cant to test your project using predict.py,  i runned "python predict.py" commande with requires parameters and its still running in the step below without gives me the file of results. (in my cas results_dev.jsonl) ??
I'm tested on both windows and ubuntu (with CPU only and without CUDA).
XXXX@DESKTOP-YYYY:/mnt/c/users/administrateur/desktop/sqlova-master$ python3 predict.py --bert_type_abb uL --model_file models/model_best.pt --bert_model_file models/model_bert_best.pt --bert_path data --result_path result --data_path data --split dev
BERT-type: uncased_L-24_H-1024_A-16
Batch_size = 32
BERT parameters:
learning rate: 1e-05
Fine-tune BERT: False
vocab size: 30522
hidden_size: 1024
num_hidden_layer: 24
num_attention_heads: 16
hidden_act: gelu
intermediate_size: 4096
hidden_dropout_prob: 0.1
attention_probs_dropout_prob: 0.1
max_position_embeddings: 512
type_vocab_size: 2
initializer_range: 0.02
Seq-to-SQL: the number of final BERT layers to be used: 2
Seq-to-SQL: the size of hidden dimension = 100
Seq-to-SQL: LSTM encoding layer size = 2
Seq-to-SQL: dropout rate = 0.3
Seq-to-SQL: learning rate = 0.001

Try to run it for single question and single table first. Refer comments from add_question.py script.


calamares: 3.2.62 -> 3.3.3

Description of changes

Updates Calamares and related patches to 3.3.3
Things done

Calamares NixOS specific patches updated
Calamares encryption settings now uses LUKS2 by default
Fixes networking part of #172134

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 291610 run on x86_64-linux 1

3 packages built:

calamares
calamares-nixos
calamares-nixos-extensions


[Feature Request] Need to support auto-regressive VLMs

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Motivation
As current VLM support mainly focuses on encoder-decoder style models (which encode and decode multimodal information as a hidden state tensor), we need to support auto-regressive VLMs including Chameleon & Anole (which encode and decode multimodal information as tokens).
Solution
No response
Alternatives
No response
Additional context
No response

Is now working on github.com/PKU-Alignment/align-anything/pull/36

now https://github.com/PKU-Alignment/align-anything/pull/36 is merged, the SFT support is done


.github: add release tool workflow

This workflow will allow release managers to create releases from GitHub UI. This will be used in combination with the release tool that is available under https://github.com/cilium/release.git

/test


Getting the correct date

Hi, the thing is working great,
thou i got a strange issue:
im getting date for each point from a postgresql table like this:
extract(epoch from ven.fecha at time zone 'utc')
for example:
sql:
select to_timestamp(1230955200) ;
result:
2009-01-03 02:00:00-02
So great, i'm using that timestamp, but it gets really all confused:
http://i.imgur.com/73yxR97.png
so i noticed that earthquake example got a similiar date timestamp but with 13 characters, not 10.
so i just added 3 zeros at the end, and everything works great now
i'm still wondering whats the correct way to extract date columns to use with this plugin
correct timestamp:<PHONE_NUMBER> + three zeros =<PHONE_NUMBER>000
that got my date label at timebar OK.

Adding three zeros is, essentially, correct. Really, multiplying by 1000: in Postgres (and many other places), timestamps are in seconds, but in Javascript, timestamps are in milliseconds.

great thanks! :)


retain front cover bake chapters (add opus)

to retain cover when baking chapters
ffmpeg -hide_banner -i "audiobook_chapters.opus" -f ffmetadata
Stream #0:1: Video: png, rgba(pc, gbr/bt709/bt470m), 1280x720 [SAR 2835:2835 DAR 16:9], 90k tbr, 90k tbn (attached pic)
Metadata:
comment         : Cover (front)
title           : Front cover
    if ext ~= "mkv" and ext ~= "mp4" and ext ~= "webm" and ext ~= "opus" then

(added opus...have thousands of opus chaptered audiobooks with subtitles and the black png image helps video players show the subtitles...although mainly just do mpv nowadays.
local args = {"ffmpeg", "-y", "-i", file_path, "-i", chapters_file_path,  "-codec", "copy", "-map_chapters", "1", "-map_metadata", "0:s:v:0", "-map_metadata", "0:s:a:0", output_path}

I tested it and it doesn't affect regular mp4 video chapter baking either.
also the -map_chapters 1 is crucial otherwise chapters wouldn't be added in my testing.  Thanks a bunch for this script.  Make opus audio chaptered books with freac which takes each chapter01.opus and adds metadata with chapters.
Mac
 /Applications/freac.app/Contents/MacOS/freaccmd -e opus --bitrate $audbitrate --superfast --add-cover=source/blackcover.png -o source/audiobook.opus *.$typeaudio
Linux
flatpak run --command=freaccmd org.freac.freac -e opus --bitrate 16 --superfast --add-cover=source/blackcover.png -o source/audiobook.opus *.$typeaudio
Windows freac (not Microsoft Store version)
C:\Program Files\freac\freaccmd.exe -e opus --bitrate 16 --superfast --add-cover=source/blackcover.png -o source/audiobook.opus *.$typeaudio
eventually might want to find another solution someday but not easy to automatically add chapters with metadata when creating an opus audiobook.

Baking chapters into video with no audio.  For instance an mp4 with avif image slideshow
first change jpg to avif
cd ~/datampv/images; mogrify -format avif *.jpg; [ ! -d jpg_images ] && mkdir jpg_images; dt=$( date +%Y_%m_%d_%H_%M_%S); mkdir jpg_images/$dt; mv *.jpg jpg_images/$dt
Now make an mp4 slideshow of avif images 1/2 or 1/3 the size of jpg mp4 slideshow...although does take 3x-4x as long to encode but way worth the file saving with equal quality.
cd ~/datampv/images; printf "file '%s'\n" *.avif > list ; ffmpeg -y -f concat -i list -framerate 1 -r 1/2 -vf "scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" -c:v libaom-av1 -crf 28 slideshow1080p_avif.mp4; rm list; [ ! -d avif_images ] && mkdir avif_images; dt=$( date +%Y_%m_%d_%H_%M_%S); mkdir avif_images/$dt; mv *.avif avif_images/$dt
just copy the bake_chapters function and modify the following in chapters.lua
local function bake_chapters()
change to
local function bake_chapters_noaudio()
local args = {"ffmpeg", "-y", "-i", file_path, "-i", chapters_file_path,  "-codec", "copy", "-map_chapters", "1", "-map_metadata", "0:s:v:0", "-map_metadata", "0:s:a:0", output_path}
change to
local args = {"ffmpeg", "-y", "-i", file_path, "-i", chapters_file_path,  "-an", "-sn", "-c:v", "copy", "-map_chapters", "1", "-map_metadata", "0:s:v:0", output_path}
mp.add_key_binding(nil, "bake_chapters_noaudio", bake_chapters_noaudio)


Duct vines in Room 60A are now invisible.

Version
3.0.9 (1d6b330)
Seed
R720-7LW9-XRZZ10ZZ4Y1RH7Q9K79K4ZV5W53H5FQ0Z00YZZZZZ
Scenario
RE 2 (Leon A)
Player Character
Rachael
What happened?
I think it's the influence of Ivy's different graphics in this Seed,
But I can't see the ivy in the A scenario of 60A.
Sample
https://youtu.be/r8p4dzXgpCk?t=1878

This is a side effect caused by the chimera enemy skin. I don't think there is a workaround.


Sessions not removed after timeout

We found that sessions are not removed although maxInactiveInterval is set to 10.
before("/*"){ request, _ ->             request.session().maxInactiveInterval(10)         }
Sessions keep occupying memory until an OutOfMemoryError occurs.
From MAT:
One instance of "spark.embeddedserver.jetty.JettyHandler" loaded by "sun.misc.Launcher$AppClassLoader @ 0xe0d0a5c8" occupies 357,026,048 (96.02%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Node[]" loaded by "<system class loader>"
We are using Spark 2.6.0

Hmm.. There is no ConcurrentHashMap in the Spark source. Steps to reproduce?

Same here. Could you solve this issue? My app here is using spark 2.7.2 . I tried to update to 2.9.3 , but spark never opens the port for listening with this version.
My app creates many millions of leftover hashnodes and crashes after a couple of days.

Thanks for your response. I solved the problem by creating all my sessions in a function, that always adds a timeout. So my memory consumption went down by 90% + .


Bump several package versions

Updates so3g, pixell, and toast.

In addition to just bumping versions, this PR has some very minor fixes to restore working tests on MacOS.


Use internal-use tag for link check

https://github.com/iterative/dvc.org/pull/3878 = https://github.com/iterative/mlem.ai/pull/155 = https://github.com/iterative/cml.dev/pull/300 = https://github.com/iterative/iterative.ai/pull/542
These PRs change the version of link check to be pinned to a git tag on the link check repo called internal-use, which currently points to https://github.com/iterative/link-check/pull/22, making the default check only show failing links instead of showing all links including passing ones.
This internal-use git tag can be moved to different versions and updated independently of the default branch, which could be useful for temporarily testing features on our sites with the link checker.

https://github.com/iterative/dvc.org/pull/3878#issuecomment-1218295326


Remove the DatabaseIndex method from TSDBStore interface

The TSDBStore interface needs to also allow for remote TSDBStore but the
DatabaseIndex is only for a local TSDB instance. Moved the optimized
SHOW TAG VALUES path to do a typecast to the LocalTSDBStore struct
instead of always attempting to use the optimized version.
If the TSDBStore is not local and does not have the DatabaseIndex, it
will default to using the distributed query instead.

@benbjohnson

:+1:


upgrade  vite2 -> vite5

to fix your trouble check this solution click
maybe this will solve your problem.


Discussion: Concerns about uncollectable references?

Thanks for publishing this, I wrote something quite similar recently and it's been inspiring to read other similar implementations.
For my use case I have some top-level context providers that I suspend while they fill their context with essential data for the rest of the app. In my own implementation I ended up using a key (that I name appropriately in the code) to retain the various suspended states.
I was curious how the "dependencies array" concept worked in suspend-react (and learned about fast-deep-equal, thanks!) and in the process noticed that new entries are pushed into the cache, when dependencies change, but unless clear is called manually (with the old dependencies) the cached item is retained.
My question is: Is hanging onto the old promises (and in turn the reference to their result) something I should be concerned about? Correctly calling clean when the dependencies change seems challenging.

the predecessor use-asset had a lifespan, i just added it back: https://github.com/pmndrs/suspend-react#lifespan that would allow for automatic cleanup.
generally, react itself is going to solve at least some of these concerns. the state will be reacts, it later will live inside the component graph:
import { Cache } from 'react'

<Cache>
  <Foo />

function Foo() {
  const bar = suspend(fn, [keys])

Thanks! The lifespan option looks like a good choice for my use case, the quick response is much appreciated.


Going into recents and back into connectbot switches active terminal

Repro:

Open 2 connections.
Scroll to the second one.
Open recents and click connectbot again.

Notice that the open terminal has switched, but that typing does nothing (it's typing on the other terminal still.). Every time you repeat step 3, the terminal switches.

This is starting to look like a bug in ViewPager. The problem is that setCurrentItem is called twice very quickly: at initialization it's called to set the selected page to 0, which triggers a scroll back to the beginning. Then there's a call to set it to 1 to restore previous state. The first call starts a scroll to the first page, but that call isn't actually executed by the time the second call rolls around and so this if statement evaluates to true:
https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/view/ViewPager.java#L836
which causes an early return. This is a race condition caused by the fact that scrolling happens asynchronously. It can probably be easily reproducible by just selecting the second page of a view pager and calling
setCurrentItem(0); setCurrentItem(1);
This should result in the second page showing, but will actually show the first.

I can fix this by wrapping the call to setDisplayedTerminal in a pager.post() call, but it looks pretty janky because you can visibly see the pager scroll away and come back to the second page :-/

To follow up on the note above, it looks like when completeScroll is called, the scroller already has the x coordinate for the first page, so the scroll just goes there instead of the second page.
https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/view/ViewPager.java#L1831

I had bugs in one of my apps, I lost a lot of time on it until I discover it was a bug in v23.0.+ appcompat (https://code.google.com/p/android/issues/detail?id=183127).
Maybe you should start by upgrading v23.1.+, this may or may not help :-)

I just tried that, but it seems that the problem still exists. Definitely a good suggestion, though :-).

I guess I'll close this out, but I'll keep an eye on the internal ViewPager bug to switch to a better fix when that's available.


GSP-700: Config Features and DefaultPairs via Connetion String

previous discussion: https://github.com/beyondstorage/go-storage/issues/680
demo: https://github.com/beyondstorage/go-storage/pull/699

Let service specify default_xxx may be a huge burden. Think about s3, we have to write default_storage_class, default_excepted_bucket_owner and so on.
Maybe we can introduce new fields to help services simplify the work? I camp up to two ways:
Add new fields in operations
Like we discussed in https://github.com/beyondstorage/go-storage/issues/680, we can add a new field defaultable in operations. Paris that is listed in defaultable will be treated as allowing users to set default values. We can parse the toml files while generating and get a full list of all defaultable pairs, and then, generate related pairs.
[namespace.storage.op.write]
optional = ["content_md5", "content_type", "io_callback", "storage_class", "excepted_bucket_owner", "server_side_encryption_bucket_key_enabled", "server_side_encryption_customer_algorithm", "server_side_encryption_customer_key", "server_side_encryption_aws_kms_key_id", "server_side_encryption_context", "server_side_encryption"]
defaultable = ["content_type", "storage_class", "excepted_bucket_owner", ...]

Add new fields in the namespace
Add new fields in operations could still be too verbose. Think about the same pair in different operations:
[namespace.storage.op.read]
optional = ["offset", "io_callback", "size", "excepted_bucket_owner"]
defaultable = ["excepted_bucket_owner"]

[namespace.storage.op.write]
optional = ["content_md5", "content_type", "io_callback", "storage_class", "excepted_bucket_owner"]
defaultable = ["excepted_bucket_owner"]

So maybe we can add them in the namespace, alongside features and implement.
[namespace.storage]
features = ["virtual_dir"]
implement = ["direr", "multiparter"]
defaultable = ["excepted_bucket_owner"]

[namespace.storage.op.read]
optional = ["offset", "io_callback", "size", "excepted_bucket_owner"]

[namespace.storage.op.write]
optional = ["content_md5", "content_type", "io_callback", "storage_class", "excepted_bucket_owner"]

No matter which way we choose, services only need to specify once instead of list all pairs in the New function.

Maybe we can introduce new fields to help services simplify the work

Yes, and introduce new fields can specify the defaultable pairs more explicitly and visually.
For add new fields in operations, it's easy to check the validity of the defaultable pairs.  We can even specify the defaultable paris on the operation level, other than the namespace level(all operations affected). But we need to traverse the operations' pair list once to collect all the defaultable paris.
For add new fields in the namespace, we can get all the defaultable pairs easily. But we also need to traverse the operations' pair list to check the validity of the pairs on namespace level.
I’ll try to add new fields in the namespace.

I approve of this GSP mostly. Let's explain the rationale why we need to add new pairs as described in https://github.com/beyondstorage/go-storage/pull/700#discussion_r685806637

Nice work!


Auto rotation feature not working

Describe the bug
My CSI driver is not activating/using the auto rotation feature to automatically update K8s secrets or volume mount files when key/values change in AWS Secrets Manager or new secrets get added to the SecretProviderClass.
Steps I used to install

I installed the CSI driver to my kube-system namespace using the following command: helm install csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver -n kube-system --set syncSecret.enabled=true --set secrets-store-csi-driver.enableSecretRotation=true --set secrets-store-csi-driver.rotationPollInterval=2m
I also added the AWS provider
I applied the ServiceAccount yaml to my pod's namespace.
I applied the SecretProviderClass yaml to my pod's namespace.
Everything works in terms of syncing the secrets on the initial deployment. All the AWS secrets are synced to K8s Secrets, and I even have my Deployment yaml creating environment variables from the K8s secrets. Everything works UNTIL I add a new secret to my SecretProviderClass or change the key/value for an existing secret in AWS Secrets Manager.

According to the CSI driver documentation, the settings that I used to install the driver should make the auto rotation feature work, but it is not. I don't see any errors in the CSI driver pod log files, but I also don't see any log messages of the auto rotation reconciler being activated.
When I use helm get values csi-secrets-store -n kube-system, I get the following values:
USER-SUPPLIED VALUES: secrets-store-csi-driver:   enableSecretRotation: true   rotationPollInterval: 2m syncSecret:   enabled: true
To Reproduce
Steps to reproduce the behavior:
I've tried uninstalling everything and reinstalling. I even used the following commands after uninstalling:

kubectl delete crd secretproviderclasses.secrets-store.csi.x-k8s.io
kubectl delete crd secretproviderclasspodstatuses.secrets-store.csi.x-k8s.io
The problem still persists.

Do you also notice this bug when using a different secrets store provider (Vault/Azure/GCP...)? Yes/No
I haven't tried any other providers, because my employer only uses AWS.
Expected behavior
I expect that the auto rotation feature activates and that the volume mount files and K8s Secrets will update when key/values are changed in AWS Secrets Manager and/or new secrets are added to the SecretProviderClass.
Environment:
AWS EKS, Docker image, AWS Secrets Manager, Secrets Store CSI Driver for Kubernetes (version="v1.2.3"), AWS Secrets and Configuration Provider
Additional context
My application pod is created via a Deployment CRD

I actually discovered the solution to this problem. I was using incorrect parameters during the install of the CSI driver. I was using --set secrets-store-csi-driver.enableSecretRotation=true --set secrets-store-csi-driver.rotationPollInterval=2m
but I should have been using --set enableSecretRotation=true --set rotationPollInterval=2m. After doing this, the auto rotation reconciler starts up and produces the behavior I expected. Now when I update a key/value in my AWS secret, the value is then updated in the mounted files as well as the associated K8s secret.
The full install command now looks like:
helm install -n kube-system csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver --set enableSecretRotation=true --set rotationPollInterval=2m --set syncSecret.enabled=true


create_log_entries_from_revisions crashes if a model uses on_delete=models.PROTECT

Issue Summary
We upgraded to 2.10.1 and found that the log-entry script started crashing on a page type that has foreign-key relations to three Django models, using on_delete=models.PROTECT.
We had tested the script in 2.10 with success.
We found that the script will run if we change the on_delete strategy to SET_NULL, which is not ideal.
Wondering if this is related to modelcluster issue 127?
Stack trace:
Traceback (most recent call last):
  File "./cfgov/manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/wagtail/core/management/commands/create_log_entries_from_revisions.py", line 34, in handle
    current_revision_as_page = revision.as_page_object()
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/wagtail/core/models.py", line 1977, in as_page_object
    return self.page.specific.with_content_json(self.content_json)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/wagtail/core/models.py", line 1830, in with_content_json
    obj = self.specific_class.from_json(content_json)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/modelcluster/models.py", line 272, in from_json
    return cls.from_serializable_data(json.loads(json_data), check_fks=check_fks, strict_fks=strict_fks)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/modelcluster/models.py", line 239, in from_serializable_data
    obj = model_from_serializable_data(cls, data, check_fks=check_fks, strict_fks=strict_fks)
  File "/Users/higginsw/.pyenv/versions/c15gov/lib/python3.6/site-packages/modelcluster/models.py", line 100, in model_from_serializable_data
    raise Exception("can't currently handle on_delete types other than CASCADE, SET_NULL and DO_NOTHING")
Exception: can't currently handle on_delete types other than CASCADE, SET_NULL and DO_NOTHING

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no

Technical details

Python version: 3.6.9
Django version: 2.2.13
Wagtail version: 2.10.1
modelcluster version: 5.0.2

It looks like this can happen as a result of the following sequence of events:

define a page model with a ForeignKey with on_delete=PROTECT
save the page with the foreign key pointing to "item 1"
resave the page with the foreign key pointing to "item 2"
delete item 1

The failure occurs because it's not possible to instantiate the old revision as a valid page object once item 1 has been deleted - you'd see the same thing if you tried reverting to the old revision in the Wagtail admin's version management UI.
While this currently shows up as a "not implemented" exception in django-modelcluster, the "logically correct" version would be no better - it would just be an IntegrityError instead. I don't see any changes to this logic in the 2.10.1 version, so I can't see how this would have succeeded in 2.10 either. (I don't believe that https://github.com/wagtail/django-modelcluster/issues/127 is related - that one is specific to ParentalKey relations, where both sides of the relation are part of the JSON structure being unpacked.)
Since the only reason we're instantiating old revisions is to run a comparison against the previous revision and skip creating a log entry if they're identical, I think the best way around this is to sidestep the as_page_object calls entirely and just do the comparison at the JSON dict level. We'd need to consider the possibility of false positives where two JSON structures differ but don't have an actual content change, but the only case of that I can think of is differing tree path / depth values (and off the top of my head I'm not sure we even save those in revisions). As a bonus, it'll probably be a fair bit quicker to process. What do you think @zerolab?

@gasman the management command does indeed compare the two revisions, using the baked in comparison methods. One thing that changes between revisions, and hence saved JSON, is the StreamField id even when there are no changes to it. If we go about comparing the JSON, we will end up with log entries for all revisions.
#6264 adds the first step in the path for avoiding new revisions being created without any content changes, but to replicate that we'd need to ignore StreamField ids and this then becomes a much bigger task than catching all exceptions 🤔

how this would have succeeded in 2.10

I think we fooled ourselves here. We tested, but I suspect it may have been deemed to be working when in fact it failed after running for some time.

One thing that changes between revisions, and hence saved JSON, is the StreamField id even when there are no changes to it.

@zerolab Where have you seen that happening? Have just tested on bakerydemo, and IDs are being preserved as expected - I made two draft edits to a blog page, and StreamField block IDs were the same in both revisions, even when the content was changed. It would be concerning if that isn't the case, because tracking blocks across revisions is pretty much the whole purpose of those IDs...

@gasman I went back to my notes and also retested. The StreamField IDs stay the same in the revision content. Sorry for the false alarm! form.has_changes() would trip up on StreamFields but that was fixed in #6264.
So the direct content_json comparison will work.
The one thing that changes between two revisions is the value of latest_revision_created_at, that is outside of the path/depth (which we do save in content_json ).

Unfortunately it looks like there's one place in content_json that can introduce spurious differences and can't be trivially ignored: the ParentalKey on an inline child model is null up to and including the first published revision, and populated with the page ID in the following revision.
# published revision
"blog_person_relationship": [
  {
    "pk": 2,
    "sort_order": 0,
    "page": null,
    "people": 1
  }
],

# subsequent saved draft with no other edits
"blog_person_relationship": [
  {
    "pk": 2,
    "sort_order": 0,
    "page": 62,
    "people": 1
  }
],

Work in progress: https://github.com/gasman/wagtail/tree/fix/create-log-entries-json-comparison


does it support windows?

I install go version on windows, it report a error:
 level=fatal msg="symlink C:\\Users\\username\\.go\\go1.16 C:\\Users\\username\\.go\\current: A required privilege is not held by the client."

when i execute goup command, got:
 level=fatal msg="readlink C:\\Users\\username\\.go\\current: The file or directory is not a reparse point."

does anyone knows how to solve this problem?

Hi,
I solved this problem putting windows in developer mode.

try open cmd window by administrator，it seems like can install go，but not support switch version on Windows

I fix it with  SysinternalsSuite junction.exe
	err := os.Symlink(version, current)
	if err != nil {
		if runtime.GOOS == "windows" {
			var junction = os.Getenv("GOUP_JUNCTION")
			if junction == "" {
				junction = "d:\\tools\\SysinternalsSuite\\junction.exe"
			}
			cmd := exec.Command(junction, current, version)
			err := cmd.Run()
			if err == nil {
				return nil
			}
			fmt.Println(err)
		}
	}
	return err

I fix it with  SysinternalsSuite junction.exe
	err := os.Symlink(version, current)
	if err != nil {
		if runtime.GOOS == "windows" {
			var junction = os.Getenv("GOUP_JUNCTION")
			if junction == "" {
				junction = "d:\\tools\\SysinternalsSuite\\junction.exe"
			}
			cmd := exec.Command(junction, current, version)
			err := cmd.Run()
			if err == nil {
				return nil
			}
			fmt.Println(err)
		}
	}
	return err

fix it with mklink  also.

It's a shame windows isn't supported


Add schedule to a person

Coverage decreased (-2.7%) to 86.731% when pulling bba0e3e825625cdb38ff82f43f236ab0bbfeda8c on YuchenHe98:schedule into<PHONE_NUMBER>ccbec82003ec7079066bb872864174 on CS2103AUG2017-F10-B2:master.


TypeScript types don't match docs

Describe the bug
The docs recommend TypeScript imports for pages as follows:
import {NgDocPage} from '@ng-doc/builder';

export const MyAwesomePage: NgDocPage = {
    title: 'MyAwesomePage',
    mdFile: './index.md',
};

export default MyAwesomePage;

The types aren't resolved as expected.  Instead, my IDE detected the types from the @ng-doc/core package.
To Reproduce
Steps to reproduce the behavior:

Use the default installation on a blank app.
Try to import the TypeScript types as done in the docs.
Notice as the types aren't resolved properly.

Expected behavior
The types are resolved as documented.

True, that's my bad. Before release, I moved entities classes to @ng-doc/core library but forgot to update docs, thank you for the report! 😌


Footer.vue page

Here's the footer component. I'll really appreciate suggestions and opinions

Can you put the footer directly in the src/layout/Default.vue file? here: https://github.com/bebatut/galaxy_mentor_network/blob/main/src/layouts/Default.vue#L31

Okay, I'll do that now

This has been worked on and merged #31


Fix import source of { createTask, actions }

The './Task.stories' import source is no longer valid, and should come from: './Task.story'

Thanks @travomic! Actually I think we got it backwards, in the code https://github.com/hichroma/learnstorybook-code/blob/master/.storybook/config.js it is .stories.js. I will change the text as that is easier (29e2220).
Thanks for the PR!


Peer to peer code review

Nice project Amadu 👍
I like your UI design 💯

The code looks good, fine use of tailwind CSS 👍
Good job

Thank you, guys.

Hello @AmaduKamara,
Good job so far your code is working perfectly and the styling is also perfect but you don't have a live demo and I think while deploying the webpack is not working so I suggest you use Netlify to deploy the live demo. Thanks
Cheers and Happy coding 👍

Thank you for your recommendation bro. I will definitely use that.


[FEATURE] Social icons to have relevant colour

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
All social icons are currently black, it would be good for them to have their relevant colour
Proposed Solution
color should be in the config file src/config/app.json
Screenshots
No response
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response

i want to work on this issue. could you please assign it to me?

sure i will assign it to you @akash19coder 👍


fix(codegen): fix prettier in generated classes.ts

The rest of the files updated are just generated classes.ts files from the various example/test directories.

:tada: This PR is included in version 2.18.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-beta.4 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


v2.0.0

⬆ Update to Node v16
⬆ Upgrade dependencies
➕ Add husky
➕ Add rimraf
💥 Rename *.mjs to *.js
🎨 Apply formatting
🎨 Provide dist/

updated the version to "v2.0.0" in packages.json

No need to do this here.
It will be taken care of when we cut the release after merge to main


Flarum upgrade button functionality

In light of the namespace changes for beta 8 I had a little brainstorm with @clarkwinkelmann and @cdk2020 about a strategy to upgrade.

[ ] We will add an upgrade button to the Bazaar header menu in case a new version of Flarum is out.
[ ] Flagrow.io will report whether a new flarum version is out either via another header or via the meta information on each request.
[ ] We will implement full separated calls to Flagrow.io, instead of doing one request for all extensions we will use pagination and filtering completely. This will allow us to stop filtering the payload based on the Flarum version from the flagrow.io side and do it from within Bazaar.
[ ] We will add information to extension payload (serializer) that this package (its latest version) is (possibly) not compatible with the current Flarum version. We add comparable information to the payload for extensions that are not compatible with the new Flarum release.
[ ] Using the upgrade button a modal will popup listing all installed extensions not compatible with the new version and a button to uninstall or disable these. When everything is okay the modal will show an upgrade button.

This issue has the form of an epic and possibly needs splitting up into smaller tasks aka user stories.

In order to reduce the flagrow.io payload, we could also switch to pointer-based pagination, where we only get extensions that changed since the last request.
It does not really help to solve the update issue, but would allow us to return all extensions (whether compatible or not, or will-be-incompatible) without using a massive amount of bandwidth (and the required processing) on Bazaar end.

So, never having heard of pointer based systems. The implementation would be like a salt. Whenever Bazaar calls on flagrow.io it would also send along the array of package names and salts so that flagrow.io can identify the updates required. If this is correct;

why bother with a salt, simply send the package version?
wouldn't the payload become too big for a GET request?
this reduces the need for regular package syncing

@luceos not sure how it works, but when you browse files on Dropbox (API doc https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue), each request returns a cursor. You then use that cursor for the next request and you get the new changes.
I don't know if they maintain a list of all opened cursor on Dropbox end, or if the cursor contains the information itself. Simply embedding the filter and a timestamp in the cursor should be enough to let the remote server know where it needs to continue from.


Logging and error behavior

Sorry that is not really an issue, but I need a clarification on how things are supposed to work.
If I have a "await fetch" with a .catch()
Does the .catch overrides the retry behavior? And if not, how can I do to check if a retry actually happened ?
Thanks.

If there is an error that is retried (depends on retryOnHttpResponse and retryOnHttpError if set in the config), it will retry  the request. At that point your client code will still be awaiting the fetch() call. Only after the retry ends will it return to your code. This could be either

the request succeeded: you get the successful request results
the (last retried) request failed: you get the error from that failed request. this depends on the type of "error" but is just like plain fetch()

either throws if it's a FetchError in case of OS/TCP/network level errors. this is what retryOnHttpError handles
returns a response with response.ok == false in case of a non-success HTTP response. this is what retryOnHttpResponse handles

HTH! Closing the issue as this was a question.

Thanks for the explanation.
However, it does mean that we have no way of tracing if there were any retries ?
Thanks

See #77


Add 'hideModalContentWhileAnimating' to typings

I'm using the super helpful hideModalContentWhileAnimating prop in a project and I noticed it hasn't been added to the typings yet.
I'm happy to make a PR for this - let me know! 😸

Yup! Thank you in advance!

@mmazzarolo I've made a PR 🙂

Great, merged 👍


FulcioCA is now PKCS11CA

FulcioCA has been renamed to PKCS11CA with this commit: https://github.com/sigstore/fulcio/commit/fd319cf07e368e41e11a79c0c9f29d67e07b8579
The instructions for setting up Fulcio needs to be updated

Sorry, I just noticed that the guide is using Fulcio v0.1.1 while I am running the current master.

Hey @rgerganov , I think it makes sense to update once Fulcio is 1.0 (should be shortly).
Thanks and hope this is useful (sigstore the hard way)


Request: Add formal interface for go-cache

Pardon me if there is a way to do this but I was wondering if it would be possible to support a formal interface for go-cache? For things like counterfeiter, it would be useful to have it so that it can crawl through and mock/stub all the methods in go-cache to create test doubles.
Right now this isn't possible though because no interface is available.

See https://github.com/patrickmn/go-cache/pull/92
FYI I merged it into github.com/sylr/go-cache/v2


NextObserver is not assignable to (value: T) => void

Bug Report
Current Behavior
Currently, if you pass observer, undefined, undefined to subscribe you get a build error.
Reproduction

REPL or Repo link:
(you can use https://stackblitz.com/ to create one to attach here)

import { Observable, PartialObserver } from 'rxjs';

const o = new Observable();

function foo<T>(
  next?: PartialObserver<T>|((value: T) => void),
  error?: (err: any) => void,
  complete?: () => void,
) {
  o.subscribe(next, error, complete); // ERROR HERE
}

Expected behavior
No build error.
Environment

RxJS version: 6.3.x

Possible Solution
Update typings for Subscribable to support passing undefined for the other two arguments.

The work around here is to just cast next as any in the subscribe call.
o.subscribe(next as any, error, complete);

I'm on the fence about this as a bug. It's cumbersome the way it is now in 6.3... but is it also helpful? Hard to say. We should discuss this.

I'm not sure this is a bug. IMO, situations like this can arise anytime you have a function that's implemented using another function that has overload signatures.
But maybe something could be done to address this and also the fact that it should be possible to pass null as well as undefined. Something like this, perhaps?
export interface Subscribable<T> {
  subscribe(observer?: PartialObserver<T>, error?: null, complete?: null): Unsubscribable;
  subscribe(next?: (value: T) => void, error?: ((error: any) => void) | null, complete?: (() => void) | null): Unsubscribable;
}

That would catch usage like this:
source.subscribe({ next: value => console.log(value) }, error => console.error(error));

but I doubt it would solve this issue's problem.
Also, if support for null added, there are a few other places to be updated (e.g. the do and tap operators).

Well, basically these are probably all okay:
o.subscribe(observer);
o.subscribe(fn?, fn?, fn?);
o.subscribe(observer, ...u: undefined[]);

and this is likely a problem:
o.subscribe(observer, fn)
o.subscribe(observer, null|undefined, fn)
o.subscribe(observer, fn, fn)

Realistically, long-term, I'd like to guide people to only use:
subscribe(observer: PartialObserver<T>): Subscription;

// or

subscribe(nextHandler: (value: T) => void): Subscription

... because everything else is simply less readable for no real gain.

The underlying issue is that you are mixing 'union types' and function overloads, and those are not the same thing. These two interfaces behave very differently:
interface I1 {
  foo(a: A | B): void;
}

interface I2 {
  foo(a: A): void;
  foo(b: B): void;
}

For example:
function f(a: A|B, i1: I1, i2: I2) {
  i1.foo(a);  // ok
  i2.foo(a);  // is a type error because neither overload match. One wants A, the other B, but we have A | B.
}

In your case Observable uses overloads, while Subscribable uses union types. You should consistently use one or the other, but I am not sure which one.
For unions, the case is that it is easier to write, as in Ben's example. For overloads, I can see how it is easier for maintainers to separate different number of args and comments.
P.S. I expect the original error go away if you swap with Subscribable which is written in the union style, but stackblitz still error. Any ideas why?

@rkirov Regarding the history of the signatures, I doubt there is a reason for their being different.
Since I started working with RxJS, Observable.subscribe had overload signatures. Originally, it had an empty signature overload, but that caused problems with the typings. This PR removed it, but still left Observable.subscribe with overloads instead of a union.
More recently, this PR was merged a while ago to bring the Subscribable signatures into line with the Observable signatures. However, I'm not sure that PR is included in a published version of RxJS.

From core team meeting: Just leaving this as is... it's a TypeScript quirk.


Background color for inactive windows / per window

I have created a plugin which uses a hack to highlight the current window by
dimming the inactive ones: https://github.com/blueyed/vim-diminactive

It does this by using the 'cursorcolumn' setting and/or 'syntax=off'.

While this works quite OK, there are several issues with this method:
1. Performance!
2. It does not handle long lines properly (a maximum of 256 columns can be
highlighted using &cursorcolumn.
3. It does not handle non-lines ("~").

I could imagine having a new colorscheme highlighting group for this
(background of inactive windows) instead.

Apart from that I could also imagine some windows-local variable to control the
background color for it.  That would make it more flexible, and allow to use
different colors per buffer type for example (quickfix etc).

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 5 Feb 2015 at 8:37

Reported for Neovim in https://github.com/neovim/neovim/issues/5302 - lacking the feedback here.