Changed milestones

Fixes Issue

Changes proposed

I capitalized "milestones"

Check List (Check all the applicable boxes)

[ x] My code follows the code style of this project.
[ x] My change requires changes to the documentation.
[ x] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ x] This PR does not contain plagiarized content.
[x ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Ok thanks


Better Keyboard

https://user-images.githubusercontent.com/75051674/156966663-dae94b11-4187-4472-9be5-6ea5a0a6cb30.PNG
This is the keyboard that I want because songs like Camellia- t/a/n/a/s/i/n/n is imposable to type

This is not directly obvious of course but wherever there would be a character that does not exist on the basegame keyboard you can just impose a space. This works for most of the cases

My solution to this problem is now implemented in the latest update :)


Add ERC pointer registry

Describe your changes and provide context
Add ERC pointer registry that's versioned. A registration can be written in the following ways:

through pointer precompile for cw20/721 contracts as well as bank tokens that have metadata stored (e.g. tokenfactory tokens)
through governance proposals (e.g. bank tokens without metadata stored). This part will be added in a separate PR.

A read-only precompile pointerview is also added for EVM contracts to query the registry at a flat gas cost.
Testing performed to validate your change
unit test

Codecov Report
Attention: Patch coverage is 44.21053% with 159 lines in your changes are missing coverage. Please review.

Project coverage is 61.58%. Comparing base (01f00b3) to head (b4afc97).

Additional details and impacted files

@@            Coverage Diff             @@
##            seiv2    #1490      +/-   ##
==========================================
- Coverage   61.71%   61.58%   -0.14%
==========================================
  Files         356      359       +3
  Lines       24881    25162     +281
==========================================
+ Hits        15356    15495     +139
- Misses       8627     8762     +135
- Partials      898      905       +7

Files
Coverage Δ

x/evm/artifacts/native/artifacts.go
43.58% <ø> (ø)

precompiles/ibc/ibc.go
50.00% <0.00%> (ø)

precompiles/wasmd/wasmd.go
72.39% <0.00%> (ø)

x/evm/keeper/pointer.go
81.81% <81.81%> (ø)

x/evm/types/keys.go
0.00% <0.00%> (ø)

precompiles/pointerview/pointerview.go
62.50% <62.50%> (ø)

precompiles/pointer/pointer.go
36.15% <36.15%> (ø)

... and 5 files with indirect coverage changes


Supress -Wfloat-equal on intended float comparisions

Suppress intended float comparison on float values.
gcc 9.3 was complaining with "-Wfloat-equal" which is muted.
Fixes #2909

Pull request checklist
Read the Contribution Guidelines for detailed information.

[X]  Changes are described in the pull request, or an existing issue is referenced.
[X]  The test suite compiles and runs without error.
[X]  Code coverage is 100%. Test cases can be added by editing the test suite.
[X]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Coverage remained the same at 100.0% when pulling 095aae19fecde12056ccc8280003c2adc6816cc5 on Finkman:develop into eb488bb4d9969eea53136515e4f90efb2785fdfc on nlohmann:develop.

Yes! My compiler did not instantiate that template. I even found one more line that needs a suppression.

You may also want to check if you now can remove the suppressions in the test suites, because these warnings are now suppressed right in the header:
$ grep "float-e" test/src/*
unit-cbor.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
unit-constructor1.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
unit-readme.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
unit-reference_access.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
unit-regression1.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
unit-regression2.cpp:DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")

done.
Apologize that I am not that familiar with your workspace. :cry:

Thanks!


Gripes

Major Features:

[x] Following Events
[x] Notification Indicator
[x] #3
[x] Help
[x] Moderator Functions
[x] User Management
[x] Time

Block of Cheese

[x] #8
[x] non-printable characters in main tab list?

UI/UX

[x] Consider putting forum search button on main forums page to make it more explicit. Had no idea it was hidden.
[x] Groups should have a full tab, or at least some kind of high-level notificiation system.
[x] Tweet reactions is confusing when looking at your own. Consider putting a counter of 0? Doing something to indicate you cant react to your own stuff.
[x] search changing scope per tab is confusing
[x] main notification indicator (with quantity) at top bar
[x] A notifications summary appaears with mentions on home page
[x] Unknown user yields 400 not 404
[x] Cannot minimize games after they've been tapped on
[x] Event following filter should persist across days
[x] Logout takes two clicks - Trunk + button
[x] Favoriting of posts, reactions is not obvious until you tap on it.

Misc

[x] Should forums you create be auto-favorited? I think so
[x] What does following events mean?
[x] Performance in low-network environments. Seeing GETs for every request

Features

[x] Ship map
[x] Username case sensititivty may be a problem, especially with duplication
[x] search seamail doesnt exist
[x] show events by location
[x] Help section (aka the man pages)
[x] Moderator set states appear to be missing
[x] event editing
[x] Blocking/Muting of users

Registration

[x] Registration form on mobile is confusing
[x] why are registration codes two part?
[x] No way to issue new registration codes

User Management

[x] no way to ban/manage users? delete preseeded accounts

Time Shenanigans
2022 Time Changes:

[x] March 08: EST->AST (St Croix)
[x] March 13: EST->DST (post-cruise)

Deployment

[x] seeds get baked into the image - security threat due to common codes/accounts
[x] I think environment config files are being ignored

Major Features:

Following Events
Notification Indicator
Forum Favoriting
Help
Moderator Functions
User Management
Time

All items have either been rejected, addressed, or have open issues on the main repo.


Refactor

@jackkoenig

code refactoring from #248
depends on #256

Split into #282, #278, #279, #283


Minor cosmetic content changes

No changes to code

Yeah, yeah, I get carried away with copy paste, and then am too lazy to (c)lean things up.

On 30 jun 2015, at 17:13, Phil Ewels<EMAIL_ADDRESS>wrote:
https://camo.githubusercontent.com/1033b0029c11bcdcb18a914edaa32005da793437/68747470733a2f2f692e696d67666c69702e636f6d2f6e6c756c6d2e6a7067
—
Reply to this email directly or view it on GitHub https://github.com/SciLifeLab/genomics-dashboard/pull/33#issuecomment-117222638.

Niclas Jareborg
Hesselmans väg 8
752 63 Uppsala
<EMAIL_ADDRESS>018-603311
0733-866605

Hah, not that bad really - mostly whitespace changes that make it look more impressive :)


Add code of conduct

Add an official code of conduct, and reference it in the docs.

:+1:

:+1:

:+1:

LGTM

[rebased] [edits commit title]

:+1:


Only 3614 molecules generated.

I directly ran the script run_molecule.py with no modification, but only 3614 molecules are generated. Is this the normal case?

Ah I see. So in each iteration, 10 molecules are generated...


Expose JMX MBean

AsyncProfiler supports JMX by default and it should be exposed as Actuator

Exposed AsyncProfiler as a Spring bean, thus making it subject for automatic treatment as a MBean by Spring.
Additionally using dependency injection over direct getInstance lookup allows writing unit tests.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_91gp5i0ui_/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_91gp5i0ui_/clone/recipe/meta.yaml:19: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_91gp5i0ui_/clone/recipe/meta.yaml:41: missing_description: The recipe is missing a description
ERROR: /tmp/abs_91gp5i0ui_/clone/recipe/meta.yaml:41: http_url: http://github.com/carltongibson/django-filter/tree/master is not https
Errors were found


tiled_fuzzer.py: ModuleNotFoundError: No module named '_bz2'

I think my python installation is wrong but can found why. With python3.7 (virtualenv) I have this exception in fuzzer step :
$ python tiled_fuzzer.py # makes $DEVICE.pickle
Traceback (most recent call last):
  File "tiled_fuzzer.py", line 17, in <module>
    import pindef
  File "/home/fabien/myapp/apicula/pindef.py", line 1, in <module>
    import pandas as pd
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/__init__.py",
line 54, in <module>
    from pandas.core.api import (
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/core/api.py",
line 29, in <module>
    from pandas.core.groupby import Grouper, NamedAgg
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/core/groupby/__init__.py",
line 1, in <module>
    from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg,
SeriesGroupBy
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/core/groupby/generic.py",
line 60, in <module>
    from pandas.core.frame import DataFrame
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/core/frame.py",
line 104, in <module>
    from pandas.core.generic import NDFrame, _shared_docs
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/core/generic.py",
line 99, in <module>
    from pandas.io.formats import format as fmt
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/io/formats/format.py",
line 75, in <module>
    from pandas.io.common import stringify_path
  File
"/home/fabien/pyenv/pyenv37/lib/python3.7/site-packages/pandas/io/common.py",
line 3, in <module>
    import bz2
  File "/usr/local/lib/python3.7/bz2.py", line 19, in <module>
    from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'

I installed the packet libbz2-dev but with the same error.
$ sudo apt-get install libbz2-dev

How did you install Python? Is it just from the repos, or compiled from source? I'm assuming from source, given the error.
After you install the bz2 headers, be sure to run the Python configure script again and recompile. The configure script is what detects system libraries and selects the appropriate modules.

Yes it was from source. I'll try to relaunch configure this evening.

Problem solved, thanks.

Glad to hear. I hope you can get a blinky going now.
btw, your question on Twitter prompted me to start looking into Docker. I managed to publish an image to Docker hub, so next step is trying to set up automatic generation of the database https://hub.docker.com/repository/docker/pepijndevos/apicula


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Windows_NT x64 6.3.9600
VSCode version: 1.33.0

:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\Sergio\ritwickdey.LiveServer-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278


Enable recreation of database-configuration

When starting my first project with lotus i decided to omit the --database-switch. I would now like to configure the database-adapter.
Unfortunately there's no command to recreate the database-configuration nor there's a database-setup-mockup. But probably i missed something?
However - i would like to help, so if i could do anything to improve this point - even if it's only an improvement of the docs - give me a hint.

@florianb Hello, I'm sorry for the hassle. I'm gonna explain the steps here, it would be really appreciated if you could create a PR for lotus/lotus.github.io repository to document it.
Let's say you have created a project with lotus new bookshelf, and you have a Book entity and its related repository.
You have to edit your lib/bookshelf.rb like this:
  # Change :type to :sql
  adapter type: :sql, uri: ENV['BOOKSHELF_DATABASE_URL']

  # Specify settings for migrations
  migrations 'db/migrations'
  schema     'db/schema.sql'

Then edit related env var (BOOKSHELF_DATABASE_URL) into .env.development and .env.test.
Add database driver to your Gemfile (eg. pg or mysql2 gems).
That's it!

Hi @jodosha,
thanks for your quick response - i'll create a PR. :100:


Add .d.ts files for improved TypeScript support

Implement #30.

@baseplate-admin can you test this out for me please? Best method is going to be for you to clone locally and link it in your project. Here some quick guidance though

Clone svelte-retag to your system
Run yarn link somewhere inside the svelte-retag folder
Go to your project and install svelte-retag (if not already)
Run yarn link svelte-retag to symbolically link the project so you can edit it in-place from the originally cloned dir

Once done testing, reverse the link to your local copy via yarn unlink svelte-retag and then npm i (or yarn or whatever your local package manager is). I don't have a formal contribution guidelines doc yet that explains how to clone and run locally but hopefully you get the gist and I'm just overexplaining 😄 (so, sorry if this messes something up)

p.s. Since I didn’t mention it explicitly (sorry I forgot): Be sure to run npm run build to generate those .d.ts files in the root of the main svelte-retag folder.

p.s. @baseplate-admin in my main TypeScript project, this is what I did. However, I am not 100% sure what would need to be done in a JS-only project like this one when using .d.ts files instead. So, your PR would be helpful (which is partly why I ask).
Just to give you an idea, here what I ended up doing (probably pretty amateur):
// Generic type for anything that can be instantiated.  Copied and modified from https://github.com/microsoft/TypeScript/issues/17572#issue-247539885
export type Instantiable = {new(...args: any[]): any};

// Setup to type hint Svelte component constructors (i.e. the default export of *.svelte files).
export type SvelteComponent = Instantiable;

Then where I use svelteRetag I just pull that in, e.g.
import svelteRetag from 'svelte-retag';
import type { SvelteComponent } from './types';

/**
 * Defines a custom element for the given Svelte component and hyphenated tag name.
 *
 * @param {SvelteComponent}	component The svelte component constructor. Basically, the default export from your MyComponent.svelte file.
 *
 * @param {string}          tagName	  The name of the tag. Must contain a dash and be all lower case.
 *                                    e.g. 'my-component' (for <my-component> tag).
 *
 * @param {array}           syncProps For reactively synchronizing changes to the element attributes with the props on
 *                                    the Svelte component. Not necessary for initialization, just for changes
 *                                    performed after mount.
 */
export function defineTag(component: SvelteComponent, tagName: string, syncProps = []) {
	svelteRetag({
		component: component,
		tagname: tagName,
		attributes: syncProps,
	});
}

Fair enough, give me some time to get personal life sorted then i will send a PR

Hi, Sorry for late reply. This works fine for my project :)
Awesome work. Can we get this merged?

Fair warning @baseplate-admin main has changed a lot, so I'm rebasing, so you'll need to do a hard reset (or also rebase) your local version if you're still testing it locally. Also just to summarize for you:

Rebased (see above)
Updated type definitions and using an "instantiable" (or "newable") type to define the component constructor, which is what we're taking (not a component instance per se).
New: I forgot to mention that, in this branch, I fixed type definitions so that you don't see errors for including optional flags like href or hydratable.
New: I added automatic attribute forwarding in<EMAIL_ADDRESS>which means you no longer need to define every damned attribute. 😅 Give that a whirl (just set attributes: true). This means you can use import.meta.glob() to just automatically define everything without having to specify individual attributes. If you are feeling risky, check out the example autoDefine function I setup here https://github.com/patricknelson/svelte-retag/blob/main/demo/vercel/src/main.js#L39-L88 (but use at your own risk, I'd suggest just modifying it to suit your needs for now). However, it does take an options callback as a third parameter which can accept tagName and options object that you can adjust as needed, if needed.

Good luck.

You can also test this as a beta release, too (what I'm doing in my project, since symlinks aren't great for Intellisense in my case on Windows):
npm install<EMAIL_ADDRESS>

import svelteRetag from "svelte-retag";

const mappings = [
    { tagname: "markdown", component: await import("$components/minor/Markdown/Index.svelte"), attributes: [`markdown`, `class`] },
    { tagname: "scroll-area", component: await import("$components/minor/ScrollArea/Index.svelte"), attributes: [`parent_class`, `offset_scrollbar`, `gradient_mask`, `class`] },
    { tagname: "comment", component: await import("$components/minor/Comment/Index.svelte"), attributes: [`api_url`] }
];

mappings.forEach((item) => {
    svelteRetag({
        component: item.component.default,
        tagname: `coreproject-${item.tagname}`,
        attributes: item.attributes, // Changes to these attributes will be reactively forwarded to your component
        shadow: false, // Use the light DOM
        hydratable: false
    });
});

This type of code works with<EMAIL_ADDRESS>

Sweet. I’ll work on this tomorrow and probably have 1.5.0 out by then.
Also @baseplate-admin

When 1.5.0 is out, you won’t need to set shadow or hydratable in TypeScript since this branch also fixes the issue of those options showing up as required.
Have you considered grouping your components into folders and then using import.meta.glob to automate (without mapping)? That should now be feasible in 1.4.0 w/ the attributes: true option since you no longer need to cater each call to svelteRetag() to include the customized attribute list. 😊

This is published now as<EMAIL_ADDRESS>but noticing some issues in PhpStorm right now. Might work fine in VSCode though. Still need to figure out why the types aren't being properly inferred in my IDE. 🤕

Ah, never mind... false alarm. It was a caching issue on my end.


Create benchmark tests for CDS

Title: speed tests for CDS.
Description: #10982 introduced a benchmark_test for EDS, I'd like to do the same for CDS, and work on whatever non-linear performance it finds, if any.

I promise I am actively working on this, robot.


Can create Vietnamese language

Create VietNamese language plz

Wrong repo, please post this request on the app repo.


STAR-14: Fix scheduled flush tasks holding on to memtable references

I have started https://jenkins-stargazer.build.dsinternal.org/job/ds-cassandra-build-nightly/75/
on this branch to check how the things look like with problematic tests after the fix.

Seems that problem with memory is solved:
https://jenkins-stargazer.build.dsinternal.org/job/ds-cassandra-build-nightly/75/testReport/org.apache.cassandra.distributed.test/SimpleReadWriteTest/
Let's wait for the test to finish..


Is this project dead?

@Urigo @ardatan
What is the status of this project? There have been no official replies to issues for quite some time.

Is this project dead?

@choudrio sorry about that.  I am working on something else and was a bit away.
If you want, I would be happy to meet on video and help you with any issue you might have and get it merged and release a new version.
My email is public on my Github profile.  Google Hangouts is my prefered way of communications

Hi @Urigo, I hope everything is ok and you just extremely busy. Ppl did some PRs on different yours projects: https://github.com/Urigo/meteor-client-bundler/pull/55

today we've released new versions for angular-compilers and meteor-client-bundler as well with a few fixes and to support the latest Meteor 1.6.1, thanks to the great work of @ardatan and @afaur !
Let us now if everything works as expected.
In the future, issues that actually try to address an issue and give new information about the issue would be more helpful.
I hope to keep pushing and offer more and more solutions for angular-meteor developers


[BUG] - CLI: upgrade command gives a error

NextUI CLI Version
0.1.5
Describe the bug
Hi,
When i use the nextui upgrade command, it gives me this error:
TypeError: Cannot destructure property 'install' of 'ue(...)' as it is undefined.
at Command.Et (file:///home/denish/.nvm/versions/node/v18.18.2/lib/node_modules/nextui-cli/dist/index.js:75:1425)
at async Command.parseAsync (/home/denish/.nvm/versions/node/v18.18.2/lib/node_modules/nextui-cli/node_modules/commander/lib/command.js:935:5)
Thanks
Steps to Reproduce the Bug or Issue

Just using nextui upgrade with little old component versions

Expected behavior
It will upgrade to the latest version
Screenshots or Videos

Operating System Version
Ubuntu 23.04 (Linux - Kernal 6.5.0-26-generic)

@withden Hi, thx your feedback, could you provide your package.json and which package manager using now


Can't connect pyloxone anymore

Which Model do you use from loxone? Miniserver? Gen1 or Gen2?
Gen 2
Which software version does your loxone use?
<IP_ADDRESS>
How did you install HomeAssistant? Over Hassio oder manual install?
Manual
Which Version do you use of HomeAssistant?
core-2022.6.4
5.15.32-v8
Describe the bug
I can't seem to connect my Loxone to Pyloxone. I tried with loxone dns link (http://dns.loxonecloud.com/SERIALNUMBER)
And several ports: 80, 8080, and the local port I set in my Loxone miniserver settings.
After that I tried with local url with the local port, just to try, but it failed too.
I already deleted and reinstalled Pyloxone.
Error log:
2022-06-10 15:40:57 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration loxone which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-10 15:41:07 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry PyLoxone for loxone
File "/config/custom_components/loxone/init.py", line 132, in async_setup_entry
File "/config/custom_components/loxone/miniserver.py", line 101, in async_setup
File "/config/custom_components/loxone/api.py", line 60, in getJson

@fl1p1 when did the error occur? After a update of loxone?
For me it is nearly impossible to test a gen2 because I have a gen 1.

@JoDehli after about 6 months of HA updates :) It worked before, but not after the updates.
I now removed hacs, deleted every loxone folder, rebooted, installed pyloxone the manual way, but still nothing.

@fl1p1 Change the IP of the device where home assistant is installed. If you have too many failed login your IP will banned for a certain time.

@JoDehli I put my backup back and now it works again... But on old version of HA (2021.7.3). So I guess the ip isn't blocked.
Imo it's strange I need to put the local port I set in the miniserver? Is it automatically taken for the loxone DNS too cause that seems strange to me...
I guess I also don't need to put http, but just dns.loxonecloud...?

@fl1p1 Any success?

@JoDehli Thanks for the follow up.
To be correct: I just delete the loxone folders and paste the ones found here on github?
(HA is installed on a dedicated raspberry pi)

@fl1p1 yes correct. I think you have old version and the update was not correct. If you download the source code and copy it to your custom components folder under loxone and restart then you should have the newest pyloxone

@JoDehli I just updated pyloxone, did not update HA yet, but no success.
Also tried local ip, loxone dns ip in combination with local port and port 80... :(

@fl1p1 it is a gen2 thing I think. I do not know what you must fill in. I only know that only local access will work. I think it is not a big deal but I can not fix it without a gen2. Sorry. You can join my discord server. there is a user which successful connect to a gen2.

@fl1p1 here is the link to the server https://discord.gg/yRzxv6Xs


Simplify PKCS#12 PBE algorithm.

Simplify PKCS#12 PBE algorithm by working out Ij + B + 1 directly
instead of using BIGNUMs.

Is there a reason to have this in 1.1.0? It doesn't look like a bugfix.

OK, removed 1.1.0

By the way, I actually revised this function a while ago, partly to drop the BIGNUMs as in this PR, and partly to just tidy it up (variable names, size_t, overflow checks, unnecessary allocation of D and Ai, etc). It's in BoringSSL style rather than OpenSSL style and size_t would change the public API, but you all are welcome to treat that function (pkcs12_key_gen_raw) as a contribution if you'd like parts of it.
https://boringssl.googlesource.com/boringssl/+/4c0e6c64b6866926f96576bc8e8ea8849f018159/crypto/pkcs8/pkcs8.c#108

This is exercised with 80-test_pkcs12.t, right?

ping @snhenson to merge to master :)


MSC1687: Encrypting recovery keys for online megolm backups

Documentation: #1686

as per https://github.com/matrix-org/matrix-doc/pull/1686#issuecomment-447941219, this is apparently superceded by MSC1703


Slow merge with large repos

Gitea version (or commit ref): First seen in  1.9.6, but also exists in 1.10.2
Git version: 2.22.0
Operating system: gitea docker image
Database (use [x]):

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

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

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

Log gist:

Description
note: This issue is not seen in 1.11.0+dev-575-g1e9b3d474
To reproduce:

push a large repo like https://github.com/torvalds/linux.git into gitea
open a PR against master, can be a simple change
try to merge (rebase and merge has same behavior) PR, takes about a minute to complete.

On 1.8.3+2-g11f6ed4f8 the merge takes a few seconds. It seems this issue was originally reported in https://github.com/go-gitea/gitea/issues/601 and https://github.com/go-gitea/gitea/issues/6287 then fixed in https://github.com/go-gitea/gitea/pull/4921 and resurfaced somewhere between 1.8.2 and 1.9.6.
top shows /usr/libexec/git-core/git rev-list --objects --stdin --not --all --quiet using 100% CPU during merge. Generating the commit-graph doesn't help.

@twpedersen what about your system spec?

@bagasme merge takes > 1 minute on a ryzen 3900x.

I suspect the problem is not the merge but at the push in the end - in particular there are a few calls in there to count objects that are quite slow. Others have found this before.
If you can, you could put logging in to test where the problems are.
One other thing that can improve things is ensuring that the git commit graph is built.

We should probably run commit counting in queue to make it async, that should considerably improve performance


Yonder scraper needs fix, scraper use invalid links

** ENVIREMENT: DEV **
URL: https://firme.peviitor.ro/
BROWSER: Chrome Version 114
** STEPS TO REPRODUCE **
1)Open URL in BROWSER
2)Type Yonder in search bar
3)Click on company logo
4)Click on job button "Vezi postul ->"
** EXPECTED RESULTS **
Link should return the job post

** ACTUAL RESULTS **
Link is returning 404 or wrong URL

** Jobs that have a faulty link **
1 -

2 -

3 -

4 -

5 -

6 -

7 -

Fixed

Same errors as of 30.07.2023 08:54AM

Missing company logo


Strange Performance When Using OpenBLAS with Eigen API

Thanks for this great project!
In my program, QR decomposition is calculated with Eigen function HouseholderQR. After linking to OpenBLAS with Eigen API "EIGEN_USE_BLAS", the decomposition cost less time. However, the other part of my program (1000 * 1000 matrix calculation without Eigen matrix) cost much more time in some specific epoch. This phenomena repeat every time when I run the program. If I don't use BLAS, this phenomena wont appear.
The compile options of OpenBLAS are all default settings. Is there any options that can be edit to solve this problem?

What kind of computer are you using ? (And I assume you are using BLAS calls in "the other part" of your program ?) One trivial possibillty could be that your computer reduces its cpu frequency due to overheating, another that you are observing the sum of your cpu times spent in parallel rather than the reduction in "wallclock time" from processing a problem in parallel.

You need to set EIGEN_USE_LAPACKE(_STRICT) to offload HouseholderQR offload as per documentation, it could be that it uses GEMM under the hood anyway but less than with lapack call.
https://eigen.tuxfamily.org/dox/TopicUsingBlasLapack.html
You can set breakpoint on _(S/D)GEMM to see where actual matrix multiplication lands.

What kind of computer are you using ? (And I assume you are using BLAS calls in "the other part" of your program ?) One trivial possibillty could be that your computer reduces its cpu frequency due to overheating, another that you are observing the sum of your cpu times spent in parallel rather than the reduction in "wallclock time" from processing a problem in parallel.

the program is running on a cloud service, centOS, 2.5GHz cpu.
the "specific epoch" are the same every time when I restart the program with same data.

"the other part" is "obsupdate" shown in the above picture. I don‘t use any Eigen matrix or OpenBLAS API in this part.
the program is single thread, time consumption equals cpu time after "obsupdate" minus cpu time before entering "obsupdate" .

You need to set EIGEN_USE_LAPACKE(_STRICT) to offload HouseholderQR offload as per documentation, it could be that it uses GEMM under the hood anyway but less than with lapack call.
https://eigen.tuxfamily.org/dox/TopicUsingBlasLapack.html
You can set breakpoint on _(S/D)GEMM to see where actual matrix multiplication lands.

Do you mean use "EIGEN_USE_LAPACKE" instead of "EIGEN_USE_BLAS"? I try this, the phenomena of increase of time consumption still exist but appear in other epoch.

@brada4

I just pointed to Eigen docs telling particular function is not completely offloaded to BLAS.
Are you counting total wall time or CPU used? 2.5 or 0.8 seconds are 10-50x slow for 1000 by 1000 GEMM on a 2.5GHz CPU. Do you have
Are you able to repeat same thing (fixed input, just repeat) on your own hardware? If cloud provider does not guarantee any performance, it is quite logical they overcommit system in places you dont see.

Cache eviction ? But that still wouldn't explain why it happens that deterministically on a few cycles only.(Is it really exactly repeatable, or does the slow phase move around a bit ?) Most likely explanation to me is that the cloud service is playing tricks on you, moving your task to a different cpu, reclaiming memory or slowing down data reads at times.

I just pointed to Eigen docs telling particular function is not completely offloaded to BLAS.
Are you counting total wall time or CPU used? 2.5 or 0.8 seconds are 10-50x slow for 1000 by 1000 GEMM on a 2.5GHz CPU. Do you have an idea (like /proc/cpuinfo) on what actual CPU is?
Are you able to repeat same thing (fixed input, just repeat) on your own hardware? If cloud provider does not guarantee any performance, it is quite logical they overcommit system in places you dont see.

This is my cpu info

I am counting total wall time, but in "obsupdate" there are no other I/O process. the calculation of 1000*1000 matrix is implemented by ourself, that is the reason why it is slow.
Because of some policy, I cant download the program from the cloud now, but I will try.
@brada4

Cache eviction ? But that still wouldn't explain why it happens that deterministically on a few cycles only.(Is it really exactly repeatable, or does the slow phase move around a bit ?) Most likely explanation to me is that the cloud service is playing tricks on you, moving your task to a different cpu, reclaiming memory or slowing down data reads at times.

I am pretty sure it is deterministic when using the same input. As @brada4 suggested, I will try to run the program on my hardware the check if it is related to the environment.

By the way, if i just remove "EIGEN_USE_BLAS" in my code which means use Eigen itself to do the calculation, the phenomena disappear.

I use another cloud service with a better configuration, see below.

The phenomena still exist.

Just for completeness, which version of OpenBLAS are you currently using ?

Just for completeness, which version of OpenBLAS are you currently using ?

V0.3.10

You mentioned that your program is single-threaded, does this apply to your build of OpenBLAS as well ? (Thinking it might be OpenBLAS threads occasionally lingering on and getting in the way, as your VMs appear to have multiple cores)

You mentioned that your program is single-threaded, does this apply to your build of OpenBLAS as well ? (Thinking it might be OpenBLAS threads occasionally lingering on and getting in the way, as your VMs appear to have multiple cores)

I build OpenBLAS in a single thread version with the setting USE_THREADING = 0 in MakeFile.rule

Do you experience same slowdowns when using OPENBLAS_CORETYPE=HASWELL ?
Just a speculation that employing AVX-512 heats CPU into thermal throttling, thugh unlikely knowing following:
Both CPUs are order-built, i.e think google cloud/amazon/azure and not sold to consumers, so bad they dont even appear in intel ark lists, just blurred mentions in wikipedias.

.. microcode 0x1 means you are running inside KVM, you will not see when your CPU thread shares a CPU with strangers' VM..
somebody consumes 3/4 of same core while you get painful measurable slowdown while TSC goes ahead as if they never came by.
Probably you can run same measurement continuously while idle, and you see them coming once in a while. We cannot add a strong elbow to your VM to get to the real CPU.

Do you experience same slowdowns when using OPENBLAS_CORETYPE=HASWELL ?
Just a speculation that employing AVX-512 heats CPU into thermal throttling, thugh unlikely knowing following:
Both CPUs are order-built, i.e think google cloud/amazon/azure and not sold to consumers, so bad they dont even appear in intel ark lists, just blurred mentions in wikipedias.

Although the performance of the function which use OpenBLAS become a little bit worse, the slowdown has gone when I built the OpenBLAS with NO_AVX2 = 1 in MakeFile.rule! I guess NO_AVX2 = 1 equals the HASWELL branch?
@brada4

.. microcode 0x1 means you are running inside KVM, you will not see when your CPU thread shares a CPU with strangers' VM..
somebody consumes 3/4 of same core while you get painful measurable slowdown while TSC goes ahead as if they never came by.
Probably you can run same measurement continuously while idle, and you see them coming once in a while. We cannot add a strong elbow to your VM to get to the real CPU.

sorry, I can't understand.

You are running inside the virtual machine. Not that I completely deny any chance of such performance regression possible with OpenBLAS, just that measurements you make pretty much fall within typical damage of overcommitment of resources coming as natural part of any virtualisation.
More appropriate setting is (undocumented) NO_AVX512=1, that would keep AVX-512 units inside CPU untouched and keep "normal" case slightly better than AVX-1 only.
You could retrofit the sample (or more with varied build options) as monitoring probe into smokeping or similar monitoring system to better characterize your cloud system. Maybe there is a pattern every hour or 5min something scheduled oppresses everybody on the same piece of cloud you are on or so.

NO_AVX2=1 equals Sandybridge, probably not necessary to go that far back in time and performance. (I think I saw it mentioned in some talks when AVX512 was new that using this unit could/would lead to a momentary drop in cpu frequency but I do not understand how this could show up as a delayed effect)

You are running inside the virtual machine. Not that I completely deny any chance of such performance regression possible with OpenBLAS, just that measurements you make pretty much fall within typical damage of overcommitment of resources coming as natural part of any virtualisation.
More appropriate setting is (undocumented) NO_AVX512=1, that would keep AVX-512 units inside CPU untouched and keep "normal" case slightly better than AVX-1 only.
You could retrofit the sample (or more with varied build options) as monitoring probe into smokeping or similar monitoring system to better characterize your cloud system. Maybe there is a pattern every hour or 5min something scheduled oppresses everybody on the same piece of cloud you are on or so.

I tried NO_AVX512=1, the slowdown still exist. I guess the best configuration with my system is NO_AVX2=1.

It is not explainable within OpenBLAS.
There are many speculative execution vulnerabilities not addressed in your kernel.
Basically you need to fully power off/on a virtual machine to get host+qemu new CPUID bits through, then update kernel, or all at once. Some of vulnerabilities need cooperation between guest and host to regain performance, having only host side is bad.
Tool to check progress: https://github.com/speed47/spectre-meltdown-checker

@brada4 it is not clear to me what spectre&meltdown vulnerabilities would have to do with AVX2 performance in particular ? To me this is looking more like the cloud hoster is discouraging compute-intensive tasks, or just using a hardware setup that really suffers from AVX2 workloads. Google found me a blog post that addresses this (although the Intel erratum SKX24 it refers to is about AVX512 specifically, as mentioned previously)
https://movingfulcrum.com/neighboring-avx-workloads-can-impact-your-vms-and-kubernetes-clusters/

What you say means @albertchang1989 guessed right :+1:
Mine just fixes few percent loss of having double cache housekeeping around vm exit/enter.

Thanks for all these explanations!  I will close this issue


Token based authentication with LDAP only

Hello everybody,
I'm trying to accomplish the following:

Build a standalone API, which will be consumed by web client for now which runs on a separate server instance, and later possibly by Android/IOS.
Build a standalone angular app using ng-token-auth which will consume the above API.

I'm only using Rails 5.0 API (rails new app --api), devise_token_auth and omniauth-ldap. I have not customize configuration.
When I submit a POST request into /omniauth/ldap/callback with { "username":"username", "password":"password", "provider":"ldap" } I got:
Started POST "/omniauth/ldap/callback" for ::1 at 2017-03-17 23:43:31 +0000
    ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".*  I already had the NoSessionError issue and fixed with tiagocassio's tip.

Hi there @ruanpetterson  ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.


Improve our local nix and CI

Our current nix setup was copied from the plutus-starter project then it was manually modified to bring in some of our own dependencies. The problem here is that plutus-starter brings a number of things we do not use. It might be that after Sept 12th we'll have the plutus deps on hackage, it might not be. Nevertheless, our current setup is flaky, difficult to extend and difficult to understand.
We should spend some time working on it and also include some more CI checks such as a set of lint errors and a haskell formatter.
Moreover, we should look into making CI cache builds. Currently, it is taking 45mins for a PR to get tested and that's way too much.

This has been taken care of in fc/symbolic-exec-smt branch; Will close this when that branch gets merged into main (might take a month or two)


Add MR template

Things to consider for every MR

[x] adaption of documentation
[x] adaption of unit tests
[x] general structure

Commit 5a58d2e, 592de19 and f39be52 introduced MR templates.


bump interact to 1.5.3

Fixes: https://github.com/jbaysolutions/vue-grid-layout/issues/320.

Anything I can do to assist getting this merged in, just let me know.


whatsnew overhaul

Build

Removed aggregate_directory.py, and calls to it from .travis.yml
All unreleased changes can now go directly into latest.rst
The what's new latest.rst is always built unless a release is made  (manual steps, documentation updated)
The last 2 warnings in the documentation build are now resolved - clean build!

Documentation

Updated the whats_new_contributions.rst to show the new process
Update the whatsnew categories (replaced "dependencies" with "internal" so it is more generic)
Added "Maintainer steps" to the release.rst
What's new files layout and titles updated to be more useful.  80 char width also applied for readability
Added a latest.rst.template for easy base lining of a new latest.rst

Misc

Add html-noplot to the top level Makefile (already in the level below)
When built on the ReadTheDocs server, all the environment variables will be printed for reference

You can view the build documentation on a test Read The Docs page: https://iris-test-doc.readthedocs.io/en/latest/, specifically:

https://iris-test-doc.readthedocs.io/en/latest/whatsnew/index.html
https://iris-test-doc.readthedocs.io/en/latest/whatsnew/latest.html
https://www-avd/~itkt/iris-docs-dev/src/_build/html/developers_guide/release.html#iris-development-releases-steps
https://iris-test-doc.readthedocs.io/en/latest/developers_guide/documenting/whats_new_contributions.html

The PR may close #2104 and #3451.

No further comments have arrived.
As I said, I think we could still improve the explanation of "special cases", i.e. release candidates and point releases.
But let's bank this progress, and address that separately.


Use access token instead of user id and password

Apple is removing the ability to access Reporter with an iTunes Connect user id (email) and password. Instead, you must generate a access token from the Sales and Trends area, and use that.
These changes remove user id and password from the itc-reporter package and add support for setting an access token.

Massive thanks for your work on this, much appreciated.
Merged, tagged and released


use "in" for regexp

Currently, regexp matching is done like this:
foo = /<regexp>/

To stress the idea that a regexp match is a containment rather than full-field match, we propose to use the "in" operator instead...
foo in /<regexp>/

This sould be the case for wildcard fields too.  e.g.,
* in /<regexp>/

instead of
* = /<regexp>/

Come to think of it, this should also be the pattern of IP CIDR match, which doesn't work this way for wildcard fields... (I think)

We decided that the matches keyword was the right approach here.


Error occurred at Chrome49: Uncaught SyntaxError: Unexpected identifier

Version
6.0.12
Browser and OS info
Chrome 49 / Window 10
Steps to reproduce
local dev
What is expected?
No Error
What is actually happening?
Below chrome 55,did't support [async] function,can any one fixit? FilePath: devtools/packages/api/src/proxy.ts

same issue

I tried to fix the configuration modules modified by babel for commonjs and it works fine, but tree-shaking fails


Logout as POST request

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔

Fixed issues

Currently leads to Unprocessable entity, need to find source and fix it.

Unprocessable entity is caused by CSRF protection. You should add CSRF token to the form.

Unprocessable entity is caused by CSRF protection. You should add CSRF token to the form.

That would mean I have to pass CSRF to every page. That sounds like a bad idea somehow.

There are two solutions to this:

Always apply CsrfViewInjection so CSRF token value is always in the view/layout context.
Remove CSRF middleware from the application stack and add it to every route/group individually.

Both aren't ideal but first solution looks a bit better to me.

Is it possible to inject token inside Form::widget()?

Yes.

@samdark Is this what you meant? I am somewhat coding blind, because yii serve gives me errors.

Yes, something like that but likely that exact code won't work as is. You're passing token as an option but it should be a hidden form field.
@BoShurik idea may be interesting as well but looks a bit more complicated. Something like the following:
<?php

namespace App\Widget;

use Yiisoft\Csrf\CsrfToken;
use Yiisoft\Html\Html;
use Yiisoft\Http\Method;
use Yiisoft\Widget\Widget;
use Yiisoft\Form\Widget\Form as BasicForm;

final class Form extends Widget
{
    private string $action = '';
    private string $method = Method::POST;
    private array $options = [];
    private CsrfToken $csrfToken;

    public function __construct(CsrfToken $csrfToken)
    {
        $this->csrfToken = $csrfToken;
    }

    public function begin(): ?string
    {
        $config = [
            'action()' => [$this->action],
            'method()' => [$this->method],
            'options()' => [$this->options],
        ];
        return BasicForm::widget($config)->begin() . $this->renderCsrfToken();
    }

    private function renderCsrfToken(): string
    {
        return Html::hiddenInput('_csrf', $this->csrfToken->getValue());
    }

    protected function run(): string
    {
        return BasicForm::end();
    }

    public function action(string $value): self
    {
        $new = clone $this;
        $new->action = $value;
        return $new;
    }

    public function method(string $value): self
    {
        $new = clone $this;
        $new->method = $value;
        return $new;
    }

    public function options(array $value = []): self
    {
        $new = clone $this;
        $new->options = $value;
        return $new;
    }
}

@BoShurik am I correct?

@samdark See https://github.com/yiisoft/form/blob/master/src/Widget/Form.php#L45, csrf passed as option creates a hidden input ;)

It would be great to hide csrf protection under the Yiisoft\Form\Widget\Form. E.g.
$enableCsrfToken = ArrayHelper::remove($this->options, 'csrf', true); // boolean flag, not a token itself

if ($enableCsrfToken && strcasecmp($this->method, Method::POST) === 0) {
    $hiddenInputs[] = Html::hiddenInput('_csrf', $this->createCsrfToken());
}

It would be great to hide csrf protection under the Yiisoft\Form\Widget\Form. E.g.
$enableCsrfToken = ArrayHelper::remove($this->options, 'csrf', true); // boolean flag, not a token itself

if ($enableCsrfToken && strcasecmp($this->method, Method::POST) === 0) {
    $hiddenInputs[] = Html::hiddenInput('_csrf', $this->createCsrfToken());
}

But then form will depend on csrf and I think that is not good.

It may be optional. On the other hand 90% of all csrf tokens will be used in forms so it improve DX

I guess the conclusion is we leave Form the way it is, at least for now.
That said, can anyone actualy test my code pleae? I am unable to run yii serve and don't have a testing webserver available right now.

Verified that it works well. Checking code.

I'm not quite sure how to do that. Also this is currently implemented for layout, not view (not sure if this is of any importance when done frm Controllers).

CsrfViewInjection registers token for both view and layout. It could be activated globally via params.php, yiisoft/yii-view -> injections.

Gotcha 👍🏻

@vjik what do you think about the need for withCsrf() considering this case?

If I understand withCsrf() correctly it adds the meta tag. I was reading about this just now and found this post

Putting them in a meta tag only makes sense if you are using JavaScript. JavaScript could read the tokens from the meta tag and post them to an action.

I'll leave it up to you to decide to keep or remove those.

Thank you!

If I understand withCsrf() correctly it adds the meta tag. I was reading about this just now and found this post

Putting them in a meta tag only makes sense if you are using JavaScript. JavaScript could read the tokens from the meta tag and post them to an action.

I'll leave it up to you to decide to keep or remove those.

Useful code in case anyone want to use the jQuery data-method link method, but in Vanilla JS. Makes use of the meta csrf tag.
(function() {
    var DataMethod = {
        init: function() {
            this.links = document.querySelectorAll('a[data-method]');
            this.registerEvents();
        },

        registerEvents: function() {
            Array.from(this.links).forEach(function(l) {
                l.addEventListener('click', DataMethod.render);
            });
        },

        render: function(e) {
            var el = this, httpMethod, form;

            httpMethod = el.getAttribute('data-method').toUpperCase();

            if (['POST', 'PUT', 'PATCH', 'DELETE'].indexOf(httpMethod) === -1) {
                return;
            }

            if (el.hasAttribute('data-confirm') && !DataMethod.verifyConfirm(el)) {
                e.preventDefault();
                return false;
            }

            form = DataMethod.createForm(el);
            form.submit();
            e.preventDefault();
        },

        verifyConfirm: function(link) {
            return confirm(link.getAttribute('data-confirm'));
        },

        createForm: function(link) {
            var form = document.createElement('form');
            DataMethod.setAttributes(form, {
                method: 'POST',
                action: link.getAttribute('href')
            });

            var csrfToken = document.querySelector("meta[name=csrf]").getAttribute('content');

            if (!csrfToken) {
                console.error('CSRF token not found!');
            }

            var inputToken = document.createElement('input');
            DataMethod.setAttributes(inputToken, {
                type: 'hidden',
                name: '_csrf',
                value: csrfToken
            });

            form.appendChild(inputToken);
            document.body.appendChild(form);

            return form;
        },

        setAttributes: function(el, attrs) {
            for (var key in attrs) {
                el.setAttribute(key, attrs[key]);
            }
        }
    };

    DataMethod.init();
})();


Upgrade deps, dev . in perf env

This PR upgrades our dependencies and develops ClimaAtmos in the perf env.

bors r+


Delete LICENCE.node-rdkafka-txt

Empty license file, looks like content instead lives in https://github.com/confluentinc/confluent-kafka-javascript/blob/dev_early_access_development_branch/LICENSE.node-rdkafka?

Thanks for catching @maxwlang.
@milindl lets get this merged


Bump ng-annotate version to 1.0.3 when it's released

Hi
The next version of ng-annotate should contain a fix for https://github.com/olov/ng-annotate/issues/200. Could you please bump the dependency version when it is fixed?
Cheers

Just reinstall gulp-ng-annotate after new version of ng-annotate will be released.

Ah ok, thanks. Wasn't sure how one goes about updating sub-dependencies.


chore: remove all ESM packages/references [gh-0]

I hereby confirm that I followed the code guidelines found at engineering guidelines
Affected Components

[ ] CLI
[x] Create CLI
[ ] Test
[ ] Docs
[ ] Examples
[ ] Other

Notes for the Reviewer
This PR removes all references and usage of packages that require ESM support or esModuleInterop: true.

which-pm-runs is replaced with which-pm
execa is replaced with @esm2cjs/execa (a fork with commonjs support)
fullname is removedreplaced with require('os').userInfo().username

Important: since fullname package is removed, and now the username is obtained using the os.userInfo().username which doesn't get the full name, just the username.

The code in https://github.com/checkly/checkly-cli/pull/792 doesn't work in my local environment. That's why I open this PR to merge changes to https://github.com/checkly/checkly-cli/pull/792 instead of main. Changes here make the create-cli package to compile and run in Linux and Windows. I didn't test it in macOS.
Also, the oclif version is now working as expected.

Resolves #[issue-number]

New Dependency Submission

@umutuzgur or @nahuelon - do you have any idea why https://github.com/checkly/checkly-cli/pull/792 would work on Umut's machine but not on Nahuel's? I understand you're on different OS's, but that would surprise me if it causes any differences with respect to ES Modules / CommonJS.
I see that umutuzgur/gh-0/create-cli-cleanup is a draft PR. @umutuzgur since it's your PR, I guess it's at your discretion whether or not to add this to the PR.

This PR removes all references and usage of packages that require ESM support or esModuleInterop: true.

Why are we doing this btw? What does it actually fix?


⚠ Bofrost.lu has degraded performance

In 57a6db9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.lu performance has improved in 5f01adb after 6 minutes.


AttributeError: 'vim.Folder' object has no attribute 'resourcePool'

My error
Traceback (most recent call last):
  File "pyvmomi-community-samples/samples/create_vm.py", line 108, in <module>
    main()
  File "pyvmomi-community-samples/samples/create_vm.py", line 100, in main
    resource_pool = hosts[0].resourcePool
AttributeError: 'vim.Folder' object has no attribute 'resourcePool'

I'm trying to create a simple VM. Here is my code
def create_vm(name, service_instance, vm_folder, resource_pool, datastore):
    vm_name = name
    datastore_path = '[' + datastore + '] ' + vm_name

    # bare minimum VM shell, no disks. Feel free to edit
    vmx_file = vim.vm.FileInfo(logDirectory=None,
                               snapshotDirectory=None,
                               suspendDirectory=None,
                               vmPathName=datastore_path)

    config = vim.vm.ConfigSpec(name=vm_name, memoryMB=128, numCPUs=1,
                               files=vmx_file, guestId='dosGuest',
                               version='vmx-08')

    print "Creating VM {}...".format(vm_name)
    task = vm_folder.CreateVM_Task(config=config, pool=resource_pool)
    tasks.wait_for_tasks(service_instance, [task])

def main():
    """
    Simple command-line program for listing the virtual machines on a system.
    """

    args = get_args()
    service_instance = connect.SmartConnect(host=args.host,
                                            user=args.user,
                                            pwd=args.password,
                                            port=int(args.port))

    if not service_instance:
        print("Could not connect to the specified host using specified "
              "username and password")
        return -1

    atexit.register(connect.Disconnect, service_instance)

    name = "test_vm"
    content = service_instance.RetrieveContent()
    datacenter = content.rootFolder.childEntity[0]
    vm_folder = datacenter.vmFolder
    hosts = datacenter.hostFolder.childEntity
    resource_pool = hosts[0].resourcePool
    datastore = "L_on_helios41"

    create_vm(name, service_instance, vm_folder, resource_pool, datastore)
    return 0

BTW PyCharm is telling me that the vim import cannot be resolved. But if I trust this post (https://github.com/vmware/pyvmomi-community-samples/issues/49) I can ignore the missing reference. Right?

It's ok. It was not the good object to work with. I used the search function before to get my resource_pool.


[Feature Request] Add a seed field to avoid running the whole flow with fixed seed.

I have a large workflow that starts with the Florence2 nodes, and sometimes I want to re-use a seed to see small changes I make to the flow's settings. Because Florence2 runs every time, it causes the whole workflow to run, instead of the just the changed parts. Would adding a seed field allow that part to be "fixed", so it doesn't repeatedly run when the seed doesn't change?

Normally, if a seed is fixed and nothing in the ComfyUI workflow changes, the workflow should have nothing to do, so will not run again. If you make a small change on a node, then everything from that node onwards will run, but nothing before it should, because it hasn't changed. However, the Florence2 node will create a different output every time you run the workflow, so it cause the whole workflow to run, even if it has fixed seeds on everything, and nothing else has changed. I often use a "Global Seed" node, so everything can be fixed in place from that single node, but Florence2 makes it useless.
The only workaround, I've found, is to cut and paste the FL2 prompt into a text box and bypass the FL2 nodes to use that text box for the prompt. Surely there has to be a less cumbersome method!?
These images have a fixed seed in the KSampler (the only place to set it here), yet it will keep creating different images, because the Florence2 node has no "seed", or similar, to tie it to a single output from the same image.

Strangely, I'm running it again and I consistently get the same as the second image, and it is cached, the way I'd expect it to be.
Ah! It must be switching between workflow that causes my problem. It means the image can not be recreated from the same seed, because the LLM may interpret the image differently on other runs....which is why I wanted to know if it's possible to add a seed type of option to the node and if that would make images re-creatable.


WIP spinner styles

WHAT
WIP
With @DomBelcher

This can be tested locally by checking out this branch in Connector, and running pay local --local selfservice connector. The connector branch replaces the API calls to Stripe for creating the Stripe account with an 8 second delay, bypassing the need for a Stripe API key


Does it work with obfuscated import table?

I tried two games with this, it seems to work on the one that does 0 obfuscation, but not on the other. Are there any APIs that need to be on UnityPlayer or GameAssembly? Also the game in question does rename one of these files.
EDIT: I just looked at some code, GameAssembly.dll is indeed hardcoded, so fixing that, will see what else I run into.

Hi, I don't think there's much I can do if a company replaces symbol names, your solution is perfectly fine - just change the hardcoded string(s) in ./node_modules/frida-il2cpp-bridge/dist.
However, if the whole library is obfuscated, you can see the solution proposed in #33

I'm closing this as there was no update - please reopen if needed


Investigate blends in SDSS that we cannot deblend

I've identified three blends in SDSS that we cannot deblend. We should understand why for the paper I think, at least in terms of limitations even if it turns out the issue is deeper than a simple bug so that we might have to delay solving it.

[x] Wouldn't hurt checking these are indeed two galaxies in a separate catalog (DeCals skyview)
[x] look at probability of detection in lower tile of second blend (concerning we miss this)
[x] investigate TileCatalog for each galaxy we miss, etc.
[x] For each blend in SDSS, fetch TileCatalog at missing true locations and plot probability.

[ ] Could crop out this region and pass to decoder

Images

Here is one that we can

Does PR #561 solve some/most of these problems?

I will retrain and investigate this soon

On my end, it doesn't look like BLISS gets these blends after #561.
For the first, BLISS and PHOTO make the same prediction (one galaxy in the center).
For the second, BLISS assigns a 34% detection probability and PHOTO predicts it.
For the third, BLISS assigns a 0% probability and PHOTO does not predict it.
So really only the second blend is something we should maybe be getting, and the good news is that the probability is pretty high

Thanks @dereklhansen - on my end I find that we are still not getting some of the easy blends. I guess I can take a look at PHOTO and see what it says on the frame but these look like pretty easy to detect.

For the second, BLISS assigns a 34% detection probability and PHOTO predicts it.

I took a look at the second one (with coordinates 336.7208, -1.0159) in images from the Hyper Suprime-Cam, which is more sensitive that SDSS, and I think I see why it's difficult:

It's a spiral galaxy with highly visible arms. Our bulge-plus-disk galaxy model can't represent arms. Usually this doesn't matter because arms either nonexistent, or they are faint and get blurred by the PSF. This galaxies is a weird one though. I don't think bliss misses it because of blending.

For the first, BLISS and PHOTO make the same prediction (one galaxy in the center).

Here's the first one in DeCALS:

It's clearly two objects, but it's pretty hard to guess that from just one SDSS band. However, I do think bliss should say the probability of two objects is nonzero (and probably > 5%). If it doesn't do that, I wonder if our latest training procedure isn't using enough blends. (In our model, what are the odds of generating two sources this close? How many sources this blended do we expect to generate during training?)
One idea: For training, greatly increase the density of light sources (like we had been doing, back when bliss wasn't work as well), but up/down weight the training examples based on how many light sources are present. Maybe this would give the encoder more exposure to blends (while still being consistent with the prior).

For the third, BLISS assigns a 0% probability and PHOTO does not predict it.

The third one may be more like 7 different objects, with many very faint. Here it is in HSC, with the DeCALS catalog overlayed:

The DeCALS catalog isn't necessarily right here. But it makes the point that there's more than meets the eye in the SDSS frame. Given that, it seems OK to estimate 0% for this one because the faint/undetectable objects make it so that the detectible objects look like nothing our model could generate. If we want to get this one right, we'd need to have our model generate faint/undetectable objects too, so that the encoder is robust to this type of variation.

So the VAE is getting these "easy" blends right, but the autoencoder is not? If so, that may be unrelated to the three difficult blends in the original post.

I think the VAE and AE are still getting (approximately) the same results. Sorry for the confusing wording. The second blend I posted was not included in the original three but I would still consider it "easy".

I took a look at the second one (with coordinates 336.7208, -1.0159) in images from the Hyper Suprime-Cam, which is more sensitive that SDSS, and I think I see why it's difficult:

Yeah, I don't think the spiral arms are visible thanks to the blurring of the PSF in SDSS. I think we miss the left one though, which should be easier in any case.

What are the coordinates for the second blend you posted?

Yeah, I don't think the spiral arms are visible thanks to the blurring of the PSF in SDSS. I think we miss the left one though, which should be easier in any case.

I see. The arms of the right object may be interfering with our detection of the left one. What was the probability of detection for the left one?

My version of the code gets Ismael's second blend just fine:

Of the two objects, their probabilites are (reading left-to-right) 0.9937 and 0.8167. This matches what Jeff is saying, since the right galaxy has a shape that we are not generating.

I wonder if there are issues with the training procedure for LocationEncoder. Currently, we run the training procedure and afterwards pick the weights with the lowest validation loss. This differs from my understanding of how early stopping usually works, where training is halted if if we haven't decreased validation loss in X number of epochs.
Perhaps the bigger issue is that the validation dataset is normally fixed in these kind of schemes, but we randomly generate it each time. This adds more noise to the process and prevents an apples-to-apples comparison. Specifically, we could get a lower validation loss at a particular epoch because the validation set got easier, not necessarily because the model improved. And since we're taking the minimum, this noise does make a big difference, especially near the end of training and the improvements in the model are dwarfed by the noise in the sampling process.
I only bring this up because, on my case studiy, I changed the training process for the LocationEncoder when I started using Galsim directly to have less epochs but more steps per epoch. This was motivated by computation, since it allowed parallel workers to generate Galsim images. However, this had a side-effect of increasing the size of the batch used for validation, which reduced the aforementioned noise in the validation set I mentioned. This could be why my results seem to be better here.

Perhaps the bigger issue is that the validation dataset is normally fixed in these kind of schemes, but we randomly generate it each time.

Good point!


Non-Enterprise clients?

Will this ever be available to Windows 10/11 Pro (not Enterprise) clients?

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

ID: eed4f875-3115-073b-5ffd-3b31eaf0205f
Version Independent ID: a7476b7f-fce3-474f-6a1f-558321768c15
Content: Use Azure Active Directory to access Azure file shares over SMB for hybrid identities using Kerberos authentication
Content Source: articles/storage/files/storage-files-identity-auth-azure-active-directory-enable.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

@JohnMilazzo
Thanks for your feedback! We will investigate and update as appropriate.

#please-close


Currently this repository is not mature, so the first focus is to hardening and have more helper tool/function for its maintenance/troubleshooting, I guess. In addition, to expose service, we also need to find how to expose it (I guess load-balancer could be the one candidate, but I don't know how to interwork with current Kubernetes load-balancer), because multus network is mainly isolated network from Kubernetes cluster.
So let me close this issue if you don't mind. Otherwise, I will update README to add some explanation about it to close this PR.

I thought the blog post gave me some hints that the multus-service enables to expose the 2nd interface either ClusterIP and Load Balancer very first time when I read 'no support headless service' link. Now, exposing the service out of the cluster would need extra work required. At least, clients inside the cluster can transmit the traffic via 2nd interface, which is a huge improvement. Thank you very much for your hard work. In the meantime, you would write up the README with this limitation and some verification steps clearly. I have learned a lot during the troubleshooting, hope I can join the NPWG meeting. Yes, you can close the issue. Again. Many thanks for your passion and support.

In the meantime, I can try ingress controller to receive the request from the out of the cluster, and redirect toward the multus-service. I will get back to you once I have tested.

README will be updated by https://github.com/k8snetworkplumbingwg/multus-service/pull/13
I will close this issue. Thank you for your feedback!


facebook.GraphAPIError

When testing this I get the following when trying to perform basic authentication to facebook.  GraphAPIError: An active access token must be used to query information about the current user.

BTW I'm getting an access_token back from core.login.  I'm just not certain that the model is handling it properly.

I submitted pull request #15 which addresses this bug. Looks like it was a compatibility-breaking change in the latest Facebook Python SDK which mangled the querystring such that the access token wasn't being passed down.

same issue:
An active access token must be used to query information about the current user

Can you update pip version please ?

Yes, I'll do that, give a me a minute please. I want to update the test env first… and it's Christmas ;)

Thanks, Janusz! Merry Christmas to you. :)

Please check if it's ok now.
PS. There are issues with Github provider on GAE #18, but they seem to work ok locally.


Add wait command and wait options to composes

Obviously love this! 😍
I get why you added the timeout and polling options, but I wonder if that's something we should expose to users. What I'm thinking about is this: if we want this call (in the future) to behave more like a binary that you call and that runs in a blocking, synchronous way, these options would feel odd. So would become useless and we might have to drop them again.
I guess we have no good way of exiting the waiting if a build gets stuck other than setting a timeout?
Or could we also get by just setting sane defaults? I feel you already proposed some in this PR, but maybe other tools that poll could be looked at for reference.

I guess we have no good way of exiting the waiting if a build gets stuck other than setting a timeout?

Right, if this is being used as part of CI scripts you don't want it to get stuck forever. You should never have infinite timeouts :)

Or could we also get by just setting sane defaults? I feel you already proposed some in this PR, but maybe other tools that poll could be looked at for reference.

No matter what we pick there is going to be someone who exceeds it eventually :) We have no way to predict how long a build will take since it depends on the users's hardware, load on the system, network speed, etc.
We could probably drop the polling interval, that's not as important. Checking shouldn't impost much load on the server so we could even lower it to, say, 10s, so that it exits relatively quickly.

Those are good points!
Yeah, I think having a lower of e.g. 10s is good, it's not much load and would show users that "something's going on". 30s can feel quite long.


Pubsub Question: Manual Acknowledgement outside of MessageReceiver

I'm attempting to ingest data from PubSub via Apache Spark. Without getting into details, I would like to acknowledge messages outside of the MessageReceiver interface. I am not seeing any public methods that acknowledge messages outside of the MessageReceiver interface.
https://cloud.google.com/pubsub/docs/pull
I see that a REST endpoint exists here:
https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge
But I am unable to find an accompanying method in the legacy api:
https://developers.google.com/resources/api-libraries/documentation/pubsub/v1/java/latest/
Is there any way to manually acknowledge messages in this (google-cloud) or the the legacy APIs?

Upon deeper inspection, it doesnt look like this use case is supported within this API. It appears that AckId is not visible within the MessageReceiver or AckReplyConsumer interfaces. Without access to this id it does not appear that acknowledgement outside of the receiveMessage method is possible.

@autodidacticon Currently, MessageReceiver is the only way to receive messages, but it might work for your use case. It is possible to save the PubsubMessage and the AckReplyConsumer somewhere, then call ackReplyConsumer.ack() later, outside of the call to receiveMessage. While you cannot get the message ID, you have a "handle" to it. Does this fit your use case?

@pongad Yes, at a high level that approach would work. I've run into serialization issues on the spark side (for some reason I end up having to serialize the closure of the AckReplyConsumer instance) but that does not seem pertinent here.