Live

test pr

test pr

test pr

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

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

test pr

test pr

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

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


Rdar 31486869 corrected bridging pch dependencies swift 3.1 branch

Cherry-pick of #8359 to swift-3.1-branch, correcting the code that emits dependencies when using bridging PCH.
Note: depends on matching clang change https://github.com/apple/swift-clang/pull/77
rdar://31486869

@swift-ci test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit -<PHONE_NUMBER>d9531ea6acb2a52a67ea48c03386b2
Test requested by - @tkremenek

Please test with following pull request:
https://github.com/apple/swift-clang#77
@swift-ci clean test


Tokenizers Example doesn't run + from_pretrained from the tokenizers crate needs features=["http"]

Hey @benbrandt,
thanks for your effort with text-splitter! I found a small bug and added a PR to fix.
Describe the bug
Running the tokenizers example doesn't work. As I see it, there are two problems.

The tokenizers crate is not exposed, so it must be installed by the user directly to be used.
It must be installed with the "http" feature enabled to use from_pretrained().

To Reproduce
Install via
text-splitter = { version = "0.6.0", features = ["tokenizers"] }

Then run the example from the Readme
use text_splitter::TextSplitter;
// Can also use anything else that implements the ChunkSizer
// trait from the text_splitter crate.
use tokenizers::Tokenizer;

let tokenizer = Tokenizer::from_pretrained("bert-base-cased", None).unwrap();
let max_tokens = 1000;
let splitter = TextSplitter::new(tokenizer)
    // Optionally can also have the splitter trim whitespace for you
    .with_trim_chunks(true);

let chunks = splitter.chunks("your document text", max_tokens);

Expected behavior
Working example. I fixed by adding tokenizers as a direct dependency
tokenizers = { version = "0.15.1", features = ["http"] }

I created a PR with a fix here: https://github.com/benbrandt/text-splitter/pull/90

@SimonCW good point!
However, I wonder if this should be solved by better documentation on how to use this with other crates (which admittedly there isn't really any)
The reason the http feature isn't enabled is because it brings in a lot of extra dependencies that aren't necessary if you are loading tokenizers from files.
Since I am just implementing a trait for the tokenizer crate, I tried to be as minimal as their crate would let me (unfortunately I have to choose one of two regex features, which means I am kind of blocked from enabling wasm tokenizers usage... But I digress...) And let the user of the crate decide how they want to use the tokenizers crate themselves.
Since Rust requires you to either own the trait or the struct to impl Trait, I am doing the bridge between the two crates, but I don't actually want to own the tokenizers crate for the user.
Does that make sense? Regardless, I think I need clearer documentation. And the fix you specified is exactly as intended.

Makes 100% sense to me! I see two options:
1. Re-exposing tokenizers features
We could add a feature tokenizers-http which then uses tokenizers = {..., features = ["http"]} as dependency. In the README example we could "guard" the use of from_pretrained() with a #[cfg(features="tokenizers-http"], analogous to the tokenizers README (https://github.com/huggingface/tokenizers/blob/main/tokenizers/README.md#loading-a-pretrained-tokenizer-from-the-hub). However, where do we stop? Do we need to re-expose other features as well?
2. Adding example cargo.toml to README
We could require the user to specify tokenizers as a direct dependency like I did in my initial post. To document we could simply add an expandable code block with an exemplary cargo.toml. See, for example, serde: https://github.com/serde-rs/serde?tab=readme-ov-file#serde-in-action
Based on your goals, to keep dependencies slim, I think 2. would be preferable. Let me know what you think and I'll adapt the PR. However, also keep in mind that specifying tokenizers as a direct dependency compiles tokenizers twice. Once as transitive dependency, once as direct one. Thats at least how I interpret my cargo.lock file.

Hmm yes 2 would be preferred, and I don't see why this would mean compiling tokenizers twice, but this would not be the first time I am quite surprised by Cargo behavior.
But because at least in one other app I've seen, the tokenizers crate is not only used for splitting text, I would be very hesitant to take control of the dependency for the user, as I stated earlier. I don't want to be the one reexposing it if I can help it.
Would be curious to learn from your setup how this is getting compiled twice. When I've seen this in the past, you usually get a compile error because there are two versions of the tokenizers crate, and the trait is only implemented for one and not the other, so there can only be one. But like I said, I would not be surprised if you know something I don't here, so I am happy to learn!

I updated the README in a new PR and closed the old one.
Concerning double compilation: That was my mistake and I'm doing the learning (relatively new to Rust). I also had fastembed in my dependencies which relies on an older version of tokenizers. That's where the second tokenizers compilation came from.

Awesome thank you! And no worries at all, I have been using Rust for awhile, but still am surprised from time to time by cargo behavior, so I didn't want to assume 😆
I'll get your PR merged, and hopefully the crate is helpful to you! I would love to take a look at how you are using it if it is public.

Awesome, I could look into a small Github Action for running unit tests if that's something you'd want?  I'll probably need it for one of my projects anyway.
Off-topic:
@benbrandt, your crate was super helpful and a pleasure to use after the crazyness that is langchain 😵💫! Unfortunately, I don't really have a project to share. I'm just exploring the LLM-RAG space with Rust to gauge potential for local / self-hosted applications for some of our customers (working for a consultancy that's also partnering with aleph alpha btw 😉 ).

@SimonCW CI should already be setup, feel free to take a look: https://github.com/benbrandt/text-splitter/blob/main/.github/workflows/ci.yml#L25
And I'm glad to hear! I know it's not perfect, and I have several features I still want to build out, but I also agree about Langchain. One of my motivations for writing this in my spare time 😆


NETOBSERV-1475 Backport

Backport of https://github.com/netobserv/network-observability-console-plugin/pull/468

/lgtm


chore: match all the structures with expected

/claim #8

Warning for Plagiarism
This PR has been identified to contain plagiarized content, which is unacceptable in this community. Plagiarism breaches our collaborative ethos and violates intellectual property rights. This is your final warning. Repeat offenses will lead to a permanent ban from contributing to this project. Please ensure that all contributions are original and properly attributed in the future.
CLosing in favour of https://github.com/tailcallhq/rust-gh-workflows/pull/9

@tusharmath I think misunderstood here.
Once check this  commit where he have at exact time my PR raised:
https://github.com/tailcallhq/rust-gh-workflows/pull/9/commits/1065d1a76b8ac16063bb794954eecce363ce275b
and see his changes are related to my PR which he done 47 minutes ago:
https://github.com/tailcallhq/rust-gh-workflows/pull/9/commits/196f9365bd327770fdbfe95608e05d875f7d3ee0
I have raise it 1 hour ago exact now and #9 changes are exact of me 47 minutes ago commit.

See this is the previous PR I have raised and closed due to too many conflicts:
https://github.com/tailcallhq/rust-gh-workflows/pull/11
#12 is the plagarism of my changes

For more see  this:
https://github.com/tailcallhq/rust-gh-workflows/pull/9/files#diff-293610ff9970383efebe975f1e88209310651e26adb300e1664bb03e8e5ac2c4
He literally copied my changes even without changing the comment name too:
See here my changes in both PRS

https://github.com/tailcallhq/rust-gh-workflows/pull/11/files#diff-293610ff9970383efebe975f1e88209310651e26adb300e1664bb03e8e5ac2c4

https://github.com/tailcallhq/rust-gh-workflows/pull/12/files#diff-293610ff9970383efebe975f1e88209310651e26adb300e1664bb03e8e5ac2c4R479

@tusharmath Just tweaking wit the test_workflow_ci test as you concerned about too many changes in yml file. I will try with reordering them to ensure minimal changes

closing in favour of #13


build using debian instead of alpine

There have been issues building the Docker image for arm64. We have not had those same issues building Brigade's worker component (which is also Node-based) for arm64. The key difference seems to be we use Alpine here, but Debian for the worker.
This PR swaps us to using a Debian-based Docker image for the builds, in hopes this resolves the issue.

Closing this since it doesn't seem to fix the problem. I'll open a separate PR to temporarily disable the arm64 build.


If noticed any warnings log them and parse the output

change combinedOut to output as using combinedOut includes warnings if there are any and fails to parse operations of expected results...
This is observed commonly helm lags out warnings...

The WARNING: parsing feels a bit fragile, maybe a better approach would be to capture stdout and stderr separately, like for example here?

Thanks for the suggestion @lbogdan, I totally appreciate your input. 👍
In the upcoming release, we have plans to switch helm dependency from CLI to helm library. So that we can drop the helm CLI dependency for tobs. which should also help us to ease these checks for warnings and to avoid running helm cmds from tobs.

@lbogdan thanks, that change is a major improvement


Add UI feature with working example and update documentation

What
Add UI feature with working example and update documentation.
How to review
Review code, example and updated instructions to test UI features.
Who can review
Anyone

Approved, we just need to checkin around the docker image used

Confirmed, image will be updated in a separate ticket. Ticket has been created.


inference

inference.py -p [checkpoint path] -i [input mel path]
wich files i use to generate speech?
found this file "nvidia_tacotron2_LJ11_epoch6400.pt", what is it for?

wich is the checkpoint file?

i was confused
inference.py -p [checkpoint path] -i [input mel path]
is actually
inference.py -p [checkpoint path] -i [input mel dir path]
nvidia_tacotron2_LJ11_epoch6400.pt is the checkpoint
each mel file has ".mel" extension not ".pt" as i thought
don't know yet to output mel from tacotron2
but i found some mel ".pt" files in nvidia waveglow repo
renamed them to ".mel" and it worked


The question about the paper

Did the paper be accepted by any conference or other subscription

Thank you for your attention, the code has been updated, and I'm happy to hear your feedback.


.gitignore inputs and outputs

@purdy thanks for making this useful tool and @brandonjp for the time codes.
I like to have a .gitignore to exclude inputs and outputs myself, just so I don't accidentally commit any confidential data.

Thanks, @matthewberryman ! :)


Msg externalization class with factory (/static) methods.

Clean-up os SLF4J logging now not-required

@etirelli if the Msg class is okay, I can extend this approach to the rest of the packages. What do you think?

Is a static method factory desirable? It shuts the door to overriding. Perhaps the static factory could be a bridge to the real provider that we could set on the factory (or use a default)?

I'm not sure I'm following 100%, let's double check, accordingly to current proposal to modify by:
class Msg {
private Msg() { }

// new "instance" method
public static Msg msg() { return new Msg(); }
}

and then have all the current methods as instance methods?

Oh, I was thinking more like:-
class Msg {

    interface MessageProvider {
        String baseNodeEvaluateCalled();
    }

    private static MessageProvider provider = new MessageProvider() {

        private static final String BASE_NODE_EVALUATE_CALLED = "BaseNode evaluate called";

        public String baseNodeEvaluateCalled() {
            return BASE_NODE_EVALUATE_CALLED;
        }

    }

    public static String baseNodeEvaluateCalled() {
        return provider.baseNodeEvaluateCalled();
    }

    public void setMessageProvider( final MessageProvider provider ) {
        this.provider = provider;
    }

}

@manstis the goal of this particular class is to centralize all the message strings in a single place so that they can be easily i18n later... I see no problem with your suggestion other than it being more work for a very simple case like this, but you are the tools expert... do you think there would be any benefit in making a provider for this?

Looks good now @tarilabs . Should I merge?

@etirelli just double-check all tests passing locally, for me yes, we can always improve or refactor later if we need.
About @manstis 's proposal I can somehow understand what is the ultimate goal, but the actual approach suggested would force to have the provider statically chosen across the JVM, so I'm still not 100% sure what would be the benefit there? Anyway, we can include @manstis 's suggestion later, for now we achieved having the "keys" as public static fields which I understand is a reached common agreement.

Merged.


feat(sdk): OpenID4CI wallet-initiated flow support

Codecov Report
Patch coverage has no change and project coverage change: -0.36 :warning:

Comparison is base (fd0eb23) 89.66% compared to head (c021e21) 89.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
- Coverage   89.66%   89.30%   -0.36%
==========================================
  Files          88       89       +1
  Lines        3270     3283      +13
==========================================
  Hits         2932     2932
- Misses        221      234      +13
  Partials      117      117

Impacted Files
Coverage Δ

...sdk-gomobile/openid4ci/interactionfromissueruri.go
0.00% <0.00%> (ø)

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


[FR] Radarr 4K Instance seperating

Heya,
i have multiple Radarr instances installed, HD and 4K.
To better seperate those two, i added CSS to display a "4K" text next to the logo.
I would like to share this idea and my code. Hopefuly you can integrate it somehow, ie with an additional import file "4k.css"
/* 4K Text next to "Radarr" text on mobile */
.navbar > .container-fluid .navbar-brand .logo-text:after {
		content: "4K";
		font-weight: bold;
		font-size: 20px;
		position: relative;
		top: 2px;
		margin-left: 10px;
	}

/* 4K Text under logo on desktop */
@media (min-width: 768px) {
	.navbar > .container-fluid .navbar-brand .logo-text:after {
		content: "";
	}

	.navbar > .container-fluid .navbar-brand:after {
		content: "4K";
		font-weight: bold;
		font-size: 30px;
		position: relative;
		top: 6px;
	}
}

PS:
i also made the logo smaller a few weeks ago, forgot that.
/* Smaller logo */
.xnavbar > .container-fluid .navbar-brand img {
	max-height: 70px;
}

Thats how it looks with the orginal logo size:

Nice idea!
Added this now https://github.com/gilbN/theme.park/tree/master/CSS/addons/radarr
https://github.com/gilbN/theme.park/commit/ad81d103616e5fee71af53801dc4a766143cd26e

Very nice, thank you :)


Browserstack upload

Upload builds to the Browserstack after changing in the development branch.
The outdated develop workflow was deleted. The master workflow was renamed as development.
MOB-2356

@gugalo The outdated workflow was deleted. The master workflow was renamed as development. The trigger map on the Bitrise site was also updated.

!squash

!squash


improve error message for LookaheadSwap pass

Summary
Improve error message in LookaheadSwap by provding information on number of qubits
Details and comments

Thanks for updating this @peendebak ! This might also be a good time to clarify the error message a bit. Maybe "The number of dag qubits (N) is greater than the number of device qubits (M)." What do you think?

That is indeed more helpful. I updated the message string.


Begin Cython refactor of Python C wrapping layer

Work in progress. Putting this up for comment on code style w.r.t. Cython (the __init__.pyx and grpc.pxd files); I'm not aware of any Google style guides for the Cython flavor of Python and I've been finding myself mixing and matching C and Python styles somewhat haphazardly.
(I'll move the Py3-related changes into separate commits at a later point)
EDIT: Following reviewer suggestions, making this an almost add-only change.

Overarching comment: introduce the new code in a new grpc._cython package without deleting the old C code. Branch the test modules of the old code to create new test modules for the new code.
When swapping out an implementation of one layer of a stack for a new implementation of the same layer, there's no rule that says that it has to be done in one commit/pull request/changelist/atomic transaction. It's okay to have several history points of growth for the new code, one semantically-huge-but-syntactically-small switch-everything-above-to-using-the-new-code transaction, and then one or more delete-the-old-implementation transaction(s).

@nathanielmanistaatgoogle updated

Closing; use #2243.


Update compilerplugin, scalapb-runtime to 0.11.3

Updates

com.thesamet.scalapb:compilerplugin
com.thesamet.scalapb:scalapb-runtime

from 0.11.0-M7 to 0.11.3.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.thesamet.scalapb" } ]

labels: library-update, semver-pre-release

Superseded by #323.


youbute_simple: Make the thumbnail scale (and not just cropping it)

See http://hugotest.bep.is/scodes/embedded/

Ok. I'll fix this.


usb: cdc_acm: fix suspend handling in CDC ACM class

usb: cdc_acm: update state after RESUME event
Update state after RESUME event.
Use LOG_INF for important events and log a
warning if the data is discarded.
Fixes #17488
samples: cdc_acm: rework sample logging
Use  LOG_LEVEL_INF as defautl log level and use LOG_INF
for important messages. Relax while loop and
give CPU resources to low priority threads like logging.

@jfischer-phytec-iot
I ran the following test on my Windows 10:

Enable CONFIG_CDC_ACM_IAD=y
Build and flash the sample in samples/subsys/usb/cdc_acm
Connect the USB cable
Open the CDC ACM serial port, type characters
Close the serial port
Suspend the Windows machine
Wake up the Windows machine
Open the CDC ACM serial pot, type characters

So this seems like it's working
@emob-nordic can you check as well?


enhancement: improve error handling on claim flow

Summary
This PR updates the claim flow such that it uses the new handleError function to display and log errors. Further it fixed some issues on the error log not displaying the type and date correctly
Changelog
- hanlde insufficient funds
- handle double claim
- remove unused error on rejection
- fix date and type for error log

Relevant Issues
Closes  #3648
Closes  #4180
Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick all of the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Just need to resolve the conflicts to review 🥺

I found a minor bug as well in the ledger claiming flow. Steps to reproduce:

Send a tx with an expiration date from Wallet 1 to Wallet 2
Go to Wallet 2 and claim
Once the popup closes, immediately click on the same claim button again
There is a notification that says the transaction has been cancelled

The tx goes through, but the notification is misleading. Maybe the button should be disabled, while it's spinning?


[flutter_tools] generate local test reports for flutter_tools

Use case
I would like to leave tests running and get back to them after they are finished to see some generated report so I could quickly tell which tests are failing without need to scroll console output manually.
Proposal
Optional generation of tests reports for flutter_tools repo.
CC: @christopherfujino

So I just found this: https://github.com/dart-lang/test/blob/master/pkgs/test/doc/json_reporter.md
Obviously JSON is not the most human-readable. When we run the tools tests, we're not using the flutter CLI tool at all, we're using the external https://github.com/dart-lang/test package, so any feature requests (i.e. for HTML report generation) should be against that repo. However, maybe writing a script to parse the JSON output would be easiest?

I came back here because I spent half an hour trying to figure out why my test was failing on CI but not locally...only to discover I was running the wrong test.
Giving this more thought, I'm thinking that writing a script to parse package test's json reporter and pretty-printing it in cirrus would make addressing test failures a lot easier.

This is definitely interesting, but it seems like it would be better suited as a feature request for https://github.com/dart-lang/test . We use this library with zero modification in the tool for testing.

This was fixed by https://github.com/flutter/flutter/pull/120716


when vertical scroll is true, row grouping will not work.

sorry my english is poor, i cannot fill the form out. pls dont del my issue.
my issue is:
when vertical scroll is true, row grouping will not work.
i think it's a bug, and hope you support this feature, it's very useful
i attach a JPG, pls check

@gritman I've just checked and it is a bug. For now are you able to use it without scrolling? just estimate how many groups you want to display and the grid will adjust it's size as needed.

Running in to this issue as well. Trying to get row details with row grouping to work. Need vertical scroll so the row details will show correctly but it messes up the row grouping.

This is what the datatable should be able to do. It's a bit of extra work to virtualize it. As you can see my fork is still a bit sluggish after adding row grouping. I hope to be able to speed that up.

@wizarrc this is only on your fork?

@racpa yeah, it's some ideas I'm trying out

Is it - PR: Resize observer component #1040?
@racpa no

right now it's local and too unstable for general usage. I plan to release my private clone (make public on github) once I iron out the bugs.

Hi, Did u get chance to post to repo the changes you have done

any updates?

Hi All,
the easiest way is edit your custom css and add below:
.ngx-datatable .datatable-body {
  height: 300px !important;
  overflow-y: scroll;
}

(change 300px to your desired height).
If you want to hide the scrollbars replace overflow-y: scroll; with overflow: hidden;
Regards,
Fahmi

do you mean to do this without  setting vertical scroll to true?
because in this case you give up the virtual scroll.
any other ideas that can include virtual scroll?

Seems some of the styles are missing, Try This
HTML
<ngx-datatable
class="material"
[columnMode]="'flex'"
[headerHeight]="50"
[footerHeight]="50"
[scrollbarV]="true"
[rows]="rows">
<ngx-datatable-column name="Name" [flexGrow]="1">

{{value}}

<ngx-datatable-column name="Gender" [flexGrow]="1">

{{value}}

<ngx-datatable-column name="company" [flexGrow]="1">

{{value}}

CSS
.ngx-datatable.scroll-vertical .datatable-body {
overflow-y: auto;
}
.ngx-datatable.scroll-vertical {
height: 70vh;
}

Faced the same problem and was a bit surprised that the issue is two years old.
Is there any chance the issue will be fixed ever?

Faced the same problem and was a bit surprised that the issue is two years old.
Is there any chance the issue will be fixed ever?

In my case i'm using a row-grouping, you can have a vertical scroll like this !
HTML
<ngx-datatable        #myTable       style="overflow-y: scroll !important;"       [style.max-width.px]="datatableMaxHeight"       class="material fullscreen"       [rows]="rows"       [groupRowsBy]="'category'"       [columnMode]="ColumnMode.force"       [scrollbarH]="false"       [headerHeight]="50"       [footerHeight]="0"       [rowHeight]="40"       [groupExpansionDefault]="true"     > <ngx-datatable/>
TS
@ViewChild('content') private content: any;
this.datatableMaxHeight = this.content.el.clientHeight;

clientHeight
Hi there, I am also currently facing the same issue. When I use scrollbarV and row grouping together, I get this weird error due to which table is not rendered. Does your solution fix the issue or not ? And where are you using the content reference in the markup?
Thanks.


Poor parsing of headers with the same name

It seem axios simply concats the headers into a single string separated by comma rather than returning them in an array, this is problematic if a header value contains a comma.
Example server:
import * as http from 'http';

//Lets define a port we want to listen to
const PORT = 8080;

//Create a server
const server = http.createServer((request, response) => {
    response.setHeader('x-warning', ['a', 'b']);
    response.end('It Works!! Path Hit: ' + request.url);
});

//Lets start our server
server.listen(PORT, () => {
    console.log("Server listening on: http://localhost:%s", PORT);
});

Result:
> void(axios = require('axios'))
undefined
> axios.get('http://localhost:8080').then(r=>console.log(r.headers))
Promise { <pending> }
> { 'x-warning': 'a, b',
  date: 'Fri, 06 Jan 2017 19:06:02 GMT',
  connection: 'close',
  'content-length': '22' }

Curl for sanity:
curl localhost:8080 -vvv
* Rebuilt URL to: localhost:8080/
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 200 OK
< x-warning: a
< x-warning: b
< Date: Fri, 06 Jan 2017 19:04:49 GMT
< Connection: keep-alive
< Content-Length: 22
<
* Curl_http_done: called premature == 0
* Connection #0 to host localhost left intact
It Works!! Path Hit: /%

FYI this applies to both XHR and NodeJS adapters.

Closing as it duplicates #465


unformatNumber seems to be broken

> import Data.Formatter.Number (unformatNumber)
> unformatNumber ("00.00") "5.0"
(Left "Error: too few digits before dot")

> unformatNumber ("00.00") "50.0"
(Left "Error: too few digits after dot")

> unformatNumber ("00.00") "50.00"
(Right 50.0)

> unformatNumber ("00.00") "50.0234252"
(Right 2392.52)

> unformatNumber ("0.00") "50.0234252"
(Right 2392.52)

> unformatNumber ("0.0") "50.0234252"
(Right 23475.2)

I'm not sure if the first two are expected or not, but the last two seem clearly wrong.

> unformatNumber "0.0" "1507142848002.0"
(Right -390672894.0)

from #38 by @Houndolon

I think issue is that we should check for equality here
https://github.com/slamdata/purescript-formatters/blob/master/src/Data/Formatter/Number.purs#L184-L193
  before ←
    if Arr.length beforeDigits == f.before
    then P.fail $ "Error: need to have" <> show f.after <> " digits before dot"
    else pure $ Int.toNumber $ foldDigits beforeDigits

  afterDigits ← some parseDigit
  after ←
    if Arr.length afterDigits == f.after
    then P.fail $ "Error: need to have" <> show f.after <> " digits after dot"
    else pure $ Int.toNumber $ foldDigits afterDigits

@cryogenian is this what you have suggested before as solution?


Run CI on GitHub Actions

This makes it so that on push to master and pull request that the test suite runs to ensure changes are passing. GitHub Actions are nice because it's baked into where the source code lives and doesn't require another account or service to configure.

CI is failing until https://github.com/prismicio-community/ruby-kit/pull/129 merges, which should fix it. I'll rebase on upstream/master once that lands and update this PR accordingly.

I've rebased this branch on upstream/master and force pushed up the changes to. CI is passing against the 3 most modern and still supported Ruby versions. :+1:

@alistairholt @faresd just wanted to ping you both here to see if you're interested in this addition to the gem. It's passing green and seems to be working well. :+1:


Generate initial manifest with examples

Being that we're moving towards a system where the manifest isn't rewritten by the tool, but is (at most) appended to, it becomes more important to provide examples of how to actually fill a manifest file. To that end, dep init should create manifest files with a commented sample block, demonstrating how each of the different properties in a manifest can be used.

As a first time user of this tool, I found myself looking for examples as to what should be in my Gopkg.toml file etc, so this is very valuable. I'll look into doing this, and will submit a PR.

Leaving this open until we have a verdict on #462


Documents with 4 digit volumes can't be viewed

Documents with 4 digit volumes produce a 404 error in the client.  It's not typical, but some journals do have 4 digit volumes, for example, ANIJP-FR, where the volumes are years.

Fixed in 2021.0706/v2.1.31 (first upload had an "undo" during testing, so the number on the first push for that came out 2021.0706/v2.1.30.  But pushed to Production that way.


RFC: kernel-irreducible well-founded recursion

A long standing issue is that the kernel will happily try to reduce functions defined by well-founded recursion (#2171), and then this often fails with (kernel) deep recursion detected.
This leads to highly unpredictable behavior:
example : f 10000 = id f (id 10000) := rfl -- deep recusion
example : id f 10000 = id f (id 10000) := rfl -- fine
example : f 10000 + 0 = f (id 10000) + 0 := rfl -- deep recursion
example : f 10000 = f (id 10000) := rfl -- fine

It would be good to fix this. In #4061 we made functions defined by well-founded recursion irreducible by default, but this only affects the elaborator, not the kernel.
It might thus be desirable to prevent the kernel from unfolding these functions as well.
This can be achieved without changes to the kernel by inserting an opaque identity function into the definition of WellFounded.fix, as shown in #5182. This fixes the above issue.
One downside is that unseal f in doesn’t help anymore to make the function reduce after all. In #5182 and its mathlib adaption branch I could replace many rfl-proofs that needed unseal f by suitable proofs by rewriting (by simp [f] or variants). But two applications remain in mathlib where kernel-reduction of well-founded definitions are intentional and hard to replace:

Nat.minFacAux finds the smallest factor of a number, and needs to be kernel reducible so that small prime numbers can be found.
Arguably it could be rewritten to use structural recursion (or have a fuel argument), but it’s not a trivial change.

The function
/-- All steps of building the abstract filtered closure together with the realization function,
    as a function of `ℕ`.

   The function is defined by well-founded recursion, but we really want to use its
   definitional equalities in the proofs below, so lets make it semireducible.  -/
@[semireducible] private noncomputable def bundledAbstractFilteredClosure :
    ℕ → Σ t : Type (max v w), t → C
  | 0 => ⟨ULift.{v} α, f ∘ ULift.down⟩
  | (n + 1) => ⟨_, inductiveStepRealization (n + 1) (fun m _ => bundledAbstractFilteredClosure m)⟩

in Mathlib/CategoryTheory/Filtered/Small.lean also seems really need well-founded recursion and kernel reduction.

Here is one possible way forward:

We define WellFounded.fix and WellFounded.reducibleFix. The former is as in #5182 (no kernel reduction), the latter as it is now (kernel can reduce the Acc argument).
By default, recursive functions are compiled using WellFounded.fix and are thus irreducible.
If the user specifies @[semireducible], then it is compiled using WellFounded.reducibleFix`

This way, special cases like the two above continue working, while in general well-founded definitions do not reduce, as desired.
Alternatives

Live with the status quo.
Wait until maybe eventually the kernel adheres to the transparency hints used by the elaborator.
Wait for the module system to fix this for us (but would it do that even within a module)?

Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

Ok, minNatFac can be rewritten to be structurally recursive (with fuel), and it’s much faster:

import Mathlib

open Nat

def minFacAux1 (n : ℕ) (fuel : ℕ) (k : ℕ) (_ : 2 * fuel > sqrt n + 2 - k) : ℕ :=
  match fuel with
  | 0 => by exfalso; omega
  | fuel+1 =>
    if h : n < k * k then n
    else
      if k ∣ n then k
      else
        minFacAux1 n fuel (k + 2) (by
          push_neg at h
          have : sqrt n ≥ k := by exact le_sqrt.mpr h
          omega
          )

def minFacAux2 (n : ℕ) : ℕ → ℕ
  | k =>
    if n < k * k then n
    else
      if k ∣ n then k
      else
        minFacAux2 n (k + 2)
termination_by k => sqrt n + 2 - k
decreasing_by simp_wf; apply minFac_lemma n k; assumption

/--
info: 449
---
info: time: 15ms
-/
#guard_msgs in
#time
#reduce minFacAux1 449 449 3 (by norm_num)

/--
info: 449
---
info: time: 1882ms
-/
#guard_msgs in
#time
#reduce minFacAux2 449 3

So maybe the conclusion should be that one simply should not use well-founded recursion when one wants kernel reduction.

I'd really rather we fix well founded recursion to not be so broken rather than pile on more hacks.

Well, it’s not broken, but it’s just too slow when you try to reduce it. So it seems unless we can make it reduce as efficient as it looks, we should avoid reducing it?
What are our options at making well-founded recursion reduce efficiently? If we are willing to give up termination I guess we can just not reduce Acc terms, and it’s going to be reasonably fast, but my sense is that that isn’t great either, is it?

We shouldn't be reducing proofs in the first place. This is the source of all of the problems. It's possible to reduce the recursor without reducing the proof, because it can only unfold to one thing. This is described in my thesis. But I think we want something a bit more specialized to well founded recursion in this case, so that the kernel can actually just run the function which is what users want anyway. Never running the function is not a solution, it's causing more problems because it means that lean can't evaluate all expressions in its language so people have to just avoid a key feature of lean entirely when using kernel reduction. That's not a sustainable path forward.

If we can get away with not reducing these proofs, I would be happy!
But I don't see not reducing certain definition as bleak.

it means that lean can't evaluate all expressions in its language so people have to just avoid a key feature of lean entirely when using kernel reduction

I expect we'll have more variants of Isabelle-style “here is a specification of a function, construct it under hood for me and prove it satisfies these equations” function definitions. I'm in particular thinking of tail-recursive and monadic functions, or more general fix points in partial order. Maybe others that just prove the existence of a certain function. I don't expect these will have any useful DefEqs, but aren't they still useful features in a theorem prover?

I expect we'll have more variants of Isabelle-style “here is a specification of a function, construct it under hood for me and prove it satisfies these equations” function definitions. I'm in particular thinking of tail-recursive and monadic functions, or more general fix points in partial order. Maybe others that just prove the existence of a certain function. I don't expect these will have any useful DefEqs, but aren't they still useful features in a theorem prover?

The trouble is that lean currently leans hard on defeq as a method for evaluating arbitrary functions, in #eval and rfl proofs. We currently don't have anything like that for functions defined by propositional equality clauses. Isabelle has a mechanism to evaluate these functions, but we don't, unless we make sure it's all defeqs. There are a bunch of important use cases in the "proof by reflection" regime where kernel evaluation forms a key part of the proof process, and I'm getting mixed messages from the FRO on whether they want to support kernel evaluation better or worse.

I'd say we have the same mechanism as Isabelle: rewriting with simp. You can do a lot of useful work without any defeq.
Proof by reflection is something I, too, want to be well-supported by Lean, and plan to work on soon. But as long as reduction of well-founded recursive functions is horribly slow I'd rather prevent it from happening (so that users know that it isn't something that's supported) then having unhappy users due to slow reductions.
If we ever do get reduction of fix without having to reduce the proof objects we can change that again.

Here might be a way to have our cake and eat it too.
The majority of functions defined by well-founded recursion have a termination_by function that maps the arguments to a value in Nat. At least for these functions, lean could use a different construction: Do not use WellFounded.fix with the invImage metric, but use the following fixed-point combinator that uses structural recursion and fuel:
def Nat.fix {motive : α → Sort u} (h : α → Nat) (F : (x : α) → ((y : α) → h y < h x → motive y) → motive x) : (x : α) → motive x :=
  /-
  let rec go x fuel (hfuel : h x < fuel) : motive x := match fuel with
    | 0 => (not_succ_le_zero _ hfuel).elim
    | fuel+1 => F x (fun y hy => go y fuel (Nat.lt_of_lt_of_le hy (Nat.le_of_lt_add_one hfuel)))
  -/
  let go : ∀ (fuel : Nat) (x : α), (h x < fuel) → motive x := Nat.rec
    (fun _ hfuel => (not_succ_le_zero _ hfuel).elim)
    (fun _ ih x hfuel => F x (fun y hy => ih y (Nat.lt_of_lt_of_le hy (Nat.le_of_lt_add_one hfuel))))
  fun x => go (h x + 1) x (Nat.lt_add_one _)

It’s about bedtime here, so I didn’t measure the reduction speed, but I expect its similarly good as with minFacAux1, and that we can prove the appropriate fix_eq and thus the equational lemmas just fine.

but I expect its similarly good as with minFacAux1.

And my expectation was proven wrong, it’s about as bad as the well-founded definition:

def minFacAux3 (n : ℕ) : ℕ  → ℕ :=
  Nat.fix (fun k => sqrt n + 2 - k) fun k ih =>
    if h : n < k * k then n
    else
      if k ∣ n then k
      else
        ih (k + 2) (by simp_wf; apply minFac_lemma n k; assumption)

/--
info: 449
---
info: time: 1914ms
-/
#guard_msgs in
#time
#reduce minFacAux3 449 3

Maybe diagnostics can help? We have
-- manual structural recursion with fuel
[reduction] unfolded declarations (max: 42, num: 4): ▼
  Decidable.rec ↦ 42
  dite ↦ 32
  Bool.rec ↦ 32
  rec ↦ 22

-- well-founded recursion
[reduction] unfolded declarations (max: 34787, num: 10): ▼
  Nat.rec ↦ 34787
  Or.rec ↦ 17217
  Acc.rec ↦ 259
  Nat.eq_or_lt_of_le ↦ 223
  Acc.inv ↦ 208
  Eq.rec ↦ 158
  rfl ↦ 144
  Decidable.rec ↦ 56
  dite ↦ 55
  Bool.rec ↦ 46

-- my Nat.fix experiment
[reduction] unfolded declarations (max: 34367, num: 10): ▼
  Nat.rec ↦ 34367
  Or.rec ↦ 17017
  Acc.rec ↦ 216
  Nat.eq_or_lt_of_le ↦ 203
  Acc.inv ↦ 198
  Eq.rec ↦ 128
  rfl ↦ 124
  Decidable.rec ↦ 56
  Bool.rec ↦ 46
  dite ↦ 45

This is strange. I wonder if I made a silly mistake somewhere.

Yes, I did! The expensive thing isn’t minFacAux, but it’s the sqrt computation:
/--
info: 21
---
info: time: 1880ms
-/
#guard_msgs in
#time
#reduce Nat.sqrt 449

Above I accidentially initialized fuel with a simpler term than sqrt 449 and that was much faster. If I change the fuel condition in minFacAux1 to (_ : fuel > sqrt n + 2 - k) and call it as
#reduce minFacAux1 449 (sqrt 449 + 2 - 3  + 1) 3 (by norm_num)

then it is just as slow.
So much for barking up the wrong tree.

Another user bitten by accidentially reducing a function defined with well-founded recursion:
https://leanprover.zulipchat.com/#narrow/stream/239415-metaprogramming-.2F-tactics/topic/An.20interval.20tactic.20for.20constant.20real.20inequalities/near/468279684
This increases my confidence that at least with the current status quo, we should block reduction of wf-rec functions, at least until when and if we can evaluate them efficiently.

It seems actually likely that the Lean kernel will at some point do this kind of fast reduction of Acc.rec without looking at the proof term. This is also what you preferred, @digama0, right? Would you be interested to write a short RFC for it with a precise specification?
Also, it’s not unlikely that eventually the kernel will have more fine-grained transparency controls, like the elaborator now.
The timeline for both isn’t clear, though, and until then I am still in favor of removing the footgun of kernel-reduction of WellFounded.fix, as proposed here, with the per-function opt-out.


[FEATURE] global admin webhook

Description
make a way to log uploads through discord webhook or make a discord bot run inside ass ive seen this feature in another sharex hosting server
https://github.com/TannerReynolds/ShareX-Upload-Server

This already exists for users (see the README) but I'll add a way for hosts to have a "moderators log"

Completed, will be available next release. 🍑


APT source whitelist request for ppa:v-launchpad-jochen-sprickerhof-de/pcl

This replaces travis-ci/travis-ci#4258.
The original text by @kashefy follows

deb source: ppa:v-launchpad-jochen-sprickerhof-de/pcl
For installing pre-built binaries for Point Cloud Library
Thank you

Hi @BanzaiMan, anything preventing this source from getting added to the source whitelist?
Thanks

It would be great to many people to have this integrated by the Travis Team...
PCL is a very well-known library in the computer vision / robotics communities.
Please, see also my related PR with the changes required to add the PPAs for PCL and MRPT (another well-known robotics library). Disclaimer: I am the main developer of the latter.

Is there any problem with adding to whitelist this particular source? This PCL library is widely used.

So ? Please, what are the news for this library ?


tests are broken as of 816ff7b

it seems that commit 816ff7b has - badly enough - broken the tests

Hi @parmentelat ,
Can you share the specific error message that you get? The tests work fine on my local machine as well as the 12 different instances on GitHub Actions.

pytest -v tests/test_ikpls.py::TestClass::test_pls_1
=========================================================================== test session starts ============================================================================
platform darwin -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 -- /Users/tparment/miniconda3/envs/ikpls/bin/python3.12
cachedir: .pytest_cache
rootdir: /Users/tparment/git/IKPLS
configfile: pyproject.toml
plugins: anyio-4.3.0
collected 1 item

tests/test_ikpls.py::TestClass::test_pls_1 FAILED                                                                                [100%]

================================================================================= FAILURES =================================================================================
___________________________________________________________________________ TestClass.test_pls_1 ___________________________________________________________________________

<snip>
        diff_jax_pls_alg_1 = JAX_Alg_1(reverse_differentiable=True, verbose=True)
        diff_jax_pls_alg_2 = JAX_Alg_2(reverse_differentiable=True, verbose=True)

>       sk_pls.fit(X=X, y=Y)
E       TypeError: PLSRegression.fit() got an unexpected keyword argument 'y'

tests/test_ikpls.py:127: TypeError
========================================================================= short test summary info ==========================================================================
FAILED tests/test_ikpls.py::TestClass::test_pls_1 - TypeError: PLSRegression.fit() got an unexpected keyword argument 'y'
============================================================================ 1 failed in 47.33s ============================================================================

Thank you @parmentelat ,
I seem to have missed an update in the requirements section in pyproject.toml. I have now updated the dependency to require at least scikit-learn 1.5.0. That should take care of the issue. It has been committed in b176fea.
Will you confirm that this solves the issue?

I forgot to update the version number in b176fea. It has been updated in 76a66ae.


[Bug] Multi-instances tab switching

If opened multiple instances of Chrome, tab switching to tab in inactive window switches to tab with the same number as selected, but in current window.
OS: Windows 10;
Browser: Brave;
Don't know if it's fixable, let me know please

It is fixed but it hasn't gone live just yet. Will be a few minutes, up to an hour, version 1.2.9.


Enhancement request MQTT TLS support

Hi there,
would it be possible to add TLS capabilities to the MQTT component? Probably it's already on your todo list anyways.
From a security point of view it's always a good thing to not send plain data over the network :)
cheers
Ted

:+1:

This already works!
On Wed, Oct 28, 2015, 18:31 Chris Rickard<EMAIL_ADDRESS>wrote:

[image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/427#issuecomment-152047696
.

See the config here, just specify a certificate and it will use TLS
https://home-assistant.io/components/mqtt.html

Oh fantastic, thanks!

That's great, thank you!


[e2e]: go push main config-noldflags slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3239757840
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.main.config-noldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.main.config-noldflags.slsa3.yml
Trigger: push
Branch: main
Date: Thu Oct 13 04:58:26 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3239757840
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.main.config-noldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.main.config-noldflags.slsa3.yml
Trigger: push
Branch: main
Date: Thu Oct 13 14:15:40 UTC 2022
Tests are passing now. Closing this issue.


discord invite in readme expired

I wanted to ask about the tokenizer. I quantized the model with the MLC framework and I noticed that the model never generates token 32000 to indicate end of turn, rather it generates the string <|end_of_turn|> as a sequence of tokens. Not what I expected. I don't know if it's a usage issue on my part.

Also, thanks for this, even with the warts it's still the best-behaved model I've tried so far out of the 13B ones

Thanks for your report. We updated the discord link.
For your question, which weight are you using? I've tested our API server, it correctly outputs the stop token.

Thanks!
I'm using MLC-llm as they have by far the best inference speed for batch size 1. Unfortunately it's a very complicated runtime that's pretty far-removed from the pytorch/HF ecosystem. I opened a bug re:tokenizer on their end for a couple of issues I found where they're not 100% compatible with HF AutoTokenizer, but even when I worked around them locally I noticed it doesn't solve issues.

Thanks for your report. We updated the discord link.
For your question, which weight are you using? I've tested our API server, it correctly outputs the stop token.

I set the system prompt to "You are a helpful chatbot named dot", and asked the bot "hi, what's up? how are you called and what are your dreams?", and the reply tokens I got were:
[29991, 306, 626, 263, 8444, 13563, 7451, 4257, 360, 327, 29889, 1094, 385, 319, 29902, 4086, 1904, 29892, 306, 1016, 29915, 29873, 505, 21737, 470, 12561, 29879, 763, 25618, 437, 29889, 1205, 306, 29915, 29885, 1244, 304, 6985, 366, 411, 738, 5155, 470, 23820, 366, 29915, 29881, 763, 304, 5353, 29889, 1128, 508, 306, 1371, 366, 9826, 29973, 29966, 29989, 355, 29918, 974, 29918, 685, 29989, 29958]
This decodes to:
! I am a helpful chatbot named Dot. As an AI language model, I don't have feelings or dreams like humans do. But I'm here to assist you with any questions or topics you'd like to discuss. How can I help you today?<|end_of_turn|>

Note how <|end_of_turn|> is encoded as [29966, 29989, 355, 29918, 974, 29918, 685, 29989, 29958].


Feature request: Ignore gitignored files

e.g. project/metals.sbt which Metals creates automatically:
// DO NOT EDIT! This file is auto-generated.

// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.0-22-91111c15")

Probably worth deduping the dependencies as well:

and sorting (would be useful for the http4s deps on the screenshot) 😅

Good ideas! On it :)

you ever rest dude?? :joy:

Must strike while the iron is hot 😆

Added sorting. Solved the symptom of this problem, if not the cause, by only parsing plugins.sbt.

Or for another enterprising contributor 👯


Clicking "reply to this tiddler" with activity list issue

tiddler: Activity contains:
<<activity supress:spaceSiteIcon supress:userSiteIcon >>

if the "reply" space and the "following" space are included, the "reply to this tiddler" near the list elements just copies the content above, instead of the content of the "alien" tiddler.

The reply code is not live on TiddlySpace and very much still in development so I'm closing this issue and other related issues.
There is bound to still be bugs in a development version.
The TiddlySpace issues list is purely for issues relating to deployed code.
I've captured your feedback here which is much appreciated - http://jon.tiddlyspace.com/pmario Reply feedback - in the mean time.

The TiddlySpace issues list is purely for issues relating to deployed code.

ok, next time I'll wait until it is released.


Creator -> Factory

Fixes #405

Pull Request Test Coverage Report for Build 6341

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 6320:
0.0%

Covered Lines:
1200

Relevant Lines:
1200

💛  - Coveralls


Datepicker - format date when focus is lost

Proposal:
Hey,
Currently, if you select a date from the datepicker pop-up, you get the date using the format function provided for the DateAdapter. Could there be an option to use the same formatting function after the user has entered a date in the input and moved away?

As far as I can see, it formats the date while using keyboard input anyway.
Take a look at this plunkr: https://plnkr.co/edit/Qy8qel65RhsHZhvEbCod?p=preview
You should probably make your own focus handler and grab the value when focus is lost.

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.


Problem  utility

good to all
First of all, thank you for all the work.
I am receiving this information when trying to save
I don't understand why because the content is very small
some help ?
<--- Executing Block UTILITY --->
The index was out of range. It must be non-negative and smaller than the collection size.
Parameter name: index

Can you please post the loliscript of the block that is causing the issue?

Can you please post the loliscript of the block that is causing the issue?

is there any way to spend it in private?

forum.openbullet.dev PM it to Ruri

forum.openbullet.dev PM it to Ruri

done


Adjust high watermark threshold

The threshold appears to be set too low for the rabbitmq runtime.  This causes the Nagios checks to raise alerts in Icinga (false positives) for integration.
What the threshold should be set to, is debatable. We are currently using the default value of 40% of resident memory for the mirrorer vms.
See: https://www.rabbitmq.com/memory.html
Alternatively, we could increase the memory of the VM to same as in production.
Rabbitmq consistently occupies currently set threshold for the high watermark
Affects: https://github.gds/gds/opsmanual/pull/868

I looked into this and discovered it's because messages in the queue are never processed (I assume this is mirrorer in Integration?) I created a PR to purge them every morning in Integration: https://github.com/alphagov/govuk-puppet/pull/5362
Try running the command in that PR on the machine and see if it helps memory consumption (but only if it's mirrorer in Integration!)


Spotify Error

Spotify error detected
unsupported operand type(s) for +: 'bool' and 'unicode'
Skipping to next track...
Deleting partially ripped file
seems there's a bug somewhere when downloading playlists... any suggestions?

It worked for me. Sorry.
On Monday, October 10, 2016, dadede<EMAIL_ADDRESS>wrote:

Spotify error detected
unsupported operand type(s) for +: 'bool' and 'unicode'
Skipping to next track...
Deleting partially ripped file
seems there's a bug somewhere when downloading playlists... any
suggestions?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hbashton/spotify-ripper/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AL97hGsUDGELt8zDbh4dj6qlX0AyrEyuks5qyuwigaJpZM4KTKXM
.

figured the cause of the error. turns out that when it tries to append the genre metadata after it has finished ripping to file, something goes wrong somewhere with the variables. don't know enough python to figure it out, but its worth a check if the genre feature will be stable - just saying.
temporary fix - avoid adding genre


MAINT: signal: replace distutils templating with tempita

Reference issue

gh-13930
What does this implement/fix?

Proof-of-concept / RFC: replace .c.src templating with tempita templating.
Additional information

This is only a WIP proof of concept.

[x] there is more distutils templating in correlate_nd.c.src
[x] tempita invocation should be made more robust. The incantation in signal/setup.py is taken from tools/cythonize.py
[x] if we go this way, do we keep autogenerated files under source control? In the current state of this PR, lfilter.c is under source control because

$ git log scipy/signal/lfilter.c
commit aa1882ef55206d746bb3f840a1b33f886547e54b
Author: David Cournapeau<EMAIL_ADDRESS>Date:   Mon Apr 20 08:41:45 2009 +0000

    rename lfilter.c to a templated file.
``

Nice! Better keep the generated files out. They are already out for other instances of tempita usage with Cython; pyx.in files. Also otherwise it pollutes the git folder when built in place.

OK, converted all *c.src templates, this PR is ready for review.
Please do review the C part --- the stuff is reasonably error-prone if very simple.
The comment about keeping *.c files under source control turns out to be moot, signal/lfilter.c and signal/correlate_nd.c are listed in .gitignore already.
Re making tempita support more robust, maybe best keep it simple in this PR and polish as needed. I suspect what's here now is good enough for the next release, and all build stuff will need tweaking anyway when we move over to Meson.

CI failure is baffling. Does it expect me to add typing stubs for cython?
scipy/_build_utils/tempita.py:4: error: Skipping analyzing 'Cython': found module but no type hints or library stubs  [import]
scipy/_build_utils/tempita.py:4: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 680 source files)
Error: Process completed with exit code 1.

CI failure is baffling. Does it expect me to add typing stubs for cython?

You can just add ignore_errors = True for this file in mypy.ini.


Wordpress import [enhancement]

Using Lychee for a few days now and I really like it.
A great improvement would be a 'import from Wordpress' option.
Some ideas on realizing this:

The Wordpress installation has to be on the same host as Lychee
Wordpress stores it's image at /var/www/wordpressRoot/wp-content/uploads/YYYY/MM/
From the location above, link (symlink) all full scale files e.g. 'IMG_SomeName.jpg' to Lychee (don't copy files to reduce disk usage), exclude all files with extra resolutions 'IMG_SomeName-123x456.jpg'
Autocreate a "imported from Wordpress" folder in Lychee and auto update this folder with a cronjob (optional)

It's not planned to build a "complex" import directly into Lychee. The current import was not made for such a feature.
I suggest to try lycheesync. It has a build-in link mode, which does exactly what you want.

Don't copy files from source folder to lychee directory structure, just create symbolic links (thumbnails will however be created in lychee's directory structure)


ci: update github action workflow

removed the java step since I don't think is relevant for cordova-browser
updated the rest

I think it's needed for printing the gradle --version, but I don't think that information is relevant neither, so I also removed it.


nodejs ssti

fixes regarding SS3BZCKA and O3U9AUY4

CRS Bug Bounty PR assessment

Rules affected (list rules): FIXME
Paranoia Level addressed (1, 2, 3, 4, full or explain): FIXME
FTW passes (yes or no) : FIXME
Rule(s) picked for solution (correct or not-correct or explain) : FIXME
Risk for false positives (irrelevant, adequate, substantial or explain) : FIXME
Regular expression quality (inspirational, decent base, needs work, adequate or explain) : FIXME
Documentation (needs work, adequate or explain) : FIXME
Tests (none or some or adequate) : FIXME

Verdict (Unusable, inspirational, usable, almost perfect or perfect) : FIXME

This is not meant to be final. As a CRS dev, feel free to comment below and edit this form directly. As committer or observer, feel free to comment below with feedback and we will think about updating the assessment accordingly.

I think the regular expressions need some work. Every time a dot appears, it can be surrounded by whitespace. Example:
> const foo = {};
undefined
> foo.x = 3;
3
> foo .x = 4;
4
> foo . x = 5;
5
>

So right now we would block constructor._load but not constructor . _load.

Hi @rekter0 , thank you for addressing the constructor['_load'] form. It can apply also to the other payloads, is there a reason you did not apply this to the other snippets (e.g. process['binding'])?

We are concerned about the false positive rate of this rule because of some entries which occur in common English:
close\s*\(
exists\s*\(
fork\s*\(
open\s*\(
read\s*\(
spawn\s*\(
watch\s*\(
write\s*\(

Our usual solution to this is to create a "sibling rule" in a higher paranoia level, let's say PL2 for this.
And move all these to a different rule.
@rekter0 If you would like to help us with this, the rating for the PR will improve. Do you think you can do this or do you need help from us?

Hi @lifeforms, thank you for the feedback, i've also added some more strict regexes to match against variants using parameters inside payloads like require[req.query.foo]
hopefully this commit has better coverage

We need to have a tests for rule 934101, the linter complained about it:
rule 934101 does not have any regression test
Would it be possible for you to add test @rekter0 ?

@lifeforms From what I see this one looks ready to merge. Tests were added.

Assigned @lifeforms based on the separate spreadsheet in our drive.

Made cosmetic fixes to the tests file, since we already have a positive review I'm merging this one!


clair: 4.7.0 -> 4.7.1

Diff: https://github.com/quay/clair/compare/v4.7.0...v4.7.1
Changelog: https://github.com/quay/clair/blob/v4.7.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

clair


Create a DeputyAssignment to assign delegate users

A user (primary) may assign a delegate (deputy) in order to allow that user to act on their behalf. The deputy may then upload articles, submit waivers, or otherwise interact with the application as if they were logged in as the primary user.
This creates a join table, deputy_assignments, that links a user with their deputies, and notes whether or not they are active and if they have confirmed their willingness to be this user's delegate.
Validations restrict delegates to non-admin users and prevent a user from having the same delegate listed more than once.
Fixes #320
Fixes #215

@EricDurante I had to force-push to resolve a schema.rb conflict. Can you re-approve when you have a chance?


UI - Using "Add Knowledge" to chat thread results in chat stuck in "Loading your assistant..."

Electron build - Version 0.10.0-rc1 (0.10.0-rc1)
Steps to reproduce the problem:

Go to "Chat"
use "Add Knowledge" option
Select a file.
After this notice that the chart is stuck in  "Loading your assistant..." page forever:

Related issue -  https://github.com/gptscript-ai/desktop/issues/94

This issue is not seen anymore when testing with Version - 0.10.0-rc2 (0.10.0-rc2)


Add app-authorized to applications nav link

:nut_and_bolt: Description: What code changed, and why?
We need to remove the Applications link from navigation when the user does not have permissions to see the applications tab.  This branch adds an app authorized container around Applications using introspection to check if the user has permission or not.
:chains: Related Resources
:+1: Definition of Done
When a user does not have permission to use the Applications tab, it is not accessible
:athletic_shoe: How to Build and Test the Change
build components/automate-ui-devproxy
make serve
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

worked for me locally!
i tested in my local dev env by doing the following:

sign into local dev env as admin
go to settings/users, create a user
go to settings/policies, select ingest policy, member tab, add the user that was just created
sign in as said user. before this change i saw the applications link in the header, and after did not! 🎉
when accessing as viewer/admin, the applications link was there as expected

thank you!

Awesome!  Thank you for checking!


Can't set mrkdwn_in

When trying to set mrkdwn_in (for the attachments), it fails.
mrkdwn_in expects an array, which could be interfering with the "default" getter & setting?

Never mind, use mrkdwnIn([...])


Inconsistent return for -compileonly -json

If the input has a compilation error, a missing variable for instance, elvish -compileonly -json outputs JSON objects with information about the error's location in separate fields. But when it's a parse error, the objects only have the message field.
Example:
val-missing.elv
if $x {
	echo 'yes'
}

bracket-missing.elv
if $true {
	echo 'yes'

$ elvish -compileonly -json val-missing.elv
[{"fileName":"/val-missing.elv","start":3,"end":5,"message":"variable $x not found"}]
Exception: elvish exited with 2
[tty], line 1: elvish -compileonly -json val-missing.elv
$ elvish -compileonly -json bracket-missing.elv
[{"message":"parse error: 23-23 in bracket-missing.elv: should be '}'"}]
Exception: ./elvish exited with 2
[tty], line 1: elvish -compileonly -json bracket-missing.elv

The first has fileName, start, end, and message fields. The second just has message

Fixed.


how caffe2 synchronize? per batch_size or per epoch?

@Yangqing @pietern hi, I'm curious about how caffe2 synchronize, after finishing one batch_size or one epoch iteration or other strategies please?

I use a workaround: create a mini model that only has DB read, run the model for several times before running the actual model, so the actual model will skip the data. However this is of low efficiency.

Not sure what your question means, but caffe2 syncs after every batch (i.e. net run).

Thanks!


How to switch distros?

The command only showcases how to install ubuntu, and as someone pretty new to linux im just wondering how i could switch to something such as debian. (We don't talk about kali)

Asked & answered here: HELP #4325

Bruh
On Tue, Aug 4, 2020 at 11:45 AM DennisL<EMAIL_ADDRESS>wrote:

Closed #4326 https://github.com/dnschneid/crouton/issues/4326.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/4326#event-3620875458, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMTRWAPRYMTWV7SCZ4HZ2LR7AUK5ANCNFSM4PUNJ4TA
.

Sorry, but what is not addressed in issue #4325 that you are still unsure about? 🤔
I've listed the recognized debian releases and told you how you can use the '-r' option to install the release of your choice.
-DennisLfromGA


update multiple assignes feature in comparison

Update comparison because we implemented the "multiple assignees per issue" - feature.

Codecov Report

Merging #3938 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3938   +/-   ##
=======================================
  Coverage   20.27%   20.27%
=======================================
  Files         146      146
  Lines       29316    29316
=======================================
  Hits         5945     5945
  Misses      22470    22470
  Partials      901      901

Continue to review full report at Codecov.

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

LGTM


Cannot find Rosetta

Hi, how can I solve the following problem?

You need to compile the MPI version of rosetta.

ddgscan just work with mpi rosetta?

It is, for now. The relax takes a very long time if run sequentially. I scheduled some updates in Feb 2023. I may add a multi-threaded relax with the relax.static.linuxgccrelease.
I made a quick fix to allow skipping the relax step, by setting the -nstruct 0. Update and try again.
My test command:
DDGScan grape_phaseI 1pga.pdb A -T 20 -nstruct 0 -E rosetta -M run -S slow

It is, for now. The relax takes a very long time if run sequentially. I scheduled some updates in Feb 2023. I may add a multi-threaded relax with the relax.static.linuxgccrelease. I made a quick fix to allow skipping the relax step, by setting the -nstruct 0. Update and try again.
My test command:
DDGScan grape_phaseI 1pga.pdb A -T 20 -nstruct 0 -E rosetta -M run -S slow

BTW, for a small protein with a high-quality structure (resolution < 2.0 Å), it is not a big problem to skip relax. For larger proteins or a high-quality structure unavailable, the relax might be necessary.


Interaction with Ars Nouveau

Server crashes when interacting with Scribe's Table when interacted with with Spellbook, (Apprentice, Mage, and Archmage, untested with Creative) when they are in the same chunk as Primal Magick workbenches. Known set ups include Basic Calcinator, Research Table, Analysis Table, Arcane Workbench, and Wand Charger. Ars Nouveau is 1.20.1-4.7.4 and Primal Magick is 4.0.8
crash-2024-01-08_19.00.38-server.txt

Looks like this might be fixed in #241?

Yeah, I think this is the same bug, alright.  The capability provider wasn't safely handling null directions being passed in, but that should be fixed in 4.1.0-beta for Minecraft 1.20.2.


link to correct source in error page

Describe the problem
Currently the error pages do not link through to the correct page

the link is just relative to the project "/src/lib/components/ProjectMain.svelte:127:17" - but it needs the file extension.
e.g. with the inspector it's possible to open the relevant component with a click.
Describe the proposed solution
Clicking on the error opens the correct file and goes to the correct line.
Importance
nice to have
Additional Information
No response

I think this issue should be moved to https://github.com/sveltejs/vite-plugin-svelte.

i did it

i did it

Thank you!


Feature: manual gpu memory free

At this moment I can easily crash my app with overmapping gpu device from different code points. GC can be slower than I need.
I think CLBuffer.prototype.free method should call clReleaseMemObject.

It does: https://github.com/unbornchikken/NOOOCL/blob/master/lib/clMemory.js#L48
The method that you seek is actually called as 'release' not 'free': https://github.com/unbornchikken/NOOOCL/blob/master/lib/clWrapper.js#L129


METRON-482 Add logging to GrokParser to indicate supplied TimeZone

Added a few logging statements: both during configure() and during the actual conversion.

@justinleet - did you run this up in Vagrant or elsewhere?

Yeah, ran it up in quick dev and it kicks out exactly what you'd expect when DEBUG is on.

+1 by inspection with @justinleet's confirmation of quick dev testing

Thanks! +1 as well.


crash in deserialize when using dask.dataframe.from_delayed

What happened:
A query in the testing framework for BlazingSQL crashed. I was able to trace the issue to a crash in dask.dataframe.from_delayed. I have put together a reproducer which gives the following error:
distributed.protocol.core - CRITICAL - Failed to deserialize
Traceback (most recent call last):
  File "/home/william/miniconda3/envs/bsql/lib/python3.8/site-packages/distributed/protocol/core.py", line 104, in loads
    return msgpack.loads(
  File "msgpack/_unpacker.pyx", line 195, in msgpack._cmsgpack.unpackb
  File "/home/william/miniconda3/envs/bsql/lib/python3.8/site-packages/distributed/protocol/core.py", line 96, in _decode_default
    return merge_and_deserialize(
  File "/home/william/miniconda3/envs/bsql/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 454, in merge_and_deserialize
    return deserialize(header, merged_frames, deserializers=deserializers)
  File "/home/william/miniconda3/envs/bsql/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 388, in deserialize
    return loads(header, frames)
  File "/home/william/miniconda3/envs/bsql/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 75, in pickle_loads
    if writeable[i] == mv.readonly:
IndexError: tuple index out of range
*** IndexError: tuple index out of range

What you expected to happen:
I expect it to not crash :-)  It works using version dask=2021.3.0 distributed=2021.3.0 but stopped working with the latest:
dask=2021.3.1 distributed=2021.3.1
Minimal Complete Verifiable Example:
from dask.distributed import Client
import dask.dataframe
import pandas

def load_file(file_path):
    return pandas.read_parquet(file_path)

def main():
    # running dask-scheduler locally with two dask-worker
    dask_client = Client('<IP_ADDRESS>:8786')

    workers = list(dask_client.scheduler_info()["workers"])
    futures = []
    files = ['/home/william/test/deserialize_0.parquet', '/home/william/test/deserialize_1.parquet']
    counter = 0
    for worker in workers:
        futures.append(
            dask_client.submit(
                load_file, files[counter],  workers=[worker], pure=False,
            )
        )
        counter = counter+1
        if counter > 1:
            break
    ddf = dask.dataframe.from_delayed(futures)

    print(ddf.compute())

if __name__ == "__main__":
    main()

The data for those files can be found here:
https://drive.google.com/file/d/1cE7mVuH9If5T3zTwNyX8vjqD4Njfz1OL/view?usp=sharing
Anything else we need to know?:
This issue also happens when i use cudf and  dask-cudf. I actually filed an issue in their repo (https://github.com/rapidsai/cudf/issues/7773), but realized i could replicate it without cudf. The error there is very very similar, which leads me to believe that its not the parquet reader. Its something in the communication in dask or distributed.
Environment:

Dask version:  It works using version dask=2021.3.0 distributed=2021.3.0 but stopped working with the latest: dask=2021.3.1 distributed=2021.3.1
Python version: 3.8
Operating System: Ubuntu 16.04
Install method (conda, pip, source): conda

Thanks for raising an issue @williamBlazing! I'm going to close this as it's already been reported over in https://github.com/dask/distributed/issues/4645 -- feel free to engage over there

Awesome! Thanks


direct_configs doesn't work for tflint

I have custom tflint config in the root of my git repository. What I've noticed, is that tflint doesn't use it, if i try to specify it via direct_configs like this
lint:
  definitions:
    - name: tflint
      direct_configs:
       - .tflint.hcl
       - ${workspace}/.tflint.hcl # doesn't work

tbh, I haven't find any clear description for direct_configs attribute, so still not sure that this is proper place to specify custom config location
Current workaround for me is to specify config dir via env variable
lint:
  definitions:
    - name: tflint
      environment:
        - name: TFLINT_CONFIG_FILE
          value: ${workspace}/.tflint.hcl

or via --config argument
lint:
  definitions:
    - name: tflint
      commands:
        - name: lint
          run: tflint --format=sarif --chdir=${target} --force --config=${workspace}/.tflint.hcl

Info
paths:

${workspace}/.trunk/trunk.yaml
${workspace}/.tflint.hcl

versions

<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi @wzooff! Thanks for reporting this. This issue came to our attention recently from another user. Specifically the problem is that tflint uses --chdir differently than most of our other linters wrt subdirectories. The environment override you specified is the best workaround for now. Nevertheless, this is definitely something we're prioritizing to fix. I'll keep this thread updated as we make progress.

Upon a further audit, we intend to leave the current implementation as-is and provide additional documentation. To give a bit of an overview and explanation:

tflint only runs on the current directory, including loading configuration from the current directory. Even if --chdir is used, tflint loads config from the target directory, not the current directory. As such, when running on a sample repo with the following structure:

.tflint.hcl
a/
  a1.tf
  a2.tf
b/
  .tflint.hcl
  b1.tf
  b2.tf

...running tflint --recursive will load b/.tflint.hcl when scanning b/, but will not load .tflint.hcl when scanning a/ (it will use the tflint internal default config instead).

Accordingly, tflint is intended to be configured by the target directory it runs on, not where it runs from.
When trunk runs linters and copies in configuration files from .trunk/configs, they are symlinked into the sandbox workspace root. This feature is intended to reduce the clutter of ./. When tflint is running on a nested directory, it has no notion of the workspace root to begin with.
Thus, it seems inappropriate for Trunk to inject a config from .trunk/configs into each nested directory, when this is not the intended tflint functionality.
Rather, this will be available as an opt-in feature, using the overrides identified above, particularly:

lint:
  definitions:
    - name: tflint
      environment:
        - name: TFLINT_CONFIG_FILE
          value: ${workspace}/.tflint.hcl # or ${workspace}/.trunk/configs/.tflint.hcl

I will be adding repo documentation accordingly. If we receive additional feedback we may revisit this approach in the future.


the right timestamp formation is '00:00:06,930' not '00:00:06.930'

"," in srt timestamp format, not "."
_seconds_to_timestamp should return "{:02.0f}:{:02.0f}:{:02.0f},{:03d}".format(hours, mins, secs, ms)
thank you, man. you have done a great help for me,

Hi @lionderful, we currently only have a WebVTT formatter, for which this format is correct. But as I see you already contributed a SRT formatter 🥳


Update dependabot.yml

These directories don't exist, and thus it fails with an error similar to the following:

⚠ Dependabot couldn't find a .(cs|vb|fs)proj
Dependabot couldn't find a .(cs|vb|fs)proj.
Dependabot requires a .(cs|vb|fs)proj to evaluate your .NET dependencies. It had expected to find one at the path: /samples/snippets/csharp/pipelines/.(cs|vb|fs)proj.
If this isn't a .NET project, you may wish to disable updates for it in the .github/dependabot.yml config file in this repo.

This LGTM @IEvangelist
Did you make the edits by hand, or did you run this tool? https://github.com/dotnet/core/blob/main/samples/dependadotnet/README.md
It's probably reasonable for us to run this and make the automated updates.

https://github.com/dotnet/core/pull/7845 Will keep the Actions snippet at the top, but drop those ones in https://github.com/dotnet/docs/pull/31579 that don't seem to work anyway.
That tool seems like a good candidate to move to https://github.com/dotnet/docs-tools and have a common job to sync/regerate regularly

This LGTM @IEvangelist
Did you make the edits by hand, or did you run this tool? https://github.com/dotnet/core/blob/main/samples/dependadotnet/README.md
It's probably reasonable for us to run this and make the automated updates.

Oh, wow. I didn't realize that there was a tool to generate this. I'll merge this one, pull latest, and then run the tool. Thanks

Hey @BillWagner - just a heads up that I generated this config file here: https://github.com/dotnet/docs/pull/31622


Output logs to logcat on android

Is there a way to make the logs (verbose/errors) also be printed to android logcat using something like __android_log_vprint ?

the general approach you can take to integrate __android_log_vprint with mimalloc:

Modify the Logging Code in mimalloc: You'll need to adjust the logging functions within the mimalloc source code to use __android_log_vprint when running on an Android platform. This can be done by checking for the Android environment using preprocessor macros.

Include the Necessary Android Header: Ensure that the necessary Android headers are included for logging. Typically, this would mean including <android/log.h> in the relevant source files.

Use Conditional Compilation: Use #ifdef or #if defined to conditionally compile code that uses __android_log_vprint only when building for Android.

the general approach you can take to integrate __android_log_vprint with mimalloc:

Modify the Logging Code in mimalloc: You'll need to adjust the logging functions within the mimalloc source code to use __android_log_vprint when running on an Android platform. This can be done by checking for the Android environment using preprocessor macros.
Include the Necessary Android Header: Ensure that the necessary Android headers are included for logging. Typically, this would mean including <android/log.h> in the relevant source files.
Use Conditional Compilation: Use #ifdef or #if defined to conditionally compile code that uses __android_log_vprint only when building for Android.

I opened a PR a while ago that does this
https://github.com/microsoft/mimalloc/pull/928


Example Project not loading

When clicking on the pre-loaded example, my screen does not show anything new.

Hi @dclengacher!
We found out that there was some problems with one of the datasets origin URL and the examples weren't loading. We fixed it in
#415 and it should work now, let me know if it doesn't.


Erratum linear_algebra.ipynb Line 163

maatrix
changed to
matrix.
Contextually Hermitian matrices are equivalent to their conjugate pair.

@justcadams
It looks like that ch-prerequisites/linear_algebra.ipynb has a conflicting file change. Can you resolve the conflict? Alternatively, I can take if off your hands and submit a new PR with the fix you suggested here. Thanks.


Use new serve_static_files

one rails 4.2+ the option now is called serve_static_files , see https://github.com/rails/rails/pull/18100/files , cc @chancancode
r. @schneems @hone

Sorry, i forgot to push, master is now up to date

@schneems - It'd be nice to get git tags pushed for new releases to GitHub, makes it easier to reference where the release was cut when browsing for code changes.

Does rubygems have hooks? I would love to automatically make a git tag when I gem push.

Bundler does actually. You can add a line to a gem's Rakefile and it will add a few tasks, one of which is named release and will create a tag and then build and push the gem to Rubygems.  I believe you still have to run git push --tags to push the tag to GitHub, but it still makes life a lot easier!
Here's an example of the syntax on a Rakefile


Comment checklist on release PR

Closes #90

Evidently, the base_ref needs to be check as well, otherwise items will get marked such as this PR.


[Feature] scale

What problem does this feature solve?
When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18?

What does the proposed API look like?
When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18?

If the interval is 6, then it should be 6, 0, -6. How should it decide to be 4, -2?

If the interval is 6, then it should be 6, 0, -6. How should it decide to be 4, -2?

Then I want to know how to solve the bug?


Manage endpoints updated to support Tokens

Manage endpoints that will likely change:

request - https://developers.deepgram.com/reference/get-request
requests  - https://developers.deepgram.com/reference/get-all-requests
usage - https://developers.deepgram.com/reference/summarize-usage
fields - https://developers.deepgram.com/reference/get-fields

@CopperBeardy  I've confirmed there are no changes to these endpoints in terms of query parameters or fields the change is the response body.  You can actually see the new response by querying these endpoints now.


Custom page preview image is not retained on edit of the created page

When a custom preview image is set (e.g. using ) then that image is visible but after editing the page it's dropped

fixed


Add Semi Transparent Subtitles

Summary
Hello everyone,
first of all thanks for the amazing Work, i just wanted to share with you my experience, IT IS AMAZING so Far.
i Just i wanted to request a feature where you can change the opacity of the Subtitles Background, it would be amazing to remove that black background and replace it with Semi Transparent (50%) OR LESS
Thanks i Advance
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

black border to letters would be a better solution

Hey, No not really for me it's not. The Semi Transparet border is much much better when watching TV, it would be great if there was an option to activated for those who share my opinion.
Thanks in advance

Here a phot describing what i said
https://i.ibb.co/8KSfKHc/page.jpg
Thanks in advance

Hey @optzeci see this photo to understand what i'm referring to 👍 :
https://i.ibb.co/8KSfKHc/page.jpg
Thanks for your reply

Hey @optzeci see this photo to understand what i'm referring to 👍 :
https://i.ibb.co/8KSfKHc/page.jpg
Thanks for your reply

I already saw and already know that. That looks ugly, even if it's transparent.
Outlining the letters with black(for which you can choose opacity) it's better, because you can see the subtitles both on dark and light background in a movie. Probably you are not used to this, but believe it's the best thing, because it won't display that rectangle under the subtitles, so you will get to see more of the movie images.
This is what I am talking about

Exactly Man, that's what i was asking, if they can add this option to change the Opacity, so everyone can use the settings that they like
Thanks again

For now I added a semi-transparent subtitle, because I prefer that too.
But I plan to add settings to customize subtitles for each user!

Thanks a lot i'll be waiting for the update
Thanks again

Available on Release 1.3.2
PS: I decided to change the name of my application. When installing the new version, there will be two apps StreamFlix and SFlix, please uninstall the previous app SFlix.

i installed the new release, and it's working great, and the subtitles are exactly as i imagined them
Thanks a lot

You can now customize video's subtitles
Available on Release 1.3.4
screenshot.webm


Universal Action: Start a New Chat

Feature details
Request: I'd love a second universal action that allows me to send in text and start straight from a new, clean chat with GPT. Right now the universal action appends to the prior.
I tried to do this myself, but I'm getting a behavior I can't sort out. It works, but the text area doesn't pop up until the full answer has been streamed. So unlike for the existing universal action, and unlike for when you do it "in workflow", it sits "silently" (appearing if nothing is going on) and then the text area pops open with the question and answer fully populated.
My attempt was to add a universal action node (New Question for GPT) that connected to a variable set to put the query into the same variable as the normal flow (init_question), and then connected into the chat.json node where the contents are reset.
Love this workflow. Thanks so much for making it.

There’s no need for a second Universal Action, only adding a second connection to the one already there. Will be in the next version.

Thanks so much for getting this in! I see it in 2024.6


Could not install (null) screen saver

Howdy,
Attempting install "Aerial.saver" (v1.7.1) and preference pane is opened and I am met with "Could not install (null) screen saver" OK.
MacBook Pro (Retina, 13-inch, Late 2013)
10.15.2

Hi @purplespud
Did you have a previous version installed before ? You must close System Preferences and not keep it open before double clicking the .saver file.

I read that somewhere and System Preferences was indeed closed. On double clicking the install it opens the preferences pane and a slide down sheet arrives with that message "Could not install (null) screen saver" OK.

Is this the first time you tried to install Aerial ?
I'm wondering if you file might be corrupted. Can you please try redownloading from this link and try again : https://github.com/JohnCoates/Aerial/releases/download/v1.7.1/Aerial.saver.zip
?

Thanks for help. Just tried that for you but same issue.  Yes, I did have previous version installed.
Q: do you get a prompt that asks to install for your user or all users before that error or not ?  NO
Q: if you option click the Aerial.saver before and ask for info...
YES file size is 16,457,217
Restarted computer and also have deleted previous version and restarted to no avail. Same issue

Ok, sorry about that. I just tried installing 1.7.1 here on my main machine to double check, and in a VM and it works correctly just in case something with notarization was amiss.
So, here's my suggestion, please launch Console.app, this is Apple's logging thing. Top right, there's a filter field, type screensaver and validate.
Now, try to install, it will probably fail, but you'll see a bunch of stuff being added in the console window. Can you copy paste this info ? This might tell me more about your issue.
Thanks !

is this it?
Feb 17 13:56:36 Jamess-MacBook-Pro AccountProfileRemoteViewService[1929]: objc[1929]: Class AOSUISpyglassAccountChangeHelper is implemented in both /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/AOSUI and /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/XPCServices/AccountProfileRemoteViewService.xpc/Contents/MacOS/AccountProfileRemoteViewService. One of the two will be used. Which one is undefined.
Feb 17 13:57:01 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.AccountProfileRemoteViewService[1929]): Service exited due to SIGKILL | sent by AccountProfileRemoteViewService[1929]

@purplespud thanks for doing this !
So, this line may be it " __dirhelper_create_relative_with_error: error Operation not permitted"
I have to ask, are you running some company management tool (MDM) on your mac ? Here's a suggestion, can you select a Finder window, then pick "Go to folder". Looks like that here in french, the one in blue:

Then paste ~/Library/Screen Savers in the finder window.
This should show you your user's screensaver folder. Now, take the Aerial.saver file and copy it there. Then launch System Preferences, Aerial should be there. If you see an error when copying the file, there might be something denying you access to the folder or something, if you do let me know.
Sorry about all that in any case !

No, company management or mdm.
That got it to show up in preferences but my new friend I am afraid the preview is just a black screen and screen saver options is greyed out.

That's wild.
Sorry to ask a few more questions/suggest more things, as I'm trying to think this through.

First, can you close system preferences (leave the file where it is). The open Console.app again, do the filter thing with screensaver, it should be blank now (and you can clear previous messages if it's not). Then launch System Preferences and select Aerial in the control panel. Now paste all that has appeared in Console.app

Second, how did you download Aerial, did you use Safari or another browser ? If so which. And after download, did you have a zip file that you had to unzip, or did you have a .saver file directly ?

Third, you may want to give another build of Aerial a shot, although I'm doubtful this is the issue. Here's the latest build I made earlier today : https://github.com/glouel/Aerial/releases/download/v1.7.2beta4/Aerial.saver.zip

Catalina sandboxing is weird, but I haven't had many install issues of the sort you are having right now...

Was Safari and it was a zip on arrival.
Did try other build before posting original issue.
Console output in a second

Feb 17 14:26:33 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ScreenSaver.Engine.legacyScreenSaver[2537]): Service exited due to SIGKILL | sent by legacyScreenSaver[2537]
Feb 17 14:26:36 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ScreenSaver.iLife-Slideshow-Extension[2527]): Service exited due to SIGKILL | sent by iLifeSlideshows[2527]
Feb 17 14:26:36 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ScreenSaver.Computer-Name[2525]): Service exited due to SIGKILL | sent by Computer Name[2525]
Feb 17 14:26:36 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ScreenSaver.Engine.legacyScreenSaver[2526]): Service exited due to SIGKILL | sent by legacyScreenSaver[2526]

your beta link same problem.  tried another browser to download, same issue.
Can I shout "tabarnouche" without offending!

Console output in a second

Ok, that's not as helpful as I would have hoped.
Feb 17 14:26:36 Jamess-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ScreenSaver.iLife-Slideshow-Extension[2527]): Service exited due to SIGKILL | sent by iLifeSlideshows[2527]this is one of Apple's screensavers misbehaving but I've seen that elsewhere and shouldn't be linked to your issue.

Did try other build before posting original issue.

Ok :(

Was Safari and it was a zip on arrival.

Ok, this might sound weird, but it might be your issue depending on what tool you used to unzip. With gatekeeper and sandboxing, some metadata may not get preserved. May I suggest you try this, go to Safari's menu, Preferences, then enable that setting I circled in red. Safari will unzip for you (you can revert afterwards, but this may be it).

Now download again (delete whaterver .saver/zip file is remaining from your previous tries first), make sure you get a .saver file, then double click that.

Can I shout "tabarnouche" without offending!

Yes you can !
If you still have an issue, the last thing I'd recommend is doing the Console.app thing, but without filtering with screensaver. Instead, on the left, you'll see something like "All messages" and "Errors and failures" (or something roughly like that). Click the errors and failures thing.
Your list should now only show stuff with yellow/red dots. Clear again the output, then launch again System Preferences and click Aerial in the screensaver panel. The error might show up here.
Again sorry to ask so many various things !

!vous êtes un héros!
The safari trick worked!
Thanks you so much for your time and effort.
No idea what is going on with the unzipping.  mind blown.

Yes !! Thanks for sticking with me through it !
I'm pretty sure it's an issue with whatever tool you are using to unzip. It's probably older than Catalina and probably wipes some extended attributes or puts the unzipped files in a weird state.
With gatekeeper, when you download a program from the internet, the file normally gets quarantined. Gatekeeper will check if the file is notarized (I have to register every build of Aerial with Apple so they sign it) before allowing it to be launched.
So my suggestion, keep the safari thing, and update your unzip thing ! Take care !


Credits on original ideas

Credits
I'd like to clarify some things and give credits to Yehuda Katz (https://github.com/wycats) somewhere maybe in the readme. Yeoman wasn't at first a generator only thing, and was inspired by Thor.
Related:

https://yehudakatz.com/2008/05/12/by-thors-hammer/
http://whatisthor.com/
https://github.com/erikhuda/thor

Everything comes from ideas, and the original one come from the Rails ecosystem. Languages are quite different and if you follow through, you'll see some similarities.
So thank you @rails, we learnt a lot from you. And thank you for maintaining @yeoman I know it is a huge work. I unfortunately don't have the time and energy to rework on yeoman right now, but maybe, just maybe a v3 with a more functional, focused and minimalist approach could be good.
It makes me remind also about grunt-usemin where the original idea was from @necolas
Note: Sorry if it's not the good place to open up this issue, I feel like yeoman/generators is more appropriate. A tweet about webpacker made me open this issue.

Hej Mickael,
I found 2 places which are mentioning Rails:
1. http://yeoman.io/learning/faq.html

2. https://github.com/yeoman/generator

Do you feel, that this should be mentioned more prominently?

Thanks @mischah probably not, it was just an open letter I wrote before getting some sleep. I'm thinking about yeoman a lot recently.

Some ideas:

http://yeoman.io/humans.txt
https://github.com/h5bp/html5-boilerplate/blob/master/src/humans.txt

@mischah Let's close this