Implement support for custom readers and writers

This is the combined version of #8 and #10 squashed down into two commits for one half of the API each. As merging the actual descriptions of the PRs is a pain, I'm just going to phone it in a bit here and summarize with a bit of lazy copy/paste:

The changes are fully backward compatible with all existing usages of the library.
This requires relatively minimal changes to the internals of the library; it only impacts the delegation of a few core operations.
A new set of test cases have been added for the new functionality.

For the custom reader support, a "Reader" is defined as any indexable object supplied as the input parameter to the deserialization APIs that may provide any - or all - of the functions listed below.
Backwards compatibility isn't harmed as previously the library only supported string values being passed as input. This allows for an extremely simple implementation with straightforward defaults to be provided.
ReadBytes: function(input, i, j) => string (optional)
If specified, this function will be called every time the library needs to read a sequence of bytes as a string from the supplied input.
The inclusive range of bytes is passed in the i and j parameters, with similar semantics to standard Lua functions such as string.sub and table.concat. This function must return a string whose length is equal to the requested range of bytes.
It is permitted for this function to error if the range of bytes would exceed the available bytes; if an error is raised it will pass through the library back to the caller of Deserialize/DeserializeValue.
If not supplied, the default implementation will access the contents of input as if it were a string and call string.sub(input, i, j).
AtEnd: function(input, i) => boolean (optional)
If specified, this function will be called whenever the library needs to test if the end of the input has been reached.
The i parameter will be supplied a byte offset from the start of the input, and should typically return true if i is greater than the length of input.
If this function returns true, the stream is considered ended and further values will not be deserialized. If this function returns false, deserialization of further values will continue until it returns true.
If not supplied, the default implementation will compare the offset i against the length of input as obtained through the # operator.

For custom writers, this PR defines a "Writer" protocol for the writer field in the options table supplied to SerializeEx().
WriteString: function(writer, str) (required)
This function will be called each time the library submits a byte string that was created as result of serializing data.
Flush: function(writer) (optional)
If specified, this function will be called at the end of the serialization process. It may return any number of values - including zero - all of which will be passed through to the caller of SerializeEx() verbatim.
If no Flush function is specified, the default is a no-op that returns no values. In such a case it is assumed that the WriteString method will have either passed the strings it received on elsewhere, which seems a reasonable default given the advanced nature of this feature.

Thanks for combining and retargeting!


Support build on macOS Monterey (v12)

Building d29797f118 on macOS Monterey 12.7.6 fails with
/Users/bro/Documents/repositories/ladybird/Ladybird/AppKit/UI/SearchPanel.mm:66:36: error: use of undeclared identifier 'NSBezelStyleAccessoryBarAction'
   66 |         [search_done setBezelStyle:NSBezelStyleAccessoryBarAction];
      |                                    ^

NSBezelStyleAccessoryBarAction got introduced with macOS v14. AFAICT this is the only constant which prevents a successful build for earlier versions.
Currently I use this hack:
-        [search_done setBezelStyle:NSBezelStyleAccessoryBarAction];
-
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+        [search_done setBezelStyle:NSBezelStyleRoundRect];
+#pragma clang diagnostic pop

Looks like there's an official way to run different code on different versions of macOS. https://developer.apple.com/documentation/xcode/running-code-on-a-specific-version#Require-a-minimum-operating-system-version-for-a-feature
As far as I can tell, Apple still supports Monterey, so it seems reasonable to me for us to do so too if you feel like putting a PR together. (Or someone else does.)

Note that Apple's @available checks are runtime checks and generally still assume that you're building with the latest SDK/Xcode version, even when back-deploying to some older macOS version (which is generally encouraged).
To support building with an older SDK, we would have to cond-compile the constant our, e.g. using the __MAC_OS_X_VERSION_MAX_ALLOWED macro: https://stackoverflow.com/a/78050635
NSBezelStyleAccessoryBarAction is actually an interesting case, the API seems to have been added in the macOS 14 SDK, but does not require an available check (as other APIs like NSBezelStyleBadge, for example):

This can happen if the API existed as a private API before being added to the public SDK, so NSBezelStyleAccessoryBarAction might be present in macOS 12's runtime frameworks (AppKit in this case) and happily back-deploy to that macOS version, but still require the macOS 14 SDK to compile.


game opens and then closes

when i install the mod the game opens and closes immediately

Please provide a ModList, Error Log and more detials, otherwise its impossible to track down.


Don't replace all connection headers when sending h2c upgrade request

Motivation:
There may be meaningful 'connection' headers that exist on a request
that is used to attempt a HTTP/1.x upgrade request that will be
clobbered.
Modifications:
HttpClientUpgradeHandler uses the HttpHeaders.add instead of
HttpHeaders.set when adding the 'upgrade' field.
Result:
Fixes #7823
Existing 'connection' headers are preserved.

@normanmaurer, done. One of these days my tests cases will release everything the first time. 😄

@carl-mastrangelo @ejona86 @Scottmitch PTAL

I rechecked the RFC etc and its definitely allowed to have multiple connection header values (even when upgrade).

Thanks for double checking @normanmaurer, and thanks again for the review.


Flagged transaction journal [enhancement]

To quickly find all flagged transactions, create a new journal page for them (alternatively, create a filter-by-flag)

For this we already have the toggle boxes on the journal page.

Ah, I see. However, this doesn't work correctly.
When I only select "pending", many pages of balance-assertions, notes, documents, etc drown out the few flagged transactions. I need to uncheck all those types of entries as well, which is not expected (and probably why I didn't figure this out myself!)

Also, transactions with flagged legs don't show up, since the toggle-box filters only apply to flags on the entire transaction.

When I only select "pending", many pages of balance-assertions, notes, documents, etc drown out the few flagged transactions.

Only transactions have flags, so the second row of filters can only apply to them. And as long as the balances box is still checked they are still supposed to show up.

According to the docs:

You can also attach flags to the postings themselves, if you want to flag one of the transaction’s legs in particular:

2014-05-05 * "Transfer from Savings account"
  Assets:MyBank:Checking            -400.00 USD
  ! Assets:MyBank:Savings

I was only referring to entries and of those only transactions can have flags. There is no way to filter the journal for postings or metadata currently (and maybe there should be), but we shouldn't overload the form with the filter boxes too much.

Since * (cleared) is the default flag (the same as not using any flag), I would expect that unchecking that box would also hide anything without flags (such as balance, note, document, etc)
Having said that, I agree that the current four levels of filters are confusing. (navigation bar, two levels of checkboxes and two buttons)

(the same as not using any flag)

But every transaction has a flag (and no other entry type does). Only entries that have a flag can be cleared, and hence only transactions will be toggled with this box. It could be made more obvious that these toggle boxes only apply to transactions with some CSS I guess.

Having said that, I agree that the current four levels of filters are confusing. (navigation bar, two levels of checkboxes and two buttons)

There shouldn't be any more filters (meaning those in the navbar) IMHO, but we should alternatively allow to filter the entries with a BQL FROM-expression.

But every transaction has a flag

How about this one?
2016-03-09 txn "payee" "narration"
  Assets:Bank                   1 EUR
  Income:Tree

In the case of the first example using “txn” to leave the transaction unflagged, the default flag (“*”) will be set on the transaction object.

filter the entries with a BQL FROM-expression.

As far I can see, that currently wouldn't be enough for your purpose, as the only posting attribute the from syntax seems to currently support is account (through has_account). But I believe it would be a sensible addition.

How about this one?

"the default flag (“*”) will be set on the transaction object." => every transaction has a flag

First: Making the filters "permalink-able" by adding support for GET-parameters controlling the default-value of the filters seems like a first goal to support new use-cases ("Just show me flagged ones" => set a bookmark to do this).
If we decide to add a separate link in the sidebar explicitly for certain use-cases, it would be easy by just linking to those "permalinks".
For the filtering: There is, undoubtedly, a lot more "potential" in the Journal filters. For me, they work pretty well right now, as I do not have any use-cases that are not possible with the current filter layout. But filtering by metadata sounds very nice, as well as more advanced things. Do you have any suggestions for how we might re-layout the filters for the Journal page?

I like the idea of being able to permalink certain journal filtered views in the sidebar. That would be a very useful addition.


Error handling for failed requests

Currently if the user lost his connection or the request timed-out or the server goes down the client controllers do not handle this error as there is no response. Even if error handling is invoked res.data.message is not available, and there would be an angular error posted to the console(which the end user isn't watching). So end user experience is that he clicks a button and waits but nothing happens.
Such a scenario can be handled by adding an error handler for status code -1 and use the ui-notification to show an alert that the response failed.
Thoughts?

SGTM. Can we watch for this error response in our $http Interceptor's implementation? That would be ideal.

@mleanos Ill make a PR shortly with an implementation I am testing now. It uses the Auth Interceptor.


🚀 Feature Request: had a idea

🎤 Tell us your idea
First, the daily characterization of identifiers, then, based on the identifiers, generate pseudocode. Subsequently, create documentation based on the pseudocode! Finally, diagrams can be created based on the documentation, such as flowcharts, data structure diagrams, algorithm diagrams, mathematical diagrams, and so on, in various forms.
Do you think you understand information from an object faster by looking at a diagram or by reading text?
Moreover, diagrams can be turned into videos, and videos can be transformed into games. This process has only a positive and progressive impact on our understanding of the world and on how large models understand the world!
；-----------------------------------------
At the same time, I believe that we have already achieved automatic programming-based Natural Language Characters programming and document generation.
For example, we can use 4 large models to complete such a process and layout:
#1 Large Model: Trained to proficiently use natural language + mathematical logical reasoning.
#2 Large Model: Trained to proficiently generate code in various programming languages.
#3 Large Model: Trained to excel in code review + black-box testing.
#4 Large Model: Trained to act as a supervisor + memory + Schedule/Dispatch + human assistant and adjutant.

After that, we can combine them into digital humans, and the process is as follows:
Step 1. The human user provides their [idea | thought | task], which is described in natural language.
Step 2. => Passed to Large Model #4, which translates the user's vague natural language into specific natural language.
Step 3. => Then passed to Large Model #1, which translates the specific natural language into precise pseudocode.
Step 4. => Afterwards, passed to Large Model #2, which takes the pseudocode as input and outputs the actual program code.
Step 5. => After receiving the program code, Large Model #3 performs code review + black-box testing. If issues are found, it returns to Large Model #4.
           Large Model #4, based on the situation, either jumps back to Large Model #2 for modification or proceeds to another sequence, enabling automatic debugging.

In addition to this, a state browser is also needed, allowing the digital human to capture interrupts from the user.

Scale Law has indeed not hit a wall or failed.
The release of O3 proves this point.
This time, the application of the Scale Law is on the Chain of Thought (COT). A single chain of thought is not enough; multiple chains are needed. These chains combine to form a thought tree, which in turn combines into a thought graph, and then into a thought network. Through gradual iteration, this process eventually approaches the level of Artificial General Intelligence (AGI).
However, it becomes much harder to further enhance the performance of large models.
The next step is the Logical Chain, which is my speculation. It could be called Logical Chain (COL) or Chain of Logical (COL). The Logical Chain is built on top of the Chain of Thought. With a strong foundation of Chain of Thought, the Scale Law can be applied to the Logical Chain. Then, recursively applying the same process:
A single Logical Chain is not enough; multiple chains are needed.
These chains combine to form a Logical Chain Tree.
The Logical Chain Tree combines into a Logical Chain Graph.
The Logical Chain Graph combines into a Logical Chain Network.
Through gradual iteration, this process allows large models to solve all problems in the human world, including the most basic and simple human cognitive problems that are currently unsolvable.
Of course, this process can also be recursive, leading to Artificial Super Intelligence (ASI), which should happen within the next few years.
A recent open-source news story mentioned that after applying the Chain of Thought to 1B and 3B large models, their performance could match that of 8B and 70B models like Llama 3. This suggests that future large models, while maintaining strong intelligence, will gradually shrink in size. I see this as a form of inverse Scale Law. Who says the Scale Law can only do addition and multiplication? Perhaps in the future, hundreds of millions or even tens of millions of parameters will achieve the performance of today's trillion-level large models.
We can construct large models using simple swarm networks instead of simulating dendrites and axons with massive arrays.

Hi @qwas982, I'm not sure how this fits with CopilotKit.


[KYUUBI #4652][FOLLOWUP] Fix JaasConfiguration ClassNotFoundException for Hadoop 3.3.4 and previous

Why are the changes needed?

JaasConfiguration is a static class.
Before:

After:

How was this patch tested?

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

[x] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #4765 (77dceb2) into master (6ba8b99) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4765      +/-   ##
============================================
- Coverage     57.95%   57.92%   -0.04%
  Complexity       13       13
============================================
  Files           581      581
  Lines         32419    32423       +4
  Branches       4308     4309       +1
============================================
- Hits          18789    18781       -8
- Misses        11826    11833       +7
- Partials       1804     1809       +5

Impacted Files
Coverage Δ

.../ha/client/zookeeper/ZookeeperClientProvider.scala
73.91% <100.00%> (ø)

... and 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

thanks, merged to master/1.7.1


Fix selection from the end of the line. Line ends with spaces.

Caret and selection border appears in different places.

Wow, this has been incorrect since virtual space was implemented in 2011. How did no one notice this before?
Thanks for noticing and fixing this bug!

This fix has added a new bug: Selection in WordWrap mode.


Fix youtube parsing

Work on #33

Works perfect! Thanks

Works perfect! Thanks

Great, I'll merge this pr into develop for now


I cant Compiling

Which target are you using?
[x] Windows
[ ] Linux
[ ] Mac
Explain your issue
i am try to compiling in Windows PowerShell And Nothing Happens

can you provide images?

можете предоставить изображения?

Try it in cmd

Try it in cmd

not help

Try it in cmd

not help

Возможно это потому что у тебя название Юзера на русском?
Maybe its because your user name is on Russian?

or just open it in direction that isnt in user


Fix the generated screenshot filename when the absolute path to a file is used

Problem: If a an absolute path to the screenshot file is defined, Splinter doesn't respect it and append a random file name to the final filename.
This problem seems to have gone unnoticed for the past 7 years.
This is the line where the error occurs:
https://github.com/cobrateam/splinter/blob/d28efabdf64c45a55fb349980f134f5a5edbd1c9/splinter/driver/webdriver/__init__.py#L628
This is the demonstration of the bug
Python 3.8.4 (default, Jul 21 2020, 11:47:41)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> name = "/tmp/test.png"
>>> suffix = ".png"
>>> (fd, filename) = tempfile.mkstemp(prefix=name, suffix=suffix)
>>> filename
'/tmp/test.png7hfkpela.png'

The expected filename is /tmp/test.png but was returned /tmp/test.png7hfkpela.png
This pull-request fix that problem.

This is currently as designed. See the discussion at #446

@jsfehler Per the documentation, it is a bug

As a workaround until this is merged it seems like you can do:
browser.driver.get_screenshot_as_file('test.png') # see cobrateam/splinter/pull/791

This will save the screenshot to test.png without making a temporary filename.

#949 is an implementation of compromise fix for #446, which covers what this PR was trying to do.
In order to get a filename that does not have a random name, set the parameter unique_file to False:
filename = browser.screenshot(name="myfilename", unique_file=False)
>>> filename == "myfilename.png"


Format all code using Fantomas

I propose that all code in the book should be formatted using Fantomas. It's the de facto way of formatting F#. It would help the community if resources like this provide a standard code style.

Personally I consistently use the default settings except the two changes below in my .editorconfig:
[*.fs]
# Reduces indentation, makes editing easier, simplifies diffs
fsharp_multiline_bracket_style = stroustrup
# Makes formatting of lambdas consistent with other constructs, and is in line with the stroustrup style above
fsharp_multi_line_lambda_closing_newline = true

I agree with the sentiment but I'm not sure that I have the time to go through all of the code. I will add a section on fantomas and how to use it.


Drop support for db600c/sd-600eval

Support for these boards was dropped from the mainline kernel at 5.0 (at 2018) with the following message:

This patch removes support for the APQ8064 based Arrow SD600 eval
board.  This board was never sold publicly and had very limited
distribution.  As such, we are removing this board and no longer
going to support it.

Drop support for the boards from meta-qcom too.

Note: support for IFC6410 is still in place. The board does not use the firmware-qcom-sd-600eval recipe, it mounts firmware partition instead.


Remove: 7S2P.Effie version 2.7.1

403 Access Denied
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://download.effie.pro/effie/effieapp_setup_2.7.1.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 873)


Clarify “Object Names and IDs”

This implies every object must have a name and UID, but it does not actually say this. Is this wording intentional because there are some cases where these two properties would not be required to have values for a kubernetes object, or would these values be required without exception?

There are cases where an object doesn't require a name. For example, LocalSubjectAccessReview from the authorization.k8s.io/v1 group. As for UID, most of the time it is not user provided. It is system generated.

Seems like there's an opportunity to clarify, similar to the wording @tengqm used in https://github.com/kubernetes/website/issues/24497#issuecomment-706804456.
/retitle Clarify “Object Names and IDs”
/language en
/triage accepted
/priority backlog

Page to revise is https://kubernetes.io/docs/concepts/overview/working-with-objects/names/

/remove-lifecycle stale

/remove-lifecycle rotten
.... stalebot is a cancer on the community

/remove-lifecycle stale

/remove-lifecycle stale


Does this work with react native?

Anyone tried using this in react native?

Never tried RN myself. What problems do you have specifically?

Never tried RN myself. What problems do you have specifically?

I notice that the package has react-dom as a dependency, so I wonder if it would be possible to use this by overriding the default transforms and using native views instead.

I tried putting a prototype together, but it seems that slate itself has problems with react-native...

Some more updates: Now it appears that the crypto dependency is the problem

Yes, you need to polyfill crypto youself. See: https://github.com/ai/nanoid#react-native
However, I'm willing to get rid of id generators by the 1.x or 2.x, so that would not be the problem in a future. The id field will be required, because I use it to provide React elements with key property, and the key must stay stable for better performance.

I notice that the package has react-dom as a dependency, so I wonder if it would be possible to use this by overriding the default transforms and using native views instead.

The package has only one dependency as of now - nanoid. Both react and react-dom are peer dependencies, and I'm actually relying only on react itself. So I think this shouldn't be the problem, if react package is compatible with RN.

Also, I only use Fragment and createElement from react.

@octet-stream Got it to work! The polyfill solved the issue

Glad to hear that. I think it would be great to add section about React Native integration in documentation.
Do default transforms work with RN? All of them are HTML elements and afaik RN uses native views to render elements, which mean, by my understanding, they should not work.

@octet-stream no, the default transforms do not work. I replaced them for native views and it's working as intended.

Got it, thanks.
So, I think the issue is resolved, so I'm closing it.


bugfix: react context

fix Collecting page data .TypeError: r.createContext is not a function during build process Error: Failed to collect page data for /_not-found
Steps to reproduce

open root dir
run npm run build-netlify
should fail build

It seems to be related to ReactContext used in a servercomponent
To investigate Providers using createContext:

[ ] ThemeProvider
[x] IpInfoProvider (deleting IpInfoProvider.tsx resulted in no improvement
[ ] LanguageProvider (replace with https://nextjs.org/docs/pages/building-your-application/routing/internationalization https://nextjs.org/docs/pages/building-your-application/routing/internationalization#non-dynamic-getstaticprops-pages ?)
[ ] Sometimes Failed to collect page data for XXX XXX displays different pages by now and then (race condition? async?)
[x] Does it build if streamer singleview pages with wishes is deleted? -> YES!
-->  Does it build if not_found is re-added -> YES!
-->  Does it build if [streamer]/[wish]/page.tsx without content.tsx is re-added -> NO!

https://github.com/pacocoursey/next-themes/issues/152

https://github.com/vercel/next.js/issues/41958

https://github.com/styled-components/styled-components/issues/1589 porting to styled components 6

https://github.com/styled-components/styled-components/commit/8766ec3909ac3fc7d82b00599e1509449b386464#diff-6947e143cd7ea9a496f1403ef3851a643e9775a3439bfd58d615155c62f48176

upgrading to styled-components 6 leads to
- info Collecting page data .TypeError: u.default.createContext is not a function

`Good to know:
To use an async Server Component with TypeScript, ensure you are using TypeScript 5.1.3 or higher and @types/react 18.2.8 or higher.`
https://nextjs.org/docs/app/building-your-application/data-fetching/fetching#async-and-await-in-server-components

https://nextjs.org/docs/getting-started/react-essentials#context

it is related to either page.tsx or its import for singleviews

issue seems to be related to smth else, in PR no dynamic paths are built

react-dom.development.js:6779 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.     at throwOnHydrationMismatch

https://github.com/charityroyale/webapplication/pull/103
learnings:

'use client' in layout and page will lead to issues putting 2 much business logic into the nextjs app directory concept

so far, only the upcomingstream grid is a bit "off the grid" (hah) - planing to finish soon


How to avoid automatic scrolling to the top of the page when callbacks are fired?

Hey, thank you for this great project.
I wanted to use it for a project. Unfortunately, I am running into a bug: Whenever a callback is fired, the page scrolls to the top.
Here is a minimal example: https://epfl-ada.github.io/ada-2022-project-zozoz
The code: https://github.com/epfl-ada/ada-2022-project-zozoz/tree/main/docs
Maybe you can help out here. Thank you.

I found a (dirty) fix for it. I added data-sveltekit-reload to the anchors. So for your example here, it would look like this:
<script>
    import Plot from "svelte-plotly.js";

    let wrapper;
    let changed = false;

    const data = [
        {
            x: [1, 2, 3, 4, 5],
            y: [1, 2, 4, 8, 16],
        },
    ];

    function change() {
        console.log("change");
        if (!changed) {
            const anchors = wrapper.querySelectorAll("a.modebar-btn");
            anchors.forEach((anchor) => {
                anchor.setAttribute("data-sveltekit-reload", "");
            });
            changed = true;
        }
    }
</script>

<div bind:this={wrapper} on:mouseenter={change}>
    <Plot
        {data}
        layout={{
            margin: { t: 0 },
        }}
        fillParent="width"
        debounce={250}
    />
</div>

Hey Aamir!
Thank you for reporting this! I use this project at work in a SPA app, but I haven't properly tested it in a SvelteKit setup yet. Looks like it's about time that I do :)

This issue is preventing the project from gaining wider usage. Is there any progress on fixing it?

Hey! Are you still experiencing this issue? My team has been using this package to render tens of plots in a SvelteKit app without running into this issue. I'll close this issue for now, but if anyone still has this bug, please provide steps to reproduce it, and I'll gladly reopen the issue.


Added implicit invocation scenario

Added the ladder diagram from the working group meeting discussing implicit invocation

I took a stab at resolving the conflict, but things got wonky because of the fork. David, can you give it a go?


FIX: Compute topic title correctly

Was using unicode_title but not all topics return a unicode_title
attribute. So need to instead do this.

I think you could just use topic.fancyTitle instead of your computed. Did you try that?

I think you could just use topic.fancyTitle instead of your computed. Did you try that?

I had forgotten that was a thing. Have to render it as html using triple curly braces but should be good now.

I had forgotten that was a thing. Have to render it as html using triple curly braces but should be good now.


[BUG] test_no_fallback_when_ansi_enabled failed in databricks

@razajafri found this in one of his PRs, the results from the CPU and GPU do not match for test_no_fallback_when_ansi_enabled, which I added here #3597:
First few rows from the CPU:
 [Row(a=None, first(b)=118, last(b)=507, min(b)=118, max(b)=507), Row(a=1, first(b)=507, last(b)=507, min(b)=507, max(b)=507),  Row(a=2, first(b)=848, last(b)=848, min(b)=848, max(b)=848),

First few rows from the GPU:
[Row(a=1, first(b)=507, last(b)=507, min(b)=507, max(b)=507), Row(a=2, first(b)=848, last(b)=848, min(b)=848, max(b)=848)

Last row on the GPU:
Row(a=None, first(b)=118, last(b)=507, min(b)=118, max(b)=507

I am not entirely sure how this is happening, after a coalesce(1) and orderBy(every column).

I am not entirely sure how this is happening, after a coalesce(1) and orderBy(every column)

But the orderBy is not the last thing in the query?
        df = gen_df(spark, [('a', data_gen), ('b', data_gen)], length=100)
        # coalescing because of first/last are not deterministic
        df = df.coalesce(1).orderBy("a", "b")
        return df.groupBy('a').agg(f.first("b"), f.last("b"), f.min("b"), f.max("b"))

What's preventing a Spark implementation from hash-aggregating the grouping and therefore the resulting order of the output rows being non-deterministic because it's dumping hash table contents?

Ok @jlowe is absolutely right. Just adding the ignore order marker here should do it.

Do you want me to do this as part of my #3330? Adding skip is the same amount of work as adding ignore_order


fixed link to Authentication doc in readme.md

Merged in beta branch.

Thx for contrib @michamilz.
Will be released on master on next version.


Upgrade hsqldb.jar

https://nvd.nist.gov/vuln/detail/CVE-2022-41853
We are at 2.5.2 and need to upgrade to 2.7.1. This is shipped in internal/lib

Environment
Liquibase Version:
4.17.1
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Liquibase Extension(s) & Version:
Database Vendor & Version:
Operating System Type & Version:
Infrastructure Type/Provider: <AWC, GCS, Azure, VM, etc>
Description
A clear and concise description of the issue being addressed.

Describe the actual problematic behavior.
Ensure private information is redacted.

Steps To Reproduce
List the steps to reproduce the behavior.

Please be precise and ensure private information is redacted
Include things like

Files used - sql scripts, changelog file(s), property file(s), config files, POM Files
Exact commands used - CLI, maven, gradle, spring boot, servlet, etc.

Actual Behavior
A clear and concise description of what happens in the software with the version used.

Include console output if relevant
Include log files if available.

Expected/Desired Behavior
A clear and concise description of what happens in the software after a fix is created and merged.
Screenshots (if appropriate)
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.

Being handled in https://github.com/liquibase/liquibase/pull/3400


Algorithmic Final Review Ticket

Score: _/10
https://drive.google.com/file/d/1FV2d8g-eP_GiPV3FuBsFEp7ojKX_NxPD/view?usp=sharing
Week 1 Review Ticket
Week 2 Review Ticket
Week 3 Review Ticket
Replit
Github Pages
Video (also on homepage of github pages)
Coding Review
Individual Coding:

[ ] GitHub Pages showing key learnings and challenges conquered from Tech Talks
[ ] GitHub commits you have made, show GitHub insights into your code commits.
[ ] Show Code running on Replit as well as IntelliJ
[ ] Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments
[ ] List and Loops: show runtime, code organization, code and comments
[ ] Class review and understanding: show runtime, code organization, code and comments
[ ] Show Crossover contribution:  Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo. Show anything you have done to enhance what you have learned from Python code

Video 2 minutes: showing the above, quality suggested as follows

[ ] Make sure you cover everything, but create your own order and optimize time
[ ] Use Voice or Captions.   Try not to wiggle mouse a lot or over scroll.  Make sure you have a clear plan before you start.
[ ] Perform video in small parts 15-30 seconds and finish a key subject.  Then put the final Video together with Video editing or Youtube playlists.

Total Score: 10/10
Grader: Jakub P

GitHub Pages showing key learnings and challenges conquered from Tech Talks - 1/1 - GitHub pages look good and have all required info, easy to understand & navigate
GitHub commits you have made, show GitHub insights into your code commits. - 1/1 - Shows commits, but also explained which commit she thought was most helpful/important
Show Code running on Replit as well as IntelliJ - 1/1 - Showed code running on both platforms, made use of time-lapse to show more functions in short amount of time
Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments - 1/1 - Explained reasoning behind menu organization, which looks good and seems easy to navigate
List and Loops: show runtime, code organization, code and comments - 1/1 - Modified lists to better suit her needs (favorite animals), went over details of what these lists include
Class review and understanding: show runtime, code organization, code and comments - 1/1 - Clear explanation and understanding of classes / OOP, good demonstrations in video
Show Crossover contribution:  Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo. Show anything you have done to enhance what you have learned from Python code - 1/1 - Video includes explanation and visuals of additions that are impactful / important
Make sure you cover everything, but create your own order and optimize time
Use Voice or Captions.  - 1/1 - Made use of voiceover and captions, which made video easy to follow and understand, video felt a bit rushed (probably because of time requirements) but still very informational
Try not to wiggle mouse a lot or over scroll.  Make sure you have a clear plan before you start. - 1/1 - Very well organized, no mouse wiggling or over-scrolling, visually appealing.
Perform video in small parts 15-30 seconds and finish a key subject.  Then put the final Video together with Video editing or Youtube playlists. - 1/1 - Good editing in video, segments not too long or too short

Akhil Review Ticket
Score: 10/10
Graded by: Jakub P

GitHub Pages showing key learnings and challenges conquered from Tech Talks - 1/1 - Shows GitHub page with required info, which looks organized and easy to understand
GitHub commits you have made, show GitHub insights into your code commits. - 1/1 - Commits showed in detail, along with GitHub insights (graphs)
Show Code running on Replit as well as IntelliJ - 1/1 - Show code running on both platforms, added Replit embed to GitHub pages (easier to access)
Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments - 1/1 - Goes over menu in details, explains code/how it works
List and Loops: show runtime, code organization, code and comments - 1/1 - Explains the lists he uses, along with the functions necessary for printing them, shows tester results
Class review and understanding: show runtime, code organization, code and comments - 1/1 - Clear understanding of classes / OOP, goes over each function in detail, explains how they work
Show Crossover contribution: Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo. Show anything you have done to enhance what you have learned from Python code - 1/1 - Significatn additions / fixes on crossover project, explained and shown in video, easy to understand
Make sure you cover everything, but create your own order and optimize time
Use Voice or Captions. - 1/1 - Very organized, used voiceover to provide most information, also provided time stamps for easier understanding of what each segment of the video is about
Try not to wiggle mouse a lot or over scroll. Make sure you have a clear plan before you start. - 1/1 - No mouse wiggling or over-scrolling, seems to be organized / planned well
Perform video in small parts 15-30 seconds and finish a key subject. Then put the final Video together with Video editing or Youtube playlists. - 1/1 - Each segment is not too long, and goes over required information while keeping content interesting, video is less than 2 minutes long, good editing in combining video segments


Overflow menu alignment is not proper

When page limit is 10 in table then overflow menu alignment works properly but when page limit is more than 10 then overflow menu display on another row.
Expected: After clicking on 12th row and scroll-down then again select 16th row overflow menu, then overflow menu should display on 16th row only.
Actual: After clicking on 12th row and scroll-down then again select 16th row overflow menu, then overflow menu is  displaying on 12th row only.

Thanks for bringing this to our attention, @aaratichavan.
Does this still happen at the latest version of carbon-components and carbon-components-angular (currently 10.27.0 and 4.39.0)?
If yes, it doesn't happen when following your steps and changing data length in our example so please provide minimal code example that would enable us to replicate this.

@zvonimirfras Verified with latest version of carbon-components and carbon-components-angular, i can still reproduce this issue
can you please verify with more than 10-20 records in table. It is only reproducing when there are more than 10 records in table.

Yes, I did try that. Please provide a minimal reproduction that we can use to replicate what you're seeing.
We can only do something about it once we can replicate it 🙂

I had gone through a similar issue. I found that I was using multiple ibm-placeholder which caused the problem. I kept a single ibm-placholder to fix the problem.

@aaratichavan, try what @vseverestek suggested if it's applicable.
If it's still a problem, feel free to reopen and provide a minimal reproduction that we can use to debug the issue.


+[ZWATCH√Trending!] Subhashree Sahu Viral Leaked Video 2024 LINK On Social Media X Twitter [NOW70K]

03 sec ago Subhashree Sahu Video Viral On Social Media. +[ZWATCH√Trending!] Subhashree Sahu Viral Leaked Video 2024 LINK On Social Media X Twitter [NOW70K]

Subhashree Sahu's latest video has become a viral sensation, capturing the attention of social media users and sparking extensive discussions. This emerging digital creator, known for her engaging content, particularly her recent Subhashree Sahu-themed video, has seen a surge in interest from fans eager to find where they can watch the full version. Many are turning to platforms such as Instagram, X (formerly Twitter), and Discord for access to her content.
As the excitement builds, fans are actively sharing their reactions online, showcasing the powerful influence of social media in elevating creators like Subhashree Sahu into the spotlight. With her unique style and creativity, she has quickly established herself as a notable figure in the digital landscape, leaving many curious about her upcoming projects and content.


How to update a field before submitting a form

Is it possible to achieve the following with Sprig?

User is viewing a Commerce basket (sprig component).
User clicks remove button on a line item
Confirm prompt fires to check user wishes to remove item
If user confirms, a hidden field's value is updated
Form is submitted to update basket
Component is refreshed

Step 4, (a hidden field's value is updated) sounds like it would require JavaScrip, but everything else sounds very doable. See the Sprigcart videos for an explanation at https://putyourlightson.com/sprig/videos#sprigcart


Typescript Research

What typescript->WASM compilers exist?

How easily can you retarget the compiled WASM? (i.e. Javascript bindings in a browser)
How mature is the compiler and does it have an active developer base?
What set of language features are targeted and do we need non-targeted features? (i.e. C++ exceptions do not work for clang WASM, but are not needed)

We aren't Typescript devs and need a language overview to understand what features are important to Typescript devs. (Are those included in the subset above?)

How large are the output WASM binaries? Compare simple C++ and Typescript contracts that do and do not use standard libraries.

I think we can close this due to the great work of @roaminroe at this repository: https://github.com/roaminroe/koinos-as-sdk


Update 0.48b0

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_97z9idjnpn/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:43: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:43: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:43: missing_documentation: The recipe is missing a doc_url or doc_source_url
clone/recipe/meta.yaml:43: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
3 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_2bwi6bwj5v/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:48: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
1 Error and 0 Warnings were found


add "Transform csv columns" example

please see csv cookbook if using this resource please remember to attribute original author
example should show how to transform csv columns (ie. split one column into many https://github.com/rust-lang-nursery/rust-cookbook/issues/212#issuecomment-336325467)
cc #212
See CONTRIBUTING.md for details.

See #348


Unable to reduce number of anchor boxes

To reduce anchorboxes from five to one, i tried editing config file, but training is throwing error. Also i am not able to load back end weights alone, when given backend weight file name in config, it was throwing error.

What kind of error? here it is working for a single anchor
The pre trained weights path in config file it is for the whole model, not just for the backend

Oops i forgot to say thank you, thank you for providing this awesome project!!
When i made number of anchors to one as shown below, i got error that is pasted below
##########################################
{
"model" : {
"backend":              "MobileNet",
"input_size":           416,
"anchors":              [0.57273],
"max_box_per_image":    1,
"labels":               ["raccoon"]
},
"train": {
    "train_image_folder":   "F:/basic_codes/keras-yolo2-master/train_image_folder/",
    "train_annot_folder":   "F:/basic_codes/keras-yolo2-master/train_annot_folder/",

    "train_times":          8,
    "pretrained_weights":   "mobilenet_raccoon.h5",
    "batch_size":           3,
    "learning_rate":        1e-4,
    "nb_epochs":            1,
    "warmup_epochs":        3,

    "object_scale":         5.0 ,
    "no_object_scale":      1.0,
    "coord_scale":          1.0,
    "class_scale":          1.0,

    "saved_weights_name":   "mobilenet_yolo_saved.h5",
    "debug":                true
},

"valid": {
    "valid_image_folder":   "",
    "valid_annot_folder":   "",

    "valid_times":          1
}

}
###############################################
I got this error,
######################################################
(13, 13)

Layer (type)                    Output Shape         Param #     Connected to
input_1 (InputLayer)            (None, 416, 416, 3)  0

model_1 (Model)                 (None, 13, 13, 1024) 3228864     input_1[0][0]

DetectionLayer (Conv2D)         (None, 13, 13, 0)    0           model_1[1][0]

reshape_1 (Reshape)             (None, 13, 13, 0, 6) 0           DetectionLayer[0][0]

input_2 (InputLayer)            (None, 1, 1, 1, 1, 4 0

lambda_1 (Lambda)               (None, 13, 13, 0, 6) 0           reshape_1[0][0]
input_2[0][0]
Total params: 3,228,864
Trainable params: 3,206,976
Non-trainable params: 21,888
Loading pre-trained weights in mobilenet_raccoon.h5
Traceback (most recent call last):
File "F:/basic_codes/keras-yolo2-master/train.py", line 104, in
main(args)
File "F:/basic_codes/keras-yolo2-master/train.py", line 81, in main
yolo.load_weights(config['train']['pretrained_weights'])
File "F:\basic_codes\keras-yolo2-master\frontend.py", line 243, in load_weights
self.model.load_weights(weight_path)
File "C:\Program Files\Python36\lib\site-packages\keras\engine\topology.py", line 2656, in load_weights
f, self.layers, reshape=reshape)
File "C:\Program Files\Python36\lib\site-packages\keras\engine\topology.py", line 3382, in load_weights_from_hdf5_group
K.batch_set_value(weight_value_tuples)
File "C:\Program Files\Python36\lib\site-packages\keras\backend\tensorflow_backend.py", line 2373, in batch_set_value
get_session().run(assign_ops, feed_dict=feed_dict)
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\client\session.py", line 905, in run
run_metadata_ptr)
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1113, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (30, 1024, 1, 1) for Tensor 'Placeholder_135:0', which has shape '(1, 1, 1024, 0)'
Process finished with exit code 1
##############################
Is is possible to just use pretrained weight of backend and train front end from scratch (when anchors are reduced)? I am trying to do character recognition using yolo and it wont require multiple anchors i believe.

You have to define one anchor box by two numbers for width and height.
For example
{
"model" : {
"backend": "MobileNet",
"input_size": 416,
"anchors": [0.57273, 0.43243],
"max_box_per_image": 1,
"labels": ["raccoon"]
},

Edited config as you suggested, but while training its showing same error as above,  i am using mobilenet_backend.h5 pretrained weights

{
"model" : {
"backend": "MobileNet",
"input_size": 416,
"anchors": [0.57273, 0.43243],
"max_box_per_image": 1,
"labels": ["raccoon"]
},
"train": {
    "train_image_folder":   "F:/basic_codes/keras-yolo2-master/train_image_folder/",
    "train_annot_folder":   "F:/basic_codes/keras-yolo2-master/train_annot_folder/",

    "train_times":          8,
    "pretrained_weights":   "mobilenet_raccoon.h5",
    "batch_size":           3,
    "learning_rate":        1e-4,
    "nb_epochs":            1,
    "warmup_epochs":        3,

    "object_scale":         5.0 ,
    "no_object_scale":      1.0,
    "coord_scale":          1.0,
    "class_scale":          1.0,

    "saved_weights_name":   "mobilenet_yolo_saved.h5",
    "debug":                true
},

"valid": {
    "valid_image_folder":   "",
    "valid_annot_folder":   "",

    "valid_times":          1
}

}

error

(13, 13)

Layer (type)                    Output Shape         Param #     Connected to
input_1 (InputLayer)            (None, 416, 416, 3)  0

model_1 (Model)                 (None, 13, 13, 1024) 3228864     input_1[0][0]

DetectionLayer (Conv2D)         (None, 13, 13, 6)    6150        model_1[1][0]

reshape_1 (Reshape)             (None, 13, 13, 1, 6) 0           DetectionLayer[0][0]

input_2 (InputLayer)            (None, 1, 1, 1, 1, 4 0

lambda_1 (Lambda)               (None, 13, 13, 1, 6) 0           reshape_1[0][0]
input_2[0][0]
Total params: 3,235,014
Trainable params: 3,213,126
Non-trainable params: 21,888

Loading pre-trained weights in mobilenet_raccoon.h5
Traceback (most recent call last):
File "F:/basic_codes/keras-yolo2-master/train.py", line 104, in
main(args)
File "F:/basic_codes/keras-yolo2-master/train.py", line 81, in main
yolo.load_weights(config['train']['pretrained_weights'])
File "F:\basic_codes\keras-yolo2-master\frontend.py", line 243, in load_weights
self.model.load_weights(weight_path)
File "C:\Program Files\Python36\lib\site-packages\keras\engine\topology.py", line 2656, in load_weights
f, self.layers, reshape=reshape)
File "C:\Program Files\Python36\lib\site-packages\keras\engine\topology.py", line 3382, in load_weights_from_hdf5_group
K.batch_set_value(weight_value_tuples)
File "C:\Program Files\Python36\lib\site-packages\keras\backend\tensorflow_backend.py", line 2373, in batch_set_value
get_session().run(assign_ops, feed_dict=feed_dict)
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\client\session.py", line 905, in run
run_metadata_ptr)
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1113, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (30, 1024, 1, 1) for Tensor 'Placeholder_135:0', which has shape '(1, 1, 1024, 6)'
Process finished with exit code 1

@jerinka  I think you found a bug, I got the same error for the specific pre trained weights, this error looks like that pre trained model has 25 classes, and you are going to train in just 1 class
Did you tested with another backends?
But @bexx1963  is also correct, your anchor was wrong.
"max_box_per_image": 1 is not a good idea, this means that your model will train just 1 object per image, so if in the image has 2 raccoons, your training will going to see just one, and the another one will be a background, it will degrade your training

I had the same two issues on my first day using this program.

Soln to the backend Weights Issue:
The 'pretrained weights' field is only if you want to load fully trained weights (backend+frontend) and then start your training from there. If you want to train frontend from scratch, then leave this field blank. Then make sure the backend weights file (such as tiny_yolo_backend.h5) is present in the main directory of the downloaded repo. That seems to take care of that issue.

Regarding the Anchor Boxes Issue:
I wanted to have no anchor boxes at all to do my training. Is that not possible? Can't I just disable this feature?
Setting anchor_boxes = [] in config.json produces the error: 'Tensor' object has no attribute 'assign'
(as described by RyanCodes44 in Issue 228).


Refractor the entire React Code into components

Break the entire Header.JSX files into multiple components so their designs can be swapped easily.
(More description will be added as the task starts)

Duplicate https://github.com/webaverse/app/issues/1915
Closing.


CNF-11136: Add handleFinalizeFailure and handleAbortFailure

If finalize or abort fails, ibu trasitions into finalizeFailed and
abortFailed states respectively.
  status:
    conditions:
    - message: failed to cleanup backups. Perform cleanup manually then
add lca.openshift.io/manualCleanupDone
        annotation to ibu CR to transition back to Idle
      observedGeneration: 5
      reason: AbortFailed
      status: "False"
      type: Idle

User should perform cleanup manually in these states. After manual
cleanup user should add 'lca.openshift.io/manualCleanupDone' annotation
to IBU CR.
  kind: ImageBasedUpgrade
  metadata:
    annotations:
      lca.openshit.io/manualCleanupDone: ""

Upon observing this annotation IBU will remove the annotations and runs
abort/finalize. If successful ibu transitions back to idle state.

/test ci-index

/hold

/unhold

/hold
adding verification after manual cleanup

/unhold

/hold

/lgtm

/unhold

/approve

/override ci/prow/integration


Take dialects from syntax tree strings

import ast
dialect_str = 'a, /, b, c=3, *, d, e=5'
input_str = f'def f({dialect_str}): pass'

tree = ast.parse(input_str)
# Disect the tree here to get to the juicy function object whose Signature we want

See PR #25

Specifically, the idea is to format the dialect in the same format python functions define their arguments.
The easy and slightly terrifying solution would be eval(def f({dialect_str}): pass), with the user provided dialect_str (and then getting the function, and pulling out its signature). But then you're executing user provided code, which is always a bad idea.


Would love color coding

For example,
Green highlighting (on right side) if item is added
Red highlighting (on left side) if item is removed
Orange(?) highlighting on both sides if item is modified

This package already does the green/red highlighting. The sides for the colors can be swapped via the package settings. Orange highlighting is used to show you what diff chunk you are selected on if you use the commands "Split Diff: Next Diff" and "Split Diff: Prev Diff".
I can look into highlighting a different color for modified chunks, but I'd want more people to weigh in on this before I just changed functionality.

I think you misunderstood.  Right now, with color diff, the left side is always green (or red).
Existing:
Item added        Left: Red     Right: Green
Item Removed   Left: Red     Right Green
Item Modified     Left: Red     Right Green
Proposed
Item added        Left: Green    Right: Green
Item Removed   Left: Red       Right Red
Item Modified     Left: Orange  Right Orange
The actual colors utilized doesn't matter.  This mirrors functionality available in other editors and allows the user to see at a glance, what changes have been made vs just knowing that changes have been made

Ah, thank you for clarifying. However, I am still a little confused about one more detail. How do you identify whether something was added vs removed?
Maybe you could point me in the direction of other editors that show how this is done? Thanks!

I think he's misunderstanding the function of diff. Diff only highlights the difference between two files (or states of files), it doesn't make the determination of whether or not something was added or removed, since that's subjective. Diff only shows that there is a difference between two states.
I can't think of any other diff tool that makes this distinction off the top of my head.

I've never used a differential tool that doesn't have this capability...
On Wed, Nov 2, 2016, 16:31 laurenblackfox<EMAIL_ADDRESS>wrote:

I think he's misunderstanding the function of diff. Diff only highlights
the difference between two files (or states of files), it doesn't make the
determination of whether or not something was added or removed, since
that's subjective. Diff only shows that there is a difference between two
states.
I can't think of any other diff tool that makes this distinction off the
top of my head.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mupchrch/split-diff/issues/59#issuecomment-258005255,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgeUFwIdqSVKCfGlo8jYW1r83G9hF26ks5q6QEQgaJpZM4IozcL
.

@easycheese I retracted my statement - after reflection, I could in fact think of a couple diff tools I've used that did do this. Kompare being the one that comes to mind.

Fair enough :)
On Wed, Nov 2, 2016, 16:43 laurenblackfox<EMAIL_ADDRESS>wrote:

@easycheese https://github.com/easycheese I retracted my statement -
after reflection, I could in fact think of a couple diff tools I've used
that did do this. Kompare being the one that comes to mind.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mupchrch/split-diff/issues/59#issuecomment-258008297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgeUJVIIqK8QRKWGs2Djobh3WarFxegks5q6QQRgaJpZM4IozcL
.

Would it be possible to let the user choose the colors? I am using a light theme and the red makes it impossible to read. I would prefer a lighter shade of red while someone else using a dark theme might want a darker shade. Let the user choose?
Currently, the settings option only allows me to select between green and red.

@piyushkhemka There is currently an issue for this - #78. There is some info I just posted on styling the colors from your user stylesheet there, hopefully that is useful!


Tutorial Page ai-core-and-LP-provisioning-GA.md Issue. PROD

Tutorial issue found: https://github.com/sap-tutorials/Tutorials/blob/master/tutorials/ai-core-and-LP-provisioning-GA/ai-core-and-LP-provisioning-GA.md contains invalid tags. Even though your tutorial was created, the invalid tags listed below were disregarded. Please double-check the following tags:

topic>provisioning

Affected server: PROD

Double of https://github.com/sap-tutorials/Tutorials/issues/20419


toLowerCase does not narrow type to Lowercase

Bug Report
🔎 Search Terms
toLowerCase, toLocaleLowerCase, Lowercase
🕗 Version & Regression Information
Typescript 5.1
⏯ Playground Link
Playground link with relevant code
💻 Code
const s = "Abc";
const l = s.toLowerCase();
// ^^^ type is string, and not Lowercase<string>

🙁 Actual behavior
The type should be Lowercase<string>
🙂 Expected behavior
The type should be string

Duplicate of #44268.


Report packaged library

Hello @kevinAlbs,
this is not actually an issue report.
I just wanted to thank you for your amazing work on this library, which of a build recipe has just been integrated in Life / DogeOS through the Ur, which of a binary package has just been released on the Fur and which has just been integrated in the Twitter (not X) app and soon in the EVM file system.
Keep up with the splendid work,
hopefully you're gonna receive a share of future profits anytime soon.
Cheers!

Glad to hear the project is useful. :)


Improve readme

Robust README
Closes #4

I wasn't too sure what else we should include for the similarities and differences part? @awdeorio

LGTM. The output from the input section was incorrect so I updated that and also made some nitpicks.


Physijs.TorusMesh needed (matches THREE.TorusGeometry)

According to the Wiki Page, there is no Physijs.TorusMesh to match THREE.TorusGeometry.
I need this because I have a THREE.TorusGeometry. Currently I am using Physijs.ConvexMesh, is this what I should be using?

@Druzion you are right, Physijs.ConvexMesh is what you should be using. If you look at the shapes example you will see it in action.

@xprogram Yes, this does create the Torus, however this happens:

As you can see, it seems there is a Box around the Mesh, and I do not understand why this is happening. Here is the code I used to create it:
Player = new Physijs.ConvexMesh(
new THREE.TorusGeometry(10, 3, 32, 32),
new THREE.MeshPhongMaterial({color: 0xFF0000, shininess: 300}),
10000
)
Is this a Physijs bug?

Actually, it is not a Physijs bug. That's just how it is supposed to be defined.
A convex shape is a shape where all of its angles are less than 180 degrees (defintion). In this case the torus geometry is actually concave because of the hole in the middle. When you add the mesh to the world, it is just the vertices that are passed through to Ammo.js. It doesn't need the triangles, it will build the convex representation with only points.
I don't know if u got that, but the point is unless you want a real torus collision system, you need to use Physijs.ConcaveMesh, but that one can't move (only used for scenery).
You could of course use a concave shape decomposition algorithm. Basically it transforms a concave shape (your torus) into a bunch of smaller convex shapes. You would then build a moving torus with those small shapes. I can't really point you to a good one, but I'm sure you'll find something.

Cool, thank you @xprogram. I did want to use it to move, maybe for a wheel, but I found out that as a Physijs.ConcaveMesh it will not work. I'll try and find a decomposition algorithm. Thanks!

No problem. Happy coding.


Display video placeholder until playback has started

A good way to test is if playedRanges.length === 0.

If you're here from Hacktoberfest you can also help out by adding documentation! 😃

Closing because I realized this already happens automatically.. lol.


DOCS: Document expected permissions for authToken in vite plugin

via the npm package page for @sentry/vite-plugin, no where is mentioned the API permissions needed to be set for the authToken parameter.
Perhaps this is mentioned somwhere else, but if you google sentry vite plugin you'll get to this page and have no idea how to configure it properly.

of course a second after posting i see the issue, i was going to https://:orgslug.sentry.io/settings/account/api/auth-tokens/new-token/ and not https://:orgtoken.sentry.io/settings/auth-tokens/new-token/.
The docs do say to go to the redirect URL but I navigated using the UI and got to the personal auth tokens.


Replace container of HAPCK dynamic table from std::vector to std::deque

The std::deque is an appropriate container for HPACK dynamic table. The use cases are below.
All of them are O(1) with std::deque.

random access
insertion at its beginning
deletion at its end

Use of deque sounds reasonable to me. If I remember correctly the reason we didn't use it is that our data container policy only allowed use of std::vector from std data containers. If we allow it now, there's no reason to not use it.
It should be faster than current but did you check the performance?

What is the data container policy ?

On Oct 29, 2019, at 9:25 PM, Masakazu Kitajo<EMAIL_ADDRESS>wrote:

Use of deque sounds reasonable to me. If I remember correctly the reason we didn't use it is that our data container policy only allowed use of std::vector from std data containers. If we allow it now, there's no reason to not use it.
It should be faster than current but did you check the performance?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

What is the data container policy ?

Undocumented (or hard to find) policy. I'm not sure if there is a list of containers we can use, but the basic rule is this. https://issues.apache.org/jira/browse/TS-3770
As far as I know, vector and unordered_map are the only containers we can use.

As far as I know, ATS doesn't have "double-ended queue" nor any data structures which satisfy our needs here. IMO, we should add std::deque on the white list if it doesn't have. Also, we should write the policy on the cwiki or somewhere.
As for the benchmark, the throughput is almost same. However, from the dtrace, memmove on the HpackDynamicTable::_evict_overflowed_entries() like below is disappeared.
              libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell+0x110
              traffic_server`HpackDynamicTable::_evict_overflowed_entries()+0xc9
              traffic_server`HpackDynamicTable::add_header_field(MIMEField const*)+0x6e

Cherry-picked to v9.0.x branch.


JP version issues

There are some problems with the jp version. I can't save, load or change anything. Can you check it out ? Thank you !

If you install from the source directly https://github.com/fieryhenry/BCSFE-Python#install-from-source, then it should be fixed because I haven't made a new release yet

Thank you !


Grammar improvements

Enforce valid clause structure in the grammar
Add namespace part to procedure names

Also fixes a few syntax bugs in the TCK.

Just a minor comment from my side:

I really like how clauses are separated. It helps a lot, especially when you think about Cypher support in editors.

Even better if it can be improved as @thobe said.
Would love to see this changes merged.

I'm thinking something like this (graphviz):
    init -> {LoadCSV Start Match Unwind Merge Create CreateUnique Foreach InQueryCall With Return}
    {Return InQueryCall Foreach Remove Delete Set CreateUnique Create Merge} -> done

    LoadCSV      -> {Start Match Unwind Merge Create CreateUnique Foreach InQueryCall With Return}
    Start        -> {Start Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    Match        -> {Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    Unwind       -> {Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    Merge        -> {Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    Create       -> {Create CreateUnique Set Delete Remove With Return}
    CreateUnique -> {Create CreateUnique Set Delete Remove With Return}
    Set          -> {Set Remove With Return}
    Delete       -> {Delete Remove With Return}
    Remove       -> {Remove With Return}
    Foreach      -> {Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    InQueryCall  -> {Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}
    With         -> {LoadCSV Start Match Unwind Merge Create CreateUnique Set Delete Remove Foreach InQueryCall With Return}

Although I don't know if these progressions are actually correct. But starting from such an exhaustive listing, I think it'll be easier to actually categorize the clauses and order them.

@thobe @FylmTM Updated with a more explicit and sophisticated clause structure. It splits queries into two categories: ones containing a WITH clause, and ones that do not. The observation is that the last query part always follows the same semantic rules, and a WITH clause kind of resets these conditions, with the exception of a few updating clauses that are no allowed to start a query (SET, REMOVE, DELETE).
I've added a new test where which takes invalid queries and validates that the Antlr grammar reports syntax errors. We can extend that with more test cases as we go.
I've removed the commits relating other changes (one pushed, one PR'd).


static generate needs deprecation of resultSelector

Bug Report
As all other resultSelector got deprecated I assume this one was just missed out.
I suggest to deprecate it with the next release to have all resultSelector deprecations in v6.
https://github.com/ReactiveX/rxjs/blob/6.5.3/src/internal/observable/generate.ts#L68

Closing because of https://github.com/ReactiveX/rxjs/issues/5824.


Add spark FTP

I'm unsure if this is correct but the new FTP connector uses the same functionality as HDFS but you would pass it ftp://server:8765

not ftp://server:8765?

😂 typo

I'll need to pair with someone on this I don't have a clue what I'm doing. 😞

Trying to work out how to give Maybe values for username + password and initial values if they are not passed through as vars.
The string should look like: {....hdfsUrl=ftp://login:password@host:port...}
Trying to fit it around here but unsure this is the right place!

@garyb do we still need to wait before merging?

Nope, it's fine to merge now :). Just not to make a release yet, my PR will need merging too for that.


cleanup: Remove print_function

Merge this after #6709

@rht can you fix the lint errors (also makes sense to rebase)?

Rebased + fixed the lint errors.

Rebased.

In the interest of shrinking the diff size, I merged most of these; left off scripts/ and tools/ since I think some of those we actually want to support both 2 and 3?  Not sure, just need to read more carefully.

i.e., the print_function is added back for the scripts without the shebangs?

Should shebangs be added to the files without the shebangs? It makes things simpler if every script is assumed to run on python3 and no clutter from future, six, etc.

I think we only want shebangs on the things one runs directly.  As I said, I need time to read the code carefully, which I don't have today.

I have readded print_function to files without the shebangs.

Merged, again excluding the linter libraries.  Thanks @rht!


Memento Camera Project Bundle not including library dependencies

When testing the download project bundle from the fancy camera (https://learn.adafruit.com/adafruit-memento-camera-board/fancy-camera ) page on the memento learn guide, the zip file does not include all of the necessary libraries, only the adafruit_pycamera library is added.

I suspect that's because the pycamera library fails to declare its dependencies. Transferred. I'll look into it tomorrow; I know how to troubleshoot & test.

however, this looks fine ... https://github.com/adafruit/Adafruit_CircuitPython_PyCamera/blob/main/requirements.txt

bundle json has the following which also looks right:
{
  "dependencies": [],
  "external_dependencies": [
    "adafruit-circuitpython-aw9523",
    "adafruit-circuitpython-busdevice",
    "adafruit-circuitpython-debouncer",
    "adafruit-circuitpython-display-text",
    "adafruit-circuitpython-lis3dh",
    "adafruit-circuitpython-neopixel"
  ],
  "package": true,
  "path": "lib/adafruit_pycamera",
  "pypi_name": "adafruit-circuitpython-pycamera",
  "repo": "https://github.com/adafruit/adafruit_circuitpython_pycamera",
  "version": "0.0.7"
}

however this seems not to cause bundlefly or the screenshot maker to actually include these dependencies. Is it that these things should be in dependencies[] instead of external_dependencies[]?  or something else.

hihi- i heard about this and did some testing and i don't think it's a pycamera issue- seems to be a bundle fly issue. i went to this guide: https://learn.adafruit.com/disconnected-co2-data-logger/coding-the-disconnected-co2-data-logger and when i downloaded the bundle it only had the rtc and scd40 libraries, no bus device or register. i went to the scd40 product guide and experienced the same behavior and the screenshot generated also only showed the device library, not the dependencies: https://learn.adafruit.com/adafruit-scd-40-and-scd-41/python-circuitpython#circuitpython-usage-3101400


#2841 - Fix Study Codes

Update SABC codes, and confirm other study codes.

A screenshot with program credential undergraduate citation and CIP 01.XXXX will be helpful in PR description.


Move to Micrometer's Observations API

Our current observability integration is implemented against Micrometer's tracing APIs. We should rather move to the Observations API so that we can produce improved observations including metrics about module invocations, published and received events etc.
Related issues

GH-927

That's polished and merged! 🙇


Debug the node instance for pre-render in vs code or vs.net?

I'm getting an the following error: Response with status: 200 Ok for URL: null on any http call that our site needs for pre-render with the angular 2 template.
I have no way of diagnose this because it's burried inside node.
Is there any way to debug node properly for the pre-render pipeline so that I can get what's really going on?

Please see https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices#debugging-your-projects. You can set a breakpoint in your boot-server.ts and follow it from there.

Ok, well what I see on the screen after setting it in the startup.cs file and what actually happens are very different.
First the prompt in the ouptut trace says to run node-inspector --debug-port=5858
So I run that (yes node-inspector is installed globally) in the directory of the web app.
It runs, however when I browse to the URL that it tells me to nothing happens in the chrome debugger tools.
However in the node-inspector output I get this if I refresh the tools:
Access to C:\Users\xxx\AppData\Local\Temp from ResourceTree denied. (Error: EPERM: operation not permitted, lstat 'C:\Users\xxxx\AppData\Local\Temp\2xniyvf5.i4y')
I've tried running it as Administrator with the same results.
In the Chrome tools it then says:
Error: Debugger: Failed to resolve value by handle, ' #125# not found
Network.loadResourceForFrontend failed.
Error: ENOENT: no such file or directory, open 'D:\repos\xxx\ClientApp\dist\index.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT: no such file or directory, open 'D:\repos\xxxl\ClientApp\dist\Observable.js.map'
Once it says that it shows me stuff in the sources tab but no webpack section and nothing I can find to set break points on.
I've also tried setting up vs code with node attach with inspector and specified the port but that doesn't work either saying that there was no response on localhost:5858 which obviously isn't 8080/?port=5858 like it should be.
(Also I'm not seeing anywhere a "Threads" section in chrome debugging tools to be able to attach it directly there. I have to open a new window.)
(The reason for this is that I"m getting an "Error: DI Error" but it doesn't tell me what Provider is missing so I'm trying to find out with no luck...)
Perfect world I'd like to be able to setup a compound debug in vs code that launches .net core site, launches chrome for the site and then launches the node debugger as well automatically. (I'd bet others would love to have that level of visibility too) Clearly though, there is something I'm missing.
Sorry for being a pest, there's just a complete TON of moving parts to this and things are moving so quickly that the docs have different things than what shows up on the screen

You were unlucky - we just changed those docs to reflect the upcoming update to NodeServices that switches from node-inspector to Node's new built-in debugging system.
Since you're still using the node-inspector-based version of the library (and the update isn't published to NuGet yet, so you will need to keep using that version), the matching versions of the docs is this: https://github.com/aspnet/JavaScriptServices/blob/ee601bed5075e6cc927b04e6581ad2dc5ed02a69/src/Microsoft.AspNetCore.SpaServices/README.md. Please refer to those instructions about using node-inspector.

Access to C:\Users\xxx\AppData\Local\Temp from ResourceTree denied. (Error: EPERM: operation not permitted, lstat 'C:\Users\xxxx\AppData\Local\Temp\2xniyvf5.i4y')

That does sound like a problem you will have to resolve, but is something specific to your Node setup and is not something I can help you with. I'd recommend searching for that error message and seeing what general advice Node people give. Sorry!

Thanks for the old documentation. Any eta on when the new stuff is going to be released?
node-inspector clearly has a bug because multiple people are complaining about it: https://github.com/node-inspector/node-inspector/issues/833
I've tried clearing the node_modules folder with no joy so I'm stuck for now.


30 add generic entity transformation

Draft of generic entity transformations. This covers only transformations of entites during write. The transformation is applicable only if the attribute being written has a commit log (otherwise precondition about attribute not having a storage will fail).
The issue has a symmetric issue of applying transformation on reads, which will have to relax the requirement for attribute having a storage, because that way a synthetic attributes will be possible. I will put this into a separate PR.

Moved to #7


Update functions-bindings-cosmosdb-v2.md

The current GA version of the extension is 4.0, but the docs are geared towards 3.x and mostly incompatible with 4.0. Updated the Nuget link to avoid having users taken to the (now default) 4.0 version of the package.

Learn Build status updates of commit 1bb5ca9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-functions/functions-bindings-cosmosdb-v2.md
:white_check_mark:Succeeded

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

@ggailey777,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks @kyleburnsdev! #sign-off


MangaTale 1.4.32 "Page not Found" Error

Source information
MangaTale 1.4.32
Source language
Indonesia
Steps to reproduce

Download any their project comic latest chapter
Read any chapter, chapter immediately close and "Page not Found" show in the bottom

Expected behavior
Chapter image show up and Read smoothly downloaded chapter without loading
Actual behavior
Chapter immediately close and "page not found" error show even though it has been downloaded
Mihon/Tachiyomi version
Mihon 0.16.5
Android version
Android 13
Other details

There are no errors in the chapter at all when read online or from webview

This error only occurs with the comics they work on.  Mirrored comics don't have this problem when downloaded

The only chapters that have this error are the chapters released in 2024, 2023 and below do not have this error

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

I was able to reproduce the issue. Not exactly sure what the issue is though.
Steps:

Tap Sources
Tap MangaTale
Tap "The Greatest Estate Developer"
Tap download next to "Chapter 139"
... wait for download to complete
Tap "Chapter 139"
Observe "No pages found"

Could reproduce the issue for chapters: 140, 139, 137 Fix, 136, 134, 132, 130. There are probably more, but you need to download the chapter before trying to open it.


Scroll-to-top broken with Iron Router and appcache

From @dkmooers on June 23, 2015 19:25
Appcache hashifies Iron Router routes:
/settings
becomes
/#!settings
And that breaks autoscroll-to-top when we try to do this:
var hash = window.location.hash;
} else if ($(hash).length) {
Doing $('#!settings') throws the error.
So we should strip out any appcache hashified routes with regex I think, i.e. anything with #! in it should not be part of the hash.
Copied from original issue: okgrow/iron-router-autoscroll#13

From @pauldowman on June 30, 2015 3:7
@dkmooers I'm sorry but I don't understand the issue. Can you explain? Do you mean that the appcache packages changes your routes somehow? It's been a while since I've used it but I don't recall that.
Or do you mean that you use hash-based URLs to avoid having certain things cached?
Or do you mean that when using #! URLs it doesn't work to also have an anchor tag? I think this is what you mean.
I'm assuming it's not valid to have both a hash-based url and an anchor tag. Admittedly I haven't spent much time thinking about this so let me know if I'm confused, but I don't think that would work with or without this package, I'm not sure if we can can do anything here.

From @dkmooers on June 23, 2015 20:19
Here's a solution that I think would work.
Instead of hash:
var anchor = window.location.hash.replace(/^.*(#.*?)$/, '$1');
if (anchor && $(anchor).length) {
	position = $(anchor).offset().top;
}

EDIT: regex typo.
If your URL was:
#!settings#anchor
It would grab #anchor off the end and use that to calculate position.

From @dkmooers on July 1, 2015 18:48
Both 1 and 3. Yeah, so appcache actually changes the URLs of the routes. Kind of bizarre, not sure why it does that.
Without appcache:
www.foo.com/bar#anchor
With appcache:
www.foo.com/#!bar#anchor
Which breaks the scrolling-to-anchor by autoscroll, since it includes the "#!" url in the hash/anchor. Hence the regex suggestion to make it actually grab ONLY the anchor from the hash, instead of also grabbing hashed URLs.
I ended up just making my own implementation, which is simpler, since I've decided I don't actually want the scroll position to return to previous when you hit the back button, so I'm just using this implementation in my global onBeforeAction, which scrolls to anchors properly (even given hashed URLs):
var position = 0;
var anchor = window.location.hash.replace(/^(.*)(#.*?)$/, '$1');
if (anchor && $(anchor).length) {
	position = $(anchor).offset().top;
}
$('body,html').animate({
	scrollTop: position
}, 0);

Does that make sense?

From @dkmooers on July 1, 2015 22:34
I'm not using appcache anymore, because of a few other problems it created, but just thought I'd throw this in there. If nobody else needs it, may not be worth the fix.

will not do, for now.


Ordering of exercises

I notice that exercise leap is relatively later in the track, while being cognitively much simpler than exercises like word-count. It would be great to have the exercises ordered by increasing difficulty.

I might have wrong here to (over) generalize that exercises aren't ordered correctly in C++ track. This issue probably can just deal with order of leap.

I noticed in the Go track that we kept adding exercises at approximately where we thought they belonged, and it caused a couple of simple exercises to get pushed later in the track without meaning to.
I do think Leap could go earlier in the track.

I followed the JavaScript track ordering at the time I created the C++ track.  I agree with the sentiment that the exercises should get progressively harder, but one person's "easy" is another person's "hard", so the order will always be at odds with someone's idea of difficulty.
Patches welcome :)

Working on it.


Toggle MusixMatch Button

Since the MusixMatch is reportedly useless as of right now (I don't use it, but other people seem to think so). Is it possible to make the button removable from the status bar so that it's not just sticking out like a sore thumb?

Hey there. Thanks for opening an issue!
I am currently working on a complete rewrite, which includes this functionality and much more.
It's been underway for a long time, but I'm almost done.
MusixMatch is unlikely to return, since it seems they shut down the API, but I will look into other options.


feat: sequelize

Is your feature request related to a problem? Please describe.
Prisma is great but Sequelize still offers more features.  I needed bitwise operations, prisma has 0 support for it.  For explicit many-to-many relation, Sequelize has complete support, but Prisma doesn't.
Describe the solution you'd like to see
Offer Sequelize for advanced usage
Describe alternate solutions
not sure there's an alternative..
Additional information
No response

we are experimenting with support for kysely and/or drizzle, but are not planning to include sequelize.


pull request for e2e test at 11/11/2016 01:45:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


Missing jq in local test

The TestNetworkAllowlistStrategy test was failing because I didn't have jq installed locally. Is there a dependency file that I can update?

We don't have a dependency file for binary packages... as how you install is different across Ubuntu, Mac OS X or Windows.
Probably the thing to do is put a check in the Makefile for jq (by running which jq) and print an error message if it's not found, so at least people know what is missing. Something like: https://github.com/filecoin-project/bacalhau/blob/f668fe9e9e254371b937a5c94c4b51690ef943e1/Makefile#L96-L100


unable to find unifonic in maven repository

https://mvnrepository.com/search?q=unifonic returns 0 result

Any updates on this?


Perl downgrades libpthread

I'm not sure where I should report this, but when I install perl (opkg-install perl) the libpthread package get installed which lead to this result in libs:
/ # ls -la /lib/libpthread*
-rwxr-xr-x    1 root     root         78593 Mar 29 04:49 /lib/libpthread-<IP_ADDRESS>.so
-rwxr-xr-x    1 root     root        141153 May 23  2014 /lib/libpthread-2.18.so
lrwxrwxrwx    1 root     root            22 May 29 14:08 /lib/libpthread.so.0 -> libpthread-<IP_ADDRESS>.so

Perl works fine, but other tools get segfaults.
I will hack it around with LD_LIBRARY_PATH, but if you think it is worthwhile to get fixed advise where we should report this.

Here is my hack:
RUN opkg-install perl perlbase-ipc perlbase-getopt && \
    mkdir -p /opt/perl/lib && \
    mv /lib/libpthread-<IP_ADDRESS>.so /opt/perl/lib/ && \
    mv /lib/libpthread.so.0 /opt/perl/lib/ && \
    ln -s libpthread-2.18.so /lib/libpthread.so.0 && \
    rm /usr/bin/perl && \
    echo "LD_LIBRARY_PATH=/opt/perl/lib perl5.20.2" > /usr/bin/perl && \
    chmod +x /usr/bin/perl

I actually ran into this same issue where /lib/libpthread-<IP_ADDRESS>.so was causing me problems.  In my case I ran opkg-install bash wget python python-pip, so I'm not sure who the culprit was.  Executing ln -s libpthread-2.18.so /lib/libpthread.so.0 also fixed it for me.  Thanks for posting your solution @frol!

Thanks for the workaround.


Fix 404 Error on Back Navigation: Add vercel.json for Correct Routing Configuration

Add a vercel.json configuration file to resolve the 404 error that occurs when users navigate using the browser’s back button. This will enable proper route handling for client-side routing in Vercel deployments.
Why is this feature useful?
This feature will ensure that all routes, including those handled by the client-side router (such as Next.js), are correctly processed by the Vercel server. This will prevent users from encountering 404 Page Not Found errors when navigating back or accessing specific URLs directly.

I know how to resolve this issue, please assign me this issue @jahnvisahni31 @aswathcm29 @muruga21 @Itachii27 @Vaibhav-Kumar-K-R

I know how to resolve this issue, please assign me this issue @jahnvisahni31 @aswathcm29 @muruga21 @Itachii27 @Vaibhav-Kumar-K-R

you can go  @Hemant9808

@Hemant9808 Sorry I'm not the project mentor or admin to assign the issue please don't ask me


index-name parity with Elasticsearch::Model gem

Hello,
I am writing a worker-component with sequel-elasticsearch whose index must also be read by an equivalent ActiveRecord model with Elasticsearch::Model plugin.
I am not seeing the same results between the two.
I am seeing this for ElasticSearch::Model index name:
# class Forum < ActiveRecord::Base
#       include Elasticsearch::Model
#      index_name "throtl-admin-forum-#{Rails.env}"
Forum.__elasticsearch__.index_name
=> "throtl-admin-forum-development"

And this for sequel-elasticsearch index name:
#    class Forum < Sequel::Model
#      env = ENV['RAILS_ENV'] || 'development'
#      plugin :elasticsearch,
#             index: "throtl-admin-forum-#{env}".to_sym
Scraper::DB::Forum.elasticsearch_index
 => :"throtl-admin-forum-development"

So:
"throtl-admin-forum-development" # Elasticsearch::Model
vs
:"throtl-admin-forum-development" # sequel-elasticsearch
I think the issue is that the sequel-elasticsearch index name somehow has the quotes captured in the symbolized index name?   I even tried to force-symbolize the key in my code above, without affect.
Could you tell me if you have any ideas how this can be done correctly?
Thanks and Kindest Regards,
Peter Fitzgibbons

@pjfitzgibbons If you remove the to_sym from the sequel-elasticsearch index you'll get the same result.
The active record method returns a string, where as the sequel method returns a symbol.

I still get the same result after removing .to_sym from the :index declaration:
#    class Forum < Sequel::Model
#      env = ENV['RAILS_ENV'] || 'development'
#      plugin :elasticsearch,
#             index: "throtl-admin-forum-#{env}".to_sym
Scraper::DB::Forum.elasticsearch_index
 => :"throtl-admin-forum-development"


How do you pass in multiple NameID formats?

Our SP settings are currently as follows:
"sp": {
                "entityId": "%s/saml2/metadata" % team_host,
                "assertionConsumerService": {
                    "url": "%s/saml2/acs" % team_host,
                    "binding": constants.BINDING_HTTP_POST
                },
                "singleLogoutService": {
                    "url": "%s/saml2/sls" % team_host,
                    "binding": constants.BINDING_HTTP_REDIRECT
                },
                "NameIDFormat": [constants.NAMEID_PERSISTENT, constants.NAMEID_EMAIL_ADDRESS],
                "x509cert": SAML_SP_PUBLIC_KEY,
                "privateKey": SAML_SP_PRIVATE_KEY
            }

which for some reason, encodes like this:
<md:NameIDFormat>['urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress']</md:NameIDFormat>
causing the error
Errors validating the metadata:

Element '{urn:oasis:names:tc:SAML:2.0:assertion}NameID', attribute 'Format': '['urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress']' is not a valid value of the atomic type 'xs:anyURI'.
Invalid SAML Response. Not match the saml-schema-protocol-2.0.xsd

According to https://stackoverflow.com/questions/25620820/saml-2-0-multiple-mdnameidformat-tag-in-service-provider-metadata passing multiple NameIDFormat fiedls should theoretically be valid from a protocol standpoint so I'm wondering if there is a different format for the settings dictionary which would cause this to parse correctly?

Is true that SPSSODescriptor accepts more than 1 NameIDFormat, but our settings only support 1 value.
The NameID Format of the serttings will be used on the NameIDPolicy of the AuthnRequest, that only uses 1 Format.

I've managed to modify the saml2/metadata.py code to correctly parse the list format but it's still erroring with
Errors validating the metadata:

Element '{urn:oasis:names:tc:SAML:2.0:assertion}NameID', attribute 'Format': '['urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress']' is not a valid value of the atomic type 'xs:anyURI'.
Invalid SAML Response. Not match the saml-schema-protocol-2.0.xsd

even though the metadata now clearly lists both as individual fields:
         <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>
         <md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>

Is there more I'd need to modify to get this working as expected?
Are there any plans to support this going forward? If not it'd be greatly appreciated if you could somehow list the limitations of the library as it took a few hours of trying and failing (which led to eventually opening this issue) somewhere in the documentation for the library.

why you don't simply use the NameId Format required by your app, or if you don't know or accept multiple, you set the unspecified value?
As I previously mentioned, settings only accept 1 NameID Format and there is no plan to accept multiple to be displayed on SP metadata.

why you don't simply use the NameId Format required by your app, or if you don't know or accept multiple, you set the unspecified value?

While this would be ideal, we're dealing with a client's IDP setup which requires identifiers for both persistent and email.
I understand the weirdness of the request, but it's technically valid and as a library built around a specified protocol I'd expect that you're able to support the allowed variants of the protocol as well.

Trust me, I'm also not a fan of having to do this, but I've gone ahead and forked the branch and pushed up my code changes (can be seen here: https://github.com/onelogin/python-saml/compare/master...michaelperret:master ) but as I said before I'm still runinng into issues with the validation process. Could you possibly point me towards the validation process so I can make similar modifications to allow for this state please?

"we're dealing with a client's IDP setup which requires identifiers for both persistent and email."
That makes no sense. The IdP supports multiple NameId formats and you may choose one of them to be used on your SP.
If you want to offer more than 1 nameidformat on metadata, better create a new settings, because change that NameIdFormat from string to array will break toolkit since is used not only on the Metadata class.
Sorry but Im at mobile now, I will review your code and see what happening with your validation later.

You are validating the generated metadata with the wrong XSD.
You are using to validate "saml-schema-protocol-2.0.xsd" instead of "saml-schema-metadata-2.0.xsd".
But try to use the method that is designed to validate SP metadata: validate_metadata
Again, take in consideration the following:
The NameID Format value of the serttings right now is used to build the [NameIDPolicy](http://www.datypic.com/sc/saml2/e-samlp_NameIDPolicy.html) of the [AuthnRequest](http://www.datypic.com/sc/saml2/e-samlp_AuthnRequest.html), that only uses 1 Format. In addition is used to build the SP Metadata.

If you plan to support multiple NameID Formats on your SP metadata, I recommend you to create a new setting parameter and use it instead the current NameIDFormat parameter, that will be only used to set what value will be used on the AuthNRequest parameter.

The main goal of the toolkit is to support a working SP implementation maintaining settings as simple as possible. If you want to use a SAML toolkit that cover all the possible scenarios, take a look at pysaml2, otherwise, fork this current project and maintain it with the changes you need.

Thank you for the expanded response, I really appreciate the help here. I'm going to go ahead and close the ticket due to the lack of value for the rest of the open source community. Thanks again!


Text with color or underlined cannot be read.

When looping through paragraph.text, paragraphs that are colored or underlined cannot be read and modified.

even i had the same problem did you @joshualimpj  solve it

Inspect the XML to see what it looks like. I expect you'll find the paragraph element is enclosed by a "wrapper" element, perhaps one of those used for revision marks.
print(document._body._body.xml)

If you can identify paragraph as the one immediately before the first "invisible" paragraph:
print(paragraph._p.getnext()

This should reveal the cause and suggest the solution. Don't post a huge block of XML, just enough to see the pattern and I expect a line or two of lxml calls can alleviate the problem.


Fix build-electron, remove mkdir, not needed

Signed-off-by: Wayne Witzel III<EMAIL_ADDRESS>Currently go run build.go build-electron is broken on Windows.
This removes the webBuildElectron function completely. After the recent changes to remove go-rice #1750 this is no longer neded.

I think this is still needed because it removes bundled js  which would otherwise be packaged by electron-builder

You're right, but we don't need to run a mkdir first, the clean command works even if the directory does not exist.


Extended array methods are called with unexpected values

Vue version
3.5.0-beta.1
Link to minimal reproduction
3.4.37 → 3.5.0-beta.1
Steps to reproduce

Create a class that extends Array
Use super to augment an array method

What is expected?
The extended method should be called with the provided parameter, and be able to forward that parameter to the parent method.
What is actually happening?
The extended method receives a function, regardless of what is provided by the caller.
System Info
System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 146.05 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
    pnpm: 9.0.1 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 127.0.6533.99
    Firefox Nightly: 129.0a1
    Safari: 17.4.1
  npmPackages:
    vue: 3.5.0-beta.1 => 3.5.0-beta.1

Any additional comments?
I suspect this is related to the optimized array tracking, but have not isolated the exact cause yet.
https://github.com/vuejs/core/pull/9511
Update: It looks like the issue lies here, our reactivity logic depends on these signatures matching the native array.

closed via #11572

Thank you both, I appreciate all the hard work!


Fix build in GHC 9.0.1

Using eta expansion to work around the lack of deep skolemisation in GHC 9

I'm surprised this is all it took! Thanks.


Eliminate dependency on minimist

This PR contains:

[x] bugfix
[ ] feature
[ ] refactor
[ ] tests
[ ] documentation
[ ] metadata

Breaking Changes?

[ ] yes
[x] no

If yes, please describe the breakage.
Please Describe Your Changes

Fixes #214

@mafintosh can we address this fix for #214 by reviewing/closing this PR?


Removed deprecated secret-namespace references from examples

Caused by #146
Solves #370
I spent a while struggling with this, since I copied the examples and they weren't entirely applicable :( Hoping this helps others.

Good catch, thanks! merged


⚠ Community has degraded performance

In b52c140, Community (https://community.wrk.com/health) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: Community performance has improved in f8f79ed.