[Feature] (array function) support array_cum_sum_noneg function #17474

Search before asking

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

Description
support array_cum_sum_noneg function
Use case
No response
Related issues
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Hi @Yukang-Lian , I found a description of this function in clickhouse[1], but it doesn't support null values in arrays, so I think we should discuss whether to handle NULL values, for example:
case 1. contains null & null as 0
SELECT array_cum_sum_noneg([1, NULL, -4, 1]) AS res
except: 1 1 0 1

case 2. contains null & null as null
SELECT array_cum_sum_noneg([1, NULL, -4, 1]) AS res
except: 1 NULL NULL NULL

case 3. contains null & throw unsupport exception
SELECT array_cum_sum_noneg([1, NULL, -4, 1]) AS res
except: throw unsupport exception

so, what do you think of which case more reasonable?
[1] https://clickhouse.com/docs/en/sql-reference/functions/array-functions/#arraycumsumnonnegativearr

I don't quiet sure, maybe you can contact @xiaokang or @eldenmoon for some help.

@lvshaokang we could follow the rule of ClickHouse, this behavior could be accepted

@lvshaokang we could follow the rule of ClickHouse, this behavior could be accepted

ok, thanks for you quickly reply!


Polish the Code elements styles because it looks like a button

The code elements inside the challenge have the same border as the buttons, which cased confusion for me multiple time, as I expected something to happen when I clicked over them.
I think we should do one of these two:

Polish the styles, so they don't look like buttons.
~Add functionality for when they are clicked, "copy code" or something alike~

There is a discussion of how they should look in this issue, it should provide more context and valid options https://github.com/freeCodeCamp/freeCodeCamp/issues/50034#issuecomment-1504008319

I think that, for the most part, we don't want the "copy code" type buttons. I believe we intentionally removed the copy/paste shortcuts, in the right-click menu of Monaco, to discourage copy/pasting.
Wondering how big of a problem this is - have we seen any other people mention issues about it?

Wondering how big of a problem this is - have we seen any other people mention issues about it?

No idea, similar to the original issue, this is an enhancement that I am requesting, not an actual issue.

can you tell how to recreate this issue

image of what I am talking about.

can i work on this?

can you guide me how can i do this?

@Sboonny I think the selected text color is right in some way because it match the background , I think we need to focus on the btn part, we need to change the size or color to look different from the selected text, what's your opinion on this?

@ValkonX33, there is no plan decided yet, when a plan is decided, a PR can be opened to close this.

@SoumyaSubhrajit
I do like the idea of changing the button style instead.

but it will be too much work, there are places that will break because of the small difference in their styles, which should be accounted for, and it will need to be updated in ui-components too.

I would wait for other prolific contributors' feedback about this, because how big the change will be.

@Sboonny I agree with you because it will need changes in every component and maybe it cause an issue, or we can change the btn color and size in the main component that should render in all child components, what's your take on this?

@Sboonny I do not see this as a problem, because the button has a pointer and background change on hover. The text does not.
As these are bog-standard expectations with buttons, do you still expect something to happen when you click on the text?
If yes, why not change the border for the code text instead of changing the button (which we have had around for a lot longer than the text)

@SoumyaSubhrajit, unfortunately changing the button is hard and will be harder when I am done with swapping the button components, because it will need to account for specificity too.
We should come back to the button after the ui-component has moved to its own repo, most of the issues that the changes will face should be solved by then.

Let's focus on polishing the code element

@Sboonny okay got it any other specific area that needs to focus on?

Why not change the border for the code text

We could go with a dashed border

I am interested to work on this issue. can i start working on this and raise a PR?

ok. will wait until it's open for PR

Does anyone have examples of how other sites/platforms/resources write/display similar text?

@ShaunSHamilton do you me post some example ideas or resources to take reference?

Yes. How do other sites style inline code? What is common?

MDN just uses a different font (and slightly different background?)

Google uses a different font and more distinct background

The border that we use is not a common approach, but we specifically added it to clarify spacing around strings.

We could border each space:

I'm not sure I'm a fan of that, tbh.

the border wasn't added to solve a spacing but as enhancement that indicate the text inside the code element is one long string, with the different layout spacing cause by the slider.
the images are from step 4 in rothko painting:

if removing a border is an option, we can go with the way tailwind did, by adding backtick ` before and after the code element.

We could go with a dashed border

We are using dashed boarder as indicator that a step isn't complete, I am worried that there will be misunderstanding that the code element isn't complete somehow.

Hi there, first time contributor.  I tried changing the text color and removing the border.

can we contribute to it now?

@deanglukler, the border does not need to be removed.
Find out where the background color and the border color is being applied and change them with the followings:
https://github.com/freeCodeCamp/freeCodeCamp/issues/51447#issuecomment-1789033518
@Asifdecoder, the issue is open for first time contributors. I will change the label if a pr is not submitted within a week or so.


[MINOR] Remove unused StringBuilders in ResultSets

Why are the changes needed?

remove 2 unused string builders in KyuubiQueryResultSet and KyuubiArrowQueryResultSet, which are only appended separator only and never queried again

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Thanks, merged to master (1.8.0) and 1.7.2.


Selection after an embedded object places the cursor before the object internally

Please describe the a concise description and fill out the details below. It will help others efficiently understand your request and get to an answer instead of repeated back and forth. Providing a minimal, complete and verifiable example will further increase your chances that someone can help.
Steps for Reproduction

Visit codepen.io

click after the formula

click backspace

you cant remove the formula

Visit codepen.io

click after the formula

type a new character

the carrot position is before the character

Expected behavior:
When clicking directly after an embedded object, the cursor should be placed after the object, allowing the user to type a character or delete the formula (Embed) normally.
Actual behavior:
The cursor is incorrectly placed internally before the embedded object, making it impossible to delete the embed.
Platforms:
Win 11, Chrome 129.0.6668.71
Version:
2.0.2
Run Quill.version to find out

Hey, I am getting same kind of a bug when implementing tables with Quill-2.0. In my case, when I start typing in a cell in the table, the cursor automatically sets before the first character and then behaves normally. So its basically only the first time when the cursor actually gets misplaced automatically.
Did you get a fix for this?

Hey @MukVai, sorry for the late reply. I switched to inline blot and it solved my issue. This type suited my needs better than the embedded object.


Linked Library Procedures not Recognized

I was told this was supposed to be working and start a new issue here.
INCLUDE Irvine32.inc
TERMMSG	 EQU < "(Press ENTER to Terminate)">
.data
; Prompts
prompt_Welcome	    BYTE		WELCOMEMSG , 0
.code
main PROC
; Press Enter to Terminate
mov	  edx, OFFSET prompt_goodBy
call	  WriteString ; <-- Irvine Library Call
call	  ReadInt  ; <-- Irvine Library Call
call	  CrLf; <-- Irvine Library Call
exit
main ENDP

You can see there is a red squiggly line under WriteString, ReadInt, and CrLf

If the file Irvine32.inc is in the same directory as your source file, it ought to work. Putting the filename between quotes as in "Irvine32.inc" should also works, the capitals also do not matter, IRVINE32.INC should also work.
Most likely you have instructed MASM to resolve includes from a directory, this information is not available to AsmDude, it just crawls your files and recursively includes files. It simply cannot find your file.
You will have to add a relative path (absolute paths do not work), eg,
INCLUDE "..\somedir\irvine32.inc"
Hope this helps


Left click acting like right click

name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20161129162558~master:5f2f11f9
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.82.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Wed Feb 1 15:13:00 PST 2017 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...

I installed Kali on my C720 and left click starts acting like a right click as soon as I switch to kali from Chrome OS. The touchpad still works fine in Chrome OS.

Can you answer the following to see if my issue is related? I have a Chromebook pixel 2015

Does it right click if you push with one finger in the very far bottom right corner?
Is the cursor sensitivity/speed really slow?


Use hash value as key?

Looks dangerous.

Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.

@ddddxxx Any suggestion to improve this is highly appreicated 😃

Since Xcode 10, this library is no longer usable: https://github.com/apple/swift-evolution/blob/master/proposals/0206-hashable-enhancements.md
Even with Swift 4, because Xcode 10 comes with Swift 4.2 and has compatibility mode for Swift 4.
This issue should be reopened.

Thanks for bringing this up again @fcapon :)
I removed the Hashable constraint in #30

Thanks! 🤗


I have 2000+ Honor but I can't resolve issues

Today I got the following notification:

2000+ Honor: You have now the ability to resolve issues on any kata!

But I actually don't have it :(
Update: But I actually can't do it on some katas (1, 2, 3)

Hey suic86, same problem here. Except that I only have 1491 honor at the moment of writing.

Use preview.codewars.com! There it is possible. :-)

Production was deployed


Restore-issues (Synology)

Hi,
I'm trying to restore a file (just testing), and experiencing the following with the location:

If I select 'original location' as the destination, the restore completes without an error message but the file doesn't appear in its original folder (unsure whether it appears anywhere else)
If I select 'other' and browse to the original location, I get 'There was a problem. Please try again'.

What am I doing wrong?

How did you created the container (with which parameters)?
Maybe this can help you: https://github.com/jlesage/docker-crashplan-pro/blob/master/README.md#cannot-restore-files

Hmm, somehow I don't have a /storage mapping(!), but backup is working fine anyway.
Can I add the mapping without messing up my existing backups?

Not having a mapping to /storage is not really a problem, since you probably used another mapping to get access to your data.

Yup, that worked like a charm. I've chosen to create a separate restore-folder on the Synology and it lets me successfully restore to it  :)


[FLINK-16525][task] Increment subtask id by 1 to display subtask name

What is the purpose of the change
Improve displayed name for TwoPhaseCommitSink subtask instances.
Brief change log
Increment the subtask index before displaying it to better match the parallelism which index starts at 1.

Travis is green, let's ignore the nit.


Add configuration for source ID and instance ID for logging client

[#155909653]
Signed-off-by: Peter Stone<EMAIL_ADDRESS>

This PR has been updated to adhere to an instanceID that is in the guid string format, as referenced by this conversation.

Won't merge. This pr doesn't have a lot of value, it is only setting a default in the config which is redundant since we always set it in the json config of the bosh job.


[BUG] ML Model Registration endpoints fail due to parameter requirements check

What is the bug?
ML Model Registration endpoints are failing due to a breaking change from the core. The current implementation allows optional path parameters (model_id and version) in endpoints like /_plugins/_ml/models/{model_id}/{version}/_register and /_plugins/_ml/models/_register. However, the core now requires all defined path parameters to be consumed, making the current optional parameter handling invalid (ref).
The check for the parameters was introduced in 1.0.0-alpha1 version, specifically in this commit.
How can one reproduce the bug?
Running this in dev tools:
POST /_plugins/_ml/models/xv-F5pMBrJdjeJHHBXXV/1.0.0/_register

Resulted in this error:
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "request [/_plugins/_ml/models/xv-F5pMBrJdjeJHHBXXV/1.0.0/_register] contains unrecognized parameters: [model_id], [version]"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "request [/_plugins/_ml/models/xv-F5pMBrJdjeJHHBXXV/1.0.0/_register] contains unrecognized parameters: [model_id], [version]"
  },
  "status": 400
}

What is the expected behavior?
All defined path parameters should be properly consumed by the REST handler. The registration request should be processed without throwing IllegalArgumentException about unrecognized parameters.

The /_plugins/_ml/models/{model_id}/{version}/_register API doesn't work in previous versions as well. Therefore, both APIs (/_plugins/_ml/models/{model_id}/{version}/_register and /_plugins/_ml/models/{model_id}/{version}/_upload ref) can be deprecated and this issue can be closed. The cx now are only using /_plugins/_ml/models/_register to register a model.


Rename <IP_ADDRESS> Milestone to <IP_ADDRESS>

To avoid confusion the milestone should be renamed to the correct version :)

Pfffft. This is the third time I am making the same mistake!!!
Thank you for the heads up.

Thanks for fixing it 👍


Messages Reducer

The Messages Reducer manages errors and other informational messages generated in verification & validation tasks.

NEW_MESSAGE action would be a fine one to start with.

Does this mean you'd like to "log" these messages in the state object itself as new fields? (i.e. a list that's a transcript of all such messages?)

Things that are interesting to report:

Sort errors by type
Quickly find what node has a problem

I've implemented this as a REPORT_MESSAGE type action in the graphs package. This is on the feature/recipient-profile branch to be merged by PR 112

Merged.


feedback from LWG small group review on 2023-01-24

@tomaszkam @dietmarkuehl for your consideration...

@tomaszkam @dietmarkuehl for your consideration...

I like the changes.


[POC] Expire/repack packfiles

This is just for you to look at and think about as you work on your other designs. If you want to test it, be sure to install the newer version of Git that is specified.

Here are some log lines when I had a 1GB batch size:
[2018-12-07 14:59:07 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":46601349961,"NumPacksBefore":2004,"TotalSizeAfterExpire":46601349961,"NumPacksAfterExpire":2004,"TotalSizeAfterRepack":46862314023,"NumPacksAfterRepack":2005}
[2018-12-07 15:00:41 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":46862314023,"NumPacksBefore":2005,"TotalSizeAfterExpire":45755364849,"NumPacksAfterExpire":2003,"TotalSizeAfterRepack":45853826120,"NumPacksAfterRepack":2004}
[2018-12-07 15:01:41 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":45853826120,"NumPacksBefore":2004,"TotalSizeAfterExpire":44686107701,"NumPacksAfterExpire":2000,"TotalSizeAfterRepack":44777080137,"NumPacksAfterRepack":2001}
...
[2018-12-07 15:08:22 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":39944137649,"NumPacksBefore":1992,"TotalSizeAfterExpire":38656487873,"NumPacksAfterExpire":1988,"TotalSizeAfterRepack":38876375106,"NumPacksAfterRepack":1989}
...
[2018-12-07 15:10:50 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":37984955160,"NumPacksBefore":1986,"TotalSizeAfterExpire":37984955160,"NumPacksAfterExpire":1986,"TotalSizeAfterRepack":38176447953,"NumPacksAfterRepack":1987}

But with 3gb batches:
[2018-12-07 15:15:28 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":36973070822,"NumPacksBefore":1975,"TotalSizeAfterExpire":35796669175,"NumPacksAfterExpire":1911,"TotalSizeAfterRepack":36046769002,"NumPacksAfterRepack":1912}
[2018-12-07 15:20:33 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":36046769002,"NumPacksBefore":1912,"TotalSizeAfterExpire":32824175964,"NumPacksAfterExpire":1688,"TotalSizeAfterRepack":33197635264,"NumPacksAfterRepack":1689}
[2018-12-07 15:23:58 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":33197635264,"NumPacksBefore":1689,"TotalSizeAfterExpire":29853293441,"NumPacksAfterExpire":1602,"TotalSizeAfterRepack":30276772771,"NumPacksAfterRepack":1603}
[2018-12-07 15:28:08 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":30276772771,"NumPacksBefore":1603,"TotalSizeAfterExpire":26805689518,"NumPacksAfterExpire":1406,"TotalSizeAfterRepack":27236177139,"NumPacksAfterRepack":1407}
[2018-12-07 15:31:02 -05:00] GitPackMaintenanceStep {"Area":"GitPackMaintenanceStep","TotalSizeBefore":27236177139,"NumPacksBefore":1407,"TotalSizeAfterExpire":23872330361,"NumPacksAfterExpire":1166,"TotalSizeAfterRepack":24127127226,"NumPacksAfterRepack":1167}

i.e. things progress a lot faster, and repack still only takes about 3 minutes.


fix: upgrade module for pull image in google cloud issue #9630

Fixes #9630
Motivation

Pull image in Google Cloud issue https://github.com/google/go-containerregistry/pull/1346
Modifications

Upgrade module github.com/google/go-containerregistry/pkg/authn/k8schain (old v0.9.0) (match with github.com/google/go-containerregistry v0.11.0)

Verification

make test
https://github.com/google/go-containerregistry/pull/1346
Note
Why not upgrade github.com/google/go-containerregistry/pkg/authn/k8schain and github.com/google/go-containerregistry to latest version 0.16.1?
-> Upgrade to the latest version for both, upgrade other dependencies and break other code when build. So just upgrade github.com/google/go-containerregistry/pkg/authn/k8schain to match with our current github.com/google/go-containerregistry v0.11.0

dependabot is updating modules. Just wait after that, we can update for this

@terrytangyuan help me check again. The dependabot changed the go.mod and make conflict on this issue. I've updated to resolve the conflict


Editorial: add rowspan to   Table 1:41.1-1:

In Col 1, add rowspan for the PIX Manager to make it clear that ITI-83 and ITI-104 apply to that actor.

rowspan is not supported by markdown. I don't know how to do it.


[not for merge]not red asan check

Changelog entry
...
Changelog category

New feature
Experimental feature
Improvement
Performance improvement
Bugfix
Backward incompatible change
Documentation (changelog entry is not required)
Not for changelog (changelog entry is not required)

Additional information
...

⚪ 2024-09-24 15:31:18 UTC Pre-commit check linux-x86_64-release-asan for f59ca1d has started. ⚪ 2024-09-24 15:31:29 UTC Artifacts will be uploaded here ⚪ 2024-09-24 15:34:01 UTC ya make is running... 🟡 2024-09-24 16:21:21 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet
Test history | Ya make output
TESTS	PASSED	ERRORS	FAILED	SKIPPED	MUTED?
3399 3362	0	21 2 14
🟢 2024-09-24 16:21:43 UTC Build successful.

почти победа
загаси эту нечисть


Action timestamps are reporting 0ms now.

Noticing timestamps on the actions (the middleware) aren't working any longer.
Probably something simple.  This coincided with the rebase and hand resolving.  Classic @skellock.

It seems to actually be the new storeEnhancer.  The performance tracking seems to wrap the dispatching of the action through the enhancer chain and not the execution of the action itself.
Taking that out and just using our middleware works great.  So it's not the new timing callbacks (which is kinda cool actually).
Still investigating.
/cc @andrewvy

Thanks for debugging.


Use of numpy ArrayLike in static typing

Several functions, particularly in ktk.geometry, request np.array as inputs. However, it's sometimes much practical to provide a list of numbers, and it usually works. We need to formalize this. Every array input should be casted to an np.array (which would be default protect the inputs from overwrite), and this operation would ensure that effectively, the input does not need to be an array but must be accepted as an array by numpy.
numpy.typing.ArrayLike seems to be exactly this.

This seems to work well, but then, in the documentation, Sphinx reformats ArrayLike by a very large Union of many obscure types. This is very unpractical. Maybe we should stay with "more defined" types for now.

I found how to avoid this reformat: the solution was to do:

Stop using sphinx_autodoc_typehints
Use these in config:
autodoc_typehints: description
autodoc_type_aliases:
'ArrayLike': 'array_like'
'TimeSeries': 'TimeSeries'
Use from __future__ import annotations in every source file


🐛 Fix unnecessary lastUnpacked status updates

We should not be updating lastUnpacked status fields when we read from the cache
Fixes https://github.com/operator-framework/catalogd/issues/389

doh - didn't realize it was draft - apologies

Ready for review now


CAMEL-17173 Mute server errors by default

Updated code so that by default we don't include stack traces in the response body when we returning HTTP 500.
Also added a new option logException to log exceptions when a muted response, one not containing a stack trace, is returned.

Also noticed that I need to fix up a couple of the unit tests in camel-jetty that expect a response body with HTTP 500.

Such a change needs to be documented in the 4.1 upgrade guide in the docs folder

@jono-morris is all okay, did you fix those tests ?

@jono-morris is all okay, did you fix those tests ?

@davsclaus, yes I've fixed all the tests.


Add new Makefile target to run it tests inside Docker

it tests and tox relying on a number of Python 3 versions via
pyenv are a good candidate for running through Docker, as setting up
pyenv and the needed Python versions (as well as required
JAVA_HOME/RUNTIME_JAVA_HOME) can be fiddly.
This is an easier task than https://github.com/elastic/rally/pull/484
as it doesn't rely on passing ssh credentials via the ssh-agent. Only
issue is that on operating systems where Docker runs as a VM (macOS,
Windows) the default configured memory will not to be increased in
order to run the entirety of the integration tests, as Rally uses the
4GB car for Elasticsearch (on top of additional tasks). However, this
target is especially suitable for running integration tests inside a
powerful server/workstation Linux environment without having to worry
about configuring all the dependencies.

@danielmitterdorfer I've addressed your comments, could have another pass at the PR?

@dm can you have another look now?

Thanks. LGTM! :)


Section headings in Sanity call outs are not styled as heading tags

In some blogs, content that looks like it should be a heading is not. I think that this is because they are in call outs (or similar elements) and aren't being styled as headings.
https://owa.thenational.academy/blog/how-to-provide-effective-feedback "Tell us how you got on" should be a heading
Acceptance Criteria:

Ensure that elements that are labelled as "Section headings" in sanity keep the heading property as they are passed through to the Front end

https://www.notion.so/oaknationalacademy/Within-some-of-the-blog-articles-there-are-text-elements-that-are-visually-styled-as-headings-but-th-b1f58850b5884ab7bce417e03c9a8d3d?pvs=4

moved to notion


Collision of UUID in evothings.json

Evothings behaves badly if you have two projects with the same UUID.

When adding a project to the Studio it needs to cross check against the current list of apps under MyApps and complain if the UUID is already in an existing app. And offer to fix it in the app being added.

We should add the COPY button to MyApps as well as having it under Examples. The COPY button does the above when you copy an example.

Done both, so closing.


Show BranchID in .kbfs_status

Useful for diagnosing write journal issues.
(Could have sworn I did this already, but I guess not...)

Looks good to me, thanks!

appveyor failure looks like a known failure


Add CLI for upgrade safety checks

Adds a CLI to the upgrades-core package to perform upgrade safety checks on a build-info directory.

I pushed changes to the output, with a change in how we handle console.log. The reports don't log anything, they accumulate a string, and that gets printed at the end.


Failed to upload the lms.zip to s3 bucket

Hi there :
The deployment failed when uploading the lms.zip to s3 bucket. It mentioned "release/lms.zip does not exist.
Please kindly advise. Thanks a lot !
... uploading Mac installer (this may take a while) ...
--> aws s3 cp --acl public-read release/lms.zip s3://chime-211259373114-releases/mac/lms.zip
Command aws failed with exit code 255 signal null
The user-provided path release/lms.zip does not exist.

Closing it, feel free to reopen it if you still have issues

I am experiencing the same problem.  The error is saying the mac zip file didn't get created, and I don't see the mac zip file in the release directory.  So I postulate the problem is the mac zip file is not being created.  Yet, I don't see an error either.  This is on Cloud9.  You might want to reopen this, because I think something is wonky with the deploy script.
... uploading Mac installer (this may take a while) ...
--> aws s3 cp --acl public-read release/human0.zip s3://human0-releases/mac/human0.zip
Command aws failed with exit code 255 signal null
The user-provided path release/human0.zip does not exist.

I'm on the same boat.. Getting this same error over and over again. I tried to upper the size to 2TB and it still complaining :(
btw, the tutorials out there just assume that's you have setup everything perfectly to work with Chime!
I've spend the whole week trying to get this classroom to work. Any direction to a good tutorial please?
Ideally with a little background on how to prepare aws before we start typing in those deploy commands.

@DjWilly Sorry you are facing an issue with setting up the demo. I think we missed your comment since this ticket was closed. I am not sure if you have resolved your issue. If not, can you please give me some information on deployment option you are using? In future, if you ever have any issues or questions, please feel free to open a new GitHub issue. That will ensure someone is able to take a look at your issue. We track open issues that we have not replied back to but closed issues are not tracked.
I just ran the classroom setup demo in Cloud9 and faced an issue with the mac zipped files. I am currently looking into option 1 and seeing if I can push a quick patch. I also tried deploying the demo via option 2 and can confirm that option 2 works.
I will reopen this issue to track the setup bug.

For now, the mitigation strategy will be to use option 2. Please let me know if you run into any issues there.

I have merged in a fix that should help with the S3 copy issue in the deploy script. Please feel free to open another issue if you still face an issue.


"Reapplying foo decorator to target that is already decorated with it." warning?

Sorry folks, I've pressed enter accidentally without finish it. 😅
Environment:

Rails 5.0.0
draper 2.1.0
activemodel-serializers-xml: rails/activemodel-serializers-xml

First of all, thank you so much for this great gem.
I don't really know if this is a bug. It's definitely a question, tho.
I've installed the gem, followed the installation instructions in the README file, creating the decorator FooDecorator class under the /app/decorators directory.
In my FooController, when I execute:
def set_foo
   @foo = Foo.find(params[:id]).decorate
end

the decoration is done beautifully. Excellent!
However, on my console, the following warn is thrown: Reapplying foo decorator to target that is already decorated with it.
The weird thing is that the object @foo hadn't been decorated previously and I don't quite understand why this warning is being thrown. Even weirder is that the same warning is thrown when executing my RSpec test.
Any ideas of why is this happening? Am I missing something?
I couldn't find any questions on this neither on google nor on any issues, that's why I've created this one.
Thanks a bunch.

I'm observing the same behavior using the 3.0.0.pre1 version.

I'm getting this as well with the same symptoms. It seems to happen when I use render collection


error while running the keycloak docker compose up command

The Compose file './docker-compose.yml' is invalid because:
services.keycloak.environment.KC_HOSTNAME_STRICT contains false, which is an invalid type, it should be a string, number, or a null

@Lijo466 According to documentation it is boolean
Documentation: https://www.keycloak.org/server/all-config?q=hostname-strict


Task - Filter Collecting event - House keeping returns too many records, the date filter is not set properly

When I searched the collecting event within one month range. I got about 45,000 records, it should be only a few.

Screenshot?


http: implement extism host functions

based on #20

must add tests

created https://github.com/extism/chicory-sdk/pull/25 because this PR erroneously did not target main!


Escape html tags in installation.md

Otherwise the last two sections aren't readable.

Coverage remained the same at 45.209% when pulling e386c295cd33e15df7d731463b5cced94b2c05a4 on GeorgySerga:patch-1 into 623657c0d52f95b346b6c6a5d84b3d1e0d604070 on johndyer:master.

PR merged. Thanks


Failed to load tensorflowlib when firebase_admob is used

I really appreciate your nice library that eases the usage of TF.
I am developing a mobile app for android and I am using tflite_flutter for some image processing tasks. Everything was fine until I added firebase_admob to my project.
It seems that initiating the firebase_admob prevents tflite_flutter from loading the tensorflow lib!
Here is the runtime error I get:
ArgumentError (Invalid argument(s): Failed to load dynamic library (dlopen failed: library "libtensorflowlite_c.so" not found))
If I initiate firebase_admob in advance, like this:
FirebaseAdMob.instance.initialize(appId: "APP ID");
By disabling the firebase_admob  tflite_flutter works fine. I am not sure if the problem is with firebase_admob or tflite_flutter, but I came across a similar issue for libsqlite:
https://github.com/simolus3/moor/issues/420
According to the link, it seems that ffi is the root of problem.
I could reproduce the error with two versions if tflite_flutter lib: tflite_flutter: ^0.1.3, and tflite_flutter: ^0.5.0
Here is also the flutter doctor results:
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.14.5 18F203, locale en-DE)
• Flutter version 1.17.3 at /Users/q416892/Documents/tt/flutter
• Framework revision b041144f83 (7 weeks ago), 2020-06-04 09:26:11 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/q416892/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 5.0.2 (API 21) (emulator)
! Doctor found issues in 1 category.
Thanks in advance.

The same error (dlopen failed: library "libtensorflowlite_c.so" not found) happens if I use facebook_audience_network, version 0.6.2. This time the error happens even if I just add the facebook_audience_network pubspec.yaml and even not using it in the code!

The error is not there in release mode on a real device!

Thanks, @manmahani for reporting this. Good to see that you found a solution. I would investigate this further.
Please feel free to share if you have any other queries.


HLS Parser Handling Aborted Operations as "No Partial HLS Segment Support"

This is an off-shoot of #1785.
What version of Shaka Player are you using?
2.5.0-beta2
Can you reproduce the issue with our latest release version?
Reproduced with 2.5.0-beta2
Can you reproduce the issue with the latest code from master?
Reproduced with 2.5.0-beta2
Are you using the demo app or your own custom app?
Custom App
If custom app, can you reproduce the issue using our demo app?
The current demo app does not have the mechanism to change streams fast enough to easily reproduce the issue.
What browser and OS are you using?
Chrome 71.0.3578.98 on OSX
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
Custom manifest. However this can be reproduced with any HLS content.
What did you do?

Load HLS manifest (manifest A)
Load HLS manifest (manifest B)
Repeat steps 1 and 2 multiple times.

In order for this to work, there needs to be some delay between calls to load.
What did you expect to happen?
Calls to load should interrupt previous calls to load with no errors and the last call to load should produce playback.
What actually happened?
When the HLS Parser is shutting down and aborting its in-progress networking requests, it will misinterrupt the aborted operation as "Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!"

After talking it over with @joeyparrish the current plan of action is:
For 2.5:

Create a unit test for the HLS parser to show this behaviour. This test will be used as a regression test once the fix is created.
Implement a short-term (less invasive change) that will allow the test mentioned above to pass.

For 2.7

As part of the greater HLS changes, this fix should be built into the design of the parer in a more sustainable way than was done for 2.5.

Updates on this issue:

A test for reproducing the issue has been created. The test is in code review.
A fix for the issue has been created. The fix is in code review.

Many members of the team have been out-of-office lately, so reviews have been taking longer than normal. Thank you to everyone for their patience.

We have completed all the work for 2.5. The only work remaining is the work listed for 2.7. I am going to remove this from the 2.5 milestone so that it does not block the release. When we scope out 2.7 it should be added to that milestone.
@joeyparrish I am tagging you here since this has to do with release planning for 2.5 and 2.7.

25710b6 seems to have introduced a regression that prevents us from accessing Microsoft IIS by unconditionally including range headers in segment requests.  I should have a fix soon.

This issue has gotten stale.  I'm not aware of this as a current issue.


The sendKeys function is clearing the text after to write it

Hi there!
I'm facing this issue today, it's weird bug since I'm try to send a random text to a input and the text should stay there but it is erased, even sometimes the input is empty. I just used:
element(by.css('.myclass')).sendKeys('randomText');

[Gif]

Bug report

Node Version: 6.9.1
Protractor Version: 5.4.1
Browser(s): Chrome 70.0.3538.110
Operating System and Version MacOx 10.14

This appears to be more of a StackOverflow question but since you have such great pictures... could you provide what's happening right before? Also your config (partial config is fine) and if this is an Angular or AngularJS application. Also are you using async await...

Closing since this issue has not changed. Please ask this on StackOverflow.


CRUD controller and tests for indicator entities

Thanks @tiagojsag! There are minor comments regarding grammar/CTRL+C, CTRL+V stuff, BUT
there is a change  that makes the API crash
I provided a little fix, up to you if you want to apply or just remove the decorator, both would work. My personal suggestion is to remove it and add a proper swagger doc later on. I can take care of that too
Thanks!

thanks for the feedback, stuff fixed and history cleaned, waiting for ci and ready to merge


Distance tax - Tax rate and tax reclaimable on rows are not grayed out when edited offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.80-1
Reproducible in staging?: y
Reproducible in production?: no new feature
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Precondition:

Tax is enabled.
Distance rates are enabled.
Track tax in DIstance rates is enabled.

Go to Distance rates.
Go offline.
Tap on any rate.
Edit "Tax rate" and "Tax reclaimable on".

Expected Result:
"Tax rate" and "Tax reclaimable on" will gray out when edited offline.
Actual Result:
"Tax rate" and "Tax reclaimable on" are not grayed out when edited offline.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/51fb23a0-9e50-4259-af53-063547110f0a

View all open jobs on GitHub

@sakluger FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

cc @nkdengineer @eVoloshchak

This is offline bug and related to UI, not blocking the workflow. So we can demote it from blocker. But let's fix it as a regression

@MonilBhavsar What do you mean by fixing as a regression? First time hearing about it 😅

Since the regression is coming from https://github.com/Expensify/App/pull/42141. We can have PR authors to fix the bug
https://stackoverflowteams.com/c/expensify/questions/8513

Ah, got it, thanks @MonilBhavsar !

@MonilBhavsar should I assign this also to the original PR author? Or would that trigger another payment that doesn't correspond here?

Yes, you will be able to assign contributor and c+ once they comment here

I'll raise PR soon to fix this regression

Hey @nkdengineer - what's the status on a fix for this regression?

The PR is merged and deployed to production.

@luacmartins Can we close this?

Yes, we'll process payment as part of the original issue and https://github.com/Expensify/App/issues/43241


Feature Request: LDAP Authentication to web server

We've (we being First Utility,) forked your project with a view to adding authentication for access to the web server. We'll use LDAP (AD) for our purposes.  But before we start, I thought it would be helpful to gather the original author's input on how this might be best achieved. Do you have any preferences for library use for instance? Any other pointers?
Kind regards

At SeatGeek, we do authentication outside of the application layer, at the server level. In our case, that is implemented in nginx+lua. I'd recommend doing something similar to that, as it's highly unlikely that we'd merge any such feature since it's not the primary concern of this service.
The nice thing about doing this outside of sixpack is that you get to reuse auth for all backend admin panels, which is something we do with our authentication.
Does that make sense?

Hi - yes - makes snes and we'll implement something similar.


No module named tensorflow (problem with python 2)

Hi,
I'm trying to install tensorflow on this machine:
Ubuntu 16.04
cuda 8.0
cudnn 5.1
python 2.7 (no Anaconda)
I installed tensorflow on both python 3 and python 2. It works with python 3 but with python 2 always gives the import error: No module named tensorflow.
What can I do to solve this?
Thanks

A few things

Could you show the exact commands you are running and their traceback?  Include the install and the check import?
Are you using pip? Did you check the pip list. Did you check that the pip you are running corresponds to the python you are running.?
Try virtualenv.
Try what is listed here https://www.tensorflow.org/install/install_linux (under common install problems)

Same problem as mine:
The pip and python does not correspond to each other.
Using "python -m pip installl tensorflow" for sure pip.

These are the commands I used to install tensorflow with python 2:
 sudo apt-get install python-virtualenv
 virtualenv --system-site-packages /media/hadi/tmpstore/tensorflow_vp2/
source /media/hadi/tmpstore/tensorflow_vp2/bin/activate
pip install --upgrade tensorflow-gpu
deactivate
``source /media/hadi/tmpstore/tensorflow_vp2/bin/activate pip install ipython`
Now I am trying to perform faster-RCNN for object detection based on github pages. But every time there is this error with python 2:

import tensorflow as tf

ImportError: No module named tensorflow

In the pip list there is line like this:

tensorflow-gpu (1.0.1)

My problem was with pip. It always referred to python 3.I used pip2 install --upgrade tensorflow-gpu instead and it works now.

Glad you got it working!

I am also getting the same error while importing tensor-flow below are some details of my system.
deepakchawla35@deepak-server:~$ python -V Python 3.6.1 :: Anaconda 4.4.0 (64-bit)
deepakchawla35@deepak-server:~$ pip -V pip 9.0.1 from /home/deepakchawla35/anaconda3/lib/python3.6/site-packages (python 3.6)
deepakchawla35@deepak-server:~$ pip3 show tensorflow Name: tensorflow Version: 1.3.0 Summary: TensorFlow helps the tensors flow Home-page: http://tensorflow.org/ Author: Google Inc. Author-email<EMAIL_ADDRESS>License: Apache 2.0 Location: /home/deepakchawla35/.local/lib/python3.5/site-packages Requires: protobuf, six, tensorflow-tensorboard, wheel, numpy
`deepakchawla35@deepak-server:~$ python
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'tensorflow'`

In my system python and pip are of version 3.6 and tensorflow is install with python version 3.5 now what should I have to do to install it with python 3.6..??

How can I install Keras after installing theano? I tried to install keras but after complitation when I am trying to import keras it shows me error: No module name tensorflow.
I also changed the default backend from tensorflow to theano but still I am facing the same problem. Could you people please help me to fix it.

How can I install Keras after installing theano? I tried to install keras but after complitation when I am trying to import keras it shows me error: No module name tensorflow.
I also changed the default backend from tensorflow to theano but still I am facing the same problem. Could you people please help me to fix it.


dd: fix precision for display of total time spent

Improve the display of the total time spent transferring bytes so that the number of seconds is displayed with more or less precision, depending on the magnitude of the duration. As the duration decreases, the precision increases. This matches the behavior of GNU dd more closely.
Before this commit, the precision was always set to one digit after the decimal point. For example,
$ dd count=100000 if=/dev/zero of=/dev/null
100000+0 records in
100000+0 records out
51200000 bytes (51 MB, 49 MiB) copied, 0.2 s, 268.1 MB/s

After this commit, the precision increases dynamically as the duration decreases. For example,
$ dd count=100000 if=/dev/zero of=/dev/null
100000+0 records in
100000+0 records out
51200000 bytes (51 MB, 49 MiB) copied, 0.191758 s, 268.1 MB/s

$ dd count=1000 if=/dev/zero of=/dev/null
1000+0 records in
1000+0 records out
512000 bytes (512 KB, 500 KiB) copied, 0.00260677 s, 256.0 MB/s

$ dd count=10 if=/dev/zero of=/dev/null
10+0 records in
10+0 records out
5120 bytes (5 KB, 5 KiB) copied, 0.000201771 s, 5.1 MB/s

Do you know how GNU determines this? Seems like 6 significant figures with some exceptions? I can't make much sense of it😄

Found it, it's %g formatting. https://github.com/coreutils/coreutils/blob/master/src/dd.c#L775-L782

I'm going to close this in favor of @tertsdiepraam's suggestion to use %g formatting. See #4185 for a start in that direction.


From command line, max count collection sometimes doesn't appear to stop?

On occasion, with a largish number of max_tweets and a search range way in the past, the command line utility appears to get stuck (or maybe twitter is slowing down how quickly it returns pages).
Might it be worth trying to be more defensive on how you break out of the while True collection loop? Or perhaps appending tweets to the export file as you go along (eg save in batches of every 100 or so)?

Thanks @psychemedia, you are totally right, thanks for you idea, I will implement this soon.

I have done it, now for each bunch of 100 tweets a flush is executed (and I put a log to give some idea of life hahah).


Enums are not repsected correctly when used as params or return values

This should not be valid
---@param ... ImGuiWindowFlags Flags to xor
---@return ImGuiWindowFlags
function bit32.bor(...) end

local parsesAsValid= bit32.bor(ImGuiStyleVar.FramePadding)

I get the feeling the enum gets parsed as its inner type (which is integer/number), and since both types have that it thinks its valid.

Are you able to provide a simple example of the issue where all the types are defined in it? I am unfamiliar with the aliases/enums you are using here.

---@enum MyEnum
MyEnum = {
  All = 0,
  None = 0
}

---@enum MyOtherEnum
MyOtherEnum = {
  Some = 0,
  Filter = 0
}

---@param ... MyEnum
---@return MyEnum
function bit32.bor(...) end

---- This gives correct autocompletion but shows no error if I enter an "invalid" enum
bit32.bor(MyEnum.All, MyOtherEnum.Filter)

---@param ... MyEnum|MyOtherEnum
---@return MyEnum
function bit32.bor2(...) end

---- I expect this to give an error if I mix enums, should only alof one or the other
bit32.bor3(MyEnum.All, MyOtherEnum.Filter)

---@vararg MyEnum
---@return MyEnum
function bit32.bor3(...) end

---- Same as the first but using vararg
bit32.bor3(MyEnum.All, MyOtherEnum.Filter)

Ah okay, I see. The enums are being validated based on their value but you would like to ensure that the entered enum matches the requested enum?
In this example, they all do have a value of 0 so there is no harm regardless of which enum they use. I could see a library wanting to enforce the use of the correct enum though.

The whole point of an enum is to ensure correct enums are used in my honest opinion. Or I might just make constants.
I hope this can be fixed :)


Live

test PR

Docs Build status updates of commit 1440995:
:white_check_mark: Validation status: passed
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

test PR


Unexpected result of boolean operation between vectors

vtrue = Daru::Vector.new([true]*2)
vfalse = Daru::Vector.new([false]*2)

bool = (vfalse and vtrue)

The result is a vector where all of the elements are true, where I would expect all of them to be false.

The and clause you're using is Ruby boolean and, which cannot be modified. Moreover such piecewise boolean operations aren't currently supported on Vector. Use a Daru::Core::Query::BoolArray for that.
Or alternatively:

vtrue = Daru::Vector.new([true]*2)
vfalse = Daru::Vector.new([false]*2)

bool = (vfalse.eq(false).and(vtrue.eq(true)))
# OR
bool = (vfalse.eq(false) & vtrue.eq(true))

This operation will return a BoolArray.

Thanks, this works


xt/check-signatures.t doesn't respect TEST_FILES

Instead of manually checking for doc/Type files, should use the results of Test-Files.documents and grep through those, similar to xt/aspell.t

(doing this would allow the test to work with util/update-and-test which relies on using the TEST_FILES environment variable.)

Good point.  I didn't realize util/update-and-test used TEST_FILES.
I initially didn't use TEST_FILES because it will frequently include doc/Language/* files that xt/check-signatures can't do anything with.  But you're 100% correct that a simple grep would solve that.

Had to move the code to get the files to the top of the test (in place, it was getting a list of the files in the rakudo source dir.)


Rely on devise-i18n gem for translations

devise-i18n-views has been merged into devise-i18n. You should stop using devise-i18n-views and start using devise-i18n 1.0.0 or later. There will be no further releases of devise-i18n-views.

Implemented in https://github.com/hisea/devise-bootstrap-views/commit/2bec2aacf4070920d7ebbc3e3d4b1ee3202deb77.


regions.Regions.read not correctly converting sexagesimal hours to decimal degrees

I am using regions.Regions.read to read a large number of .crtf regions into astropy. These CRTF files have all been created interactively in CARTA. In most cases the coordinates of my region points/vertices are in decimal degrees, but in one case (outside of my control) the coordinates are in sexagesimal format - hours for RA, degrees for Dec. Regions seems to be correctly converting sexagesimal to decimal format, but it is not converting the RA value from hours to degrees. For instance, for a .crtf file with the content:
#CRTFv0 CASA Region Text Format version 0
symbol [[18:47:44.02103, -<IP_ADDRESS>6], .] coord=J2000, corr=[I], linewidth=2, linestyle=-, symsize=1, symthick=1, color=2ee6d6, font=Helvetica, fontsize=10, fontstyle=bold, usetex=false
symbol [[18:47:44.04110, -<IP_ADDRESS>69], .] coord=J2000, corr=[I], linewidth=2, linestyle=-, symsize=1, symthick=1, color=2ee6d6, font=Helvetica, fontsize=10, fontstyle=bold, usetex=false
symbol [[18:47:44.06118, -<IP_ADDRESS>0], .] coord=J2000, corr=[I], linewidth=2, linestyle=-, symsize=1, symthick=1, color=2ee6d6, font=Helvetica, fontsize=10, fontstyle=bold, usetex=false
symbol [[18:47:44.10133, -<IP_ADDRESS>80], .] coord=J2000, corr=[I], linewidth=2, linestyle=-, symsize=1, symthick=1, color=2ee6d6, font=Helvetica, fontsize=10, fontstyle=bold, usetex=false

I read this in with the command:
reg = regions.Regions.read(filename.crtf,format='crtf')
When I check the values of the coordinates in the region object, I get:
In [9]: reg
Out[9]:
<Regions([<PointSkyRegion(center=<SkyCoord (FK5: equinox=J2000.000): (ra, dec) in deg
    (18.7955614, -1.91613656)>)>, <PointSkyRegion(center=<SkyCoord (FK5: equinox=J2000.000): (ra, dec) in deg
    (18.79556697, -1.91571858)>)>, <PointSkyRegion(center=<SkyCoord (FK5: equinox=J2000.000): (ra, dec) in deg
    (18.79557255, -1.91527972)>)>, <PointSkyRegion(center=<SkyCoord (FK5: equinox=J2000.000): (ra, dec) in deg
    (18.7955837, -1.91492444)>)>])>

Despite what the output says above, the decimal values for RA have not, in fact, been converted to degrees (18h RA is ~270 degrees). There doesn't seem to be a way to tell Regions that the original RA value is in sexagesimal hours. The problem is also present when the region I read in is a polygonal region rather than a series of points (i.e. when Regions creates a PolygonSkyRegion instead of a series of PointSkyRegion objects).
I'm not sure if this is a bug or just a mode that is not yet supported. I would naively expect any RA value in sexagesimal format to be treated as being in hours automatically, which is why I think this may be a bug and am reporting it as an issue - if this is a mode that simply isn't supported yet, I can move this comment to the appropriate location.

We've never seen this type of region before in the wild, and it's not part of the CARTA spec (https://casaguides.nrao.edu/index.php/CASA_Region_Format, https://casa.nrao.edu/casadocs/casa-5.4.0/image-analysis/region-file-format) afaict.  However, most likely, CARTA/CASA are using :s to indicate that the units are hours.  Fix forthcoming.

Thanks!
The region format ONLY occurs for one particular source, which was observed separately from the other sources in my sample. It's possible there's something specific to this data set that is producing this strange format. (I tried to force CARTA to output a different format with sky coordinates - as opposed to pixel coordinates - but could not succeed, which is part of why I think the issue might be something specific to these data.)

This was fixed in #408.


OpenJSF Onboarding

An issue has been created for OpenJSF "onboarding."  Per that issue, we need to take care of a few tasks for the Foundation.  Some items are currently blocked, because work needs to happen on the OJSF side before we can proceed.
As of this writing, this is what we can move forward on:

[x] Adopt the OpenJSF Code of Conduct - this involves copying and pasting into our CODE_OF_CONDUCT.md
[x] Add OpenJSF logo to our site - the OJSF may have a specific image and/or guidance on where this should be placed, but failing that, we can just add one.
[x] Determine project points-of-contact for use by the Foundation.  If you (a Mocha maintainer) would like to be the "official" point-of-contact for one or more of the following areas: a) marketing & social media, b) technical leadership, or c) project governance, please let it be known.  Otherwise I'll just deal with this.
[x] Update disclaimer on OpenCollective site to read "OpenJS Foundation" instead of "JS Foundation" (I can do this)

As further tasks become unblocked, we can address those.
What our goals are as a Growth-stage project, and indeed how we even go about determining them, is to-be-determined.  All I know at this point is that it will involve working with the CPC in some capacity.  As a voting member of the CPC, I will also have a say in what that process looks like--so if you have any ideas on how to best go about this, I can propose them to the CPC when it's appropriate.

Actually, another item we can discuss is giving the OJSF access to Matomo and Netlify.  This will help reduce the bus factor for that bit of infrastructure.  Personally, I think it's a good idea, but I'm unsure about what how tightly coupled Netlify is to @Munter's account...

I think changing netlify account is not difficult. It's a good idea.

Sounds straight-forward. Lets get on with what we can for now.
Happy to be a point-of-contact for any of them, although probably better suited for (a) based on some lack of experience.

I've reached out to the JSF about the image...

@craigtaub I'll put you down for contact a).  Email address in your GitHub work?

(Might actually need to supply more contact information, but will clarify)

@boneskull

I'll put you down for contact a). Email address in your GitHub work?

Yep that's right

I think we're basically done here, and the ball is in OJSF's court.  see https://github.com/openjs-foundation/cross-project-council/issues/267 for followups

I probably shouldn't have closed this, since we now have action items (and will have more as the board provides us more to work with).

FWIW the project charter was approved by the CPC back in mid-December.


Make parameter types required

For example, param :id, Integer
Coercing user input into an expected type is a good practice. Without specifying a type, based on what the parser in rack gives you, you could end up with a string, array, hash, nil or a tempfile. It would be great if lotus made developers think about this and provided guarantees that the parameter would be either the given type or nil.
Rails has had vulnerabilities in the past that would have been non-issues if the input was coerced into an expected type before passing it along to ActiveRecord [1].
Thoughts?
[1] https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/t1WFuuQyavI

I'd be a huge fan of this change (even if it's only required by default). However, I think #53 would have to be done first.

@Emily I'd love to hear more about your use case and why do you think it should be the default.
RE #53 is about to be implemented: see #71

@jodosha I've seen many times where developers have simply forgotten to properly whitelist and coerce request parameters. Making whitelisting and coercing required by default prevents that issue.
Very occasionally there may be some reason that very little to no whitelisting can be done (perhaps there's some endpoint that allows an API consumer to store arbitrary data). In those cases allowing the requirement to be disabled is useful. Of course, if there's some per-action configuration that can disable the behavior, e.g.:
class SomeAction
  ...
  disable_strict_params!
  ...
end

there is always the possibility that a developer puts that in temporarily and forgets to do proper filtering, but there's only so much we can do, and encouraging developers to think about whitelisting/coercing params by making it default would go a long way.

@Emily Thanks for your explanation. I agree that this is a good practice but make it mandatory is an overhead for developers that I don't want to add to the framework.
From real world applications that we are building, params aren't handled by Lotus at all.
Some of them are HTTP API apps that demand to already in place objects to filter those. Other will prefer to delegate this responsibility to Interactors (aka Service Objects), for the sake of DRY the code and let it to be reused by several consumers like Web app, HTTP API, background workers, console.
I think that @stevehodgkiss idea is different: if and only if a developer whitelists params, only in that case she or he must declare a Ruby type.

@jodosha yes, that's what I had in mind, only mandatory if you're whitelisting (with a params block).
@Emily if a developer doesn't want to coerce params, they could simply omit the params do whitelisting block and access the unfiltered params hash directly.

@stevehodgkiss ping, any update?

Stale discussion, I'm closing this for now.


#10 Implemented step to connect db

#10 Implemented step to connect db

@rultor merge

@rultor merge

@smallcreep OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@smallcreep Done! FYI, the full log is here (took me 8min)


@clerk/remix - DEPRECATION WARNING: "frontendApi"

Preliminary Checks

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

[X] I have searched for existing issues: https://github.com/clerk/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
na
Publishable key
pk_test_cGVyZmVjdC1jaG93LTk1LmNsZXJrLmFjY291bnRzLmRldiQ
Description
Hi,
I've followed the docs on how to get Clerk working with Remix app using this guide: https://clerk.com/docs/quickstarts/remix
Right after starting the server with clean install, I get the following warning:
Clerk - DEPRECATION WARNING: "frontendApi" is deprecated and will be removed in the next major release.
Use `publishableKey` instead.

I have the publishable key in my .env file just as described.
Environment
System:
    OS: macOS 14.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 146.38 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.1.0 - /usr/local/bin/npm
    pnpm: 8.10.2 - ~/Library/pnpm/pnpm
    bun: 1.0.2 - ~/Library/pnpm/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 119.0.6045.105
    Edge: 119.0.2151.46
    Safari: 17.1
  npmPackages:
    @clerk/remix: ^3.1.3 => 3.1.3
    @remix-run/dev: ^2.2.0 => 2.2.0
    @remix-run/eslint-config: ^2.2.0 => 2.2.0
    @remix-run/node: ^2.2.0 => 2.2.0
    @remix-run/react: ^2.2.0 => 2.2.0
    @remix-run/serve: ^2.2.0 => 2.2.0
    @t3-oss/env-core: ^0.7.1 => 0.7.1
    @types/react: ^18.2.37 => 18.2.37
    @types/react-dom: ^18.2.15 => 18.2.15
    eslint: ^8.53.0 => 8.53.0
    isbot: ^3.7.0 => 3.7.0
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^5.2.2 => 5.2.2
    vite: ^4.5.0 => 4.5.0
    vite-tsconfig-paths: ^4.2.1 => 4.2.1

hey @piotrkulpinski 👋
Thank you for opening this issue. It is similar to https://github.com/clerk/javascript/pull/1823#issuecomment-1801389095 comment and will be fixed by this PR https://github.com/clerk/javascript/pull/2086.
I will close this ticket (probably in the couple 1-2 days) with a comment containing the version of the fix.

Fixed in<EMAIL_ADDRESS>

Works great! Thanks


ReplicationController/ReplicaSet Short Syntax

Pull Containers to the top level of the rc from inside template.
Wrapper key should be either rc or replication_controller (not camel case)
The selector and the label inside podTemplateSpec are always expected to match. We can have separate fields for them in case someone has an advanced use case that they need to support, but these fields can be hidden especially since the values ahve to match -
refer here: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#pod-selector
podLabels/podSelector can just be called selector, and by default we should fill in both selector and spec.template.metadata.label to be something like koki.io/selector.name=$name where $name is the name of the rc, and not show this in the spec. If we are converting from an existing file, then copy the labels into the rc.labels top level key
We shouldn't expect the user to specify these selectors when they write rc in short syntax. They should just work by the mechanism described in step 4
We should also allow pod imports and in that case, by default copy all the labels from that pod into the rc labels (which on transforming back to k8s puts those labels in both selector and spec.templates.metadata.labels field)
minReadySeconds should convert to ready_seconds
Is Status not converted???
It should work!!!!
While reverting back to kubernetes type, status should not be printed with zero values if it did not exist in the koki spec file
I don't understand why selector is called podSelector in RS, but podLabels in RC. In case of RS, it seems to be a string, wheras in case of RC it seems to be a list of strings. Consistency is needed. Both should have the same name 'selector' and their values should be a list of strings

Also, repeat this for ReplicaSet

Re: Extracting fields from the Pod template to put them directly in RS/RC
I don't think we should do this.

I think it makes sense to group all the Pod template concerns in one place. We shouldn't put some pieces of the Pod template in one field and the rest in other fields.
We shouldn't pull out every PodSpec/Metadata field. It's easier to read the spec with the replication concerns separated from the template concerns. Also, both RS/RC and Template may contain Annotations (and other metadata fields?), so we'd have some fields with names like "pod_annotations".

We should pull out as many fields up as possible.
Ideally replication_controller should just be a pod definition with a replicas field. This is all it is in its essence.
About the metadata field of pods, the labels and the replication_controller selector should match. Therefore, this can be pulled up into one field at the top level called selectors. Every other metadata field for pod can be encapsulated under another field called pod_metadata


HTTP POST Storage

I've added this for a Backup application I've built for my own use and I'm using this Backup gem for the actual backing up. Also because I use this gem on all my servers.
It's very basic, so I thought I'd create a pull request and see if you'd like to add it to Backup at all?

hi @deanperry, are you still working/looking into this? If not, I'll close the issue, without response I'll close it after the 17th of January.

Hey, I did manage to get it working actually. I'll tidy up the code and see if I can add it to this issue. I've not used it recently but I will probably go back to using it.
Sent from my iPhone

On 10 Jan 2015, at 15:18, Tom de Bruijn<EMAIL_ADDRESS>wrote:
hi @deanperry, are you still working/looking into this? If not, I'll close the issue, without response I'll close it after the 17th of January.
—
Reply to this email directly or view it on GitHub.


Add minor Gridlines to Figure

I'm using GeoMakie: 0.6.2
Is there a possibility to draw gridlines with defined spacings?
So far i tried this, but no luck :(
prj = "+proj=webmerc +datum=WGS84"
lims=((8.5,11.5), (49.2, 51.3))
lons = 9:12
lats = 48:51
field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]
fig = GeoMakie.Figure();
ax = GeoMakie.GeoAxis(fig[1,1],     dest = prj,     limits=lims;     yminorgridstyle=true,     xminorgridstyle=true,     yminorticksvisible = true,      yminorgridvisible = true,     yminorticks = (0.2,true),     xminorticks = (0.2,true), )
lp = GeoMakie.heatmap!(ax,lons, lats, field; )

Ah, so far I don't think GeoAxis supports minor gridlines.  We could make it do so though - it would just be more expensive to zoom.


record not found back to the previous mode

https://github.com/go-gorm/gorm/issues/4272

this https://github.com/go-gorm/gorm/blob/d278ca49ef30f003c9624ae58d4d8726f728c1f7/logger/logger.go#L51 won't works then.

import cycle not allowed


Make core code more async

Use callbacks as main function arguments which would be directly utilised elsewhere with the populated data.

Shift to promises entirely maybe?

Should prioritize #2

In fact, promises should be used in the project which would use this hook

Rethought in #10


Make current network extension not nullable

Description
This PR makes the extension function currentNetwork not nullable and defaults it to default network like we already do in all the places that the current network returns null
How to test
Create accounts and switch networks.
PR submission checklist

[x] I have created accounts and switching networks
[x] I have executed transactions
[x] I have deleted the wallet and created new one

I would suggest changing the Profile.currentNetwork: Network? to be a method of Profile.currentNetworkId: NetworkId. I think it is a bit dangerous to return a "default" network object with no accounts and personas, since someone might end up using it as real.
Most of the times we need to query the current network id. So we end up looking for it and if not found we force the default. This is different from returning fake data. That is why I would lean into this change.

I understand your concerns but what you suggest to do requires more refactoring and more boilerplate code!
So I would recommend keeping what we already have if we don't go with this refactoring.

After a discussion we had with the team, we decided to not proceed with this change.


Vendor-Class filtering

DHCP server accepts requests only from clients declaring a vendor class (option 60) "PXEClient". Would be useful to add an option to be more flexible. In this patch pbertera/PyPXE@6e45934c0a480be3ad56cca7218ee5a1473c1541 I added a regex filter using the -v or --vendor-class command line argument.

Is there a better way to handle this than regex? I feel regex is too clunky...

IIRC, and this (page 24 Table 2-2 at the bottom) agrees, clients have to start with PXEClient. Are there some non-compliant systems or is this use-case outside the PXE booting stack?

Let's take a step back and realize the purpose of the built-in DHCP server isn't to be a standalone DHCP server; it's purpose is to send PXE information to clients via DHCP with the option of providing IP/NM/GW if needed. I feel going down the path of accommodating any/all DHCP clients that aren't meant to PXE boot is a slippery slope and one that's out of the scope of this project.

I agree with @mmattioli. I'm all for extending the modules within the purview of PXE booting (e.g #27), but I don't think we should strive to be 100% independantly functional, as there are many better and more well maintained projects for e.g dhcp servers.

I understand your reasons, but would be great to have the DHCP service compatibile with some non-standard devices, maybe we can leave the vendor-class filtering in the library without having the command line switch in pypxe-server.py
Or at least place the vendor-class filtering in a method, something like:
def isPxeClient(self, options):
    if not (60 in options and 'PXEClient' in options[60][0]):
        return False

So one can sublcass the DHCPD class and implement a custom filter.

This seems like an acceptable solution to me, it means it's not our job to create a clean way to create the rules, and we're not really going outside the 'minimal server' bounds.
If you can implement this tidily and add something to the documentation, I'll see about merging it in.

Just a note, that snippet will need an else return True or it'll never be true.

@psychomario  yes, sure :)
Against which branch should I send a PR still development ?

yes, development. It'll be merged into master with your other PR and mine when we've finished the cleanup and testing.


Evaluation Pipeline

Add a pipeline for evaluating the trained model.

The evaluation pipeline works. There is some basic classification metric monitoring added.


[DO NOT MERGE] Fixed regression introduced due to Py2 support being officially dropped.

manifest-pelion-edge nightly builds on master started failing a few days ago when pip dropped support and backwards compatability for Python 2.
However, mbed_fcc was still always pulling the latest version of pip before downgrading. This caused it to pull an incompatible version and fail to build, with even the error handler failing to to the syntax change.
Fortunately, the pypa.io maintainers were kind enough to include a way to pull a specific version, which is all this commit does.
NOTE
This PR targets the 2.1.1 release. Only merge on agreement that a 2.1.2 hotpatch release is needed.

Validated with a one-off build using the PR head as the meta-pelion-edge source and the build job yocto.one-off/7.
Used the new build job because was able to complete in 15 mins instead of ~75 mins.

Validated with a one-off build using the PR head as the meta-pelion-edge source and the build job yocto.one-off/7.
Used the new build job because was able to complete in 15 mins instead of ~75 mins.

Problem does not exist in dev due to using Python 3: https://github.com/PelionIoT/meta-pelion-edge/blob/dev/recipes-wigwag/mbed-fcc/mbed-fcc_0.0.1.bb#L26

Problem does not exist in dev due to using Python 3: https://github.com/PelionIoT/meta-pelion-edge/blob/dev/recipes-wigwag/mbed-fcc/mbed-fcc_0.0.1.bb#L26


the picker should not update its own count [Bug]

This picker should behave like other components in jetpack compose. It should not hold its own internal state but should merely display the state provided by the user and let the user update the count himself

You're right, thanks for noting this!
Will change that and push an update asap.


How to uninstall / remove / reinstall gitea?

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I'd like to reinstall in My Ubuntu 16.04 for some reason(such as to change a user). And I don't know how to do it.

dump MySQL database, copy all gitea files (you can use gitea dump command for that) and backup these files to other storage

such questions should be better asked in our forum


Segoe UI - website use

Hi,
I would like to embed the segoe ui as the webfont for a website but I can't find any font provider where I can purchase this font. On fonts.com there are only other segoe versions like segoe tv or segoe script (https://www.fonts.com/de/font/microsoft-corporation).
I also couldn't find any more informations in the End User License Agreements.
Is this font licence-free and if yes, where can I download it?
Thank you!

See https://docs.microsoft.com/en-us/typography/fonts/font-faq.
Consider the open-source Selawik font, which is not restricted the way Segoe UI is: https://github.com/Microsoft/fonts

Segoe UI can be acquired from our licensing partner Monotype. License Microsoft fonts for enterprises, web developers, for hardware & software redistribution or server installations.


images in tutorials are rendered too large if not constrained by page width

Matplotlib is configured to use a high DPI, and communicates the metadata about “CSS pixels” via Jupyter cell metadata.
{
  "data": {
    "image/png": "…",
    "text/plain": ["<Figure size 480x480 with 1 Axes>"]
  },
  "metadata": {
    "image/png": {
      "height": 398,
      "width": 390
    }
  },
  "output_type": "display_data"
}

It looks like myst-nb adds that metadata to the image node, but somehow it doesn’t end up in the <img> tag.
A possible cause might be that the metadata is unitless and might be an int. Maybe myst-nb adding px to unitless width or height would work? docutils says it wants a “length” or “percentage”, which maybe has to be a string with “px” or “%” at the end

This has been fixed. TODO: require myst-nb>=v1.1.0 in the template.


chore: add config manifests and skaffold configuration for kong admin api servie discovery

What this PR does / why we need it:
This PR extracts debug manifests from #3421 to minimize the mental burden when reviewing.
This provides the end user with debug_multi_gw skaffold profile which can be launched like so:
make debug.skaffold SKAFFOLD_DEBUG_PROFILE=debug_multi_gw

When merged with changes from #3421 this should spawn 2 separate Deployments: 1 for KIC and 1 for Kong (with 2 replicas by default).
The above mentioned command is expected to fail at this point because:

--kong-admin-svc flag is not introduced yet hence can't be used
--kong-admin-url flag is meant to be filled with IP(s) and with this setup we're not able to fill that in.

Hence user is expected to get the following error message:
time="2023-02-02T17:18:44Z" level=info msg="Retrying kong admin api client call after error" error="making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=setup retries=29/60

I wonder if it wouldn't make sense to make the multiple_gw config one of the variants under config/variants and use it as a base for the debug one. As I understand that's going to be the supported deployment option and it could make sense to have it there. Generating an "all-in-one" manifest is also what I've done for konnect config. WDYT?

I wonder if it wouldn't make sense to make the multiple_gw config one of the variants under config/variants and use it as a base for the debug one.

It certainly would. What would be the benefit of that? 🤔 Or difference for that matter.

I wonder if it wouldn't make sense to make the multiple_gw config one of the variants under config/variants and use it as a base for the debug one.

It certainly would. What would be the benefit of that? 🤔 Or difference for that matter.

Well, it would be useful for running it in not-debug mode and would be consistent as we have such a config for every supported deployment variant. It would also be useful in E2E tests - we would be able to deploy the manifests to test it.

config/variants

As agreed in a separate discussion let's do this in a separate PR. We can track this under #3480.


Can't compress a 24 bit jpg to an 8 bit jpg

What are you trying to achieve?
compress a 24 bit jpg to an 8 bit jpg
Have you searched for similar feature requests?
yes, couldn't find anything
What would you expect the API to look like?
await sharp(in).depth(8).toFile(out);
What alternatives have you considered?
pngquant but it's only for png files
Is there a sample image that helps explain?
no

Hi, JPEG images use 8 bits per channel, so a 24-bit JPEG is three-channel RGB and an 8-bit JPEG is single-channel greyscale.
(JPEG images can also use 12 bits per channel, but those are very rare and most software does not support them.)

Oh my bad, thanks for the explanation and for sharp! It's really good :)


Request for SBT_POST_TASKS

It would be extremely handy if this build pack had SBT_POST_TASKS, implemented in a very similar way as SBT_PRE_TASKS
That task could be used to perform some cleanup operations.
One of the challenges is that a Play project with multiple modules will exceed the slug size limits very quickly. Unfortunately guideline to reduce slug size via overriding stage task (as proposed here) do not work.
Also, having in mind that SBT is quite dynamically changing tool, having a solution nearly independent of SBT version would be ideal.

Yea, this is a reasonable request. SBT is not as malleable as I would like, especially with Play in play.
I'm trying to move away from env vars to configure the buildpack, so instead of SBT_POST_TASKS, I might support an sbt.post-tasks property in the system.properties file (we already support sbt.pre-tasks).
Would that work for you?

Hi,
Yes, that approach would be ideal. Thanks.

The buildpack now supports custom SBT_TASKS which overrides all task that are run; superseding this request. For example:
$ heroku config:set SBT_TASKS="clean build prune"


Improve GraphcastMessage typing and signing

Problem statement

Grapchast message takes optional radio payload because of prost::Message implication to take an Optional field; this doesn't make sense since the point of Graphcast message is to send radio payload message. Investigate ways to provide payload without making it optional
Graphcast agent wallet signs over radio payload field inside Graphcast message. Security can be improved by signing over Graphcast message fields such as block hash, block number, nonce, identifier, graph_account, etc.

Expectation proposal

Require payload in GraphcastMessage
Update GraphcastMessage structure and signed data types

Current Graphcast Message is structured as below such that only payload:T is signed by the signature
pub struct GraphcastMessage<T>
where
    T: Message
        + ethers::types::transaction::eip712::Eip712
        + Default
        + Clone
        + 'static
        + async_graphql::OutputType,
{
    pub identifier: String,                        // not necessary as included in payload: T
    pub payload: T,                                  // EIP712 signed
    pub nonce: i64,                                 // not EIP712 signed, secure Graphcast level
    pub network: String,                         // not EIP712 signed, optional for radios
    pub block_number: u64,                  // not EIP712 signed, secure Graphcast level, may not be available for message sender
    pub block_hash: String,                   // not EIP712 signed, secure Graphcast level, may not be available for message sender
    pub graph_account: String,             // not EIP712 signed, secure Graphcast level
    pub signature: String,                       // Signature field after signing over payload: T
}

Two options for Message layered structure
1.

Thinking about other message types such as "upgrade_version_message" from subgraph developer, fields such as "block_number", "block_hash" shouldn't be needed in the message.
The check "valid_block_hash" might be on a message type specific level to poi-radio
Move appropriate fields to Radio Payload message that're already of Eip712 types

Propose to move nonce, network, graph_account so that the fields can be securely signed .
Propose to move block_number, block_hash so that general operators of a radio operator might not need access from a block provider.
GraphcastMessage has identifier, payload, signature left

Enforce Eip712 message typing on Graphcast message,
block_number, block_hash becomes optional,
use graph_account or some constant as a placeholder on signature when building GraphcastMessage, sign over message and then replace the signature field
require extra handling at decryption as well, it must read the message fields and replace graph_account before recovering sender address from the signature

Love it. Also think the first approach is better, it's cleaner in the sense that it doesn't leave the Optional fields in the top-level message and enables more freedom when defining the Radio-specific message types.


feat: increase speed of map markers initial load

Improves #2894.
The solution here was to only render buttons within the marker callout section after the marker has been pressed. Then manually open the callout once that's happened.
Fortunately, I believe that this solution will aid in finding a good solution for #2955. With this PR as is, there is a side-effect behaviour regarding pressing an iOS marker that's very close to another one. Instead of jumping to a nearby marker (the previous erroneous behaviour), they now won't show a callout at all. Obviously neither of these behaviours are good enough, but it should be noted that this change has occurred - and will be improved upon in an upcoming PR.

a few comments on the PR

Gonna move this to draft until I can get the iOS marker jumping solution fixed as well

Closing because I'm putting all the map-related PRs into a single PR


[BUG] rasp pi depthai image OAK_CM4_POE_v9.7: color camera not displaying in depthai_demo.py

running OAK_CM4_POE_v9.7 on a raspberry pi 4
python depthai_demo.py opens the full demo application thing but the camera window says Starting demo... forever while the color option is selected.
other options like depth, left, etc seem to work.  but they're all still images, maybe that's expected.  but i can never get anythnig from the color camera

could this be a power issue also?  like u mentioned here https://github.com/luxonis/depthai/issues/1085#issuecomment-1650662308

Hi @stuartcrobinson ,
For the 1st issue ('depthai.CameraBoardSocket' has no attribute 'CAM_A'), you are using an old version of depthai library. Update with python3 -mpip install depthai -U).
On the other issue you printed cam_test already, and it indeed is a HW issue. Please contact<EMAIL_ADDRESS>with the link to that issue, and we will replace the device asap.

for completeness/comparison, here's the output after updating depthai
and unlike on my mac, this actually brought up 4 camera windows.  left and right showed live video feeds, while rgb and camd were blank black frames
pi@luxonis:~/repos/depthai-python/utilities $ python3 cam_test.py -rs
Enabled cameras:
    rgb : color
   left : mono
  right : mono
   camd : color
DepthAI version: <IP_ADDRESS>
DepthAI path: /home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-arm-linux-gnueabihf.so
/home/pi/repos/depthai-python/utilities/cam_test.py:284: DeprecationWarning: Use constructor taking 'UsbSpeed' instead
  with dai.Device(*dai_device_args) as device:
[184430109175610E00] [1.1.1] [0.940] [ColorCamera(9)] [error] Camera not detected on socket: 3
[184430109175610E00] [1.1.1] [0.941] [MonoCamera(7)] [error] OV7251 only supports THE_480_P/THE_400_P resolutions, defaulting to THE_480_P
[184430109175610E00] [1.1.1] [0.941] [MonoCamera(5)] [error] OV7251 only supports THE_480_P/THE_400_P resolutions, defaulting to THE_480_P
Connected cameras:
 -socket CAM_A : IMX214 4208 x 3120 focus:auto  - COLOR
 -socket CAM_B : OV7251  640 x  480 focus:fixed - MONO
 -socket CAM_C : OV7251  640 x  480 focus:fixed - MONO
USB speed: SUPER
IR drivers: []
Cam:      rgb           left          right         camd     [host | capture timestamp]
FPS:   0.00|  0.00  30.06| 30.01  29.82| 30.01   0.00|  0.00


Add Date of Distributions (on Main Distributions List)

When looking at the main distributions page, it is important to be able to easily see the date that the each distribution was created on.

Expected behavior
N/A
Actual behavior
N/A
Steps to reproduce the problem
N/A
Computer Information (Only fill this out if you are a diaper bank)
MacOS High Sierra
10.13.4
Browser: Chrome

[ ] add issued_at as a column to this Distributions#index

I'd like to work on this issue!


Waiting for Kubernetes cluster to be ready...

I had the same issue with dlite mentioned in https://github.com/TheNewNormal/kube-solo-osx/issues/30. I renamed my /etc/exports and tried again. Now, when I try to bring the cluster up it just sits there. There is an error right at the beginning about running connection boilerplate: default, but it keeps running and then just hangs (still spinning though). Here is the whole output:
Last login: Mon May 16 17:14:21 on ttys011
~ > /Applications/Kube-Cluster.app/Contents/Resources/up.command; exit;

Starting k8smaster-01 VM ...
> booting k8smaster-01
[corectl] stable/899.17.0 already available on your system
[corectl] '/Users/gigi' was made available to VMs via NFS
[corectl] started 'k8smaster-01' in background with IP <IP_ADDRESS> and PID 4273

Starting k8snode-01 VM ...
> booting k8snode-01
[corectl] stable/899.17.0 already available on your system
[corectl] '/Users/gigi' was already available to VMs via NFS
[corectl] started 'k8snode-01' in background with IP <IP_ADDRESS> and PID 4300

Starting k8snode-02 VM ...
> booting k8snode-02
[corectl] stable/899.17.0 already available on your system
[corectl] '/Users/gigi' was already available to VMs via NFS
[corectl] started 'k8snode-02' in background with IP <IP_ADDRESS> and PID 4324

Generating kubeconfig file ...
cluster "k8smaster-01" set.
context "default-context" set.
switched to context "default-context".

Waiting for k8smaster-01 to be ready...

fleetctl list-machines:
MACHINE		IP		METADATA
085cc448...	<IP_ADDRESS>	role=node
3c1a4267...	<IP_ADDRESS>	role=control
b7f872c1...	<IP_ADDRESS>	role=node

Waiting for Kubernetes cluster to be ready. This can take a few minutes...

After restarting and reinstalling it now works perfectly. Thank you.


Playlist Selection Page Styling

To be frank, the styling of the playlist selection page is very ugly - I am not good at CSS and can't seem to get it to look modern, acceptable, or clean. Might need to call in backup, or just git good at CSS for once.
TODO - Update CSS and styling of the playlist selection page to look clean and modern

Playlist styling page overhaul done using materials-ui  components. This was added with commit 74cf1d158290154ba5c2b770c34729e6f4ab5cd3


Improve JS support

Coverage increased (+0.003%) to 98.261% when pulling 2018ee67be6715ed2f5df181e8e9047177ed9f27 on modals into 02fe6c5920e2f5c36f6d02d33aca0f8a233a3a1d on master.


questions about head pose

Different drive audio from the same person share the same headpose.json，is it normal？

@WuNvRenQiaoDaiMaZiRanShen Hi, currently we just repeat the head poses in training sequence. It's better to predict a head pose sequence based on audio, but this is not done in this work.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 371

Questions ?
Please refer to the Backport tool documentation


loadFile during CSV parsing seems to swallow exceptions

AlaSQL is based on unpaid voluntary work. Thank you for taking the time to make it better.
Hello, thanks for this excellent library.  I seem to be running into an issue found during testing.  I'm trying to load csv data from a string.  I noticed when a newline is not inside of the string, alasql assumes it is a file that needs to be loaded.  Since the string does not have a .csv member, loadFile throws an exception.  However, that exception seems to be swallowed and written to the console rather than returned as a rejected promise to the calling code.
Here is the jsfiddle: _http://jsfiddle.net/mtt9r7rx/38/_
The fiddle response only prints the version number (I am using v0.4.8),
Running this code locally I get this printed to the console:
_/testcode/ala/node_modules/alasql/dist/alasql.fs.js:3487
AlaSQL v0.4.8
throw err;
^
Error: ENOENT: no such file or directory, open 'a, a, a, a.csv'_
Am I using this wrong, or is there any path to getting the exception returned so I can handle this error on my end?
Thanks!

OK, thanks for taking a look.  I'll try to take a look to see if I can fix it.

I'm working on a fix for this now.  Just a heads up so I don't step on anyone elses toes looking at working on bugs.

This is awesome. Thank you so much. Sorry for the long response time - was on vacation :)


Increment Version

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/41753
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.7.3 -m "<description of version>" 56d0fecd6e5c0c4c38106fb3b19359e3ea2dbfa0
git push origin v0.7.3

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/41767
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.7.4 -m "<description of version>" d0ffc2b778bcdcf377d963cc4892f11465960ed6
git push origin v0.7.4

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/42025
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.7.5 -m "<description of version>" db1c3f3a5ac7f963612d21d5f55977f0f871f66e
git push origin v0.7.5


Requirements.txt too strict

I wanted a dashboard for my data, but the version of gemdat did not match. Can the requirement be relaxed?
from gemdash==0.9.5 to gemdash>0.9 for example
I tested the latter and that seems to work

Oops, I see we are only on 0.9.4, the version I pinned does not exist yet 😅


Turn off delay

HI, hope someone can help, Integration is working with switch on @ 23:31:01s but does not turn off until 05:31:21s is there something I can do to get the turn off nearer the correct time of 05:30:00?

Hi, I am seeing exactly the same problem with the turn off time.  Unfortunately I have seen delays of a little over 5 minutes in recent days using v1.6.0

Me too - I’m seeing the same issue. Turned off at 5:34:06 seconds this morning for the end of the 5:30 period.

I know Ecoenomy 7 timers stagger their on and off timers so that the grid does not get massive dips and spikes at exactly turn on/off time.
Maybe Octopus as doing the same and staggering start and stoptimes to prevent all cars starting and stopping at 23:30 and 05:30

@harleyhousehunt @Brain1000 @bashers222 I use a template sensor for this, which is always 3 minutes before the end of the next off-peak period. I base my automations off this value. This allows time for things to settle before the end of the off-peak slot (the Tesla Powerwall takes a couple of minutes to stop drawing from the grid sometimes). Here's my sensor:
{{(as_datetime(states('sensor.octopus_intelligent_offpeak_end')) - timedelta(minutes=3))}}

Great idea
On 3 Mar 2023, at 12:14, Craig Rouse @.***> wrote:

@harleyhousehunthttps://github.com/harleyhousehunt @Brain1000https://github.com/Brain1000 @bashers222https://github.com/bashers222 I use a template sensor for this, which is always 3 minutes before the end of the next off-peak period. I base my automations off this value. This allows time for things to settle before the end of the off-peak slot (the Tesla Powerwall takes a couple of minutes to stop drawing from the grid sometimes). Here's my sensor:
{{(as_datetime(states('sensor.octopus_intelligent_offpeak_end')) - timedelta(minutes=3))}}
—
Reply to this email directly, view it on GitHubhttps://github.com/megakid/ha_octopus_intelligent/issues/6#issuecomment-1453445413, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADELRFOJ6AS7QPPJRHZHAHDW2HOCJANCNFSM6AAAAAARYJOAM4.
You are receiving this because you commented.Message ID: @.***>

I've adjusted my polling period in the code to 1 minute and it seems better now, it was set to 3 minutes previously. Ideally this would be a config option and not hard-wired.

Can you point me to where you’ve done that?
On 24 Mar 2023, at 08:15, Trefor Southwell @.***> wrote:

I've adjusted my polling period in the code to 1 minute and it seems better now, it was set to 3 minutes previously. Ideally this would be a config option and not hard-wired.
—
Reply to this email directly, view it on GitHubhttps://github.com/megakid/ha_octopus_intelligent/issues/6#issuecomment-1482415076, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADELRFOAFO6E3JRZOMKQNEDW5VJ2ZANCNFSM6AAAAAARYJOAM4.
You are receiving this because you commented.Message ID: @.***>

In octopus_intelligent_system.py (config/custom_components/ocotopus_intelligent):
class OctopusIntelligentSystem(DataUpdateCoordinator):
def init(self, hass, *, api_key, account_id, off_peak_start, off_peak_end):
super().init(
hass,
_LOGGER,
# Name of the data. For logging purposes.
name="Octopus Intelligent",
# Polling interval. Will only be polled if there are subscribers.
update_interval=timedelta(seconds=120),


Add support for headers as object in whatwg-fetch

The current typing supports passing headers through the Headers class,
but the spec also supports passing headers as an object mapping header
names to header values. See the Github example.

@ksheedlo thanks mate!


765 - Redis caching for Staff and Offender data

Add a distributed cache backed by Redis that sits over the Client layer
The ClientResult values are serialized and stored in Redis.  The cache name is prefixed with the version of the application so that we don't have any issues when deploying a new version where the models we're deserializing into may have changed etc.

Add a cache over Staff info for 6 hours
Add a cache over Offender Details (Community API), User Access (Community API), Inmate Details (Prisons API) for 20 minutes

 Redis caching for Staff Members and Offenders


Update SwiftPM manifest file

This adds support for SwiftPM manifest based dependency managers. Specifically this adds support for installing via Accio but will probably also work with SwiftPM once it's integrated into Xcode.

@onevcat I answered your comments and hope I could clarify this exact design of the manifest file. If you have any more questions or disagree with one of the points, feel free to comment then I'll consider making the appropriate changes.

@Dschee That makes sense! Thank you for your explanation. I will try to use Accio myself later today to check everything goes fine. After that, we can merge it!
Thank you again for the changes.

Sounds great!
What I forgot to mention: I already tested basic building and integration support with iOS, tvOS & macOS in the branch work/1000-frameworks within the Demo project, as you can see here and there. It worked as expected – feel free to add any other calls to the Kingfisher framework within the Kingfisher.swift file which you want Accio to officially test if there's anything else that makes sense. I'm only adding basic calls to ensure inclusion worked basically.