Failing test for Miss passing unexpected location

Not sure if anyone has though of that yet, but here's another issue related to the technical intricacies of <Miss>: When the router transitions to a URL that causes the content of <Miss> to unmount, the content will be updated once with the new location object, even though there is an active <Match>.
The same could happen when the change of the match state is initiated by the user, e.g.:
{ state.loaded && <Match pattern="/" /> } {/* matches once state.loaded turns true */}
<Miss />

Like with the initial mounting (#4104), it seems there's no way for <Miss> to know of the current match state before everything has updated, so the only workaround I can think of would be to delay the update until everything has re-rendered by exploiting shouldComponentUpdate and componentDidUpdate, which doesn't feel right..

alright, i'm going to go back to my original implementation before we were
clued into fibers. and if with fibers we can't figure something out then
we've got MatchGroup as a plan B
On Sat, Nov 5, 2016 at 9:05 AM Alexander Gundermann <
<EMAIL_ADDRESS>wrote:

Not sure if anyone has though of that yet, but here's another issue
related to the technical intricacies of : When the router
transitions to a URL that causes the content of  to unmount, the
content will be updated once with the new location object, even though
there is an active .
The same could happen when the change of the match state is initiated by
the user, e.g.:
{ state.loaded &&  } {/* matches once state.loaded turns true */}
Like with the initial mounting (#4104
https://github.com/ReactTraining/react-router/issues/4104), it seems
there's no way for  to know of the current match state before
everything has updated, so the only workaround I can think of would be to
delay the update until everything has re-rendered by exploiting
shouldComponentUpdate and componentDidUpdate, which doesn't feel right..
You can view, comment on, or merge this pull request online at:
https://github.com/ReactTraining/react-router/pull/4146
Commit Summary

add failing test for Miss passing unexpected location

File Changes

M modules/tests/Miss-test.js
https://github.com/ReactTraining/react-router/pull/4146/files#diff-0
(38)

Patch Links:

https://github.com/ReactTraining/react-router/pull/4146.patch
https://github.com/ReactTraining/react-router/pull/4146.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ReactTraining/react-router/pull/4146, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAGHaHG5EVP_Fds7U3l83JZNjPKuvZwsks5q7Kk6gaJpZM4KqTan
.

You mean relying on componentWillMount/componentWillReceiveProps? I think that won't solve the problem if you switch the order of Miss and Match. By the time Match.componentWillReceiveProps is called, Miss will already have rendered.

render is called last, and that's where misses used to decode to render or
not, so all cWRP will have been called.
On Sat, Nov 5, 2016 at 3:21 PM Alexander Gundermann <
<EMAIL_ADDRESS>wrote:

You mean relying on componentWillMount/componentWillReceiveProps? I think
that won't solve the problem if you switch the order of Miss and Match.
By the time Match.componentWillReceiveProps is called, Miss will already
have rendered.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ReactTraining/react-router/pull/4146#issuecomment-258646274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGHaDh2v4q9EYOjR7wbjvJW0inbV3o_ks5q7QFogaJpZM4KqTan
.

But render of a component is called before cWRP of succeeding sibling. With these components:
<Miss />
<Match />

Miss cWM/cWRP
Miss render
Match cWM/cWRP <-- only now the match state is updated, but Miss has already rendered
Match render
Miss cDM/cDU
Match cDM/cDU

@taurose Can you rebase this against the latest v4. There was a major refactor and I think this is addressed.

<Miss> is gone in v4, hurrah! Thanks for keeping an eye on this, @taurose. Your contributions are invaluable, as always :)


Look into change to GitHub releases page and the work involved with migrating away from version server.

Initial review of this done and feature outlined in #1269. With the release of 2019.1.1 hopefully we can get this done for 2019.2.

Code build is still in progress.

Closing, as released in 2019.1.2.


Add ability to not throw RuntimeException just return 'false' on decipherer failure

First of all, nice job with Branca-php lib, now the "issue".

Branca-php uses error messages which cannot be translated. I cannot wrap them to translation function because they are hardcoded.
In my CMS, I set custom exception_handler [When exception is thrown, user only see message "Please report error with IDxxxxx" and the error is saved to DB]. In case of Branca's decipherer failure I want to display some better message to user, which I cannot thanks to my custom exception_handler.

This is the question:
Can you add config which disables RuntimeExceptions and just returns 'false' when decipherer operation fails? Something like:
$branca = new Branca( "supersecretkeyyoushouldnotcommit", false );
This solves both points.

For first point usual way would be to throw specialised exceptions. This way the user can catch named exceptions to figure out which translation to use. This is a good idea and I probably should add them.
class InvalidTokenVersionException extends RunTimeException {};
class ExpiredTokenException extends RunTimeException {};
class InvalidTokenException extends RunTimeException {};

For second point exceptions are quite normal way of handling errors. If your CMS especially requires methods to return false on failure, you could create a wrapper class which catches the exceptions and returns false instead.

To point 1: Ideally allow to set programmer own error messages

For second point exceptions are quite normal way of handling errors. If your CMS especially requires methods to return false on failure, you could create a wrapper class which catches the exceptions and returns false instead.

I did not know this, thank you.


md-input-container has an extra line below for the input tag.

Bug, feature request, or proposal:
The md-input-container has an extra line for the input tag.
What is the expected behavior?
The extra line below the actual text field should not be there.
What is the current behavior?

What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
Probably the plunker versions have not been updated to the latest 2.0.0-beta.3. I was not having this issue in the earlier versions.
Sample code.

              <md-input-container>
                <input mdInput type="text" id="channel_address" name="channel_address"
                       [(ngModel)]="newChannel.channel_address" placeholder="Channel Address">
              </md-input-container>

              <md-input-container>
                <input mdInput type="text" id="token_address" name="token_address"
                       [(ngModel)]="newChannel.token_address" placeholder="Token Address">
              </md-input-container>

              <md-input-container>
                <input mdInput type="number" id="balance" name="balance"
                       [(ngModel)]="newChannel.balance" placeholder="Balance">
              </md-input-container>

              <md-input-container>
                <input mdInput type="number" id="settle_timeout" name="settle_timeout"
                       [(ngModel)]="newChannel.settle_timeout" placeholder="Settle Timeout">
              </md-input-container>

What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
I am using Chrome
Is there anything else we should know?
material version is 2.0.0-beta 3

The plunker template here https://goo.gl/DlHd6U is always using the latest master build of material. Can you replicate it there?

@willshowell Yeah I just tried. I cannot replicate it. May be some problem with my config. You could close this. I have to dig deeper.

Hi,
Even i'm facing this issue. If i comment line
'require('!style-loader!css-loader!../node_modules/materialize-css/dist/css/materialize.css'); ' in my main.ts file everything seems to work fine.


Add npm-ipfsify tool

npm-ipfsify converts NPM packages so they can be loaded directly out of IPFS (no node_modules folder).

Can anybody test and validate this? The project has 0 stars 🤔

This sounds like a really cool project, but at 4 years old, with 0 stars, I'm closing this.


How go get class info of NEW?

When there is a class, we use vld to dump the instruction, we found that the dump result:
20     0*       NEW                                              $2      :17
The operand is only :17 ? How to get the class name by ":17" ?

Nobody answer ??

Thanks a lot. The issue has been resolved.

The issue of  NEW instruction has been resolved. But , today, I met another issue.   The php code is
class CConst{
const MIN_VALUE=1;
public static function getMinValue()
{
return self::MIN_VALUE;
}
}
$const_var=new CConst();
$c=$const_var::MIN_VALUE;
The dumped code is :
10     0*       NEW                                              $5      'CConst'
1*       DO_FCALL                                      0
2*       ASSIGN                                                   !0, $5
11     3*       FETCH_CLASS                                   0   !0
4*       FETCH_CLASS_CONSTANT                             ~9      $8, 'MIN_VALUE'
5*       ASSIGN                                                   !1, ~9
The return of FETCH_CLASS is .

Please open a new issue for that. This one is closed, an they are unrelated cases.


Update Pages “about”

Automatically generated by Netlify CMS

👷 Deploy Preview for jaimegg64 processing.

Name
Link

🔨 Latest commit
0ad6fea0a7c50bf6531d27d2622c2fc8eb2714b9

🔍 Latest deploy log
https://app.netlify.com/sites/jaimegg64/deploys/64214e4b6504a5000722819e


r/adbcdrivermanager: Expose SQL type mapping

For the DBI integration of ADBC via adbcdrivermanager (adbi), I need a way to determine the SQL type that corresponds to a given R type. Something like
DBI::dbDataType(DBI::ANSI(), integer())
#> [1] "INT"
DBI::dbDataType(DBI::ANSI(), character())
#> [1] "TEXT"

As adbi is backend-agnostic, I cannot solve this issue as part of adbi, but need infrastructure to delegate such requests to. A first iteration (as discussed) could be a (doubly dispatched) generic in adbcdrivermanager that for a given combination of backend and R type returns the corresponding SQL type.

I filed #1398 to track what we could do from the underlying driver side


View schedule according to rooms

@championswimmer  @mariobehling This is a list of tasks.

[x] Prepare Mockup for this.
[x] Make a file rooms.tpl and make it compile and available in Zip.
[x]  Make Microlocations.json available in generator.js
[x]  Make Markup
[x] Write SASS in application.scss

Its Done for now, Closing this :)


[tools] simple instructions for interactive synth

The steps are still pretty manual and not ideal, but at least we can do it for now.
Long term it may be good to have this built directly into dvsim with some kind of -interactive command.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@msfschaffner can you add your instructions also using a separate log file? I never got it to work in my environment, but i'm sure it would still be useful.


Debug Logging with GT EU Compat

NuclearCraft-1.20.1-1.1.2
Attaching a NC machine (such as an Alloy Smelter or Chemical Reactor) to a GTCEu Modern energy network (such as a cable) produces a ton of server spam.  Looks like debug logging.  Not clear if there's a workaround to disable it.
In this case, the cable is MV (capable of around 128 eu/t or 512 FE/t when converted at standard 4:1 ratio)
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input accept: 2
[17:16:14] [Server thread/INFO] [ig.nc.NuclearCraft/]: GT EU input: 126 - 4

GT EU not implemented in general. I still don't know how it should work


frp: 0.52.0 -> 0.53.0

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/fatedier/frp/compare/v0.52.0...v0.53.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This PR can be closed as frp has be bumped to 0.53.2 by #276847


Environment variables not cleared after execute method

According to the documentation:

It should not be necessary to use setup and teardown as the execute method handles this more cleanly, avoiding accidentally leaving the stubbing active
However, this is not what I observe given the following example:

void test() {
    environmentVariables.execute(() -> {
        softly.assertThat(System.getenv().containsKey(KEY)).withFailMessage("Environment variable should be set inside execute method").isTrue();
        softly.assertThat(classUnderTest.getEnvironmentProperties().containsKey(KEY)).withFailMessage("Environment variable should be retrieved from spring").isTrue();
    });
    softly.assertThat(System.getenv().containsKey(KEY)).withFailMessage("Environment variable should be cleared after execute method").isFalse();
    environmentVariables.teardown();
    softly.assertThat(System.getenv().containsKey(KEY)).withFailMessage("Environment variable should definitely be cleared after teardown").isFalse();
}

Expected behaviour
This test should succeed and the teardown should not be required
Observed behaviour
The test fails on the assertion before the teardown
Resources
Working example can be found here

Thanks for this very thorough bug report @peter-janssen
You're attempting to use two techniques simultaneously here. SystemStubs was a rewrite of https://github.com/stefanbirkner/system-lambda - it inherits the techniques from that library, which ONLY provided the wrapper pattern:
someWrapper.execute(() => {
   // the stub is active here
});
// and not here

What SystemStubs adds is the ability for these wrapper objects to be used without the wrapper pattern, even though the wrapper pattern is still available.
So, if you're using them independently of the wrapper pattern, what happens when you ALSO use the wrapper?
In that instance, the stub is activated and deactivated a second time within the lifecycle... Internally, it uses reference counting to avoid some surprises...
So when you declare @SystemStub on the property of the test fixture and the SystemStubs extension, you're asking SystemStubs to do the setup/teardown of the EnvironmentVariables object. As such, it's active for the entire duration of the test class this case (you made it static, so it lasts the whole test fixture's lifetime). So, any execute you also call on that stub takes from active to active + 1 and then back to active again.
I'm afraid this is a mismatch of your assumptions.
However, if you'd like to suggest document changes to help avoid future misunderstanding, please do.

Thanks for the rapid response, you are correct that I misunderstood the documentation. Although I could have known because of this remark from the bealdung article:

When the only available tool is the execute-around pattern, it's impossible to hook in the stubbing behavior to all parts of the test lifecycle. This is particularly challenging when trying to combine it with other JUnit extensions, like @SpringBootTest.

And even the static lifecycle was mentioned:

We can also make our fields static for them to be managed as part of the @BeforeAll/@AfterAll lifecycle.

There is one thing I did have to figure out myself. When dealing with environment variables in the spring context they need to be set in the @BeforeAll method. @BeforeEach or in the test method will not suffice as the context has already been loaded, hence the static stub.
Writing good documentation is hard especially if it is read quickly, sorry for that ;-). What tripped me up, I think, is the single page layout. This is true for the README.md and the bealdung article. It switches back and forth between the execute around pattern and the stubs. So an improvement could be breaking it up in several pages splitting between junit version and the pattern. But I don't want to impose this kind of effort to anyone (dealing with it myself on other projects). Personally I would have benefitted from a tailored spring(-boot) example.
That being said the documentation is better than most. Combined with the quick response on the issue. All-in-all a great experience using the library. Would recommend it to anyone!


RuntimeError: quantile() input tensor is too large

Hello, I am trying to index some documents using the ColBERT model finetuned by myself. For some reason, I set the output dim of embeddings to 768 instead of the original 128, but I got this error when I ran the indexing code:
Traceback (most recent call last):
  File "/home/qiliu/miniconda3/envs/colbert/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/qiliu/miniconda3/envs/colbert/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/qiliu/workspace/ColBERT/colbert/infra/launcher.py", line 134, in setup_new_process
    return_val = callee(config, *args)
  File "/home/qiliu/workspace/ColBERT/colbert/indexing/collection_indexer.py", line 33, in encode
    encoder.run(shared_lists)
  File "/home/qiliu/workspace/ColBERT/colbert/indexing/collection_indexer.py", line 68, in run
    self.train(shared_lists) # Trains centroids from selected passages
  File "/home/qiliu/workspace/ColBERT/colbert/indexing/collection_indexer.py", line 237, in train
    bucket_cutoffs, bucket_weights, avg_residual = self._compute_avg_residual(centroids, heldout)
  File "/home/qiliu/workspace/ColBERT/colbert/indexing/collection_indexer.py", line 331, in _compute_avg_residual
    bucket_cutoffs = heldout_avg_residual.float().quantile(bucket_cutoffs_quantiles)
RuntimeError: quantile() input tensor is too large

Here is my indexing code:
import argparse
from colbert.infra import Run, RunConfig, ColBERTConfig
from colbert import Indexer

if __name__=='__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('--checkpoint', type=str, required=True)
    parser.add_argument('--experiment', type=str, required=True)
    parser.add_argument('--index_name', type=str, required=True)
    parser.add_argument('--collection', type=str, required=True)
    args = parser.parse_args()

    with Run().context(RunConfig(nranks=1, experiment=args.experiment)):
        config = ColBERTConfig(nbits=2, root="experiments")
        indexer = Indexer(checkpoint=args.checkpoint, config=config)
        indexer.index(name=args.index_name, collection=args.collection)

I can correctly index the documents when using the colbertv2.0 checkpoint, so I guess the output dim of embeddings is the reason I got this error. I have tried to set nbits to larger numbers like 4 or 8, but it didn't work. So how can I solve this problem?
Thanks in advance!

This error comes from pytorch, input tensor too large. A bit strange. Is your dataset extremely large, like over 100M docs?

This error comes from pytorch, input tensor too large. A bit strange. Is your dataset extremely large, like over 100M docs?

It has 170k documents and doesn't seem very large.

Okay I suggest googling that error to understand why pytorch doesn’t like this.
alternatively, try indexing with the official checkpoint — in general 768 is way too large for these vectors, you should is 64, 128, 256 (power of two in this range)

Thanks for your reply! I will try to fix it based on your suggestion, and if there are any new situations, I will update this issue :)


BUG REPORT

Description
The colour combination of the HTML box is different than the other two boxes: which are black.I want to set the colour combination same for all.
Screenshots

Additional information
Kindly assign me this issue under GSSOC'24.
What browser are you seeing this bug on?
Firefox, Chrome, Microsoft Edge
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I have read the Code Of Conduct
[X] The changes don't break the code

Go ahead @Vedanshimishra !

hey @Agarwalvidu , I am a GSSOC contibutor, please assign this issue to me.
I know what are the changes need to be made.


Copyedit redpanda provider doc

Copyedits on the Redpanda Provider doc.

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


Add capability for full-text search

Web will have a UI for en- or disabling full-text search on the search result page in the future. We need a capability for this so the filter is not showing if the server does not support full-text search.
Maybe it makes sense to couple this with the SEARCH_EXTRACTOR_TYPE setting? Meaning if the value of this setting is set to tika, the capability will return true. Just an idea though.

I'd suggest to put the capability in "files.fullTextSearch". Please let me know if you have a better idea...

Fine for me, although the capabilities in files seem to use snake_case. So "files.full_text_search" would be nice.

files capabilities also use camelCase for example: privateLinks and it uses all lower, for example: bigfilechunking
I'll stick to snake_case anyways. Just wanted to let you know how great our capabilities are...

files capabilities also use camelCase for example: privateLinks and it uses all lower, for example: bigfilechunking
I'll stick to snake_case anyways. Just wanted to let you know how great our capabilities are...

yep, it's complicated. 😆 the majority of capabilities seem to be snake_case though 😁


Format dateaccording to lang

Would it be possible to have the date, which by default is used on the title page and in the header-right, formatted according to the lang code specified? E.g. if I set lang: de-DE and date: 2019-07-22 in the YAML block, the correctly formatted date in the PDF should read 22.07.2019.
Besides another option like long-date: true/false would be nice. If true, the above example should result in 22. Juli 2019 in case of lang: de-DE and July 22, 2019 (or 22 July 2019) in case of lang: en-US for example.

This specific behaviour is not possible because I just pass the pandoc variable $date$ to the LaTeX file (no parsing or manipulation can be done with the pandoc templating language). However you can always specify another date format that gets passed to the template:
---
title: "Example for a Formatted Date on the Titlepage"
author: [Author]
date: "22. Juli 2019"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "de"
...

# Vinaque sanguine metuenti cuiquam Alcyone fixus

## Aesculeae domus vincemur et Veneris adsuetus lapsum

Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

Ok, I see. Thanks for the explanation!


asio: 1.10.8 -> 1.12.0

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 1.12.0 with grep in /nix/store/1js10q8jgqmpk6ashz63am7f9xl37kvs-asio-1.12.0
directory tree listing: https://gist.github.com/834ad2743ce2f56612f8ba9ff9a4e5b5

Success on x86_64-darwin (full log)
Attempted: asio
Partial log (click to expand)
make[1]: Entering directory '/private/tmp/nix-build-asio-1.12.0.drv-0/asio-1.12.0'
make[2]: Entering directory '/private/tmp/nix-build-asio-1.12.0.drv-0/asio-1.12.0'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-asio-1.12.0.drv-0/asio-1.12.0'
make[1]: Leaving directory '/private/tmp/nix-build-asio-1.12.0.drv-0/asio-1.12.0'
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/bgzqg0h4fdg8znjv6022ysihg3qsxnf2-asio-1.12.0
/nix/store/bgzqg0h4fdg8znjv6022ysihg3qsxnf2-asio-1.12.0

Success on aarch64-linux (full log)
Attempted: asio
Partial log (click to expand)
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/asio-1.12.0'
make[1]: Leaving directory '/build/asio-1.12.0'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nr8f1s3xz0a8y8igkwi2r583ll6dhq87-asio-1.12.0
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/nr8f1s3xz0a8y8igkwi2r583ll6dhq87-asio-1.12.0
checking for references to /build in /nix/store/nr8f1s3xz0a8y8igkwi2r583ll6dhq87-asio-1.12.0...
/nix/store/nr8f1s3xz0a8y8igkwi2r583ll6dhq87-asio-1.12.0

Success on x86_64-linux (full log)
Attempted: asio
Partial log (click to expand)
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/asio-1.12.0'
make[1]: Leaving directory '/build/asio-1.12.0'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1js10q8jgqmpk6ashz63am7f9xl37kvs-asio-1.12.0
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/1js10q8jgqmpk6ashz63am7f9xl37kvs-asio-1.12.0
checking for references to /build in /nix/store/1js10q8jgqmpk6ashz63am7f9xl37kvs-asio-1.12.0...
/nix/store/1js10q8jgqmpk6ashz63am7f9xl37kvs-asio-1.12.0


[PDI-17948] Missing images in Carte CE distribution

These files came from the "\assemblies\static\src\main\resources\static" folder in pdi-assemblies-ee repository (previously pentaho-ee).
To be merged along with pdi-assemblies-ee#2
@pentaho-lmartins @pentaho/tatooine @ssamora

Build Skipped
:white_check_mark: There was nothing to build. The changes are probably excluded by the build rules. If this is an error, please contact your system administrator.

can not show svg in pdi 8.2 and 8.3


[Feature Request] log tab

Can it be possible to add logs tab? Within that logs tab, one separate for each container? This would make easier to trouble shoot why when adding cameras (especially when using a gpu) wont stream.

That's a great feature request. I've also found a way to accomplish this using the Python Docker Client. I've added it to my to-do list. Thank you for suggesting it


wasm32 support

File loading does not work and is kind of out of the scope for now I think, audio data should be loaded as frames (the best way to do this is download the audio data using fetch, decode it using WebAudio and play).
This is blocked by aspenluxxxy/nanorand-rs#19.
Demo: https://first-kira-web-demo.surge.sh/
(wasm file and audio data loading start when clicking on play)

In wasm, nanorand uses the default time-based random generator. However, it provides the ability to use the getrandom dependency to obtain higher quality entropy from the browser. While it is not absolutely needed in our context, it is better practice to have good entropy and using getrandom allows us to not have to wait for a new nanorand release with the fix in the PR mentioned above, hence why I added it.

Honestly, it's usually recommended to use getrandom anyways. It's just not default because it's not a required dependency.


Will there be support for deno deploy

I tried to load the npm package with esm.sh but it gives an error:
 Import 'https://esm.sh/v111/<EMAIL_ADDRESS>failed: 522 <unknown status code>
    at https://esm.sh/v111/@dqbd/tiktoken@1.0.2/deno/tiktoken.js:2:419

here is the import statement
import {
  encoding_for_model,
  get_encoding,
} from "https://esm.sh/<EMAIL_ADDRESS>
I want to use it in supabase edge functions they use deno deploy and it does not support npm packages
Another error:
error: invalid utf-8 sequence of 1 bytes from index 9
    at https://esm.sh/v111/@dqbd/tiktoken@1.0.2/deno/tiktoken.js:2:419

Hello, currently Deno / Supabase workers are not supported, but you might get far enough with NPM compat layer.
import tiktoken from "npm:@dqbd/tiktoken";

console.log(tiktoken.get_encoding("gpt2").encode("Hello World!"));

However, Deno Deploy will most likely not work yet, as NPM specifiers are not supported yet.

Yes, Deno Deploy is an excellent choice to host your Deno code, especially if you want it to be executed close to your users on the edge. Deploying to our V8 isolate cloud takes seconds and can be accessed around the world within seconds. Also, npm specifiers aren't currently supported in Deploy, but will be soon.

https://deno.com/blog/npm-and-deno-anywhere

Digging a little bit deeper, you can use @dqbd/tiktoken/lite via esm.sh with the following code:
import { init, Tiktoken } from "https://esm.sh/@dqbd/tiktoken/lite/init";
import cl100k_base from<EMAIL_ADDRESS>assert { type: "json" };

await init(async (imports) => {
  const req = await fetch(
<EMAIL_ADDRESS>  );
  return WebAssembly.instantiate(await req.arrayBuffer(), imports);
});

const enc = new Tiktoken(
  cl100k_base.bpe_ranks,
  cl100k_base.special_tokens,
  cl100k_base.pat_str
);
const tokens = enc.encode("Hello world");
enc.free();

It seems like there is a caching bug in esm.sh, which serves the lite WASM file even if full version is requested, see https://github.com/esm-dev/esm.sh/issues/552

Digging a little bit deeper, you can use @dqbd/tiktoken/lite via esm.sh with the following code:
import { init, Tiktoken } from "https://esm.sh/@dqbd/tiktoken/lite/init";
import cl100k_base from<EMAIL_ADDRESS>assert { type: "json" };

await init(async (imports) => {
  const req = await fetch(
<EMAIL_ADDRESS>  );
  return WebAssembly.instantiate(await req.arrayBuffer(), imports);
});

const enc = new Tiktoken(
  cl100k_base.bpe_ranks,
  cl100k_base.special_tokens,
  cl100k_base.pat_str
);
const tokens = enc.encode("Hello world");
enc.free();

It seems like there is a caching bug in esm.sh, which serves the lite WASM file even if full version is requested, see esm-dev/esm.sh#552

I gave this a go David @dqbd, this is failing for me randomly.
About 50% it initializes with success, and the other 50% it fails. My uneducated guess is that this is because they are running in limited resource serverless functions on Supabase, but I have no idea really.
Error: `unwrap_throw` failed
    at Y (https://esm.sh/v119/@dqbd/tiktoken@1.0.7/deno/lite/init.js:2:5691)
    at <anonymous> (wasm://wasm/00307922:1:458526)
    at <anonymous> (wasm://wasm/00307922:1:427757)
    at <anonymous> (wasm://wasm/00307922:1:14850)
    at new y (https://esm.sh/v119/@dqbd/tiktoken@1.0.7/deno/lite/init.js:2:2567)
    at getEncoder (file:///src/index.ts:16:15)
    at async file:///src/index.ts:48:21
    at async Server.<anonymous> (file:///_shared/serveClient.ts:40:20)
    at async Server.#respond (https://deno.land/std@0.168.0/http/server.ts:301:18)
    ```

@dqbd ... actually having specified a version in this fetch url, seems to have stabilized it...
export async function getEncoder() {
  await init(async (imports) => {
    const req = await fetch(
      "https://esm.sh/<EMAIL_ADDRESS>

@arthur5005 sounds like you've solved this. FWIW, we also use the fetch() approach at Supabase to load WASM within edge functions (Deno):
https://github.com/supabase/supabase/blob/d730ea9ca066b3a2ebe232195149725257c3eb25/supabase/functions/common/tokenizer.ts#L8
Worth noting JSON imports should be fixed now as of last week, so fetch() may no longer be required if you're on the latest edge-runtime:
https://github.com/supabase/edge-runtime/pull/74

hey folks, if you're still waiting on a tokenizer that works in deno/esm.sh, one that works is gpt-tokenizer:
import tokenizer from<EMAIL_ADDRESS>
tokenizer.encode('hello, this is a test') // returns `[24912, 11, 495, 382, 261, 1746]`


Tedge ops plugins init use async move_file

Proposed changes
Follow-up of #2399 to use async tedge_utils::file::move_file API instead if std::fs::rename to move config files.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

The systems tests have been merged in https://github.com/thin-edge/thin-edge.io/pull/2406. Please rebase and that should fix the checks


Automate test case to Enable and Delete a Kafka Stream (ods 242)

The following PR wants to cover ODS-242 for testing the creation of a Kafka Stream starting from the Dashboard. It extends ODS-242 to include the deletion of the stream

Tested using Jenkins PR test job #232
This TC has been successfully executed


Fix issue of 'too many handles' error when downloading a large file [no test, do not merge]

Thanks for contribution! Please go through following checklist before sending PR.
PR Branch Destination

For Azurite V3, please send PR to main branch.
For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases
Make sure test cases are added to cover the code change.
Add Change Log
Add change log for the code change in Upcoming Release section in ChangeLog.md.
Development Guideline
Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

/azp run

/azp run

/azp run


how to train with more than 3 channels

❓ Questions and Help
Does anyone know how to change the input shape of the network? I'd like to use 4 or 5 channels images.
Thanks.

Simply add more channels when building up the backbone

thanks

@magistri I have the same question, have you solved it?

yes! I have added a parameters in config/defaults.py to specify the input channels which is then read while building the backbone. For example in resnet.py you can change  conv1 in the BaseStem class.

@magistri COOL! Thanks. By the way, have you changed the dataloader to load multi-channel images?

I haven't cause I combined multiple images in the dataset file.

@magistri  So you write your own dataset file instead of coco format or PASCAL format? Can you please tell what files to change cause I have problems creating my own dataset with multi-channels. Thanks!

Instead of using img, anno = super(COCODataset, self).__getitem__(idx) in the __getitem__ function I load the image according to my own problem structure. You can also keep the coco.py structure and overwrite the img variable

@magistri oh,yeah,I got it. But when I implement it, I meet a problem: the img variable in the coco.py is an 'Image' object, but when I concatenate two images into one array, and use Image.fromarray to get an Image object, there would be a problem as Image object may only have 3 channels? if I just keep numpy array as return type for img, there would be other errors, in my case, it happens in #851 . Could you please tell me your return data type for img ? Thanks in advance!

I load the image with PIL, then img1 = img1.numpy(), img2 = img2.numpy(), img = np.concatenate((img1, img2), axis=0)

Does the image has to be PIL format?
I am trying to use it for some medical images and they are 32bit float range. However, PIL does not seem to support 3 channel for 32bit float images. Any thoughts ?

@magistri
Does that mean the getitem function can return a tensor of say HxWx3 (or whatever number of input channels), in place of a PIL Image object?

@prafulag No matter what format, it is transform function which turns PIL format into tensor, so you can load your image as a numpy array instead of PIL format and use ToTensor to turn it into tensor for return

@Antoine-ls
Thanks for the quick response. I am infact returning it as a torch tensor.

I did the same thing as magistri did but I get nan loss! Because it forces me to eliminate the pretrained backbone model so I dont know how to go about it!


plots convert fix

fixes bug that broke concentration plots

Hello @s-omas! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file interactive/plots/plot_setup.py:

Line 81:80: E501 line too long (159 > 79 characters)
Line 81:147: E231 missing whitespace after ':'
Line 108:80: E501 line too long (169 > 79 characters)


Why package it into a new language？

I have read the documents. Many of them are the features of rust. I don't understand the purpose of doing so. Smart contracts can be written in rust

I'm sorry if  disturbed, because I just don't understand why. I read the home page to say that it combines Python and Rust

Hi, thanks for the question. How might one compile Rust to EVM and how is the development experience?


Added Pull Request Template

Fix #5

I'll squash the changes since these do not follow conventional commits 🙂


Add missing else block

Fixes #245

Coverage remained the same at 41.213% when pulling 51e0bf60fbd00edb4ff0448a525982856bcce956 on benjaoming:fix-245 into f1249849345e4d5c7e3012bf2fe40bedd2d0b5da on xhtml2pdf:develop.


RAS  Test - RR, LED, Dump, Errorlog,Error Recovery, Event Mgmt, Syslog

RAS and manufacturing related Testing and equivalent development story is @ https://github.com/openbmc/openbmc/issues/354

RAS -SEL - https://github.com/openbmc/openbmc/issues/352
RAS - LED - https://github.com/openbmc/openbmc/issues/353

[ ]  Need to have list of test cases associate with RAS

[ ]  Come up with list of test cases which can automate / manual execution

[ ]  Check for TCs need to be automate via PDBG / Cronus way / host OS way - Basic OS way of checkstop is already enabled.

[ ]  Create stories for automation - Automation need to be done.

@lkammath Hi Lakshmi, Are we planning to pursue BMC way of error injection etc.

During yesterday's meeting, there was emphasis on RAS especially on openbmc based boxes, So I am leaving it open.


SA1649 code fix (rename file) in Shared Project copies the file into all importing projects

Repro steps:

Have two ordinary class library projects that both reference a Shared Project in the solution.
Add a source file to the Shared project with a file name that will generate an SA1649 warning.
Use the code fix to fix the file name.

Expected
The file is renamed in the shared project
Actual
Both referencing projects now contain the file directly.
I suspect this is actually a Roslyn bug. If so, I'm happy to file that, just let me know. Otherwise feel free to file it yourself and link to this bug.

Grabbing this

@vweijsters I had assumed this wasn't possible. If you solve it then... that would be awesome.

Not sure, just saying that I'm having a go at it :smile:

Blocked on dotnet/roslyn#6261.

@AArnott / @sharwell: I have been looking into all the problems related to the SA1649 fixer and it's generally looking good, but this specific case related to shared projects seems to have its own problems. Do you have any feeling for how common shared projects actually are?

@bjornhellander  AFAIK they were only well used for Windows 8 targeting. Since then, they've been used as utility folders (where no project imports them at all) by some creative folks. I don't think I have any Shared Projects in any of my repos any more.

The root cause seems to be a missing (optional) file path argument in the call to AddDocument here:
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules/SA1649CodeFixProvider.cs#L66-L71
This has the effect of copying the file into the project instead of adding it as a link.


Issue while building the Flutter application iOS Version.

Describe the bug
While building the Flutter application we are facing below issues :
PhaseScriptExecution Run\ Script /Users/vsts/Library/Developer/Xcode/DerivedData/Runner-emuvnsfaoizvsegonkoohmlhzhko/Build/Intermediates.noindex/ArchiveIntermediates/qa/IntermediateBuildFilesPath/Runner.build/Release-qa-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
(1 failure)
##[error]Error: /usr/bin/xcodebuild failed with return code: 65

Hey, @v2Nitesh, thanks for getting in touch - can you elaborate a bit, and provide some context about what is going on?
From what you provided it is quite troublesome to understand the problem.

Hey, @v2Nitesh, thanks for getting in touch - is it the same problem?

No This is not the same problem. Both are diffrent.
https://github.com/microsoft/appcenter/issues/700
https://github.com/microsoft/appcenter/issues/701

@v2Nitesh thanks for opening the bug, we'll take a look at this. As an FYI, App Center Build does not officially support Flutter today.

@v2Nitesh I'm removing the bug label on this as we don't officially support Flutter.

App Center Build does not officially support Flutter.


fix(api-v2): Fix generated SPARQL for updating property comment

https://dasch.myjetbrains.com/youtrack/issue/DSP-561

[x] In the WHERE clause of changePropertyLabelsOrComments.scala.txt, move BIND statements inside the GRAPH block, so that the WHERE clause will return results even if the property doesn't have an rdfs:comment. TODO: ask the Jena developers why this makes a difference.
[x] Fix a bug in OntologyResponderV2.changePropertyLabelsOrComments which would incorrectly compare a saved link value property with the expected result.
[x] Add a test for adding an rdfs:comment to a link property that doesn't have one.

Thanks for the quick review. :)


Use https in more places.

@jekyllbot: merge +docs

Thanks @XhmikosR!

On a side note, whoever is in charge of the Cloudflare account for jekyllrb.com should enforce HTTPS with a simple Page Rule.
/CC @benbalter


Design custom FOSSi hardware, get it printed for free

The project is at nearly 1000 stars so it's clearly time to start thinking about custom hardware.
Could be designed in the open and then manufactured for free.
@geohot I think it makes sense to tag this as a good first issue.

This is great idea, it should be on the TSMC 5nm process. Could you make a
fork, design it, send the ASIC design to TSMC and when it's back create a
pull request?
On Fri, Nov 20, 2020, 8:11 PM Timothy Mc Alister<EMAIL_ADDRESS>wrote:

The project is at nearly 1000 stars so it's clearly time to start thinking
about custom hardware.
Could be designed in the open and then manufactured for free.
https://fossi-foundation.org/2020/06/30/skywater-pdk
@geohot https://github.com/geohot I think it makes sense to tag this as
a good first issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geohot/tinygrad/issues/129, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5SWAHXQ2SK73JRYQ3DZULSQ3ZQNANCNFSM4T5LNJJQ
.

I'll try to be a bit more constructive: it would probably be a fun project
to create an FPGA based backend for the operations, but that should be a
separate project. Also this is a fun learning experience for us, and maybe
you are looking for something more productionized.
On Fri, Nov 20, 2020, 9:36 PM Adam Ritter<EMAIL_ADDRESS>wrote:

This is great idea, it should be on the TSMC 5nm process. Could you make a
fork, design it, send the ASIC design to TSMC and when it's back create a
pull request?
On Fri, Nov 20, 2020, 8:11 PM Timothy Mc Alister<EMAIL_ADDRESS>wrote:

The project is at nearly 1000 stars so it's clearly time to start
thinking about custom hardware.
Could be designed in the open and then manufactured for free.
https://fossi-foundation.org/2020/06/30/skywater-pdk
@geohot https://github.com/geohot I think it makes sense to tag this
as a good first issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geohot/tinygrad/issues/129, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5SWAHXQ2SK73JRYQ3DZULSQ3ZQNANCNFSM4T5LNJJQ
.

Sounds fun, though 130nm wouldn't be close to competitive with anything.

True, it was also more of a joke. So I'm closing now :)


Description for Reviewers

This is the link of this project
https://github.com/kazim110/SpaceTraveler/projects/1
Note: Two people work on this project

Hi  @kazim110,
Great job so far! 👏 You've done well, and you're almost there for the next project ⏭, but there are a few issues 🐛 that you still need to work on.

Don't Worry 🙏
It's okay to have bugs in your code. 🆗 Please see this code review as an opportunity to learn practical coding skills and discover new tips that can improve your code quality 💯 and help you get even better 💼.
I will guide you on how to address these areas down below 👇.
Highlights
✅ PR has a link to their GitHub project.
✅ PR has information about the number of people in their group
✅ Number of cards is equal to 17💯
Required Changes ♻

[ ] You've done a commendable job by adding all 17 tasks to your project. However, as per the project requirements, it's essential to ensure that each team member assigns themselves to the cards from all categories. This ensures a fair distribution of time estimates and prevents one person from handling all of the most time-consuming tasks. Please review your project and make sure that all cards on your Kanban board have assignees. Decide who will be the assignee for the cards marked as group tasks—this can be one person or all team members, as appropriate. By adhering to this requirement, you'll ensure that the project is well-distributed among team members and that everyone is actively participating in the tasks. Keep up the great teamwork! 🌟👥

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Have any doubt ❓
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.

Contact me: Shahadat Hossain

⚠ WARNING ⚠
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @TEAM,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

Correct GitFlow ✔
Good implementations ✔
TEAM work ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Move a comment in getchar.c to the correct position

In line 2680 of getchar.c there is a comment saying "break for loop", but it is a return statement. I believe the "break for loop" belongs to line 3063.

Right, when the code was moved to a function the comments were no longer correct.
The first one should be "get" though, not "got', because the character is obtained later.
I'm not making a separate patch for this, will be part of a following patch.


Hi, this seems like a good idea, but...

Any help would be great, as I am a writer who likes to host my own ebooks and Vellum (vellum.pub) generates very
nice epub files and would be an easy way to make static html files. Thanks.
I'm on a Mac in the terminal and after doing  the following and restarting:

brew install pandoc ... no errors
python3 setup.py install ... no errors

... but I get this error everytime:
...............................
iMac ~ % epub2sphinx --version
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/epub2sphinx", line 33, in
sys.exit(load_entry_point('epub2sphinx==0.0.3', 'console_scripts', 'epub2sphinx')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/epub2sphinx", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/epub2sphinx-0.0.3-py3.11.egg/cli.py", line 1, in
import click
ModuleNotFoundError: No module named 'click'
...............................
iMac info:
Intel, Ventura 13.2.1
iMac ~ % brew -v
Homebrew 4.0.10
iMac ~ % python3 --version
Python 3.11.1
... other python github projects are working just fine, so what am I missing, thoughts?

Hello @cleesmith,
It looks like the Click module is missing in your installation.
Try installing the click module and see if that fixes the issue:
pip install click
Another alternative is to install epub2sphinx directly using pip:
pip install epub2sphinx
I just updated the latest commits to the Python package index, so I would recommend uninstalling the older epub2sphinx and installing epub2sphinx using pip.


Add Victorville California

Hi, thanks for your interest in adding your city to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!
To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE ***]
Message (Don't forget to replace the [x]'s with your information!)
Dear Gloria Garcia and City Council Members,
My name is [YOUR NAME] and I am a Victorville resident writing to urge you to defund the Victorville Police Department.
The 2019-2020 proposed budget for the city of Victorville allocated $22,823,029 for the police. The funding for police increased 6% this year while spending was decreased for Community Services by 3%, Engineering by 45%, Fire by 28%, Public Works by 11%, and Water by 25%. In actuality, Victorville spent over 29.1 million renewing the contrat with San Bernardino County Sheriff’s Department. The new contract granted 3% wage increases to employees for five years, beginning in August 2019; while those with prior experience trained in law enforcement were given an additional 1% increase for four years to start January 2021.  The investment in policing has not made us safer – the police remain an embarrassment to the city and a lethal threat to Black and Brown communities, while increased police spending shows no correlation to decreasing crime levels over the past 20 years. With current finances already strained and other vital departments suffering, it is clear that we must defund the police. The city needs to priortize infrastructure, community services, and mental health to properly serve the community's needs. Rather than spending half a million dollars on technology in an attempt to help catch red light runners, the budget could be spent on projects that lead to job creation or helping Victorville's ever growing houselessness community.
As Victorville residents, we therefore demand that you take immediate action to ensure the following:
Adopt a People’s Budget that prioritizes community wellbeing and redirects funding away from the police
Drastically reduce Victorville Police's allocation from the General Fund
Disallow unauthorized overtime
Discontinue use of general fund dollars to pay for settlements due to police murder, misconduct, and negligence
Invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Victorville  cannot wait any longer for a budget that meets the needs of its residents. The only way to achieve this is to take immediate steps to Defund Victorville Police and end the city's contract with the San Bernardino's County Sheriff's Office.
Thank you,
[YOUR NAME]

Thank you for submitting your city to defund12.org! Your request is now in the queue for review and publishing. We’ll reply here if we have any questions.

Editing now!

Email ready for pr!
Editing notes: I added fields for information at the end to align with our template, corrected the budget number per this link: victorvilleca.gov/home/showdocument?id=2790
Stats about the contract with San Bernardino are confirmed here: https://www.vvdailypress.com/news/20200423/victorville-to-spend-over-3m-more-for-law-enforcement-from-last-year
I updated information about the red light cameras per this article: https://www.vvdailypress.com/news/20200412/victorville-license-plate-scanners-to-be-installed-in-city-after-council-decision
To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE ***]
Message: (Don't forget to replace the [x]'s with your information! Please add a couple of sentences in your own words to avoid filters. )
Dear Gloria Garcia and City Council Members,
My name is [YOUR NAME], and I am a Victorville resident writing to urge you to defund the Victorville Police Department.
The 2019-2020 proposed budget for the city of Victorville allocated $27,132,208 for the police. The funding for police increased 6% this year while spending was decreased for community services by 3%, engineering by 45%, fire by 28%, public works by 11%, and water by 25%. In actuality, Victorville spent over $29.1 million renewing the contract with San Bernardino County Sheriff’s Department. The new contract granted 3% wage increases to employees for five years, beginning in August 2019; while those with prior experience trained in law enforcement were given an additional 1% increase for four years, starting January 2021.
The investment in policing has not made us safer. The police remain an embarrassment to the city and a lethal threat to Black and Brown communities, while increased police spending shows no correlation to decreasing crime levels over the past 20 years. With current finances already strained and other vital departments suffering, it is clear that we must defund the police. The city needs to prioritize infrastructure, community services, and mental health to properly serve the community's needs. Rather than spending $450,000 on technology in an attempt to help catch people running red lights, the budget could be spent on projects that lead to job creation or helping Victorville's ever-growing community of people experiencing houselessness.
As Victorville residents, we demand that you take immediate action to ensure the following:

Adopt a people’s budget that prioritizes community wellbeing and redirects funding away from the police.
Drastically reduce Victorville Police's allocation from the General Fund.
Disallow unauthorized overtime.
Discontinue use of general fund dollars to pay for settlements due to police murder, misconduct, and negligence.
Invest in housing, jobs, youth programs, restorative justice, and mental health workers, which are all more effective at promoting community safety.

Victorville cannot wait any longer for a budget that meets the needs of its residents. The only way to achieve this is to take immediate steps to defund Victorville Police and end the city's contract with the San Bernardino's County Sheriff's Office.
Thank you,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

Hi, folks. First, I want to say that I am so sorry to have just learned about the recent hanging/potential lynching of Malcolm Harsch in Victorville, CA. This is a tragedy and needs to be thoroughly investigated.
If we think it would be appropriate, I want to help create an updated version of the email that includes this recent news and further urges local officials to act.
https://www.nbclosangeles.com/news/deputies-investigating-death-of-black-man-found-hanging-in-victorville/2380077/
I'm thinking after the introductory sentence, we can say something along the lines of:
The realities of violence against our Black community are playing out across the U.S., closeby in other California cities, and potentially in our own town. On May 31, Malcolm Harsch was found hanging from a tree by the Victorville City Library. While initially ruled a suicide, the possibility of a hate crime should be thoroughly investigated by an independent party. Only 50 miles away and 10 days later, Rober Fuller was found hanging from a tree in Palmdale, California. These tragedies should not be looked over, and these deaths should not be in vain.
Let me know what you think, if you have anything to add, any areas of concern, etc., and I'll work to edit this further and help in whatever way I can.

The above content change request has been opened in issue #1651 if anyone would like to add to it or edit it.


Fix FindFlatBuffers cmake file

Capitalization needs to match for system cmake override to work:
https://github.com/google/flatbuffers/blob/v22.11.23/CMake/FindFlatBuffers.cmake

Anything holding this up from being merged? I see a Google internal checks FAILED for runs with create time 2022-12-30T01:04:31.307953960Z. test failure but there aren't any failure details visible.


Customize display of axes and background lines

Hello,
Suppose I have a chart like this:

Is it possible to remove(not display) the y axis and the grayed lines that constitute the background of the chart?
Many thanks.

hello @MihajloVeljanovski

The plot.hideLine option will help.

//...
var options = {
    plot: {
        hideLine: true
    }
};
tui.chart.barChart(container, data, options);

There is no option to hide the y axis yet.


Upgrade grandtotal

Switch to versioned url

Thank you for the contribution. It was merged directly as 5992783d8c95de2b0f0b1b9952847c88074daf91 to keep commit history cleaner. Your contribution is still credited to you.


AFHTTPSessionManager and AFURLSessionManager never deallocated

This looks like bug and memory leak to me. Am I right? Allocation summary looks like this for AFHTTPSessionManager:

And for AFURLSessionManager:

As you can see NSURLSession holds managers forever. To reproduce, just init one.
AFNetworking (2.6.1) and swift2.1 with Xcode 7.1

NSURLSessionManager retains its delegate. See that link for a reference on how to clean it up.
:beers:

@kcharwood, this kinda forces to use manager as singleton. Or manually invalidateSessionCancelingTasks for every instance. Maybe you have suggestions?

Unfortunately, this is a side effect of how NSURLSession is designed. As you can see here, it has a strong reference to its own delegate.

Yep, I examined the documentation.
Maybe you can advice some kind of best practice of handling manager
objects? Beside singleton approach.
Отправлено с iPhone
6 нояб. 2015 г., в 3:10, Kevin Harwood<EMAIL_ADDRESS>написал(а):
Unfortunately, this is a side effect of how NSURLSession is designed. As
you can see here
https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSURLSession_class/#//apple_ref/occ/instp/NSURLSession/delegate,
it has a strong reference to its own delegate.
—
Reply to this email directly or view it on GitHub
https://github.com/AFNetworking/AFNetworking/issues/3116#issuecomment-154239723
.


License

I'd suggest to add a standard OS license. The one that imho comes most close to "do whatever you want with it" and therefore my personal preference would be this one:
https://opensource.org/license/bsd-2-clause/

Agreed.


combine highlights for virtual text

Before: There's a break in the CursorLine under the virtual text

After: CursorLine and TypeAnnot highlights are combined

Thank you!


[Toolkit feature]: Adding a popup displaying the full file path for materials

Contact Details (Optional)
<EMAIL_ADDRESS>What is the context of the feature/improvement?
I would like to see the full directory path to the file when hovering over different assigned materials in the 'Base Material' section, just like you do when hovering over the Material box, see screenshot below.

I'm sure this is already being worked on, but just in case.
Please describe the feature/improvement?
As described above
What would be your solution? (optional)
...
Version
2024.2.1

JIRA Ticket: REMIX-3058


Unreleased reports feed

A filter and feed for "unreleased" reports. Where we have metadata about reports (such as their title) but not their contents, due to the report being marked as unreleased, have a flag for this in the underlying data. These reports could provide a helpful source of FOIA inspiration, as well as just being interesting to watch.

This flag is in the database already, as unreleased. Work on this should probably come after #90, to avoid merge conflicts.
Reminders to self:

Add filter to search()
Add UI for using filter
Ensure search box and next/previous links retain the "unreleased" filter
Make sure this filter interacts well with other filters (inspector and featured reports)

I pushed a fix for OSC unreleased flags in https://github.com/unitedstates/inspectors-general/commit/1a0816141b7c63844b21f6d38f7a4354cbda0f54. Besides that, the SSA and DOT scrapers appear to be a bit overzealous in marking reports as unreleased. Some investigation announcements are flagged because there's no PDF posted, yet there isn't a report mentioned to not post in the first place. Further data QA will be needed.

Data quality issues have been resolved, closing.


libvisual: pull upstream fix for pkg-config SDL1 discovery

Without the change cross-compilation fails in staging-next as:
$ nix build --no-link -f. pkgsCross.riscv64.libvisual
...
> checking for riscv64-unknown-linux-gnu-sdl-config... no
> checking for sdl-config... no

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Added strictDeps = true; as well. Good call!


ARM template

please provide ARM template reference to perform this action.

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

ID: b1eb6343-c4d6-6b06-f2eb-1c9435f997f3
Version Independent ID: 7413b72d-8305-eb0f-3876-2fcb013c5196
Content: How to integrate Azure Active Directory logs with Log Analytics by using Azure Monitor (preview)
Content Source: articles/active-directory/reports-monitoring/howto-integrate-activity-logs-with-log-analytics.md
Service: active-directory
GitHub Login: @priyamohanram
Microsoft Alias: priyamo

@ajaypamarthy thanks for the feedback! I have assigned this issue to the content author, @priyaananthasankar, to look into.

@ajaypamarthy : My apologies for the delay, I heard back from the product team and unfortunately, we don't have an ARM template for this feature available yet. I will update the documentation with it as soon as it becomes available. Thank you for your patience, and please feel free to open a new GitHub issue if you have any further questions! #please-close

@priyamohanram is there already some news regarding enabling this by code?


Game crash on colonial charter research finish

Hi,
My game crashes when the research colonial charter finishes with this error:
Error while running event ColonialCharter::on_research_finished (ID 18)
Unknown interface: silo_script
stack traceback:
ColonialCharter/control.lua:25: in function <ColonialCharter/control.lua:23>
My mod list:
`{
"mods": [
{
"name": "base",
  "name": "ColonialCharter",

  "name": "DeadlockLoaders",

  "name": "expanded-rocket-payloads",

  "name": "Explosive Excavation",

  "name": "far-reach",

  "name": "Fill4Me",

  "name": "Flow Control",

  "name": "FNEI",

  "name": "helmod",

  "name": "Larger stack Size",

  "name": "LogisticTrainNetwork",

  "name": "miniloader",

  "name": "Oil Patches Organizer",

  "name": "playtime",

  "name": "qol_research",

  "name": "railloader",

  "name": "SpaceMod",

  "name": "Squeak Through",

  "name": "upgrade-planner",

  "name": "WaiTex_Full",

  "name": "Warehousing",

`

I copied the code from expanded payloads so the game doesn't constantly give messages about launches with no satalite. So probably it or spacemod is causing some incompatibility.
As an in-between measure you can try commenting out lines 23 to 27. Colony ship won't showup in the silo gui but at least you get no error.
I could not get the error to fire on my system, I used console commands to research, so maybe some weirdness there. Also I just added in those two mods, so it could be that the incompatibility is elsewhere, in that case you should also be getting an error with expanded rocket payloads 'satellite tracking' research.


AMQP-749: Force Close Channel With Slow Consumer

JIRA: https://jira.spring.io/browse/AMQP-749
If the consumer thread does not respond to a shutdown (e.g. "stuck" in user code),
the channel remains open and messages remain in an unack'd state.
Add a boolean (default true in 2.0) controlling the behaviour and allowing the container
to force close the channel - thus requeuing any unack'd messages.
Since this code runs on the thread that calls stop(), we need to always be sure that
the physical close required ThreadLocal is cleared.
There are test cases where a mix of mock and real channels are used and the TL was dirty, causing
side-effects; but this could really be a concern for a real application too.
I will backport to 1.7.x after review/merge

Yes! That is much better, but need project recompilation, at least 😉

Merged as https://github.com/spring-projects/spring-amqp/commit/82f4775de57eb5a009e32d9c1fff5c91ce9e095a


enhancement(update card for generic container use):Expand card implementation

Updated card css to target header, body, footer for automatic layout rather than generic first/last descendant elements.
Opened to address use with table example #841
Closes #835

Deploy preview for pf-next ready!
Built with commit 27fb16162ce364189047c02e0eda38e3b20219e4
https://deploy-preview-842--pf-next.netlify.com


net/activity

This issues aims to simulate activity for the Barknet network in order to fill the state. Please keep in mind that this one will be used for the benchmark issue, so try to make it as complete as possible

Refer to amm issues


Add documentation

I don't think adding documentation for this project is very worthwhile. You might want to do so for the bbox project instead.


Adjust cronjob schedule depending on time of year

There is no point in updating the sessions every 10 minute after the conference. Same, many weeks before, we can probably get away with updates once per week, maybe once per day in the last few weeks, and every 10th minute in the actual conference week itself.

Fixed in 4a34dac


🏇 Fill database - Posts

[x] Added more posts to the database- both job offers and regular posts.
[x] Updated tests accordingly.

Depending on #152
Close #156

Looks good, could you please rebase so it would be easier to review the relevant parts only

I would advise using json files instead of .py try to have some ideas here https://www.geeksforgeeks.org/read-json-file-using-python/
WDYT?

I think it's the right use of json file so I changed accordingly


Update gke.md service type

This took me way too long to figure out, something has got to be done about documentation errors and keeping things up to date. Anyway this fix makes sure the service is properly exposed.

Type of change:

[x] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches
[ ] Documentation
[ ] Refactor
[ ] Chore
[ ] CI/CD or Tests

What this PR does / why we need it:
The port otherwise doesn't get exposed.

@Revolyssup Can you merge this now?


Has anyone found a relatively simple way of getting the Bearer tokens?

I am still having trouble finding how to find the Bearer tokens? Perhaps someone can link me to a guide or describe a method they used. Thank You.

If you're an Android user, I made this app that can get your Bearer token and do the free weekly extra life easter egg. More info here: http://hqmakeitrain.tk/


upgrade matching-brackets test suite to spec of 2.0.0 version

tests set is replenished according to teh specification

LGFM


name of Cut object and name attribute can be different

The objects of type Cut defined in parameters.cuts.baseline_cuts can be assigned a name that is in general different from the object name (e.g. 'dilepton' is different from 'dilepton_presel').
To save the config file with Configurator.save_config() we need to access the name of the Cut object, therefore it would be nice to include an attribute similar to the attribute __name__ for functions that would return the name of the object and not the attribute.

      for cat, cuts in self.cfg["categories"].items():
          self.categories[cat] = []
          for cut in cuts:
              # Check that the name of the cut is the same as the
              # label, to enforce a good bookeeping
              for obj_label, obj in locals().items():
                  if obj == cut:
                      if cut.name != obj_label:
                          print(f"PROBLEM: cut {cut} name is different than its label")

This code snippet is able to check if the label of a Cut is different from the Cut.name attribute.
Anyway I'm not sure we would want to enforce that. Having the name in the Cut object is useful for bookeeping and having a different object label would not be the best.
But imagine the case where the categories dictionary is created dyinamically.
"categories" : {
"differential-1" : get_SR_categories() # some parametrized binning returning a [Cut,..]
}

In this case the object label of the cut is never used and we rely, correctly, on the internal of the Cuts for bookeping in the Configurator.  The obj label is just needed if the Cuts are imported from a library of them.

Solved by PR #16


The http://sceneparsing.csail.mit.edu/ website is DOWN

Hi! The http://sceneparsing.csail.mit.edu/ is DOWN as of May 1st 10pm. Any idea of when this will be fixed. Thanks.


Fix key assignment

Fixes self.writer key assignment in write_bytes_value
The method write_bytes_value contained an assignment error where the key was accessed as a string instead of using the variable directly. This commit fixes the issue by updating the assignment to use the variable directly as the key.

@microsoft-github-policy-service agree

Thanks for the contribution @bayilyas


lib/jxl/encode.cc: add XYB fallback check to AddImageFrame

The encoder will no longer refuse AddImageFrame if the
color encoding is set to XYB via JxlBasicInfo, even if it
is not set directly.

@googlebot I signed it!

please add yourself to the AUTHORS file

@mo271 done, although it wasn't sorted so I added my name at the bottom

@mo271 done, although it wasn't sorted so I added my name at the bottom

Thanks, I can fix the order later...

@mo271 pushed the requested change

Thanks for fixing the lint! There is still 1 failing test, namely AddFrameBeforeColorEncodingTest in encode_test.cc. I think it would be best to fix this by changing the line 82 there to
basic_info.uses_original_profile = false;
to
basic_info.uses_original_profile = true;.
Could you also provide some more information on why the change you propose is necessary? Thanks!

Could you also provide some more information on why the change you propose is necessary? Thanks!

The docs, and the behavior both say that basic_info.uses_original_profile = false causes libjxl to ignore the color information passed to it. If you don't call JxlEncoderSetColorEncoding before JxlEncoderAddImageFrame then JxlEncoderAddImageFrame will fail at this point. If you do call JxlEncoderSetColorEncoding then it won't fail here, but it will completely ignore the information that you pass to it with JxlEncoderSetColorEncoding. It shouldn't require you to call a function to specify information only to ignore that information.

Anyway, I pushed a change, let's hope the encode test succeeds now.

Could you also provide some more information on why the change you propose is necessary? Thanks!

The docs, and the current behavior, both say that basic_info.uses_original_profile = false causes libjxl to ignore the color information passed to it. If you don't call JxlEncoderSetColorEncoding before JxlEncoderAddImageFrame then JxlEncoderAddImageFrame will fail at this point. If you do call JxlEncoderSetColorEncoding then it won't fail here, but it will completely ignore the information that you pass to it with JxlEncoderSetColorEncoding. It shouldn't require you to call a function to specify information only to ignore that information.

That makes sense, thanks for adding the explanation!

Wait, also in the XYB case something gets signalled in the jxl image header to be the nominal colorspace of the image. I assume that's what JxlSetColorEncoding is used for in that case, no?
Also you are passing the RGB data in some colorspace, and I would assume it is the same one as the one set with JxlSetColorEncoding.
I think the documentation needs to be clarified and we also need to make sure that the encode api actually does something that makes sense here...

The encode documentation says that if you set basic_info.uses_original_profile = false, it instead uses SRGB for integer input and Lienar SRGB for float input. This is actually incorrect, what happens is it sets the color transform to XYB, not to SRGB (i.e. no color transform).
The documentation does correctly state though that it ignores the information passed in JxlEncoderSetColorEncoding. Personally, I think what it should do, if you set uses_original_profile to false is what it says it does, but I don't know what's intended.

Basically the problem with the current behavior is as follows:
If you set basic_info.uses_original_profile = false, the docs say that it assumes Linear SRGB input for float samples and SRGB input for integer samples.
Then, if you call JxlEncoderImageAddFrame, it will still fail, telling you that you did not set the color encoding. If you do set the color encoding, it does not fail, but ignores what you set, which means the current boilerplate is just an extra call to SetColorEncoding (that does nothing) every time you set uses_original_profile = false with no benefit. This PR simply removes that requirement of this extra pointless call.

Thanks for the fix!


Recover perf regression related to stack args

A perf regression had crept in with a refactor I did a while ago.
We dont have block-level merging of arguments object syms in the globopt. So, as much as possible, we try to keep the set of arguments object syms same across blocks. To this end, we ignore tracking the arguments object alias introduced by ByteCodeArgoutCapture. To do this, the globopt expects the argout instructions to be immediately preceding the InlineBuiltInStart instr for .apply.
The refactor I did had broken this assumption. Reverting to that.

This change is

@satheeshravi could you review, please?

:shipit:

Where was the regression noticed? And how much?

Regression was observed in jetstream\box2d,js; ~27%. However, I dont understand why we IB didn't show a regression in Octane box2d.

@dotnet-bot test Windows x86_test please


[WIP] Add nunique API

[ ] Tests added / passed
[x] Passes flake8 dask

Trying to fix #3817

Welcome @whiletruelearn
I recommend adding a test that compares this against Pandas behavior.  The following links might be helpful
https://github.com/dask/dask/blob/904805bbea947cf977af735bd6d7c66e30eb955a/dask/dataframe/tests/test_dataframe.py#L2991-L2996
http://docs.dask.org/en/latest/develop.html#test

It looks like tests fail.   I saw that, didn't find time yet to dive deep on this. I think I need to understand the codebase slightly more. I will try to fix this in next couple of days.

Running into the same issue trying to use dropna, and the docs disagree on whether it's valid parameter or not. Currently not a valid argument in the function though (using dask-1.0.0 on Conda flavoured python3)
Input
data = data.dropna(axis="columns", how="all") # dask.dataframe

Output
TypeError: dropna() got an unexpected keyword argument 'axis'


[Extensibility Enhancement] Page 113 Budget SetBudgetDim1Filter

Business Central stores only the latest filter value in this page. If you use multiple budgets, with different filters you have to change the filters every time you change the budget.
It would be great if we could set filters programmatically.
Please add SetBudgetDim1Filter to set the Budget Dimension 1 Filter from outside.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


⚠ Samsung has degraded performance

In 7e902c1, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2164 ms

Resolved: Samsung performance has improved in 12b09e3.


Update downloaded Excel file | Update auto-naming of .xls file so there is no time stamp numbers. |1|

As a user, I would like straight-forward titles for the downloaded Excel files. Currently the .xls file shows the date of download, and then the hour.minute.second timestamp after. The timestamp does not add much value while increasing the convolution of the file name.

 Update downloaded Excel file | Update auto-naming of .xls file so there is no time stamp numbers. |1|


Anitha/implement main panel

What was changed
add some functions to the index.ts
Why?
To get started with the main panel, we need feedback to know if we are on the right track.
Checklist
Used Webview API as a sample to create the sculpt of the function

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


Add Quickcheck

Checks RGB -> HSL -> RGB

@homu r+

:pushpin: Commit c0c50b3 has been approved by killercup

:hourglass: Testing commit c0c50b3 with merge 6e96d32...

:sunny: Test successful - status

Coverage decreased (-36.9%) to 48.771% when pulling c0c50b38b6a87bd1db6d680e6154e0bef2c504e6 on feature/quickcheck into 3b9aa2d504d92355d746cffef909acb0ee165c1e on master.


fix: Mac specification documented but not in all.yaml.template.

fix: Fix issue #247. Missing mac variable in all.yaml.template.
Variable was documented but did not exist in the template.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Possible bug on the loss computation

I could be wrong but reviewing the code, I think that there shouldn't be a pow_(2) on the line
https://github.com/facebookresearch/barlowtwins/blob/8e8d284ca0bc02f88b92328e53f9b901e86b4a3c/main.py#L219
My reason is that the power 2 is already applied in-place and element-wise on the correlation matrix as this line
https://github.com/facebookresearch/barlowtwins/blob/8e8d284ca0bc02f88b92328e53f9b901e86b4a3c/main.py#L218
So presently we are computing the 4th power of the off-diagonal terms. But the original paper considers only their square
https://arxiv.org/pdf/2103.03230.pdf?fbclid=IwAR1p0f_DIdSF1gLFxcdAnBbUX7BO-5AFAqWQea0fNbOCsO5DK3TfQ6xTjo0

solved


Reset this lesson doesn't reset on projects

If I press Reset this lesson on final projects, the saved code is restored instead of the starting code.
Can we have two different buttons?

Hey can you please elaborate more? On which page are you requesting this.

On certification projects, all of the ones that are written in the in-browser editor, if you have saved code, and press Reset this lesson, the saved code is restored, instead of the starting code

On certification projects, all of the ones that are written in the in-browser editor, if you have saved code, and press Reset this lesson, the saved code is restored, instead of the starting code

Can we get a short clip of the issue and a little clue on how to reproduce the error.

Which part of the curriculum can I reproduce the error in, because in some the projects become completely empty.

Can I contribute to issues

@ilenia-magoni I think this is what you're referring to, right?
https://github.com/user-attachments/assets/3fc93982-a8cf-43b4-8a1e-c5c5a524aac9
I think the expected behavior she's asking for is that upon clicking the Reset this lesson button, it will clear out the editor of any code previously saved by the user -- i.e. "starting code".
Currently, the Reset this lesson button will restore the last saved code by the user.
https://github.com/user-attachments/assets/dfdc4b7f-d9f8-4f77-af84-1fc783135c23

I can work on this issue.

@ilenia-magoni So I did some debugging here! I don't think this is an issue but rather a feature request. I agree that "Reset this lesson" should reset even the saved code, but that's not how the current functionality is implemented. Reasons for the above deduction:

When you save your code, a POST call is fired with the save-challenge endpoint, which updates the contents of the file in the DB and fetches the updated contents.
But when you hit the reset button, no network call is fired to clear the contents and update the DB. In the code (i.e., the editor component), it checks for the isresetting prop (which is true while resetting), finds the initial contents of the file, and updates the editor with that content.
However, since the initial content is still the saved code (that we updated through the save-challenge call), it is setting the code as the updated code itself, and hence you are seeing your last saved code.

I think it's intentional, but to give clear expectations to the user, it should be shown in the reset modal like "It will revert/reset to the saved values" or something similar.
If it is not intentional, then a better solution would be to introduce an API call (something like 'reset-challenge') which should reset/empty the content of that particular file and update the DB. With this solution, no change would be required on the client side.

Thanks for the detailed breakdown @ujjwal502. And, yes, you're correct: it is intentional. When working on lesson it's tricky to reset (you have to know what you're going back to). However, it's trivial when working on a project: just delete everything.
I agree that a UX fix is in order. As well as changing the modal text, I recommend updating the button to say "Revert to saved code", to clarify what is about to happen.

Agreed! I will raise a PR to update the text

Hey @ojeytonwilliams,
Can we come to a solution that makes it clear for the contributors on what needs to happen? Thanks.

Sure, I think we need to replace that "Reset this lesson" with "Revert to saved code" on the button and in the modal itself. This should only happen on projects, not normal challenges.


Sidecar pod has crash loopback with CSI2.10 GA Version

Describe the bug
We see after the update of CNSA<IP_ADDRESS> in CSI 2.10 CrashLoopBackOff on a OCP-Cluster with RHACS active
How to Reproduce?
Please list the steps to help development teams reproduce the behavior

OCP 4.12.18
CNSA <IP_ADDRESS>
CSI2.10

Expected behavior
A clear and concise description of what you expected to happen.
Data Collection and Debugging
Environmental output
$ oc get pods -n ibm-spectrum-scale-csi
NAME                                                  READY   STATUS             RESTARTS           AGE
ibm-spectrum-scale-csi-2ktdm                          3/3     Running            0                  14h
ibm-spectrum-scale-csi-5tftj                          3/3     Running            0                  6d14h
ibm-spectrum-scale-csi-attacher-7948fc5bc5-42768      0/1     CrashLoopBackOff   335 (3m21s ago)    15h
ibm-spectrum-scale-csi-attacher-7948fc5bc5-c6w6t      0/1     CrashLoopBackOff   3329 (3m49s ago)   6d14h
ibm-spectrum-scale-csi-jdtzm                          3/3     Running            0                  6d14h
ibm-spectrum-scale-csi-jm2zj                          3/3     Running            0                  16h
ibm-spectrum-scale-csi-operator-7586958d94-pnc9z      1/1     Running            0                  16h
ibm-spectrum-scale-csi-provisioner-8766dd855-d9c5k    0/1     CrashLoopBackOff   343 (105s ago)     16h
ibm-spectrum-scale-csi-qxwfr                          3/3     Running            0                  15h
ibm-spectrum-scale-csi-resizer-58f4b68bf9-fjffc       0/1     CrashLoopBackOff   343 (3m25s ago)    16h
ibm-spectrum-scale-csi-snapshotter-7664cdd87b-cmcxn   0/1     CrashLoopBackOff   343 (105s ago)     16h
ibm-spectrum-scale-csi-wvqrp                          3/3     Running            0                  6d14h
$ oc logs -p ibm-spectrum-scale-csi-attacher-7948fc5bc5-42768
I1221 06:54:38.628462       1 main.go:96] Version: v4.3.0
I1221 06:54:38.629666       1 connection.go:164] Connecting to unix:///var/lib/kubelet/plugins/spectrumscale.csi.ibm.com/csi.sock
W1221 06:54:48.630447       1 connection.go:183] Still connecting to unix:///var/lib/kubelet/plugins/spectrumscale.csi.ibm.com/csi.sock
Tool to collect the CSI snap:
Please see TS015037162
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Add labels

Component:
Severity:
Customer Impact:
Customer Probability:
Phase:

Note : See labels for the labels

We found the issue, the reason for this was Dynatrace. Here are the article from redhead: https://access.redhat.com/solutions/6937681

Resolution Summary:
Restricted-csi SCC being applied to system pods causing them to crash
https://access.redhat.com/solutions/6937681
Root Cause
The restricted-csi SCC is not a default SCC, but is instead added by the Dynatrace utility. See the Dynatrace documentation
SCCs are defined at the global scope and are associated with individual users and groups within the cluster.
When a Pod is create without an SCC definition, it is assigned an SCC based on the current context for the
creation and the privileges of the associated ServiceAccount/User creating the Pod.
Solution: --> they deleted the scc
The pods must be configured spectrum-scale-csiaccess scc
openshift.io/scc: spectrum-scale-csiaccess

The issue can be closed as the installation was succeeded.

closed


Support PKCE Code Verification

Currently PKCE isn't implemented, so no code_challenge nor code_challenge_method is sent during the initial Authorization handshake.
This breaks any applications that expressly require PKCE in order to authenticate.

You can see in the OIDCStrategy for Remix that it's implemented
Here it's generated when starting the auth process https://github.com/sergiodxa/web-oidc/blob/ec9c0673aa19a0d4554fe2386a12f04821138251/src/remix.ts#L64-L88
And here it's used on the callback https://github.com/sergiodxa/web-oidc/blob/ec9c0673aa19a0d4554fe2386a12f04821138251/src/remix.ts#L104-L114

Ah, you are correct. I was looking at query params instead of cookies, which obviously won't work for a SSR application. Thanks!


How to use SQL SCRATCHPAD of another website？

hi all
I want use my UI 、my  "Execute" button, and save sql by my interface 。 How I fetch sql change.   When the sql changes, I want to get it, because I want to save it in my database . so, how I get it in my website.

Hi @jianwei2, maybe this discussion can help you!
https://github.com/cloudera/hue/discussions/2224

Hi @jianwei2, maybe this discussion can help you! #2224
Thank you 。  Is SQL SCRATCHPAD open source ?  How can I get the source code ?


Export user data from Project Server 2019

https://docs.microsoft.com/en-us/project/export-user-data-in-project-server-2019
I found an issue in the code.
In the file common.ps1 you guys have a comment about Kerberos:
#TO DO: figure out kerberos part maybe use Windows, not NTLM
I couldn't get the code to work in my environment until I commented out line 83:
#$binding.Security.Mode = [System.ServiceModel.BasicHttpSecurityMode]::TransportCredentialOnly
And then I used line 85:
$binding.Security.Transport.ClientCredentialType = [System.ServiceModel.HttpClientCredentialType]::Ntlm
I received this error:
ExportProjectUserContent.ps1 : Exception setting "Mode": "Cannot
convert value "TransportCredentialOnly" to type "System.ServiceModel.BasicHttpsSecurityMode" due to enumeration values
that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are
"Transport,TransportWithMessageCredential"."

@efrene Please help us in resolving this issue. Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Issue 5418 - std.math.lround not implemented on win32 and not documented

I added a doc comment so that it is known that on windows lround is not implemented.

Fix Issue -...

You miss the number 5418 there. Dlang-Bot isn't omniscient (yet).

Hmm as this doesn't fix the bug, I would remove "Fix " from the commit message and base it on stable, s.t. it's on the doc pages with the next release.

Hmm as this doesn't fix the bug, I would remove "Fix " from the commit message and base it on stable, s.t. it's on the doc pages with the next release.

I just did this for you. In the future: git rebase - --onto=upstream/stable is your friend ;-)


Ios buy inApp and close App

I am using the latest version of the plugin, but I am having an error when trying to make some strange use case, the problem I am having is that when I buy an InApp, the purchase window appears, but before the purchase message appears confirmed I close the app, with the app closed I see that the confirmed purchase window appears, I open the app again, and I do not see any log referring to that purchase, I execute restorePurchases and it returns an empty object, and if I try to buy the same article, Apple tells me that I already have this article, but the plugin does not give me an error at this point and should give me an error that I already have the article so I can consume it.
Thanks for the plugin.

Hi developOPQA,
Apple purchases are consumed and completed in the first call to purchase (unlike Android), so it shouldn’t be a problem for buying more of the same consumable again.
I wasn’t able to replicate the error, for me there were logs showing the purchase going through after reopening the app from the background.
Sometimes when I try to buy it twice at the same time, Apple tells me the purchase was already bought, and nothing is returned, but it should be okay since it was already returned in the other call.

Hello,

If this didn’t solve the problem re-open the issue again.


Add fromChunk and toChunk to Schema.Collection

It exists already for Collection.Sequence, But can easily be added to Map and Set too. This will ease converting from and to collections in libs.

/bounty $75

/attempt #719


wip/6.0 HHH-14617 Remove QueryLiteralRendering and LiteralHandlingMode

https://hibernate.atlassian.net/browse/HHH-14617
Seems straightforward

LGTM thanks!


fix CI badge

Once we merge the v3 brach to master this will mess up the badge on master...

this could be avoided using git strategy. for me it's an advantage to have a pre branch ci

Every pull request gets checked in CI so we can see when things fail. Somehow I overlooked it on the previous PR yesterday and merged a broken thing into v3. I've never made that mistake before and I'll be careful not to make it again. So you can assume that v3 will build properly and will be passing the tests.
As you can see it is nearly always green: https://circleci.com/gh/begriffs/postgrest/tree/v3


Original Menu has wrong styles

Hello,
Could someone add styles for Menu component please, because it looks awful. Menu items are ok, but separators and borders are not. Here is a screenshot:

Sounds reasonable, should be included