How to reset FastResume

Hi. After last changes with auto fastresume load/save i can't reset FastResume data like a:
_currentTorrentManager?.LoadFastResume(new FastResume());
How i can reset fastresume (to initialize full torrent file rehashing) now?

Maybe add to TorrentManager ?
       public void FlushFastResume()         {             UnhashedPieces.SetAll (true);             HashChecked = false;             var fastResumePath = Engine.Settings.GetFastResumePath (InfoHash);             if (File.Exists (fastResumePath)) {                 File.Delete (fastResumePath);             }         }

public void FlushFastResume()
{
UnhashedPieces.SetAll (true);
HashChecked = false;
var fastResumePath = Engine.Settings.GetFastResumePath (InfoHash);
if (File.Exists (fastResumePath)) {
File.Delete (fastResumePath);
}
}

You could call TorrentManager.HashCheckAsync to force a full re-check if a full re-check is desired (for whatever reason).
Would this suit your needs?
Alternatively I could make the internal "SetNeedsHashCheck" method public and it could serve a similar purpose.
Apart from that, under what circumstances would you need to invalidate fast resume data like this? I wonder if there's a better way to support your usecase. The intention is that you should not need to worry about fast resume data anymore.

I flushing fastresume in my case for force recheck application files integrity in case when user delete some critical data - in other words make sure all application files are ok.
I'll try to use HashCheckAsync, ty for information.


Cannot assign to a struct member

Describe the bug
Instead of incrementing a struct member, rcc crashes at compile time.
Code
struct dict {
    int num_items;
} *my_dict;

int main() {
    ++my_dict->num_items;
}
thread 'main' panicked at 'not yet implemented: what's an lval but not a pointer or id?', src/parse/expr.rs:1156:18

AST
Please paste the output of cargo run -- --debug-ast here.
auto struct dict *my_dict;
thread 'main' panicked at 'not yet implemented: what's an lval but not a pointer or id?', src/parse/expr.rs:1156:18

Backtrace
  13: rcc::parse::expr::<impl rcc::data::Expr>::is_modifiable_lval
             at src/parse/expr.rs:1156
  14: rcc::parse::expr::<impl rcc::data::Expr>::increment_op
             at src/parse/expr.rs:1360
  15: rcc::parse::expr::<impl rcc::parse::Parser<I>>::unary_expr
             at src/parse/expr.rs:539
  16: rcc::parse::expr::<impl rcc::parse::Parser<I>>::cast_expr
             at src/parse/expr.rs:522

Pretty-printed expr: thread 'main' panicked at (*(my_dict)).num_items. The parser doesn't know how to handle struct members.

Related #103

lol now this segfaults instead of giving an error
$ cargo run
struct dict {
    int num_items;
} *my_dict;

int main() {
        my_dict->num_items = 1;
}
$ ./a.out
Segmentation fault

Possibly related: https://github.com/jyn514/rcc/issues/103

clang compiles this as
        xorl    %eax, %eax
        movq    my_dict, %rcx
        movl    $1, (%rcx)

gcc is essentially the same. This also compiles to the same code for structs in local scope which surprises me.

struct dict {
    int num_items;
} my_dict;
int main() {
        my_dict.num_items = 1;
}

compiles as
        xorl    %eax, %eax
        movl    $1, my_dict

We actually get that second case right, it's just struct pointers that are wrong.

gaaah this was just a bad test case, it works fine with
struct dict {
    int num_items;
} *my_dict;

int main() {
        struct dict d;
        my_dict = &d;
        return my_dict->num_items = 1;
}


JBPM-5204 Redundant DB calls when Pessimistic locking is used

no unit test created - the tests for this functionality are already there, and they should be still passing after this change.

+1 to merge
thanks @agiertli


Add Demo Environment

Some notes on creating the database and adding permissions:
PS C:\Users\bfaivre\Documents\brewerypi> mysql -p -u root
Enter password: *****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 538
Server version: 5.7.20-log MySQL Community Server (GPL)
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> CREATE DATABASE brewerypi_demo_1;
Query OK, 1 row affected (0.01 sec)
mysql> GRANT ALL ON brewerypi_demo_1.* TO 'pi'@'%';
Query OK, 0 rows affected (0.01 sec)
mysql> quit
Bye

Some notes on creating the database and populating it with demo data. I edited the brewerypi.sql script and did a replace of "BreweryPi" with "BreweryPi_Demo_1", ran the commands below and then reverted the changes.
PS C:\Users\bfaivre\Documents\brewerypi> cmd /c "mysql.exe -u root -p < .\db\brewerypi.sql"
Enter password: *****
PS C:\Users\bfaivre\Documents\brewerypi> cmd /c "mysql.exe -u root -p brewerypi_demo_1 < .\db\brewerypi_demo_1.sql"
Enter password: *****

Added "FLASK_CONFIG" to "System Variables" in Windows. Then you can toggle this between "development" or "production". Had to restart VS Code for it to see this change.


V0p1p2b

Codecov Report

Merging #4 (4327180) into master (c4dabd0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            2         2
=========================================
  Hits             2         2

Impacted Files
Coverage Δ

src/OceanDistributions.jl
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Update the recommended source for win32

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Closing with new PR:
https://github.com/DataDog/integrations-core/pull/9725


Customize body size limit

For example, I'm sending a body size greater than 20kB to the Apollo server. The server is not processing, probably due to the body size limit. I already configured the Next api route configuration to increase the body limit but without success.

As far as I'm aware there is no body size limit imposed by neither Apollo Server nor this integration. Are you sure it's not Next.js imposing the body size limit?

@martinnabhan thanks for answering.
According to the default NextJS limit, we aren't exceeding it. However, I tried using a configuration with a significantly larger limit and still encountered the same issue.
export const config = {
  api: {
    bodyParser: {
      sizeLimit: '100mb',
    },
  },
};

The request has been pending indefinitely and has not yet been escalated to the resolver.

I came across a similar problem and was advised to set the bodyParser to false. However, I am currently struggling with parsing to JSON as the Apollo Server v4 does not handle it automatically.

@leidsoncruz can you share a reproduction? <20kb max is surprising.

@trevor-scheer Sure.
server.ts
import { ApolloServer } from '@apollo/server';
import { ApolloServerPluginCacheControl } from '@apollo/server/plugin/cacheControl';
import { startServerAndCreateNextHandler } from '@as-integrations/next';
import { GraphQLSchema } from 'graphql/type';
import { getToken } from 'next-auth/jwt';

export const createServer = (schema: GraphQLSchema) =>
  new ApolloServer({
    schema,
    formatError: (formattedError) => ({
      status: formattedError.extensions?.status,
      statusText: formattedError.extensions?.statusText,
      traceId: formattedError.extensions?.traceId,
      code: formattedError.extensions?.code,
      error: formattedError.extensions?.error,
      message: formattedError.message,
    }),
    plugins: [
      ApolloServerPluginCacheControl({ calculateHttpHeaders: false }),
      ...
    ],
  });

export const startServer = () => {
  return startServerAndCreateNextHandler(apolloServer, {
    context: async (req) => {
      const token = await getToken({ req });

      return {
          ....
        ),
      };
    },
  });
};

export default startServer;

pages/api/graphql.ts
import { createSchema, createServer, startServer } from 'shared';

import { appConfig } from '../../constants';

const { backendURL } = appConfig;

const schema = createSchema(typeDefs, resolvers);

const apolloServer = createServer(schema);

export default startServer();

package.json
"@apollo/server": "^4.3.2",
"@as-integrations/next": "^2.0.1",
"next": "12.3.0",
"graphql": "^16.6.0",

Upgrading the NextJS package to v12.3.4 fixed the problem.
https://github.com/vercel/next.js/pull/41270

Thanks for the follow up @leidsoncruz !


Feat/read mand flavors

This implements https://github.com/SovereignCloudStack/issues/issues/235

Once #163 has landed, we should merge this against main.

And this fixes #162

@garloff according to https://peps.python.org/pep-0257/ function descriptions should always be in triple quotes. Will look into this again once conflicts are resolved.

@tibeer: I think we should build a simple pylint CI action requiring 9+/10 points or so ...

Superceded by PR #183 (rebased).


More ARM support

This includes a rebased #21.  This PR breaks the config into a based and architecture specific config.  Also this adds support for the Raspberry Pi.  I honestly don't know if it will be worth it to compile to aarch64.  I believe armv6 will run just fine on a aarch64 system, so we may keep the user space as the lowest common denominator, which is rpi (arm1176jzf-s).

@imikushin


Add to Known Issue

Can you add a known issue that for Date Filtering you can no longer filter a date range as you could before 2020 update 1? Pre-grid UUI you could filter "on or after" and "on or before" as two filter options and filter a date range. I really wish it just had a "between" option, and it would be perfect.

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

ID: f8e9258f-4c21-9d52-9940-cada6c70db50
Version Independent ID: 1f5619dd-aea0-d0d4-34a9-a7e0e036faf8
Content: Filter data on grids - PowerApps
Content Source: powerapps-docs/user/grid-filters.md
Service: powerapps
GitHub Login: @mduelae
Microsoft Alias: mkaur

@tpmeredith Thanks for your feedback. For product-related feedback, visit https://ideas.powerapps.com.
I will check with our internal team to see if this needs to added a known issue.
Thanks,
Mints

@tpmeredith
I just tested this and  On or after and On or before are still there.
For between (multiple filters), we have shipped the capability. It is slowly rolling out now.
Thanks,
Mints

@mduelae yes they are both still there, however you cannot do BOTH at the same time as you could pre-grid update, now it only lets you pick one so effictively you can not do a date range.
That is awesome news about between, can you advise what exact dynamics server version it takes to get that functionality?

@mduelae when you can, can you guys please reply with documentation showing the new feature in the powerapps grid filters? I can't see anywhere that references that between is an option and is rolling out.


PHP 8 compatibility with Laravel 6.0

Hi @staudenmeir,
Thank you for this wonderful addition to the Laravel framework. Currently we're using this package in October CMS (based on Laravel 6 LTS) and we would like to upgrade our project to PHP 8.0. Unfortunately version 1.2 of this package prevents us from upgrading. It would be great to have support for PHP 8.0 for the Laravel 6.0 version of this package.
Problem 1

Root composer.json requires staudenmeir/laravel-upsert 1.2 -> satisfiable by staudenmeir/laravel-upsert[v1.2].
staudenmeir/laravel-upsert v1.2 requires php ^7.2 -> your php version (8.0.14; overridden via config.platform, same as actual) does not satisfy that requirement.

Not sure how to submit a PR, but I think adding this to composer.json would allow us to upgrade to PHP 8.
"php": "^7.2 || ^8.0",

I released a new version for PHP 8.0.


ClassCastException java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType

I am getting two errors

java.lang.IllegalArgumentException: Unable to create call adapter for class androidx.lifecycle.LiveData from the caller.

Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType , which is pointed at the line

 if (getRawType(returnType) != LiveData::class.java) {             return null         }
File :
https://github.com/android/architecture-components-samples/blob/master/GithubBrowserSample/app/src/main/java/com/android/example/github/util/LiveDataCallAdapterFactory.kt
This happens in the release apk.
Recent changes : Added co routine components.
Requesting to explain the issue please.

When debugging with this line, inside LiveDataCallAdapterFactory get method,
String name = returnType.getClass().getName(); //to get full.package.name.of.Cat
Log.i(TAG,"Check#in between:"+name);
Found differences in release and debug apk.
Adding
-keep class androidx.lifecycle.LiveData { *; }
to proguard solved the issue.


Github Actions Error

I am helping @kweav with this GHA error. I've identified the source of the error to be running these lines of GHA code,  which leads us to this line from the make_screenshots.R script (from ottr-reports), which runs ottrpal::get_chapters().
This line throws the error that we see in the GHA: https://github.com/jhudsl/ottrpal/blob/5d44949ef35f9dc258a3c27ff8775d41bc966deb/R/bookdown_to_leanpub.R#L437
Instead of supplying docs/index.html, I think we should just provide it the url to the index.html, which in our case is https://hutchdatascience.org/bench_to_bytes/index.html.
What do you think @cansavvy ?

It's unclear from the documentation but it's supposed to be able to be used either way. It shouldn't matter whether a local index file or an index file from online is provided. But if both methods aren't working then we should try to fix that.

I tried to avoid using a local index file by using the online index file. The reason is the GHA seems to specify the working directory as /__w/bench_to_bytes/bench_to_bytes, and I wasn't sure what to make of this path.

Did some pair programming with Howard.
I am pretty sure this has to do with whether or not the pages were published yet (or if credentials are up to date) Essentially if this part in make_screenshots.R doesn't retireve a pages url then it will make it look like ottrpal::get_chapters() failed because an NA will be passed to it:
if (is.null(opt$base_url)) {
  base_url <- cow::get_pages_url(repo_name = opt$repo, git_pat = opt$git_pat)
  base_url <- gsub("/$", "", base_url)
}

chapt_df <- ottrpal::get_chapters(base_url = file.path(base_url, "no_toc/"))

Howard thinks this may not be the cause of the error and is going to look into it.

I don't think pages was set up when I first merged the PR, but I set it up before I reran the jobs.

I have created a dummy repo here and have been experimenting with the problematic GHAs.
First, I got the usual git error from the Render bookdown job:
error: cannot pull with rebase: You have unstaged changes.
error: please commit or stash them.

After I managed to solve all these issues, I ran into a different type of error:
Error in webshot::webshot(url, file_name) :
  webshot.js returned failure value: 1


Android/iOS SDKs are out of date

The Android/iOS SDKs referenced in the README are from October 2020 - how frequent will this library be updated to keep aligned with the parent libraries?

amazon-chime-sdk-0.7.4.tar.gz but latest is 0.11.2
amazon-chime-sdk-0.11.1.tar.gz but latest is 0.16.1

I'm not actively watching for new releases.
Are there any bugs the new release fixes or any new features?
The thing is I need to unzip these files and zip them into one file in a specific way/order, so that a slightly annoying task.

The thing is I need to unzip these files and zip them into one file in a specific way/order, so that a slightly annoying task.

Could you document this task? The community would then be able to do it and submit a pull request.

Android SDK is up to date: v0.11.2
Added instructions on how to create amazon-chime-sdk-combined-without-libc++_shared.so.aar.

I'm not sure I would be OK with accepting pull-requests for that library file though. It might potentially contain malicious code I would then be distributing. It's faster to perform the manual build steps than to check if the library file is OK.

I'm not sure I would be OK with accepting pull-requests for that library file though. It might potentially contain malicious code I would then be distributing. It's faster to perform the manual build steps than to check if the library file is OK.

Fair enough, thanks.
However, if the steps were documented, if we came across a problem we could fork the repo and apply the library updates locally to see if it fixes the problem - we could then report the problem back to you to update the library yourself or continue with our fork in the meantime. We just need to make sure that we create the libraries the same way that you do.

However, if the steps were documented, if we came across a problem we could fork the repo and apply the library updates locally to see if it fixes the problem - we could then report the problem back to you to update the library yourself or continue with our fork in the meantime. We just need to make sure that we create the libraries the same way that you do.

Agreed. Please check out the new file:
How to combine amazon-chime-sdk and amazon-chime-sdk-media.md
Does it suffice?

Does it suffice?
Perfect, thanks!

Just a typo though - need a space after the hashes as does not render correctly:
###Note "Zip contents" means to go into that directory and zip all files there.

Just a typo though - need a space after the hashes as does not render correctly:
Thanks. No-space wasn't on purpose and looked fine in WebStorm IDE but yeah, doesn't render properly in Github.


MINOR: Code cleanup to improve generic typing

Call for review @abbccdda @guozhangwang

For my education purpose, what's the criteria of removing and adding generics while you are doing this PR?

I remove generic if they are redundant as the compiler can infer the types in a safe way without them. IntelliJ marks those with a warning "Explicit type arguments can be inferred ".
If the type cannot be inferred, ie, there are "raw types" of "unchecked" warnings I add the generics to get rid of the warnings.

Is that to reduce warning and the possible bugs of wrong-casting

Correct.

org.apache.kafka.connect.util.KafkaBasedLogTest.testSendAndReadToEnd failed for both runs -- had the same on another PR -- the corresponding JIRA indicates that the test is broken and fails on every run -- seems there is a PR to fix it already.

The failing test was fixed. Rebased to get a green build. Also addressed the review comments.

LGTM! Please feel free to merge.


Job Results UI should render log messages immediately

Environment

Python version: 3.7
Nautobot version: 1.0.3

Steps to Reproduce

Run any job that has time consuming steps

Expected Behavior
Log statements in the job should be rendered when they've been logged.  Jobs can be complex and have several steps; it would be nice if the statements appeared while the user is waiting for the job to complete.

Observed Behavior
All log statements appear all at once, after the job completes.

@Joezeppe You helped with a similar process before, perhaps you could look at this as well?
pinging @lampwins for visibility.

A few code references that should be useful:

https://github.com/nautobot/nautobot/blob/develop/nautobot/extras/templates/extras/inc/jobresult.html#L34
https://github.com/nautobot/nautobot/blob/develop/nautobot/extras/templates/extras/inc/jobresult.html#L59

We only attempt to render the job logs if the jobresult is completed - removing these checks should be part of the fix.

https://github.com/nautobot/nautobot/blob/develop/nautobot/project-static/js/job_result.js#L35

We only call jobTerminatedAction (which is what reloads the entire page, giving the option to re-render the page template with the latest job logs) if the jobresult is completed.
A simple fix would possibly be to allow the page template to render logs from non-completed JobResults and also to refresh the page every N seconds until a terminal state is reached; a more ideal fix might be to move the job log rendering out of the page template and into the page JS to dynamically re-render the logs as the jobresult data is refreshed via AJAX.

I will look into possible solutions to dynamically render the job logs while it's running.

@Joezeppe hey Sammy, are you going to be able to look into this?

@jedelman8 this could be included on the Jobs epic.

As I understand it, the data model changes in #1030 make this much more feasible to implement.

Should includes API for job log entry too

#1152 is probably a pre-requisite for this.

A simple fix would possibly be to allow the page template to render logs from non-completed JobResults and also to refresh the page every N seconds until a terminal state is reached; a more ideal fix might be to move the job log rendering out of the page template and into the page JS to dynamically re-render the logs as the jobresult data is refreshed via AJAX.

The simple fix is easily attainable. Unfortunately since we're using django-tables2 to render the tables, there isn't really an easy way to use something like DataTables or an AJAX call without totally refactoring this view.


Add 'requirementstxt' as a format

Short description

It would be really nice to be able to specify requirements.txt-like format. Quite often people use different requirements.txt files like requirements.txt, requirements-dev.txt, requirements-test.txt, etc. While converting e.g. to pyproject.toml this would help.
Output

$ dephell deps convert --from=requirements-test.txt --to=pyproject.toml
WARNING cannot find tool.dephell section in the config (path=pyproject.toml)
ERROR LookupError: cannot determine converter for file: requirements-test.txt
$ dephell deps convert --from=requirements-test.txt --from-format=requirementstxt --to=pyproject.toml
usage: dephell deps convert [OPTIONS]
dephell deps convert: error: argument --from-format: invalid choice: 'requirementstxt' (choose from 'conda', 'egginfo', 'flit', 'imports', 'installed', 'pip', 'pipfile', 'pipfilelock', 'piplock', 'poetry', 'poetrylock', 'pyproject', 'sdist', 'setuppy', 'wheel')

Steps to reproduce

Try and convert from requirements.txt-like file that is not named requirements.txt.
Config

independent of config
Versions

$ dephell inspect self
WARNING cannot find tool.dephell section in the config (path=pyproject.toml)
WARNING cannot find module, trying to install (package=pygments)
Collecting pygments
Installing collected packages: pygments
Successfully installed pygments-2.5.2
{
  "cache": "0b",
  "path": "/home/theger/ws/showmax/es-models/venv/lib64/python3.7/site-packages/dephell",
  "python": "/home/theger/ws/showmax/es-models/venv/bin/python3",
  "version": "0.8.1",
  "versions": {
    "dephell-archive": "0.1.6",
    "dephell-argparse": "0.1.2",
    "dephell-changelogs": "0.0.1",
    "dephell-discover": "0.2.10",
    "dephell-licenses": "0.1.6",
    "dephell-links": "0.1.5",
    "dephell-markers": "1.0.3",
    "dephell-pythons": "0.1.14",
    "dephell-setuptools": "0.2.3",
    "dephell-shells": "0.1.4",
    "dephell-specifier": "0.2.1",
    "dephell-venvs": "0.1.17",
    "dephell-versioning": "0.1.1"
  }
}

Actually this is already possible:
dephell deps convert --from-path=requirements-test.txt --from-format=pip --to=pyproject.toml

Sorry, my bad!

How did you miss it? Do you have an idea how to make docs better? When such confusion happens, first of all, I blame our docs. However, in this case I'm not sure what we can improve.

Honestly, I'm not really sure. Now I can see it's in the docs explained pretty well. Sorry, that was probably just my blindness.

#409 is merged and released. Now, requirements-test.txt also will be detected as pip format, without explicit specification. It should help :) The help message is attached to the issue description. It says that it's unknown --from-format and shows al possible values.

Please, upgrade dephell to 0.8.2.

Thanks for caring!


Stack overflow

With =, idp, pmap, and the following code:
open data List (A : Type) : Type
| nil
| infix cons A (List A)

def length {A : Type} (l : List A) : Nat
  | nil => zero
  | cons a l => suc (length l)

def infix !! {A : Type} (l : List A) (i : Fin (length l)) : A
  | cons a l, fzero => a
  | cons a l, fsuc i => l !! i

def infix ++ {A : Type} (xs ys : List A) : List A
  | nil, ys => ys
  | cons a xs, ys => a cons xs ++ ys
bind cons tighter ++
bind ++ tighter =

def ++-assoc {A : Type} {xs ys zs : List A} : (xs ++ ys) ++ zs = xs ++ (ys ++ zs)
  | {A}, {xs}, nil => idp
  | {A}, {xs}, cons x xs => pmap (x cons) ++-assoc

def ++_nil {A : Type} {l : List A} : l ++ nil = l
  | {A}, {nil} => idp
  | {A}, {cons a l} => pmap (a cons) ++_nil

I had ++-assoc wrongly:
def ++-assoc {A : Type} {xs ys zs : List A} : (xs ++ ys) ++ zs = xs ++ (ys ++ zs)
  | {A}, {nil} => idp
  | {A}, {cons x xs} => pmap (x cons) ++-assoc

This code also triggers SO

Sorry I meant SOE

Turns out it's because I've bound the operators wrongly, bind cons tighter ++ -> bind cons looser ++ resolves it


got allows a redirect to a UNIX socket

Please consider updating got dependency due to CVE-2022-33987
Dependabot alert:

done via 9021186


How to determine if server is running or not?

I want to run express before all mocha tests. The problem is — there is no onStarted event etc.
Is there any simple way to determine if server is running?

there's a "listening" event (node), that might help, there should also be an _fd or something when listening, in 0.6.x it's called ._handle now for windows etc

this is a bit of a hack right now but it works for what i needed, might want to reference it https://github.com/visionmedia/express/blob/master/test/support/http.js
basically just fire up the servers on ephemeral ports and wait for them to listen

Great, app.on('listening', callback) seems to work, thanks.
Also, any way to shut down the server?

yup app.close()

Thanks.


create a namespace per challenge, allow challenges to share a namespace

@sirdarckcat should we close this? We now have a namespace per challenge. Do we still want the ability to have multiple challenges in the same namespace?

I guess it depends on whether we expect multi-stage tasks to share things. What's the solution for that? Multiple containers?

to answer my last question, the answer is yes, multiple containers


git can't sign

I love the terminal but now git signing is broke:
 git commit -am "Remove integration test config"
error: gpg failed to sign the data
fatal: failed to write commit object

I know: Caveat emptor. Just wanna know if you have a simple fix. Otherwise I must remove :-/

Had the same issues and found it is was my own fault. It already says in README

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!

So I searched and found out that in .gitconfig
# https://help.github.com/articles/signing-commits-using-gpg/ 	gpgsign = true
And I don't use gpg keys so what I did was:
git config --global commit.gpgsign false


A typo

"The jobs pane displays on overview of the status of your stages and jobs."
should be
"The jobs pane displays an overview of the status of your stages and jobs."

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

ID: 0e013ceb-c5eb-6fc8-9842-708e669bd4ce
Version Independent ID: b9bc3c0e-85e5-1318-374b-fe1cd3354152
Content: Multi-stage pipelines user experience - Azure Pipelines
Content Source: docs/pipelines/get-started/multi-stage-pipelines-experience.md
Product: devops
Technology: devops-cicd-get-started
GitHub Login: @steved0x
Microsoft Alias: sdanie

@betterly  Thank you for the feedback, please consider becoming a contributor.
The documentation has been updated with the changes above and is now pending review.


Fix codecov script

This matches what's working on the buildbots right now.

Coverage remained the same at 66.667% when pulling e6bfe333327be2fbeb2b7fdb344e5f7df59b74f6 on ksh/fixcodecov into 7bbc051e3e08fa1feb8d79ff0def2d5f158d04b7 on master.

Thanks!


Fasta's incremental compiler can't cope with disappearing library.

I upgraded Dart inside my Flutter Engine checkout and I could not build it anymore with this error:
Unhandled exception:
RangeError (index): Invalid value: Not in range 0..260, inclusive: 261
#0      List._setIndexed (dart:core-patch/dart:core/growable_array.dart:147)
#1      List.[]= (dart:core-patch/dart:core/growable_array.dart:144)
#2      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:188:35)
<asynchronous suspension>
#3      CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:103:35)
#4      _rootRun (dart:async/zone.dart:1126)
#5      _CustomZone.run (dart:async/zone.dart:1023)
#6      runZoned (dart:async/zone.dart:1501)
#7      CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:103:14)
#8      IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:57:20)
<asynchronous suspension>
#9      IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33:40)
<asynchronous suspension>
#10     _FrontendCompiler.compile.<anonymous closure> (package:frontend_server/server.dart:185:65)
#11     new Future.<anonymous closure> (dart:async/future.dart:174)
#12     _rootRun (dart:async/zone.dart:1122)
#13     _CustomZone.run (dart:async/zone.dart:1023)
#14     _CustomZone.runGuarded (dart:async/zone.dart:925)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965)
#16     _rootRun (dart:async/zone.dart:1126)
#17     _CustomZone.run (dart:async/zone.dart:1023)
#18     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949)
#19     Timer._createTimer.<anonymous closure> (dart:async-patch/dart:async/timer_patch.dart:21)
#20     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#21     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

This happens because because Fasta attempts to preserve the order of libraries in the resulting program, but does not account for possibility that some libraries might have disappeared. Which means that libraries.length might be smaller than some of indices preserved in importUriToOrder.
Library that disappeared in this particular case was incremental_class_hierarchy.dart (because frontend_server is being trained upon itself in non-hermetic manner, so library structure from old builds gets leaked into new builds. Related issue flutter/flutter#14750).

Jens, could you take a look?

If possible please verify that it's fixed.
I did reproduce it in a test before fixing it though.


Cyberbullying Classification

Added Cyberbullying Classification
Resolve Issue #982

@invigorzz313 Kindly add gssoc label.

@aishikaranjan your readme.md heading does not match the project

I've updated the readme file.


fix: typos, grammar and wording in README.md

Initially, I wanted to correct only the "Pyhton" typo. However, I noticed a few places that could benefit from some changes as well. These include mostly typos and some word changes for clarity. Additionally, I think it's important to mention the consistency of ending periods ('.') in lists. In my opinion, consistency across all list items is key. If some items end with a period, then all should. The next rule is about punctuation and capitalization in list items: if you start an item with a lowercase letter, you should end it with a comma. If you start with a capital letter, you should end with a period:
list:

- either like this,
- contine,
- end.

or:

- Have sentences.
- Ended with dots.

Most likely, I haven't spotted everything, just the most glaring issues.

Thanks, the corrections are very much appreciated


ViewModel is never set in QuizGameClient

When executing the QuizGameClient, the ViewModel is never set resulting in a NullReferenceException in the auto-generated code behind of ClientView.xaml.

Thanks for the report, Hector! I'll get a fix out soon.

Corrected in my fork.
Anyway, nice sample, really fun to run on my TV (Raspberry Pi) and play with my phones.

Fixed. I changed the way the view models are hooked up, using a slightly cleaner approach. Thanks again for the report. Glad you're enjoying the sample!


asset-registry refactoring

Fix benchmarks. Benchmarks fail because of this check ensure!(T::Assets::asset_exists(asset_id), Error::<T>::AssetDoesNotExist). The asset being used has to exist in the pallet responsible for storing assets (pallet_assets in our case)
Refactor tests. Increased atomicity.

I dropped two questions that are not blockers for merging this PR. However i think it would be nice to include a little bit more details in the PR description documenting how this is needed and why the current benchmark process is not working as expected. At least on my side i don't have 100% clear why the helper is needed instead of tweaking the GenesisConfig of the mocked runtime.

We cannot use mocks in benchmarks. Pallets are implemented abstracting lots of things. Exact implementations of this abstractions affect the real performance. So benchmarks are executed on real runtimes and their results might differ for different runtimes, depending on how you parameterize it. So benchmarks have to be runtime agnostic, because their pallet can be used multiple ways and multiple configurations. Which is a problem in case of pallet coupling.
Since asset-registry is dependent on abstraction over Assets it has to prepare the stage for a benchmark in an abstract way too. BenchmarkHelper is a way for a pallet to say: I don't know how you manage assets in your runtime, but I need you to give me an Id of a registered asset for my benchmarks.

i get it know, i think the implementation looks all right. Thanks for the explanation.


KIC 2.0 - Fix KongPlugin support

KongPlugin listing appears broken at present. With:
$ kubectl get kongplugin -n helmgress rla
NAME   PLUGIN-TYPE              AGE
rla    rate-limiting-advanced   11d

Adding the annotation konghq.com/plugins: rla to an Ingress in helmgress results in:
time="2021-05-25T23:19:45Z" level=error msg="failed to fetch KongPlugin: no KongPlugin or KongClusterPlugin was found" kongplugin_name=rla kongplugin_namespace=helmgress subsystem=proxy-cache-resolver

Unclear what broke here--apparently these aren't getting added into the store? The code that throws that error has not changed:
https://github.com/Kong/kubernetes-ingress-controller/blob/edf338b3efc35ed07ef8f2a338e2f07e837a4548/pkg/kongstate/kongstate.go#L230-L235
https://github.com/Kong/kubernetes-ingress-controller/blob/edf338b3efc35ed07ef8f2a338e2f07e837a4548/pkg/kongstate/kongstate.go#L230-L235

So initial review by adding a KongPlugin integration test indicates that at least part of this stems from the KongPlugin enabled flag being off by default. Turning that on gets a bit further, but runs into a panic because plugin actions rely on some config we're not sending in required config.
https://github.com/Kong/kubernetes-ingress-controller/blob/a556daddd55f164bd1d327611c541e8af35f2251/pkg/sendconfig/common_workflows.go#L43 needs a plugin schema and tags similar to https://github.com/Kong/kubernetes-ingress-controller/blob/next/internal/ingress/controller/kong.go#L47


[Jira] Optimize Issue Creation for Large Issue Creation Metadata

Description
Previously when creating a Jira issue the panel would load all the data for all issue types for the specified project. For some organizations with excessive metadata, this response was too large and the process was running out of memory:

https://github.com/raycast/extensions/issues/8620
https://github.com/raycast/extensions/issues/9199

This changes the behavior so we will initially load the issue types for the specified project, then, we will load the issue type metadata per issue as it's selected.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

There also seems to be a type error on the md-to-adf.ts file, probably because of the TypeScript update. Changing the any to object should do it. Otherwise, let's just ignore this comment with @ts-ignore.


Update LAB[MB-800]_M03_Lab01_Set_up_Finance.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by MOC Labs Review.


range notation

Just a heads up, getting a message about ranges.
examples/blah.rs:124:21: 124:49 warning: use of unstable library feature 'core': will be replaced by range notation
examples/blah.rs:124             .ignore(regex!(r"^\.|^#|~$|\.swp$"));
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
examples/blah.rs:1:1: 132:1 note: in expansion of regex!
examples/blah.rs:124:21: 124:49 note: expansion site
examples/blah.rs:124:21: 124:49 help: add #![feature(core)] to the crate attributes to silence this warning
examples/blah.rs:124             .ignore(regex!(r"^\.|^#|~$|\.swp$"));
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
examples/blah.rs:1:1: 132:1 note: in expansion of regex!
examples/blah.rs:124:21: 124:49 note: expansion site

Thanks! Turns out the macro generation code was using the range function in a few places.


[FEATURE] Stats on Landing page | redundant information

Description
The stats on the homepage shows duplicate information. Like "active users 2.8K from 2.8K"  I suggest only display the active users (28k) instead of showing the past ones.
Same for the other ones although it seems kind of wired links clicked xx from xx.
Hope this makes sense
Screenshots
Old:

New:

Additional information
No response

Thanks for raising!


Google pay golang2

if the other prs are merged, can we look through this and have this merged #75

closing, needs a refactor


🔴 Ecosystem Project Idea: OP Mainnet Gas Fee Tracker

What is an Ecosystem Project Idea?
An Ecosystem Project Idea is an idea for a project that someone could build within the Optimism ecosystem. As opposed to an Ecosystem Concept or an Ecosystem Idea, an Ecosystem Project is generally more fleshed out and corresponds to a relatively clear product to be built.

Summary
Tools like ethgasstation help users understand the current transacting landscape on a blockchain. Currently, the best available tool for understanding the cost of using OP Mainnet is l2fees.info which only displays spot fees and does not show historical fees or the fees for using popular applications.
Possible Features

Display showing the current cost of transacting on OP Mainnet using common transaction types as reference points. Ideally these common transaction types include basic transfers, ERC20 transfers, swaps, and a series of transaction types pulled from popular apps on OP Mainnet.
Display historical gas prices on OP Mainnet to show how gas prices have changed over time.
Display the users and applications that are using the most gas on OP Mainnet over certain specified time ranges (1d, 7d, 30d, all time).

Impact

Users would have a better understanding of OP Mainnet fee behavior

👋 I see this is marked as In Progress. Is that still accurate? If not I might be interesting in hacking on this (not a frontend person historically, so should be a good learning opportunity too)

Someone reached out to me and stated that they'd started hacking on this, lemme see if I can get them in here

Hey all! It was me reaching out signaling my interest on this idea. My goal is to deliver not just something workable but should provide good value to OP ecosystem and not repeating existing contribution if any.
Sharing my study progress so far. 3 aspects I'm looking from:
1. Existing solutions
Sorted by number of available features:

Tool
Live gas price
Live transaction cost by type
Historical transaction cost by type
Historical gas price
All time fees saved
L1 vs. L2 fee comparison
Gas guzzlers

L2 Fees
❌
✅ (Send ETH, Swap Token) in USD
❌
❌
❌
❌
❌

@optimismfnd / All-Time Stats & Gas Fee Savings
❌
❌
❌
❌
✅ (USD, ETH)
❌
❌

@optimismfnd / Fee Savings Calculator
❌
❌
❌
❌
❌
✅ (USD, ETH)
❌

Owlracle's Gas Price Tracker
✅ (gwei)
❌
❌
✅ (gwei, 15 days)
❌
❌
❌

Blockscout's Optimism Stats
✅ (gwei)
❌
❌
✅ (gwei, 1 month)
❌
❌
❌

@oplabspbc / Optimism Gas Price Tracker
✅
❌
✅ (Swap, NFT ops, contract deploys) in ETH, USD, averaged
✅ (gwei, 6 hours)
❌
❌
❌

@oplabspbc / Optimism Bedrock Migration Impact
❌
❌
✅ (Swap, NFT ops, contract deploys) in ETH, USD, averaged
✅ (gwei, 2 months)
✅ (USD)
✅ (USD, ETH, %)
❌

Optimism's Grafana Gas Price Tracker
✅ (gwei)
✅ (Send ETH, Swap, NFT mint, contract deploys) in USD
✅ (Send ETH, Swap, NFT mint, contract deploys) in USD, 1 month
✅ (gwei, 6 hours)
❌
✅ (gwei)
❌

So my general takeaways from these are:

Existing tools combined are pretty comprehensive, with Optimism's Grafana being the most feature complete
The problem with the more detailed ones (Dune dashboards, Grafana) is that they are not too nice on the UX. The UX-friendlier ones (L2 Fees, Blockscout, Owlracle) on the other hand often focus on very narrow band of information and useful only for very specific purposes
So tackling to build another tracker should be about building a tool that:

Does at least equal to or more than combination of existing solutions above
Provides insights to both current and historical data
Most importantly: is UX-pleasing and easily digestible, not just information provider

Which comes to my 2nd point below.
2. User experience
UX wise, I find these three sites as aspirations to the gas fee tracker:

MEV-Boost Dashboard: https://mevboost.pics/

Ethereum Block Value Analytics: https://payload.de/data/

Ultrasound.money: https://ultrasound.money/

All in all, we could aspire the new tool to be 1) comparative like MEV-Boost Dashboard, 2) interactive like Ethereum Block Value Analytics, and 3) easily-digestible, insightful and visually pleasing like Ultrasound.money
3. Technical infrastructure
After hashing out the user requirements, some important items to keep in mind on the implementation side:

Design and infra for ETL of chain's raw data
Cost of serving long-running infrastructure, including: frontend/backend service, query node (cost depending on needing full node or archive node) -> perhaps require upfront grant once some significant development milestone achieved

Next steps
I'll be looking more into pinning the necessart metrics, and some UX ideas on top of them. Would love to continue the conversation with anyone interested! <3

Hey all just want to give a quick update that I will have to withdraw from this project idea due to other ongoing projects including an OP mission proposal that got accepted. Happy to support anyone who'd like to pick this up though!

I started working on an Optimism gas tracker website.
The demo is hosted here:
https://optimism-gas-tracker.vercel.app/
It displays:

Historical gas prices
Common transaction types estimated costs
Top gas guzzlers/spenders

The backend and frontend source code is available here (will open source soon):
https://github.com/buildooor/optimism-gas-tracker
It's built using React (Next.js), Node.js (express), leveldb (storage).
It queries CoinGecko for price and uses various public rpc urls to get block transactions for gas usage.
There's more features to add and open to any initial feedback!

cc @smartcontracts

0xOrphan built this via decentragora: https://www.evmgasstation.xyz/
Just expanded to multiple chains. Price graph included and custom gas calculator.

I'll add another gas tracker that includes Optimism
https://www.useweb3.xyz/gas/optimism

Closed issue, but still seeing some traffic coming in from here.
So just a quick update as the tracker on useWeb3 will soon get deprecated.
It has been migrated to https://www.ethgastracker.com/network/optimism
Also available over API :)


Use IIIF terminology

For the training it is useful if things are referred to as canvas and manifest etc. This might be at odds to making the tool universally accessible especially to those that are less familiar with IIIF but for the training its useful if the terms mentioned in the tool are the ones we've already taught them from the specifications.

In v1 this was configurable, so some users could see terms appropriate for making an exhibit, and others would see the IIIF terms.
I think this is related to 118n but not quite the same - a French training course would use localised text but not translate "Canvas", for example.
So formal model terms maybe should have separate config.

Would it not just be easier to ensure that all terms and titles can be controlled by the 118n process - with the default being the standard English IIIF terms - if a use case requires simplified or domain specific terms then a single config file can be created to control it. This provides consistency or programming and administration.

TODO - decide what this looks like in https://github.com/digirati-co-uk/iiif-manifest-editor/wiki/Configuration
The UI strings can be included in Language Maps; there should be a special flag to indicate where a string is a label for an actual property value, e.g., requiredStatement, so they can be left intact if needed.
Different Apps can have their own overriding strings. E.g., a bespoke slide show editor.

There is a new sub-package of the Manifest Editor that specifically tries to match the IIIF specification with a static definition that can be read in applications.
https://codesandbox.io/s/iiif-meta-27v3q9?file=/index.html
Contains things like:

Required/recommended properties per resource
Valid rights statements + descriptions of each
Link + summary of each property (from IIIF specification)

This can be used to show contextual information inline and relate it back to the specification. Labels will be in the i18n configuration as previously mentioned.


Reactive Forms Plugin

Create a reactive forms plugin

Just need to migrate this over: https://github.com/amcdnl/ngrx-form


Updating Readme from branch example

Updates
I updated the readme file. Please review and accept.

Thoughts
I shouldn't probably, but it's okay 👍


Implement BaseAction for class-based business transactions, and TanRequest

Note: These changes are based on a58dd3a, assuming that a727eb0 is (partially) rolled back.
See proposed design in https://github.com/nemiah/phpFinTS/issues/71#issuecomment-541336450. The BaseAction class is the interface between the central FinTs class that can execute such actions and the (to-be-created) sub-classes in the Fhp\Action namespace that implement various business transactions. At the same time, the BaseAction class much of the user-facing API of the proposed design. The FinTs(New) class itself ([DialogInitialization(https://github.com/Philipp91/fints-hbci-php/tree/allnew-dialoginit), GetTanMedia, FinTsNew) and other BaseAction implementations (GetSEPAAccounts and GetStatementOfAccount) will follow in separate pull requests (as soon as this one is merged). Some high-level documentation is also upcoming here.
@fbett @ampaze Dieser PR zusammen mit den Branches, die ich oben verlinkt habe, dürfte ein konkreteres Gesamtbild von meinem Design-Vorschlag ergeben. Bitte sagt mir, was ihr davon haltet.

Ist jetzt rebased und neu formatiert.


Refactor std.algorithm.iteration

The refactorings involve simplifying code that was working around compiler bugs, pushing symbols from top level to where they are needed, and a few more simplifications.

Good work - just a little nicer to read all over the module. Modulo getting the test suite to pass, LGTM.

whoa blast from the past

@andralex what are your plans with regards to this PR?

PR closed as stalled. If you wish to resurrect it you are welcome to do so.


Input tokens are not output tokens

This unfortunately led to some bad heuristics about sequence_len that caused some training jobs to fail. 😆

Will run the following script in prod to fix the old/bad data:
update
  "FineTuneTrainingEntry" ftte
set
  "prunedInputTokens" = (
    select
      "inputTokens"
    from
      "DatasetEntry" de
    where
      de.id = ftte."datasetEntryId"
  )
where
  "prunedInputTokens" = "outputTokens"
  and ftte."fineTuneId" not in (
    select
      "fineTuneId"
    from
      "PruningRule"
    where
      "fineTuneId" is not null
  )


How long does it take you to run MAML with higher?

I was running my own code with torchmeta and an iteration takes like 1 sec:
| 7/10 [00:08<00:04,  1.34s/it]

80%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                                               | 8/10 [00:09<00:01,  1.01it/s]

with gpu of course.
So if I do 60K iterations that is 60K seconds which seems to be about 16 hours.
That seems to be very time consuming, even though I am using a single meta-batch.
This repo says it takes (meta-lstm meta learner) 2.5 hours:

Training with the default settings takes ~2.5 hours on a single Titan Xp while occupying ~2GB GPU memory.

How long does your MAML take to run with torchmeta?

discussion here: https://github.com/tristandeleu/pytorch-meta/issues/20

I've ran the meta-lstm code before and it ran in under 4 hours...

In my experiments, this implementation is indeed running 60k iterations in about 12-16h, so that seems about right (for Omniglot & MiniImagenet 5-way 1/5-shots, with the hyperparameters from the MAML paper). Also note that the script periodically does evaluation on the meta-validation split, which introduces an overhead. Using a single task per batch might give you a speedup compared to the hyperparameters from the paper (e.g. 4 tasks/batch for MiniImagenet IIRC).
However this implementation does not use higher, it uses the MetaModules from Torchmeta. From small scale experiments, it seems like using higher could be slightly faster than the MetaModule approach (because of some overhead in MetaModules, which hopefully is reduced in Torchmeta 1.4.6). You can take inspiration from this example in Torchmeta to see how to combine this implementation with higher. I haven't compared this implementation against other MAML PyTorch implementations though, so I cannot guarantee that this is as efficient as it can be.


Improvements to search relevance and similar images

Objective
Increase findability across the collections, stories and public programme
Measures

Similar feature clustering is more conservative

Colour filtering uses more optimised colour ranges

More exact matches boosted over less exact matches

Link to feature: https://wellcomecollection.productboard.com/feature-board/planning/features/15789007


In Angular 12, ng serve not showing compilation errors properly in browser overlay and console

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

Yes
 Yes, the previous version in which this bug was not present was:
Angular CLI: 11.2.13
Node: 14.17.0
OS: darwin x64
Angular: 11.2.14
Description
When I run ng serve any TS error such as TS2564 are properly shown in terminal but not in browser overlay or console. In the browser, it's only showing Failed to compile. Previously it was showing a complete error message.
🔬 Minimal Reproduction
Just create a new app with angular CLI and create property abc with type string in app.component.ts but do not initialize it which will give a compilation error TS2564 due to strict type checking. But the error is not shown properly in the browser overlay or console. It is just showing Failed to compile.

🌍 Your Environment
Angular CLI: 12.0.1
Node: 14.17.0
Package Manager: npm 6.14.13
OS: darwin x64
Angular: 12.0.1

Anything else relevant?
When I debugged the error in the chrome browser I found out that the file located at /node_modules/webpack-dev-server/client/index.js has an error function which is accepting an argument named _errors. The error function is expecting errors array in string format => ['...........'] but it's actually getting the array as an array of objects with a key message which contains the actual error => [{message: '......'}]

Duplicate of https://github.com/angular/angular-cli/issues/20710
TLTD; the stable version of webpack-dev-server is not fully compatible with Webpack 5. We will update once there is a stable version that supports Webpack 5.


Implement cyclic burst time generation

Not sure it necessarily is important in advance of the redshift
calculation, but the output array will need to be sorted. Perhaps that is
almost the easiest implementation?
On Sun, 29 Nov 2020 at 11:20, Leon Oostrum<EMAIL_ADDRESS>wrote:

@loostrum commented on this pull request.
In frbpoppy/time_dists.py
https://github.com/davidgardenier/frbpoppy/pull/36#discussion_r532188022
:

generate burst arrival times within each active period

times = np.random.uniform(0, frac[:, np.newaxis] * period[:, np.newaxis],

                         (n_srcs, nburst_per_source.max())).astype(np.float32)

I'll have a look; for most of the function it doesn't matter that the
bursts aren't sorted, but it does for the redshift calculation and probably
the output should be sorted anyway?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/davidgardenier/frbpoppy/pull/36#discussion_r532188022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLQIUWOKHPZZGGRMLUOVFDSSIN7NANCNFSM4UE75FAQ
.

Actually, in advance of the redshift is important for determining t0...


hibernate.jdbc.time_zone property ignored

Hi!
I've faced with an issue that in case of JTA transaction-type configuration, Hibernate's native property hibernate.jdbc.time_zone (org.hibernate.cfg.AvailableSettings.JDBC_TIME_ZONE) is ignored.
In case of RESOURCE_LOCAL transaction-type it is loaded correctly.
Is there any way to configure Hibernate/JPA timezone for JTA transaction type w/o code changes?
Thanks!

please use forums for this kind of questions
https://developer.jboss.org/en/wildfly
or in this case even better probably
https://forum.hibernate.org/


Update ROLES.md

removed Purveyor of Lyne-ry

added vet 2019
volcano role

beta squad role

Technically Adults

I think I have helped make this more reflective of the current set of roles, let me know if any further changes should be made

Brilliant, will merge 😄


Please release again to fix Angular 1.4 dependency

Hi buddy,
the current release of angular-material-icons still has angular 1.3 dependency.
You have to release again to let bower read the new dep allowing angular 1.4.
Although it is not a big deal for bower and npm it breaks dependencies for rails apps that uses https://rails-assets.org/

Done. Published a new version.

What is the latest version on cdn?


Update notebook to show advanced sequence generators

Codecov Report
Patch and project coverage have no change.

Comparison is base (bf1241e) 100.00% compared to head (ec21ab6) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #94   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           57        57
  Lines         2057      2057
  Branches       143       143
=========================================
  Hits          2057      2057

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix Leptonica version check for cmake

The check was missing.
The check did not work with the given Leptonica version.

Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

Cmake works with such numbers (1.74) too. Let's keep it.


Make Java Interfaces a different Color

Is there an existing issue outlining your improvement?

[X] I have searched the existing issues and my improvement has not been raised yet.

What would you like to see added and/or changed?
Currently normal classes, abstract classes and interfaces all have the same color in the editor. Making them different colors makes it easier to spot at a glance what type you are working with

Hey :wave:, sorry for the long wait on this.
I feel like this is pretty subjective so I'm hesitant to highlight them differently by default. I'll be closing this as not planned but I may revisit this in the future.
The great part about Intellij is that the theme editor for languages is actually built-in and can be modified to your liking. If you would like to change Java Interfaces then you can:

Navigate to Settings -> Editor -> Color Scheme -> Java -> Classes and Interfaces
Modify the Foreground colour to your liking.
Click Apply.

E.g. Here I'm changing Java Interfaces to pink:

Hope that helps!


} expected (9999) when using @property & @scroll-timeline syntax

I'm getting similar error messages as in others, but with the following syntaxes using @property & @scroll-timeline.
cc: @lencioni
@property --radius {
  syntax: '<length>';
  inherits: false;
  initial-value: 20px;
}

and also for the scroll-timeline syntax:
@scroll-timeline collision-timeline {
  source: selector(#container);
  orientation: block;
  scroll-offsets: 200px, 300px;
}

Closing as this package has been deprecated in favor of the official styled-components/typescript-styled-plugin fork
After updating to that fork, follow up in the styled-components repo if this is still an issue


Add preview of next period votes

Description
Until gauge type weights are set on Tuesday, queries to the gauge controller for gauges' relative weights return zero, so we can't show the current status of the voting process in the vebal page.
But since we only have mainnet gauges for now, we can query the weight of each gauge (get_gauge_weight) and the sum of weights of all type 2 gauges (get_weights_sum_per_type(2)) and compute the relative value from that.
This is only a temporary measure that allows us to display next period votes before Tuesday. These changes should be reverted after the type weights are set. In the meantime, anyone please feel free to make any necessary improvements to the code (legibility,  performance w/e)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
vebal page should display next period votes
Visual context

Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[x] I have commented my code where relevant, particularly in hard-to-understand areas
[x] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

I've combined this code with the PR I was working on that gets votes for this week and last in #1625.


feat(tutorial): complete step 3 - Rochester

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

There is a conflict in package.json for some reason, but your end result looks good anyway.
I've marked your step 3 as complete.


[Bug] cocapods-spm causing issues with react-native header search paths

What happened?
After installing cocoapods-spm and running pod install inside my react-native ios folder the project fails to compile with headers not found.  It seems the HEADER_SEARCH_PATHS lines are missing from the xconfigs for the pods in Pods/Target Support Files/.*.xcconfig.  Adding
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/<podname>" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/<podname>"

to the xcconfig files does fix the issue.
Uninstalling cocopods-spm and running pod install again will fix this issue.
CocoaPods environment
No response
Anything else?
No response

@ghedlund Thanks for reaching out!
Am I understanding correctly that the issue occurs after installing cocoapods-spm, without any usage from the plugin (ie. declaring spm packages), right?

Hi @ghedlund, I have made a fix for this issue. Would you mind trying again with version 0.1.1?
Thanks for the report 👍!

Just to confirm, I was not using any spm packages in that react-native project.  Thanks for the update - things are woking fine now.  And a big thank you for this project. you have saved me a lot of headache this week!


Allow onOneServer via env/config

Hello,
This PR adds the ability to run the snooze commands through the onOneServer functionality provided by the Laravel Schedule.
I had the same issue as https://github.com/thomasjohnkane/snooze/issues/78 but didn't look like a PR had been made.
Changes
New Environment variable: SCHEDULED_NOTIFICATIONS_ONE_SERVER
and Config variable: snooze.onOneServer
Notes

I didn't know if prune should also be included, but i think it makes sense.
I felt like the disable statement above should also have wrapped around prune also, but didn't want to combine that in this PR
I attempted to write a test but struggled due to the Scheduler code not existing in the repo which made it hard to write a Mock for it

Codecov Report

Merging #86 (0e649b5) into master (b938359) will decrease coverage by 1.10%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##             master      #86      +/-   ##
============================================
- Coverage     97.27%   96.16%   -1.11%
- Complexity       81       83       +2
============================================
  Files            10       10
  Lines           257      261       +4
============================================
+ Hits            250      251       +1
- Misses            7       10       +3

Impacted Files
Coverage Δ

src/ServiceProvider.php
80.76% <33.33%> (-10.14%)
:arrow_down:

Continue to review full report at Codecov.

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


4.26

Is the plugin working well with 4.26?

you can download my fork of this project and build it in 4.26

you can download my fork of this project and build it in 4.26


virtualfish loader error: plugin compat_aliases does not exist!

Hi,
I installed virtualfish via pip as root:
~> eval (python -m virtualfish compat_aliases)
virtualfish loader error: plugin compat_aliases does not exist!
Additional information:
virtualfish     - A virtualenv wrapper for the Fish shell
INSTALLED: 1.0.0a1 (latest)
OS: Fedora 21 up-to-date
Cheers

Try removing it from the eval argument: eval (python -m virtualfish)
In 1.0.0a1, compat_alias is still part of virtualfish's core, not yet a plugin as in master.

Yes, the other way it works as expected, thanks for the heads up.

@msx there's a new release with compat_aliases plugin. Have you already updated virtualfish?

Hello @scorphus,
Thanks for the notice, I didn't have the chance yet as virtualenv hasn't been updated on pip.
I will be looking for that on the upcoming days though :)

1.0.0 should be on Pip - it is for me. In fact, I always upload the release
to Pip even before I push the release commit / tag to GitHub :)
On Tue, 5 May 2015 at 12:43, Martín Cigorraga<EMAIL_ADDRESS>wrote:

Hello @scorphus https://github.com/scorphus,
Thanks for the notice, I didn't have the chance yet as virtualenv hasn't
been updated on pip.
I will be looking for that on the upcoming days though :)
—
Reply to this email directly or view it on GitHub
https://github.com/adambrenecki/virtualfish/issues/51#issuecomment-98920413
.


go-to-def doesn't work on trailing requires clause

template <typename T, typename U>
concept binary_concept = true;

template<typename T, typename U>
void foo() requires binary_con^cept<T, U>; // no definition found

it seems like a source-location issue in clang's FunctionDecl. The foo's end loc doesn't take the constraint-expression into account.

Proposed fix


Defining a rank column for vector source

I'm trying to add a rank column to a vector source using the following code:
        $report = array (array('firstColumn' => 'someText'));

        $grid = $this->get('grid');
        $grid->setId('grid1');
        $source = new Vector($report, array(
            new RankColumn(array( 'title'=> '#'))
        ));
        $grid->setSource($source);

but I get the following error when I try to render the template
An exception has been thrown during the rendering of a template ("Notice: Undefined index: rank

It doesn't work.
I added the column after setSource using
$grid->addColumn(new RankColumn('title' => '#'), 1));

But it still renders it as the last column.
However I don't have this problem with the Entity Source, only the Vector source is malfunctioning.


#354 - Support building on CentOS6 with Python2.6

resolves  #354
regular build and stage_install commands should work
In the http://localhost/admin there is a bug that some icons are not loading hence not showing the db name, but it is not related to this change , hence use geserveradmin commands to publish the db once pushed successfully with fusion.
I will track the icons bug separately.

updated CLA.

@tst-awankhede it looks like your email address wasn't set up correctly when you committed the changes.  It's showing up as invalid-email-address on the commit.  I think that's why it's complaining about CLAs.

@tst-lsavoie where is the email not setup ? It correctly resolves the author to tst-awankhede  profile. Also in git client, this is what is setup

@tst-awankhede my only guess is that maybe you were working on a different machine or a VM or something like that.  Your other two commits came through fine.  In any case, we know the commit came from you, so I don't know that we need to worry about it much.

@asmitaw If you click on the commits tab it should show you that one of the commits has an incorrect email.

When I look at the commit locally, I see:
commit d0d9fe138e4e4affc279e103abc073d1a157b4ca
Author: root<EMAIL_ADDRESS>Date:   Wed Aug 30 10:36:44 2017 -0700

     #354 - Support building on CentOS6 with Python2.6

When I try to build with these changes I get failures like the ones below:
cc1: error: -Werror=unused-result: No option -Wunused-result
cc1: error: -Werror=unused-local-typedefs: No option -Wunused-local-typedefs

I'm using the default compiler (gcc 4.4.7).  Do I need to update it to something newer?

@tst-lsavoie: That's what you get when you build with an old compiler. It doesn't support some of the warning command-line options.

What's the best way to update the compiler on CentOS 6?  We're going to need instructions for this at some point - might as well get started now.

This has some instructions: https://gist.github.com/giwa/b1fb1e44dc0a7d270881
There's also a "cc_dir" flag where you can pass in the path to the compiler.

@tst-lsavoie  - I've got some draft markdown as a start on how to setup the new compiler for RH.  It's not checked in yet, but coming in an MR soon. Here's a quick snippet:
GEE 5.2.1 Build Prerequisites (All platforms)

git 1.7.1+
gcc 4.8.x
scons 2.3.x+
python 2.6.x+

RHEL6 Build Notes
GCC 4.8
To obtain GCC 4.8 on RHEL6, you must enable the DevToolSet repositories in the RHSM:
sudo subscription-manager repos --enable=rhel-x86_64-workstation-dts-2

sudo yum install devtoolset-2-gcc devtoolset-2-binutils  devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran

The gcc 4.8 installation will be located in the /opt/rh/devtoolset-2/root/usr/bin/ directory   To switch the environment to use gcc 4.8, run:
source /opt/rh/devtoolset-2/enable
NOTE:  There is still an issue that we’re working where scons does NOT properly use the gcc 4.8 - we’re actively working to fix this.
SCONS 2.3.x+
Scons 2.0 provided by RHSM is not compatible, and it must be upgraded. A “monarch” package is provided from scons.org:
wget scons-2.5.1-1.noarch.rpm
sudo yum install scons-2.5.1-1.noarch.rpm

@tst-dsheremata @tst-ccamp thanks.

Is this supposed to support building portable as well or are we handling that separately?  I get python errors when building portable.

@tst-lsavoie: What errors are you getting for Portable? I was able to build and install, but I'm not using exactly this branch.

  File "earthenterprise/earth_enterprise/src/portableserver/build.py", line 251, in <module>
    main(sys.argv)
  File "earthenterprise/earth_enterprise/src/portableserver/build.py", line 248, in main
    builder.build()
  File "earthenterprise/earth_enterprise/src/portableserver/build.py", line 93, in build
    self.build_fileunpacker()
  File "earthenterprise/earth_enterprise/src/portableserver/build.py", line 177, in build_fileunpacker
    build_and_test.main(['build_and_test.py', self.platform])
  File "/home/admin/earthenterprise/earth_enterprise/src/portableserver/build/fileunpacker-build/build_and_test.py", line 84, in main
    if BuildLibrary(os_dir, argv[1].lower()=="windows"):
  File "/home/admin/earthenterprise/earth_enterprise/src/portableserver/build/fileunpacker-build/build_and_test.py", line 46, in BuildLibrary
    result = util.ExecuteCmd(line.format(**build_vars), use_shell=True)
  File "/home/admin/earthenterprise/earth_enterprise/src/portableserver/build/fileunpacker-build/util.py", line 48, in ExecuteCmd
    print "Executing: {}".format(os_cmd if use_shell else ' '.join(os_cmd))
ValueError: zero length field name in format

It looks like the fix is similar to some of the other changes already made on this PR but this particular file wasn't modified.

Yeah. I thought that was fixed in this PR, but it may have been missed.
This is just the error message for not recognizing your OS that's failing to be displayed.
We can fix it in this pull request, or leave it for another.  I build and install Portable in my working branch.

@tst-dsheremata: I haven't had to upgrade scons on RHEL 6.

I'm happy to leave it for another PR.  We just need to make sure we get everything working for both CentOS 6 and RHEL 6.


temporal-music-notation-0.4.0 does not compile

A complete build log is at http://hydra.cryp.to/build/791810/nixlog/1/raw.

Well, I've changed the API for the sake of another library.
From now on he loop is for infinite loops. And I've renamed
the loop with finite number of repeats to loopBy:
loopBy :: Int -> Track t a -> Track t a

Maybe there is a better name?

I'm still not satisfied with name loopBy. It's ok but I have some intuition
that it can be better...

@anton-k, I'm merely trying to package these libraries for the NixOS distribution, and I've run into trouble because the packages don't build. I don't have any opinion on the naming of the combinator; I just care that these libraries can be built successfully.
If this issue is hard to remedy, then I can just remove the failing packages from the distribution the the time being?

I'll remove these packages from NixOS until the build errors have been resolved ...


no-response-body rule is triggering for some standard templates

issue: https://github.com/Azure/typespec-azure/issues/1552

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-azure-resource-manager
:white_check_mark: @azure-tools/typespec-azure-rulesets

Show changes
@azure-tools/typespec-azure-resource-manager - feature ✏

Update the arm no-response-body rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty

@azure-tools/typespec-azure-rulesets - feature ✏

Update the arm no-response-body rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


NonEmpty Instance of GQLType

NonEmpty is part of Haskell's basic libraries. How can I create a GQLType instance of NonEmpty?

if it is part of prelude then morpheus should provide GQLType instance  for it

Let me see if I can whip up a PR.

sounds good

How would I go about testing the guarantee provided by NonEmpty?

look at implementation of Set
https://github.com/morpheusgraphql/morpheus-graphql/blob/c66bde8e44eb79508eb6606acb6d621ec857b72f/src/Data/Morpheus/Execution/Server/Introspect.hs#L120-L124
https://github.com/morpheusgraphql/morpheus-graphql/blob/c66bde8e44eb79508eb6606acb6d621ec857b72f/src/Data/Morpheus/Execution/Server/Encode.hs#L104-L106
for inputs i think you can make it with same manner in:
https://github.com/morpheusgraphql/morpheus-graphql/blob/master/src/Data/Morpheus/Execution/Server/Decode.hs
please add Decode instance for Set too

is addressed in #478


Track Custom Events - new version

Make sure that Track Custom Event method is supported: https://docs.voucherify.io/v2018-08-01/reference#create-custom-event

customer and event are required
metadata is optional
referral is optional

Any updates on tracking custom events?


ci: Use strict for building runtime (error on warnings)

#45  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommy-xr and the rest of your teammates on  Graphite


[MB-6302] Removing use of Vault.go

Description
Like #5825 and #5734 this removes the use of vault.go

Great! Have you tested still sends payment reminder fine?

I can't. No AWS on my temp computer. :( But given we've done this exact same thing 3-4 times now, I have no reason to believe that it won't work. Want to pair?

We've tested!

Rebecca and I paired on this and confirmed it works.


Problems after 3.0 update

I have an issue after the last xcolor 3 update with pdflatex. I used a lot of packages, some of them load xcolor.
Until the new update my files "compiled" ok, but after yesterday update I got some an error like ! LaTeX Error: Unknown option 'usenames' for package xcolor.
I tried to use \PassOptionsToPackage{usenames,dvipsnames}{xcolor} or \PassOptionsToPackage{usenames}{xcolor}
without success.
I restored the 2.14 and all works fine again.
JH

It is always helpful if you provide a minimal example that shows the problem, not just a description

The option usenames is obsolete. But I will change it, so that it issues only a warning not an error.

I uploaded a version to ctan which will only warn. But try to remove the option, according the changelog it is unneeded since 2004.

Sorry my fault about MWE. I will test the new 3.01 release and will post here any issue, but I do not load xcolor myself. That's my main problem.

I tested your new 3.01 release and confirm that the problem is over. Thanks.

@u-fischer I just wanted to draw your attention to a possible typo, in case you haven't noticed it yet:
https://github.com/latex3/xcolor/commit/c74a17bfb178092afb3bd2bcdfbd0ddf474f2221#r132642683

Certainly not. I just didn't spot the fix here on GitHub, at least not in the main branch.


[Bug]: In personal space, put the mouse on the connection name, and the color above will shift slightly.

ODC version
ODC422
OB version
any
What happened?
In personal space, put the mouse on the connection name, and the color above will shift slightly.

What did you expect to happen?
excute normally
How can we reproduce it (as minimally and precisely as possible)?
In personal space, put the mouse on the connection name, and the color above will shift slightly.
Anything else we need to know?
No response
Cloud
No response

fixed in dev-4.2.2

pass


error Token / Network Connection

Hello,
I got this problem :
$> openai "Hello"
err: TOKEN / NETWORK CONNECTION
Can you solve the problem ?

Thank you for your interest in the project
I'm working on it!


WIP: Use random port forward

Resolves #154
Still WIP there was a bug in k8s which does not change the port https://github.com/kubernetes/client-go/blob/kubernetes-1.13.4/tools/portforward/portforward.go#L201
It is fixed in current master https://github.com/kubernetes/client-go/blob/master/tools/portforward/portforward.go#L209 1.15.0+ version

This change is

@jpkrohling do you think we can update k8s API to 1.15? Or do we need to depend on 1.13 because of operator SDK?

Might be better to ask on the Operator SDK mailing list or forums, but I see that the they pinned the version to 1.13.4 for their master, even after releasing SDK 0.8.2/0.9.0. I guess that's a sign that something might not be working on newer versions :-)
https://github.com/operator-framework/operator-sdk/blob/master/go.mod#L113
Given that this is for testing purposes, let's keep the version brought by the Operator SDK.

Should we close this one?

@jpkrohling I implemented use of random ports in tests with https://github.com/jaegertracing/jaeger-operator/pull/545

Not quite, we should rely on the random ports provided by k8s client.
This is blocked until we update to k8s api 1.15.0+


Changes to work with Django 2.2.15

Hello,
Yesterday I used your package in a project that I have with a newer version of Django and I made some changes.
It is specifically for version 2.2.15. The changes are relatively small so most probably they work for all Django 2 version.
I guess you do not want to merge it directly to master. I am opening this PR just to let you know about some updates. In case you want me to push somewhere else please let me know the branch name.
In my cloned version the tests weren't working, so there are modifications in the tests folder too.


Orchestrator hangs if the RPC endpoint is down

Currently, the orchestrator hangs and doesn't recover if the RPC endpoint, probably also gRPC or P2P, is down. This will need to be improved so the node supports this kind of failures and recovers correctly.

This will be covered in https://github.com/celestiaorg/orchestrator-relayer/issues/181, since the p2p and gRPC clients are able to recover.  So, we only need to implement that for the tendermint one.


[Game]Physics 2D Component Issue

What is an issue?
In collisions between polygons and circles, physical interactions do not work correctly in certain directions.
Expected Causes
The direction handling in the collision process between polygons and circles may be incorrect.
Expected Solutions
Need to modify the collision calculation process between polygons and circles.

glm::vec2 direction = FindSATCenter(rotatedPoints2) - FindSATCenter(rotatedPoints1);
if (glm::dot(direction, normal) < 0.f)
{
	normal = -normal;
}

There was a calculation error in the method for determining the direction vector.


Pass incomingState to _buildState

This will handle the case where _buildState relies on a value that can be changed by calling setState
Fixes #131

 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.:x: berickson1 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


utils/*/index.ts Not Working Since v3.14

Environment
nodejs: 22.12.0
typescript: 5.7.2
unimport: 3.14.4
vite: 6.0.3
Reproduction
https://github.com/sumomo015/unimport-test/tree/main
Steps to Reproduce:

pnpm install
pnpm postinstall
pnpm typecheck

It working at v3.13.4
https://github.com/sumomo015/unimport-test/tree/3.13.4
Describe the bug
utils/*/index.ts not Working, and the following errors are encountered.
src/main.ts:2:31 - error TS2304: Cannot find name 'TEXT_FILE_PATH'.

2 console.log("TEXT_FILE_PATH", TEXT_FILE_PATH);

Additional context
I first found that utils/*/index.ts didn't work in Nuxt, so I came here
Logs
><EMAIL_ADDRESS>typecheck /Users/sumomo/github/unimport-test
> tsc --noEmit

src/main.ts:2:31 - error TS2304: Cannot find name 'TEXT_FILE_PATH'.

2 console.log("TEXT_FILE_PATH", TEXT_FILE_PATH);
                                ~~~~~~~~~~~~~~

Found 1 error in src/main.ts:2

A workaround:
{
  dirs: ["./utils/*/*"],
  dirsScanOptions: {
    filePatterns: ["index.ts"],
  },
  dts: true,
}

/cc @antfu The new feature I added led to this issue, it seems we need to retain the scanning of the original glob of dirs.WDYT

Yeah, let's revert that behavior change to not break the existing users. @noootwo Would you like to initiate the PR? Thanks!

Sure, I'll make a PR.


Purple Tulip

what ?

Sorry after I finished it I realized it was for a different mod. I didn't know how to delete it.
On Thursday, February 22, 2024 at 12:47:29 AM CST, Trhod177<EMAIL_ADDRESS>wrote:

what ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


no objects passed to apply

The page Deploy a SQL Server container in Kubernetes with Azure Kubernetes Services (AKS) throws an error when following directions in the Create storage section. Running kubectl apply -f .\pvc.yaml throws error: no objects passed to apply

Imbarrised to say, I didn't save pvc.yaml before running the script. Obviously there was nothing in it when it ran and caused the error. lol Sorry


Add page about centos aws license

What this PR does / why we need it:
This is something that must be completed on new AWS accounts before provisioning clusters in tarmak.
Release note:
Add instructions to guide new users while accepting the CentOS license terms on AWS.

/lgtm


Add TypeScript typings to project

Closes https://github.com/kevinbeaty/any-promise/issues/18. I can add this as the first project to https://github.com/typings/typings/issues/480, when I get to it 😄 Hopefully that'll always give you somewhere you can get help, just in case. But you can always ping me with changes also, it's pretty easy to pick up.

Cool, thanks.
A couple more things.  #19 added "registration shortcuts".  These are just bare imports that don't export anything, e.g.:
require('any-promise/register/bluebird')

// is shorthand for
require('any-promise/register')('bluebird', {Promise: require('bluebird'))

Would there be any reason to add definitions for these shortcuts?
Also, #15 (optional import) is probably coming soon in some form.  The interface is still being discussed so I'll probably bug you again when that lands.
Thanks again!

@kevinbeaty Committed the changes. On the registration shortcuts, I've copied the plain Promise re-exporting. If, at some point, each promise implementation actually adds type definitions, you could import those and re-export those instead.

On the registration shortcuts, I've copied the plain Promise re-exporting.

I'm a bit confused now.  Those shortcuts are used only for the side-effect of register, nothing is exported.   Why do we declare it as exporting the Promise?  (Or maybe it was just a misunderstanding?)

@kevinbeaty Oh, I read it wrong - I thought it was exporting the promises directly. Let me double check.

@kevinbeaty Switched it to empty exports so that the ES6 import will work (E.g. import 'any-promise/register/bluebird'). Module augmentation with global doesn't currently work, so it won't magically appear in the global with TypeScript (yet).

Cool thanks.  Do you recommend anything to help test definitions are correct?  If not, I can take your word for it on this one, but it certainly would be nice.

Only using the TypeScript compiler itself, that would ensure they're correct (but not functionally correct).

Awesome, cheers! Looking forward to this release, I have a few modules to update now 😄

Published in v 1.3.0


Visual artifacts while closing Terminal

There's this weird artifact that shows up while closing the terminal.
Steps for reproducing the issue -

Open Terminal
Hover your mouse cursor on terminal's icon in the taskbar.
Hit the close (X) button on the preview that the taskbar shows you.

Observe the weird artifact that develops at the bottom part of the screen (kind of some weird blur that covers the whole taskbar).
Windows Version: 2004 (19041.153)
Terminal: Running latest version with no updates in the store (0.9.433.0)

Thanks for the report! This is actually already being tracked by another issue on our repo - please refer to #4774 for more discussion.
/dup #4774


Couldn't find section with name .text

Ran release sekirofpsunlock-v0.2.2 while the game was running (tried several times until the main menu was accessible) and got this error:
❯ sudo setcap CAP_SYS_PTRACE=+eip sekirofpsunlock

❯ ./sekirofpsunlock 60 set-fps 165
couldn't find section with name .text
find_section_info(".text", ...) failed
patch_game_fps() failed
main_fps() failed
handle_arguments() failed
patch() failed

The game runs perfectly fine, but at 60 fps.
I am not running the Steam copy of the game, could that be the issue?
Running this script while the game was running -- https://github.com/Lahvuun/sekirofpsunlock/blob/master/contrib/dumpsection.py -- gives the error:
❯ sudo ./test.py /proc/$(pgrep sekiro.exe)/mem .text > text
Traceback (most recent call last):
  File "/home/user/Downloads/sfu/./test.py", line 57, in <module>
    raise ValueError("Could not find section {} in {}".format(section_name, mem_path))
ValueError: Could not find section .text in /proc/221759/mem

The PID matches what top reports for sekiro.exe.
Tried using Bottles version of wine (Caffe 7.7), wine-staging 7.13, and wine-tkg 7.5 all with the same error.
Esync and Fsync are enabled.
Also tried running through lutris, no change.
Specs:

ArchLinux - 5.18.13-lqx (Liquorix kernel)
Ryzen 7 5800HS, 16GB RAM
Nvidia RTX 3060 Max-Q (Driver -- 515.57)

Interesting. It's certainly a windows executable — otherwise you'd be getting a different error. Either the code section is named differently (the game should still work, though I'm not a PE expert), or... there isn't one?
Let's start by examining your sekiro.exe. Upload it here.

sekiro.tar.gz
Github doesn't support uploading exe's so I have compressed it into a tar.gz.

Your .text section is named .textV! A few others have V appended, too. Where'd you get this binary?

You don't have to answer that, by the way.
Backup sekiro.exe, then run this:
printf '\x00' | dd of=sekiro.exe bs=1 seek=693 count=1 conv=notrunc
See if the game runs (it should), then see if it gets patched.

Patching sekiro.exe by following the comment above seems to be working, and I can see the fps crossing 70.
Running sekirofpsunlock didn't give any errors either.
Thank you very much for the help!

Great!
I'll keep this issue open until I figure out a way to detect .text regardless of its name.


Test: debugging CI test failures failures

Debugging why tests are failing CI

Closed PR because it was just to investigate CI


Create a docker image for Gluten + ClickHouse backend

(you don't have to strictly follow this form)

Use case

A clear and concise description of what is the intended usage scenario is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

done


Swift Complier Warnings on Swift 5.0

Swift Compiler Warnings
I have updated to latest version (5.0.0) and I am still seeing Swift Complier Warnings in regards to switch cases not handling @unknown default.
I am also seeing several compiler warnings in regards to SteviaLayout. I can see the YPImagePicker is referencing Stevia version 4.4.4 and not 4.5.0 (Swift 5 version) in the Podspec.
Am I missing something in my config or is this what others are seeing as well?
Keep up the good work!
Best regards,
Erik
Environment:

OS: macOS 10.14.4
Xcode Version: 10.2.1
Swift Version: 5.0

Installation Type

Cocoapods

There is 2022 year outside🎉 Old outdated issues are closing. Please search if there are already existing issues with the same problem before opening new ☮


ErrorActionPreference and FailOnStandardError does not work for AzurePowerShell@5

AzurePowerShell@5 always returns success, even if I return "exit -1"

task: AzurePowerShell@5
inputs:
azureSubscription: 'MySubscription'
ScriptType: 'InlineScript'
Inline: 'Write-Error "Test Error"'
FailOnStandardError: true
azurePowerShellVersion: 'LatestVersion'
errorActionPreference: stop

Note: It behaves as expected with old version AzurePowerShell@4

@frankkrupp The issue has been fixed in AzurePowerShellV5. It will take 6-8 weeks to get deployed. Thank you for your patience.

Please wait for 6-8 weeks for the task to get deployed. Thereby, closing the issue.


Video not downloaded

Hello,
It give me this error i don't understand how to solve it. Can anyone please help me ?

This tool work only for Microsoft streams.
For Webex, there is a download button on the recorded lesson page.

For WebEx videos you should use this: https://github.com/sup3rgiu/PoliWebex
Or this browser extension https://github.com/jacopo-j/WebXDownloader

Thanks a lot!


Add failing test for scheduling channels

When running ping-pong over two channels, msleep() will not wake up. Add
a test reproducing this issue.
Submitted under MIT license.
Signed-off-by: Nir Soffer<EMAIL_ADDRESS>

Second version of the patch fixes msleep to use a deadline (now() + 100) - still fails.

looking at those logs, I can't figure out where the failure is.
we ought to print the test-suite.log output so it's easy where it fails on each OS run.

reqshark, there is more info on #84

ok thanks that's helpful, i'm also adding PR: #83

Last version is rebased on master.

I've added the test as a part of the patch for the problem. I've taken liberty to rename it to overload.c given that that's what it really tests.

Thanks, makes sense.


fix(postgres) ensure APIs created_at has ms precision

APIs are retrieved without an ORDER BY clause from the datastore when
building the router. Because of the lack of such a clause in our current
Cassandra schema, we wish to implement sorting by creation date in our
business logic, right before building the router.
However, the PostgreSQL default clause of the APIs created_at field
is set to CURRENT_TIMESTAMP(0), which strips ms precision out of the
timestamp. This changes the default timestamp precision to 3 digits so
our sorting attribute (created_at) can be meaningful.
This fix is targeting 0.11.1, and as such does not introduce a new
migration to update the default value of created_at. This fix will
only have effect for new database schemas.
A second commit will introduce a migration, which, as per our policy,
will be targeted for 0.12.0.
Fix #2899

Currently in the process of addressing the tests failures related to timestamp precision.


Adds ability to pass middleware to socket server

Hi all,
On the project I am using this with there is a requirement for session management on our Node server. We tie this in with express-session and Redis. However, to make this session available to us in our Botmaster actions, we must sync it all together with the created socket server. The solution is to provide us with the ability to pass in middleware in the core settings object.
This PR adds the ability to pass your own middleware (as an array, so as many as one pleases) to the ioServer that is created under the hood.
Like in the ReadME tweak, I've added this as the main example I imagine people are likely to require as this framework grows: https://www.npmjs.com/package/express-socket.io-session
If we can please work together to get this PR smoothly merged and published to NPM as soon as possible, it'd be greatly appreciated.
Thanks,
Owen

Coverage decreased (-1.6%) to 98.387% when pulling a3c4d8ebf5d77d0e078539d85f5db26228bc00b3 on oayres:master into c3c32d0bce2410c1df483c2c528af9ac57e9ce6b on botmasterai:master.

Coverage remained the same at 100.0% when pulling 6a52de3ecde3c0adf1723223d2e53d7c0d036225 on oayres:master into c3c32d0bce2410c1df483c2c528af9ac57e9ce6b on botmasterai:master.

Hi @oayres. I understand what you are trying to do there. But it looks like the best way to manage that would be to just get that bit of code you have:
middleware.forEach(piece => {
       ioServer.use(piece);
 });

And switch the example code it to looking like this when you instantiate the socketioBot:
const Botmaster = require('botmaster');
const SocketioBot = require('botmaster-socket.io');
const botmaster = new Botmaster();

const socketioSettings = {
  id: 'SOME_BOT_ID_OF_YOUR_CHOOSING',
  server: botmaster.server, // this is required for socket.io. You can set it to another node server object if you wish to. But in this example, we will use the one created by botmaster under the hood
};

const socketioBot = new SocketioBot(socketioSettings);

////////////////////////////// Added
const someSocketioMiddlewareArray = ['gotten from somewhere or just coded here'];
someSocketioMiddlewareArray.forEach(middleware => {
  socketioBot.ioServer.use(middleware);
});
//////////////////////////////

botmaster.use({
  type: 'incoming',
  name: 'my-middleware',
  controller: (bot, update) => {
    return bot.reply(update, 'Hello world!');
  }
});

This way, you properly decouple the socket.io code from the botmaster one. And it is clear that the socket.io middleware has nothing to do with the Botmaster middleware. What you are trying to do in your PR looks kind of like if I was trying to include express middleware to the Botmaster settings object because the server may be an express server. I would recommend for all that code to be decoupled, so you can really deal with problems in their own scope. If for some reason, however, this does not work as in this example, I'll look into it again and try to understand why it might make sense to have socket.io middleware in the settings object.
Cheers

Hey @jdwuarin
Balls. Can't believe I went through the effort without realising I could access the ioServer in this way haha. Thanks for pointing it out to me, you're of course right that this PR is pointless as a result!
Cheers,
Owen


damals Schnitzeljagd (scavenger hunt, paper chase)

e.g. go to place where the old theatre was located, then go the place, whose former name is now used as name of the place of old theater, ...

using AR und geo location there might given hints like hot path, cold path


[Referent] Always show phone number and display SMS/MMS preferences

:medal_sports: :100: :1st_place_medal:


Training gets stuck in a loop [running kmeans]

I have 18k training samples with embedding dimension of 4. After about 150 epochs and a few kmeans splitting operations the training gets stuck in a loop during another kmeans operation with center_shift=nan

Hey @arthur-ver  thanks for your interest!
This might be a result of over-splitting (one of the k-means centroids is an outlier and the mean of its neighbours cannot be computed - because they are none).
I would try to play with the --prior_sigma_scale param (default is .005) I would try increasing it in order to lower the probability of a split.
Another option would be to change the embedding representation with --transform_input_data (available choices are: "normalize", "min_max", "standard", "standard_normalize", "None"), or to stop training in an earlier epoch.


PR List View

/projects/payment-requests/all

Includes the following columns

Project
Amount Requested
Status
Date
Fund

Filterable by:

project
status
fund

Default ordering: Date Ascending

Orderable on:

date
amount

link row to project page- anchored on PR block

Empty Text: No Requests Available

Update dashboard link from PR summary table

Acceptance criteria were visible and functional during test. Thanks.
My All PR List Page was different wording than above criteria. Also, the default ordering is descending, list starts with latest date then goes backwards. This is okay, these are superficial features. Thanks.

@fourthletter We made some changes to the headings as part of a UX review. thanks for the feedback.


html report for each _spec.rb file

Subject of the issue

Your environment

Ruby version: 2.5.1p57
rspec-core version: 3.7.1

Steps to reproduce
When I run a folder with rspec command. I am expecting each report for each _spec.rb file. I am unable to do that. If rspec supported this requirement. Please let me know the options to get each report for each _spec.rb file
Expected behavior
Expecting each report for each _spec.rb file. If a folder contains 10 spec files( I mean _spec.rb files), then 10 reports should generate with the name of the _spec file.
Actual behavior
a single report is generating for the whole suite(I mean to the given folder).

I tried in custom formatter. which as like below where I am using spec_heper.rb inside my formatter file.:
def example_group_finished(example_group)
#puts "examples loaded:"+example_group.to_s
puts @output_file_name
current_spec_name =File.basename(Webdriver_Test_Base.current_run.path_to_tests,".rb") unless Webdriver_Test_Base.current_run.nil?
if(current_spec_name!=nil)
<EMAIL_ADDRESS>end
puts @file_change_name
        if @file_change_name!=nil && File.exist?(@file_change_name)
          FileUtils.rm_f @file_change_name
        end
        puts "filename:"+File.basename(@to_copy_dir)
        @copied_file=copy_to_folder(@output_file_name,@to_copy_dir)
        puts "copied file:"+@copied_file
        if File.exist?(@copied_file)
          rename_file(@copied_file,@file_change_name)
        end
        # if @output_file_name!=nil && @copied_file!=nil &&@copied_file!="" && File.exist?(@output_file_name)
        #   flush_file(@output_file_name)
        # end
    end

but its giving single file
I am not getting how to use your inputs. Could you please explain me

@Tejareddy1 You will need to write to multiple files yourself, and implement a full custom formatter, such help in writing an individual formatter for you is beyond our resources sorry!


Configure the CI for releases

Use goreleaser

@jgbernalp @Nexucis, This issue can be closed, right? :)

yup this issue can be closed thanks to #26


Add a translation example

This example could be based on the following Python tutorial, e.g. by using an implementation close to the ocaml one.
Once this is done, it may be worth writing some tutorial around the example.

This has been added to examples/translation.