Client authentication fails when using grant type = client credentials

I'm trying to use the new OAuth2 flow with Corteza 2021.3.2 and Postman. The authentication flow using the grant type authorization_code works fine but using the grant type client_credentials doesn't work for me.
That's the auth client in Corteza:

That's my Postman setup

And that's the Postman console

I tried sending the client credentials in the body as well as Basic Auth header. I tried it with setting a redirect url in Corteza and without. I'm stuck here and help would be highly appreciated.
I checked the updated docs here https://github.com/cortezaproject/corteza-docs/commit/4358cc169595275544b23aa39f4537397b4950bb but couldn't find a solution to the problem either.
ENV
###############################################################################>
# docker-compose supports environment variable interpolation/substitution in co>
# (more info: https://docs.docker.com/compose/environment-variables)

###############################################################################>
# General settings
DOMAIN=xxx
VERSION=2021.3.2

###############################################################################>
# Database connection

DB_DSN=corteza:xxx@tcp(db:3306)/xxx?collation=utf8mb4_gener>

###############################################################################>
# Server settings

# Serve Corteza webapps alongside API
HTTP_WEBAPP_ENABLED=true

# Send actionlog to container logs as well
# ACTIONLOG_DEBUG=true

# Uncomment for extra debug info if something goes wrong
# LOG_LEVEL=debug

# Use nicer and colorful log instead of JSON
# LOG_DEBUG=true

###############################################################################>
# Authentication

# Secret to use for JWT token
# Make sure you change it (>30 random characters) if
# you expose your deployment to outside traffic
AUTH_JWT_SECRET=xxx

###############################################################################>
# SMTP (mail sending) settings

# Point this to your local or external SMTP server
SMTP_HOST=smtp.sendgrid.net:2525
SMTP_USER=apikey
SMTP_PASS=xxx
SMTP_FROM='"xxx" <xxx>'

docker-compose.yaml
version: '3.5'

services:
  server:
    image: cortezaproject/corteza-server:${VERSION}
    restart: always
    env_file: [ .env ]
    depends_on: [ db, corredor ]
    networks: [ proxy, internal ]
    # Uncomment to use local fs for data persistence
    volumes: [ "./data/server:/data" ]
    environment:
      # VIRTUAL_HOST helps NginX proxy route trafic for specific virtual host to
      # this container
      VIRTUAL_HOST:     ${DOMAIN}
      # This is needed only if you are using NginX Lets-Encrypt companion
      # (see docs.cortezaproject.org for details)
      LETSENCRYPT_HOST: ${DOMAIN}

  corredor:
    image: cortezaproject/corteza-server-corredor:${VERSION}
    networks: [ internal ]
    restart: always
    env_file: [ .env ]

  db:
    # MySQL Database
    # See https://hub.docker.com/r/percona/percona-server for details
    image: percona:8.0
    restart: always
    ports:
      - "3306:3306"
    volumes: [ "./data/db:/var/lib/mysql" ]
    environment:
      # To be picked up by percona image when creating the database
      # Must match with DB_DSN settings inside .env
      #
      # Warning: these are values that are only used on 1st start
      #          if you want to change it later, you need to do that
      #          manually inside db container
      MYSQL_DATABASE: xxx
      MYSQL_USER:     xxx
      MYSQL_PASSWORD: xxx
      MYSQL_RANDOM_ROOT_PASSWORD: random # docker-compose logs db | grep "GENER>
    healthcheck: { test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"], time>
    networks: [ proxy, internal ]
    cap_add:
      - SYS_NICE  # CAP_SYS_NICE

networks:
  internal: {}
  proxy: { external: true }

@tbvgl you're correct, this is broken atm. I already have patch ready. Will push & update this issue in next few days.

@darh awesome, thanks for the fast response. I'll wait or if you want to send me the patch so that I can help testing feel free to do so.

Fixes were pushed to 2021.3.x and 2021.6.x branch. Release (docker image) should be pushed in couple of days, next week most likely.

thanks @darh I'll test today and report back.

So I pulled the new code and tested again.
I'm getting a different error now.
Corteza

Postman

Postman Console/Error
POST /auth/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Authorization: Basic xxx
User-Agent: PostmanRuntime/7.28.0
Accept: */*
Cache-Control: no-cache
Postman-Token: 82cb4e6d-797e-453c-b27a-44363379e34c
Host: hub.gridpane.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 49

grant_type=client_credentials&scope=profile%20api

HTTP/1.1 500 Internal Server Error
Server: nginx/1.19.3
Date: Thu, 29 Apr 2021 18:42:54 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 55
Connection: keep-alive
Cache-Control: no-store
Pragma: no-cache
Vary: Origin
X-Ratelimit-Limit: 60
X-Ratelimit-Remaining: 60
X-Ratelimit-Reset:<PHONE_NUMBER>
X-Request-Id: 66ffed7508f8/jE3Lvg1rta-000800
Strict-Transport-Security: max-age=31536000

{"error":"auth client security configuration invalid"}

I saw that the error gets triggered here and must have something to do with the user impersonation but I'm not sure how to work around that or fix that.
https://github.com/cortezaproject/corteza-server/commit/b245726c9b0308dc87726a17832c127afe55b228
	if gt == oauth2def.ClientCredentials {
		// Authenticated with client credentials!
		//
		// We'll use info from client security
		if client.Security == nil || client.Security.ImpersonateUser == 0 {
			return h.tokenError(w, errors.Internal("auth client security configuration invalid"))
		}

		tgr.UserID = strings.Join(append(
			[]string{fmt.Sprintf("%d", client.Security.ImpersonateUser)},
			client.Security.ForcedRoles...,
		), " ")
	}

I see. Unfortunately one of the admin frontend component was not updated with this patch
The problem you're seeing here is that with client_credentials auth flow you have to set the user you want to use with the client. This is mandatory.
Can I ask you to update auth_clients table manually for now?
You'll see security column with JSON serialized data. You should update/set it to something like this:
{"impersonateUser": "96322685868441659"}

Use the ID of one of your users.

thanks @darh it's working after updating the db.


v0.9.0

Features:

CUDA 9 support
CuDNN 7 support
Better CUBLAS support
Move towards a unified generation method
Various API changes
Various fixes (@egonelbre)
Bug fixes (thanks to @egonelbre):

CString not freed

Can we merge this PR? Would like to get CUDA 9 support.

it's on track to be merged this weekend


⚠ HopeAlley Ecards has degraded performance

In 3e54555, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 6323 ms

Resolved: HopeAlley Ecards performance has improved in 5e93efa.


RavenManga Páginas no encontradas

Steps to reproduce

Entro a RavenManga
Elijo un webtoon
Pongo un capítulo

Expected behavior
Ver manhwa con normalidad
Actual behavior
En algunos manhwa no estan los capítulos, diciendo "Páginas no encontradas", como por ejemplo "La personaje de Webtoon"
Crash logs
No response
Yōkai version
TachiJ2K 1.7.14
Android version
Android 10
Device
Moto E6i
Other details
No pasa con todos, como por ejemplo "Cazando con mis clones"
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I have filled out all of the requested information in this form.

Please use English (or Indonesia if you couldn't speak English), I only know these two lang.
Seems to be extension issue, please contact the extension maintainer instead.
This is Yokai, not J2K, you entered the wrong building.

Please use English (or Indonesia if you couldn't speak English), I only know these two lang.
Seems to be extension issue, please contact the extension maintainer instead.
This is Yokai, not J2K, you entered the wrong building.

Sorry, I put TachiJ2K for accident. Where can I contact with the extension manteiner?


pass env to ansible-deploy-control command

:+1: Sorry for lag on reviews yesterday. These are fine.


Config watcher didn't response to configmap change after 45 minutes

Describe the bug
I'm using config watcher to enable auto refresh for my  spring cloud microservices deployed in aws EKS.
Config watcher is also deployed in EKS.
It works fine when config watcher was just deployed, however, after 40 minutes, when I modified the configmap again to test it again, config watcher didn't response, no logs at all.
Config watcher version:  2.1.0-SNAPSHOT
Spring boot version: 2.4.4
JDK: 1.8.0_282
Sample
project link:  https://github.com/neo-feng/configdemo
you may find all information from link above.
pom dependencies:
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>
		<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-kubernetes-fabric8-config</artifactId>
            <version>${spring.cloud.config.version}</version>
        </dependency>
	</dependencies>

bootstrap.yml
spring:
  application:
    name: demo-service
  cloud:
    kubernetes:
      config:
        #enabled: true
        sources:
          - namespace: default
            name: ${spring.application.name}

server:
  port: 8080

reproduce steps:

deploy the application and test it successfully according to readme.md in the link above
after 40 minutes, test it again -- change the configmap and watch logs
you'll see config watcher has no response, no logs at all

It seems config watcher was disconnected with kubernetes after 40 minutes, while it still works well after 20 minutes, has no idea how to proceed, any suggestion will be appreciated.

I have exactly the same problem when the configuration watcher (version 2.0.3) is deployed in AKS while it works with a locally deployed version (Docker Desktop, Windows 10). Even with the log level set to DEBUG, there are no logs after some time and the applications are no longer notified.
@neo-feng Your project repository seems to be private, because I get a 404 when clicking the link.

I have exactly the same problem when the configuration watcher (version 2.0.3) is deployed in AKS while it works with a locally deployed version (Docker Desktop, Windows 10). Even with the log level set to DEBUG, there are no logs after some time and the applications are no longer notified.
@neo-feng Your project repository seems to be private, because I get a 404 when clicking the link.

Just changed the visibility of demo project, please try again. @trettstadtnlb

@neo-feng I can see the repository now.

This sounds almost identical to the issue I'm running into. Had a ticket here, though the name is inaccurate due to an original misdiagnosis of the cause.
https://github.com/spring-cloud/spring-cloud-kubernetes/issues/831
Let me know if you have any luck. I'll let you know if I find anything.

Fixed via 888031d


build-and-typecheck action fails after transforming lib

First of all, thank you so much for this template! I am loving the simplicity and lack of major monorepo tooling. This was much easier to get up and running with than TurboRepo or Lerna.
I am having an issue when pushing changes in the build-and-typecheck action, regarding the cjs build I think. See the issue on my repo here: https://github.com/KenEucker/point-of-vue-globe/actions/runs/4117051846/jobs/7107878376
[commonjs--resolver] Failed to resolve entry for package "point-of-vue-globe-lib". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "point-of-vue-globe-lib". The package may have incorrect main/module/exports specified in its package.json.

Does this have to do with the fact that my package doesn't start with the "@" symbol? I wasn't able to create a public package that starts with "@" without paying npm. That's why I am publishing without it. It's not what I wanted, but I don't have the extra $7/month at the moment.

Just kidding. I fixed it!
I had incorrectly set the filter in the root package.json to the folder path. Changing pnpm -F 'point-of-vue-globe-lib/* to:
pnpm -F 'point-of-vue-globe* (to capture anything starting with point-of-vue-globe like lib or core, etc)
Solved my issue.


Setting LSP for sublime text 3 for clangd gives error

I am not able to make LSP work. Its giving some errors in console when the LSP is loaded
Details are below:

OS
Distributor ID: CentOS
Description:    CentOS release 6.6 (Final)
Release:        6.6
Codename:       Final

language server
LLVM (http://llvm.org/):
LLVM version 5.0.2
Optimized build.
Default target: x86_64-unknown-linux-gnu
Host CPU: broadwell

How you installed LSP (Package Control or from git?)
I installed LSP through Package control

Minimal reproduction steps
When I open sublime text 3 and see the console I find some errors

Log
Error log from sublime text 3 console:
reloading plugin LSP.boot
Traceback (most recent call last):
File "/depotbld/RHEL6.0/sublime_text_3/sublime_plugin.py", line 109, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/init.py", line 90, in import_module
File "", line 1584, in _gcd_import
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "/depotbld/RHEL6.0/sublime_text_3/sublime_plugin.py", line 915, in load_module
exec(compile(source, source_path, 'exec'), mod.dict)
File "boot in /remote/us01home57/vshaw/.config/sublime-text-3/Installed Packages/LSP.sublime-package", line 19, in
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "/depotbld/RHEL6.0/sublime_text_3/sublime_plugin.py", line 915, in load_module
exec(compile(source, source_path, 'exec'), mod.dict)
File "plugin.rename in /remote/us01home57/vshaw/.config/sublime-text-3/Installed Packages/LSP.sublime-package", line 12, in
AttributeError: 'module' object has no attribute 'TextInputHandler'

I am struggling with clangd LSP today as well and I finally make it work.
Here's my detailed notes about the clangd LSP (for Ubuntu though).
A notable point for me is that there is a line in the clangd installation guide which says:
You need a recent version of clangd: 7.0 was the first usable release, and 8.0 is much better.

7.0 was the first "usable" release. I am not sure what the "usable" means but I install version 8 anyway.

Thanks for the comments. But I think as per the log, I am getting the error while loading LSP.boot plugin.
Hence I am not getting any LSP options from command pallette

@maxviv the error suggests that your Sublime Text is not exposing the TextInputHandler API, which is available in (regular) build 3170. What version do you have installed, and are you able to update?

My ST build is 3143 and version is 3.0. I will try to update and check.

Thanks @tomv564. Its working in build 3176


Document optimizations

The codebase includes optimizations from the Bulletproofs+ preprint that may not be obvious to a reviewer. These should be better documented.
One optimization is batch verification, which is described only informally in the preprint. This is described in more detail in RFC-0181, which should be linked.
Another optimization is to the vector d, whose entries and sum are computed efficiently. This should also be documented.

The sum optimization is now added via an RFC PR.


kraft pkg does not overwrite existing image

Describe the bug
Package an image. Then try to package the image again with the same name.
It would be expected for it to be overwritten or get an error, depending on the strategy.
kraft attempts to overwrite it, but fails
Steps to reproduce
$ kraft pkg --as oci --name testapp .
[+] packaging base (oci)... done!                                                                                x86_64/qemu [0.0s]

$ kraft pkg --as oci --name testapp .
<!> packaging base (oci)                                                                                x86_64/qemu [0.0s]
 E  could not remove existing index: read /home/kero/.local/share/kraftkit/runtime/oci/indexes/testapp: is a directory
 E  could not package: could not package: could not remove existing index: read /home/kero/.local/share/kraftkit/runtime/oci/indexes/testapp: is a directory

Expected behavior
For the app to be repackaged, or generate a better error message if failing is the default behavior.
Which architectures were you using or does this bug affect?
No response
Which operating system were you using or does this bug affect?
No response
Relevant log output
No response

seems to work now, I tried it with the same command
➜  7.2 git:(main) ✗ kraft pkg --as oci --name testapp .
 D  kraftkit 0.8.7
 i  searching for testapp
 D  querying catalog local=true name=testapp remote=false
 i  found testapp:latest (qemu/x86_64) (481ef3b, 6183bee, qemu/x86_64, 25 MB)
 D  found 1/64 matching packages in oci catalog
 D  using packager=kraftfile-unikraft
 i  packaging redis (oci)
 D  including kernel dest=/unikraft/bin/kernel src=/home/cez/unikraft-io/catalog-oss/library/redis/7.2/.unikraft/build/redis_qemu-x86_64
 D  including list of kconfig as features
 D  saving manifest digest=sha256:14bbf3e1822723b4add9dd03dedf7a748d7ecefdb19ccdbea816416de42d4674 ref=testapp:latest
➜  7.2 git:(main) ✗ kraft pkg --as oci --name testapp .
 D  kraftkit 0.8.7
 i  searching for testapp
 D  querying catalog local=true name=testapp remote=false
 i  found testapp:latest (qemu/x86_64) (14bbf3e, cdc6bce, qemu/x86_64, 25 MB)
 D  found 1/64 matching packages in oci catalog
 D  using packager=kraftfile-unikraft
 i  packaging redis (oci)
 D  including kernel dest=/unikraft/bin/kernel src=/home/cez/unikraft-io/catalog-oss/library/redis/7.2/.unikraft/build/redis_qemu-x86_64
 D  including list of kconfig as features
 D  saving manifest digest=sha256:444c164bf6bdb8728e8fd36ca568fc1a24b87cfa8669a932aac629599bf64305 ref=testapp:latest


Architecture: Add Clean Architecture

Include these links
[Clean Architecture course](https://bit.ly/3WQ8Cvq)
[Clean Architecture with .NET 8 webinar](https://mailchi.mp/nimblepros/clean-architecture-dotnet-8-recording)

Why use a bitly and not the actual URL it goes to?
https://academy.nimblepros.com/p/intro-to-clean-architecture#sq_hrln40vsft

Why use a bitly and not the actual URL it goes to? Shady ಠ_ಠ
[Clean Architecture course](https://academy.nimblepros.com/p/intro-to-clean-architecture)

Bitly gives us shorter URLs for social media and better analytics.


Update Jackson version to 2.8.9

logstash-logback-encoder currently (v4.10) uses jackson-databind v2.8.8.  Update this by incrementing jackson.version to 2.8.9.
Addresses Jackson Deserializer security vulnerability:
FasterXML/jackson-databind#1599
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.8.9

PR #231 merged


Model dalle2.pt is missing

Hey @lucidrains, how are you?
I'm trying to run your repo locally just for test and after installed pip package dalle2-pytorch i tried to run a simple prompt but it does't work due to dalle2.pt file that missing, maybe i have to train it first? if yes how? Thanks :)
P.s. Can i run project without cuda?

@marcellopajntar yea, it still needs to be trained - recommend you join the Laion community and chip in with whatever talent you have


Workflow need to run qcluster?

I've tried to add a simple task as async:
 task_id=async('my_app.tasks.print', self.pk)
it run correctly if I start in a separate shell:
 python manage.py qcluster
My question is: for deploy, the qcluster should always be started manually?

You should start is as system daemon, either by adding it as init script, or using tools such as supervisord or daemontools. We use daemontools start qcluster as daemon - https://cr.yp.to/daemontools.html
More simple solution is to add it under your crontab as @reboot:-
crontab -l
@reboot /path/to/python /path/to/your_project/manage.py qcluster


NPE when updating Quarkus CLI release to 1.2.0

Hey there,
I just tried to run a Quarkus CLI release with JReleaser 1.2.0 (I was eager to get the Cholokatey workflow issue fixed) and I get a NPE:
[INFO]  Reading configuration
project.website is deprecated since 1.2.0 and will be removed in 2.0.0. Use project.links.homepage instead
project.licenseUrl is deprecated since 1.2.0 and will be removed in 2.0.0. Use project.links.license instead
java.lang.NullPointerException
	at org.jreleaser.engine.context.ModelConfigurer.fillGitProperties(ModelConfigurer.java:159)
	at org.jreleaser.engine.context.ModelConfigurer.autoConfigureGithub(ModelConfigurer.java:91)
	at org.jreleaser.engine.context.ModelConfigurer.configure(ModelConfigurer.java:65)
	at org.jreleaser.engine.context.ContextCreator.create(ContextCreator.java:78)
	at org.jreleaser.cli.AbstractModelCommand.createContext(AbstractModelCommand.java:140)
	at org.jreleaser.cli.AbstractModelCommand.execute(AbstractModelCommand.java:81)
	at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:36)
	at org.jreleaser.cli.AbstractModelCommand.call(AbstractModelCommand.java:47)
	at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:29)

From what I can see, it's an issue with the branch resolution. I can confirm that I set JRELEASER_BRANCH to 2.12. So there should be a branch around and apparently, it's not set appropriately.
I have looked for branch in the changelog but couldn't find any changes that would require me to adjust JRELEASER_BRANCH. And I see it there: https://jreleaser.org/guide/latest/configuration/environment.html#_release .
Our JReleaser setup is located here: https://github.com/quarkusio/quarkus/tree/main/devtools/cli/distribution

Bug introduced when fixing https://github.com/jreleaser/jreleaser/issues/896 with https://github.com/jreleaser/jreleaser/commit/5a9fe54f5077bada6d53f897b370b3c772c1eee2

Workaround would be to explicitly set a value for branch in the DSL.

Released in v1.3.0 -> https://github.com/jreleaser/jreleaser/releases/tag/v1.3.0


Contiun were you left off doesnt work with librarys properly

Description
When files opens and the tab conatains a libary it doesnt load the content with the path beeing the actual path rather then the name like when it clicked on. Refreshing will load the content but the others will not change.

Steps To Reproduce
No response
Expected behavior
Libary should load and display as if they were click on manually
Files Version
<IP_ADDRESS>
Windows Version
10.0.19043.1466
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Fixed in <IP_ADDRESS>


chore: Update main.tf

Description

Motivation and Context

Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

please stop or we will be forced to block you from the organization


Show double bar on reset

Double bar is not effective because there is so little space in-between points. I added a single vertical dashed line to represent data breaks instead.


"Overpowered Ability" Suggestions

Some ideas:

Add an ability that applies almost every buff in the game. ✔ (Added in 1.5.0)
Add an ability that lets you summon whatever you want (combine summon monster, natures ally, and elemental summon). ❌ (Added Summon Calamity instead)
Add spell combat (link) ❗

True Resurrection - Resurrects any Party member with Full HP no negatives, even if their body was destroyed, no component cost.
Real Distant Magic - Brings back tabletop spell ranges:
Close
The spell reaches as far as 25 feet away from you. The maximum range increases by 5 feet for every two full [caster levels].
Medium
The spell reaches as far as 100 feet + 10 feet per [caster level].
Long
The spell reaches as far as 400 feet + 40 feet per [caster level].
Negate Magic - A 30ft. Sphere that Continuously dispels any spells within its radius, it also negates any spells cast on creatures within it (probably could be achieved by raising their spell resistance to something ridiculous like 100.)

Dominate:
Dominate any target (Makes it fight for you)
Super Regeneration:
Heal 50hp every turn
Overgeared:
Gives you endgame equipment at 1st level
Endless Magic:
Use your action to refill your spell slots (up to 1/4 of character level (min 1)).
Infinity Magic:
Removes max dmg die restrictions from magic and casts magic as if you were a caster 5 levels higher, so for example fireball deals 1d6 per caster level to a maximum of 10d6. With this there is no maximum.
PS: I think you should change "Grasp Heart" name to "Instant Death" since Overlord's Grasp Heart is just renamed Death Clutch spell.

but i want to roleplay ainz with grasp heart :tired_face:
jokes aside i think most of these are great ideas. some of them will be hard to implement (if possible at all).
i'll see if i can make some space to implement these in a 2.x.0 update

Well, you could always add it as a separate 9th level spell like in overlord and add other spells from overlord to spell list.
And you could add Super Tier Magic as overpowered abilities.
PS: Grasp Heart doesn't work on targets that are undead or do not have heart, so current version is certainly better.

If inventory/infinite storage seems too weak you could bundle it with the ability to switch armor and other parts of eq during combat

A few ideas, maybe as overpowered ability or special power

A power to make all attack ( ranged or melee ) counts as touch attack.
A power to make all enemies attacked by you ( ranged or melee ) is flat footed.
A power to make when you roll any dice, you will roll 2 or 3 dice and take the best result.

Mythic Azata Zippy magic like power
Mythic Demon , major demon coloxus like power
(link)

Rebound/Reflect - Enemies around you take 1D6 damage per character level for each attack made against you.
Radiant Visage - Enemies within 30 feet of you must make a 99 Will Save or be blinded by your radiance.
Nah Nah Nah Nan, Can't Touch This - Add 5 times your character's level to your Dodge AC.
I Don't Believe In Magic - Enemy units within 30 feet of you must make a DC 99 Will save in order to successfully cast magic. If they fail they will be stunned for 1D4 turns.
You Call That A Knife? - Enemy units within 30 feet of you suffer -10 to all attacks. Allies within 30 feet of you receive +10 to all attacks. (You have something very similar to this but I remembered the meme and wanted to include it)

Fallen Dawn: Deals massive Holy damage in 60ft. Radius for a few turns. (capable of friendly fire)
The Goal of all life is death: make the next spell ignore death effect immunity
I'd also move grasp heart op ability to spells but make it weaker or just rename death clutch to grasp heart and instead make an instakill ability to be that of shield hero(Iron Maiden) to keep the variety higher.

Since there is instant kill already, why not this:
I Am Atomic: Obliterates everything within 120ft radius, is a full round action and provokes attacks of opportunity.

Everything I've done so far used existing assets. I'm not skilled enough to add animations. I'm wondering if there's anything similar to purple explosion...

For now You could use supernova animation and cover entire screen with a white flash for the moment when explosion goes off.

In time of need: once during combat while below half health two celestials, azatas, demons, or elementals (depending on your alignment) will be summoned to your side relative to your level. I imagined this working something like the inheritor does during your time in the abyss. idk if this is feasible though and doesn't seem overpowered but could add some flavor

Eldritch body: every round roll a d20 depending on what you roll a random positive effect will happen. d1 gain 1ac for the rest of combat stackable. d2 your attacks are empowered dealing sonic damage for 1 round. d3 grow a appendage a tail or wing to stack with your attacks for the rest of combat... etc.
the idea would be your being helped by a eldritch (or god w/e) entity that would grant you random beneficial effects during combat the higher you roll the better the effect.

In time of need: once during combat when you reach half health two celestials, azatas, demons, or elementals (depending on your alignment) will be summoned to your side relative to your level. I imagined this working something like the inheritor does during your time in the abyss. idk if this is feasible though and doesn't seem overpowered but could add some flavor.

This is possible but it's going to be so annoying to implement finding all the blueprints for each unit per alignment. This could become a Special Power if it's not that powerful. Also remind me exactly when did the inheritor come to resue at half health? If you have an exact location/fight then it would help speed up development.

In time of need: once during combat when you reach half health two celestials, azatas, demons, or elementals (depending on your alignment) will be summoned to your side relative to your level. I imagined this working something like the inheritor does during your time in the abyss. idk if this is feasible though and doesn't seem overpowered but could add some flavor.

This is possible but it's going to be so annoying to implement finding all the blueprints for each unit per alignment. This could become a Special Power if it's not that powerful. Also remind me exactly when did the inheritor come to resue at half health? If you have an exact location/fight then it would help speed up development.

it starts at act 4 and as soon as you enter the city you will be given a permanent buff by the hand of the inheritor that will summon him and heal you to full life should your hitpoints hit 0. (got the names mixed up my bad)

Hive of vermin: every time you lose a certain percentage of health a swarm breaks off of you and attacks your enemies. while low on health your hive frenzies around you passively confusing enemies in a aura around you and granting you concealment (this would work like gibber when your attacked by vescavors in lepers smile ). your immune to confuse and nauseate.
I feel this could be a cool way to build up to actually playing a swarm because you only really get to play it at the end of the game, but even if you didn't want to play swarm I feel like this could only be available to evil characters
Love the mod by the way!

perhaps the last two ideas should be combined, you get to pick between several alignment restricted options on what can happen, summon an angel/dragon/elemental that helps fight, gain a passive aura, break down into a swarm, custom rage,...

For a more Ainz like OP ability, what about one that increase the duration and/or min summon count
IE level summon wolves going from 1d3+ 1 to 1d3+1+5 or something

Feels abit redundant to be honest. I might consider this for 6.0.0 when I rework the class again, some people actually want the class to be less overpowered so moving the features to the OP ability selection might make more sense.

It's not a very strong ability, but it's a nice one.
Special Power: Master of Weapons
Damage from weapon are now maximized.
This ability is based on the angel's "Grand Blessing" skill.
"Grand Blessing:
Additional damage and healing from Sword of Heaven are now maximized."

a underpowered/less powerful version of Super Buff that scales with level.
as for how to potentiel scale:
buffs from level 1 spells, at lvl 1
buffs from level 2 spells, at lvl 3
buffs from level 3 spells, at lvl 5
buffs from level 4 spells, at lvl 7 and so on,
basically following you spell progression, so its only buffs you could have potentiel cast yourself. still keep them all 24 hours thou.


The currency symbol in Payments doesn't show the local currency symbol for non-US locales - reported by Mahendra Liya

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Prerequisite: User located outside of US

Go to chat and Request / Send Money.
Notice the currency symbol is as per the current locale.
Go to Settings and notice currency symbol in front of the balance.

Expected Result:
The currency symbol under Settings -> Payments should shows the correct currency symbol as per the locale.
Actual Result:
The currency symbol defaults to $
Workaround:
un known
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.79-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/43995119/178181073-c56f013e-064c-43c3-8004-824f7e9fb2ae.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Mahendra Liya
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1656409899433359
View all open jobs on GitHub

This is expected behavior.

I think it'd be nice to change that to the local currency, but not a huge priority. Setting it as monthly.

@iwiznia The issue is - if you local currency isn't USD, notice the currency symbol in the Send Money / Request Money chats.

I believe the same symbol should reflect under Settings isn't it?

No, because the wallet is ALWAYS AND ONLY in USD, it does not change depending on your local currency

Ah, okay @iwiznia! Do you think it makes sense to show the amount in USD in the chat and not the local currency then?


Install graspit-pkgs problem

Jenny,
when I'm installing your 'graspit-pkgs' package,
Step 1 and Step 2  to install   system packages and required catkin packages is ok by following your Wiki.
I have git clone :
https://github.com/JenniferBuehler/graspit-pkgs.git
https://github.com/JenniferBuehler/joint-control-pkgs.git
https://github.com/JenniferBuehler/convenience-pkgs.git
https://github.com/JenniferBuehler/urdf-tools-pkgs.git
https://github.com/JenniferBuehler/jaco-arm-pkgs.git
in my catkin workspace .
But When catkin_make, it always has bug like :
/home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13286:2: error: #endif without #if  #endif   ^ [  4%] Built target _hand_dev_generate_messages_check_deps_finger [  4%] Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit.dir/include/DBase/moc_graspPlanningTask.cxx.o [  4%] Built target _hand_dev_generate_messages_check_deps_hand /home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13286:2: error: #endif without #if  #endif   ^ [  4%] Built target logger_binding_boost [  4%] Built target logger_binding_c++11 [  4%] Built target nodelet_math [  4%] Built target pluginlib_tutorials [  4%] Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit.dir/ui/moc_mainWindow.cxx.o [  4%] Built target polygon_loader [  4%] Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit.dir/ui/moc_bodyPropDlg.cxx.o [  4%] [  4%] Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit.dir/ui/moc_eigenGraspDlg.cxx.o Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit_simulator.dir/ui/moc_eigenGraspDlg.cxx.o [  4%] Building CXX object graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit_simulator.dir/ui/EGPlanner/moc_egPlannerDlg.cxx.o /home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13285:15: error: expected constructor, destructor, or type conversion before ‘;’ token  ages_graspit(); }                ^ /home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13285:17: error: expected declaration before ‘}’ token  ages_graspit(); }                  ^ /home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13285:15: error: expected constructor, destructor, or type conversion before ‘;’ token  ages_graspit(); }                ^ /home/dex_hand/catkin_ws/build/graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/qt_image_collection.cpp:13285:17: error: expected declaration before ‘}’ token  ages_graspit(); }                  ^ make[2]: *** [graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit_simulator.dir/qt_image_collection.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [graspit-pkgs/grasp_planning_graspit/graspit_external/graspit-build/CMakeFiles/graspit.dir/qt_image_collection.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs....

sorry , I have debug successfully !


feat: do not discard logs on revert since the kernel has pruned revertible logs.

add test of private fee payment method with revert.
fix #4712

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_30_ms
11,682 (+2%)
3,136 (+2%)
1,407 (+1%)
1,547 (-9%)
1,466

proof_construction_time_sha256_100_ms
43,624 (-4%)
11,717 (-4%)
5,434 (-4%)
5,373 (-3%)
5,341 (-3%)

proof_construction_time_poseidon_hash_ms
78.0 (-1%)
34.0
34.0
57.0
88.0 (+1%)

proof_construction_time_poseidon_hash_30_ms
1,517 (-1%)
414 (-2%)
201
218 (-4%)
265

proof_construction_time_poseidon_hash_100_ms
5,738 (-1%)
1,560 (-2%)
720 (-1%)
781 (-3%)
795 (-2%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,464
9,470
9,464

l1_rollup_execution_gas
610,285
610,291
610,285

l2_block_processing_time_in_ms
772 (+4%)
1,403
2,728 (+2%)

l2_block_building_time_in_ms
26,223 (+3%)
51,475 (+1%)
103,400 (+3%)

l2_block_rollup_simulation_time_in_ms
26,116 (+3%)
51,168 (+1%)
103,034 (+3%)

l2_block_public_tx_process_time_in_ms
22,422 (+3%)
47,338 (+1%)
99,166 (+3%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
6,935 (-1%)
9,793

node_database_size_in_bytes
12,136,528
16,126,032

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
68.4 (-3%)
13,873

GasToken:set_portal
17.3 (-9%)
3,495

Token:constructor
95.9 (-5%)
24,207

FPC:constructor
49.5 (-21%)
13,893

GasToken:mint_public
52.6 (-5%)
10,241

Token:mint_public
606 (+2%)
19,216

Token:assert_minter_and_mint
60.2 (-20%)
13,034

AuthRegistry:set_authorized
32.7 (-5%)
7,869

FPC:prepare_fee
84.5 (-11%)
15,187

Token:transfer_public
49.7 (-19%)
31,425

FPC:pay_refund
61.5 (-13%)
20,080

Benchmarking:increment_balance
2,721 (+2%)
15,465

Token:_increase_public_balance
58.8 (-17%)
15,089

FPC:pay_refund_with_shielded_rebate
53.2 (-15%)
21,167

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.196

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (+2%)
16.8 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.602 (+2%)
0.514 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.5 (+1%)
76.6 (+2%)
133 (+2%)
244
475 (+2%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.494 (+1%)
0.469 (+1%)
0.454 (+1%)
0.442
0.443 (+2%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.5 (+1%)
112 (+1%)
185 (+3%)
351
703 (+2%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.504 (+1%)
0.503 (+1%)
0.489 (+2%)
0.475
0.481 (+2%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.8 (+1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.518 (+1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
85,672
670,983

Transaction size based on fee payment method
| Metric |  |
| - |  |


provide builds for oneplus 7 pro

Hello,
lineageos supports oneplus 7 pro (guacamole).
can you add it to your supported device build list please? thanks a lot.
https://wiki.lineageos.org/devices/guacamole

Wrong project, post your request here: https://github.com/lineageos4microg

Thanks a lot


Clock setup code pulls in almost 1K of u64-math builtins

I'm trying to write a bootloader, meaning the output code needs to be as small as possible.  In looking at the big symbols being linked into the output binary, I see that compiler_builtins::int::specialized_div_rem::u64_div_rem::[hash] is almost 800 bytes, and it's only called from a couple builtins (__aeabi_uldivmod calls __udivmoddi4 which calls it).  Those builtins are 24 and 22 bytes, for a total of 842.  This is uncomfortably close to 1K.  There is only one bigger chunk, in all the core::fmt support code, totaling over 4K -- removing that (hopefully defmt is better) is a bigger change.
The only thing in the bootloader that calls __aeabi_uldivmod is the clock setup code.  It does it in three places; two which refer to this chunk of source from "cargo objdump --release -- -d --demangle --source":
sysclk = base_clk as u64 * self.plln as u64 / self.pllm as u64
and one that refers to this one:
let f_vco_clock = (f_pll_clock_input as u64 * n as u64 / m as u64) as u32;
Perhaps these divide-by-m options don't need to be u64?  Or perhaps it'd be possible to open-code the 64-bit division, or perhaps do them with a shift instead of a divide.  (I doubt that, since I think m can be values other than powers-of-2, but perhaps.)  Or maybe represent the frequencies in kHz instead of Hz, if we're only a couple bits over the 32-bit u32 range.  Or maybe do the division first (still as a u32), to avoid overflow.
I'll be looking into this, but it'd be good to know if others are thinking about it already as well.

...Or, an even better idea.  The maximum numerator of the entire operation fits into 37 bits (...well, requires 38 bits, but values that big can't possibly pass the <=216MHz assert down farther), so we could fit this into a fixed-point calculation with 27 bits after the decimal place.  That would let us calculate 1/m and 1/p and 1/q, each shifted left by 27 bits, in a u32.  Then multiplying by this and shifting right by 27 bits will accomplish the division, without having to use the software 64-bit-divide implementation.  But we keep all the important operations in a u64 space.
This does drop the calls to u64_div_rem, and saves almost 800 bytes total (we offset the savings from u64_div_rem a little, with the fixed-point shifts).  Sending a PR.

OK, that's less good than I was thinking.
Doing fixed point loses too much precision.  The code ends up calculating final frequencies that are up to 70Hz off from what they should be (432MHz turns into 432MHz+70Hz... that's a factor of 1.6e-7, or one bit out of 23ish).  432MHz requires 29 bits of fidelity.
Any better ideas?  I'll keep thinking too.  Maybe there's a way to get >29 bits after the decimal point without losing too many bits before it (and overflowing u64).

...This might work.  The bottom 6 bits of 1_000_000 are all zero, so any integer MHz value can be shifted right by up to 6 bits without losing information.  Setting the fractional part of the fixed-point math to 30 bits, and doing a >>4 on the input frequency to get it to fit inside the remaining 34 bits, would work, as long as people use multiples of 250kHz for their frequencies.
Setting the fractional part to 30 bits makes all the tests pass, but I still need to fix the potential overflow issue.

OK, updating the PR.  I think this will work -- at least it passes all the existing tests.  I added rounding as well, instead of truncating, when calculating the 1/x values.


stop deep imports of agoric CLI package

https://github.com/Agoric/agoric-sdk/pull/7824 attempted to remove exports from the agoric package so that it's only used for its bin install.
That broke loadgen CI,
(Error#1)
Error#1: Package subpath './lib/helpers.js' is not defined by "exports" in /usr/src/testnet-load-generator/runner/node_modules/agoric/package.json

  at resolve (file:///usr/src/testnet-load-generator/runner/lib/helpers/module.js:26:32)
  at getSDKBinaries (file:///usr/src/testnet-load-generator/runner/lib/main.js:172:33)
  at async Promise.all (index 0)
  at async main (file:///usr/src/testnet-load-generator/runner/lib/main.js:329:49)

For now I've restored the two exports loadgen expects, https://github.com/Agoric/testnet-load-generator/blob/0e2b8910edc95e5890d4e7ff394968c8d02a4b9d/runner/lib/main.js#L165-L167
A more maintainable solution would be for the interface between loadgen and the agoric package to use the CLI.

That one is gonna be tricky. If we rely on the CLI, we should add a CLI option to get the path of the binaries.
cc @michaelfig, any thoughts? I know you've been thinking about build artifacts, and this is somewhat relevant.


Provided countries in documentation is not supported

There are 40+ countries are supported in this package. But for a few provided countries error throw up
Not supported countries but provided in documentation are :

KE - kenya
PE -peru
IS -Iceland
ISLEOFMAN
EE - ESTONIA

Hi,
I can't replicate your issue: all values are available in code and work as expected.
Please note, correct values are:
KE - Kenya
PE -Peru
IS -Iceland
IsleOfMan
EE - Estonia


Feature/ip address authorization

Codecov Report

Merging #7 into master will increase coverage by 0.51%.
The diff coverage is 97.87%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   93.24%   93.76%   +0.51%
==========================================
  Files          22       23       +1
  Lines         385      417      +32
  Branches       35       42       +7
==========================================
+ Hits          359      391      +32
  Misses         26       26

Impacted Files
Coverage Δ

...k/proxy/provider/AuthorizationProviderRanger.scala
100% <100%> (ø)
:arrow_up:

...nger/plugin/conditionevaluator/IpCidrMatcher.scala
100% <100%> (ø)

.../airlock/proxy/api/directive/ProxyDirectives.scala
100% <100%> (ø)
:arrow_up:

.../wbaa/airlock/proxy/handler/RequestHandlerS3.scala
100% <100%> (ø)
:arrow_up:

.../com/ing/wbaa/airlock/proxy/api/ProxyService.scala
94.73% <85.71%> (+0.61%)
:arrow_up:

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 0ef4b78...83717a2. Read the comment docs.


Upgrade to Java 8

There are some features that I would like to introduce in a future PR that is made a great deal easier through an upgrade to Java 1.8. Is there a hard blocker on this upgrade?
I was able to compile and use this driver with 1.8

@JordanJLopez merged. I will not release a new version with upgrade to java 1.8 until your promised PR.

Pull Request Test Coverage Report for Build 40

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

Totals

Change from base Build 39:
0.0%

Covered Lines:
42

Relevant Lines:
74

💛  - Coveralls


Update cqf-ruler to hapi 6.1

As a part of DQM-Platform: distributed-measure-eval work, developer requires use of HAPI-6.1 in order to leverage reduceStep for measure report aggregation
Acceptance Critieria:
cqf-ruler codebase is updated to the most recent version. Currently 6.1.1 as of the time of this writing.

Here's the location:
https://github.com/DBCG/cqf-ruler/blob/master/pom.xml#L100


Tutorial

_How to export ALL THE STUFF_ (April 25, 2016)

Install the Go language using your favorite package manager, then

$ mkdir ~/go
$ export GOPATH=$HOME/go
$ export PATH=${PATH}:${GOPATH}/bin

Get API key from here: https://api.slack.com/docs/oauth-test-tokens

Click on the team
Click Confirm (link ends in &sudo=1# haha)

Download https://github.com/nlopes/slack/tree/c7719bec2a8daa87329f30fb59b05a652c783f22
(API broken in newer commits)

Extract to ~/go/src/github.com/nlopes/slack
$ go build
$ go install

Download https://github.com/Takayoshi-Aoyagi/slack-dump
(newer than this repo thanks @Takayoshi-Aoyagi)

Extract to go/src/github.com/Takayoshi-Aoyagi/slack-dump
$ go get (downloads rest of deps)
$ go build
$ go install

Export the stuff

$ read -p "token: " input

(paste the token in; keeps it from being stored in history)

$ slack-dump -t=${input} myprivatechannel
$ unzip slackdump.zip

Now you will have a bunch of .json files

I get the following error after running:

slack-dump -t=${input}

[little pause - its doing something]
DEPRECATED Action signature.  Must be 'cli.ActionFunc'.  This is an error in the application. Please contact the distributor of this application if this is not you. See https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature
Any ideas would be appreciated, just not a go guru

@aydancoskun Use my https://github.com/neelb/slack-dump branch. I fixed the issue.

I have done all of this, and I don't get a slack-dump command when done.  Can someone help me with what I am doing wrong?

I get this error
./main.go:120: group.Conversation undefined (type slack.Group has no field or method Conversation)
./main.go:131: channel.NumMembers undefined (type slack.Channel has no field or method NumMembers)
./main.go:131: group.NumMembers undefined (type slack.Group has no field or method NumMembers)
./main.go:167: channel.Conversation undefined (type slack.Channel has no field or method Conversation)
./main.go:193: group.Conversation undefined (type slack.Group has no field or method Conversation)

when trying go get

@zwhitchcox you need install only this commit https://github.com/nlopes/slack/tree/c7719bec2a8daa87329f30fb59b05a652c783f22 of github.com/nlopes/slack not newer


Hello World Fails with missing dependency.

/venv/lib/python3.13/site-packages/fasthtml/common.py", line 7, in
from sqlite_minutils import Database
ModuleNotFoundError: No module named 'sqlite_minutils'
I can manually install this, but doesn't give confidence.
pip show python-fasthtml
Name: python-fasthtml
Version: 0.10.2
Summary: The fastest way to create an HTML app
Home-page: https://github.com/AnswerDotAI/fasthtml
Author: Jeremy Howard and contributors
Author-email<EMAIL_ADDRESS>License: Apache Software License 2.0
Location: /Users/slim/dev/tmp/uv2/venv/lib/python3.13/site-packages
Requires: beautifulsoup4, fastcore, fastlite, httpx, itsdangerous, oauthlib, python-dateutil, python-multipart, starlette, uvicorn
Required-by:

Fixed in 0.10.3.


Catalog validation

Description
The catalogs are created and populated in the Strapi BPP instances and need validation that they are in line with the demo requirement.
https://mit-bpp-hotel.becknprotocol.io/admin
https://mit-bpp-tourism.becknprotocol.io/admin
https://mit-bpp-healthcare.becknprotocol.io/admin
https://mit-bpp-retail.becknprotocol.io/admin
https://mit-bpp-energy.becknprotocol.io/admin
Goals

[ ] Catalog validation for all 5 instances.

Expected Outcome
The catalogs are verified and do not need any further changes.
Acceptance Criteria

[ ] Catalogs validated as per the Demo requirements.

@mayurvir  Please let us know once you validate 1 catalog per domain


[EasyCodingStandard] configuration no longer working with 9.2

After updating to ECS 9.2 many of the custom configurations I did in ecs.php stopped working suddenly.
For example I'm using this because I don't like the default "CODE_SAMPLE" keyword:
	$services->set(StandardizeHereNowDocKeywordFixer::class)
		->call(
			'configure',
			[
				[
					StandardizeHereNowDocKeywordFixer::KEYWORD => 'STRING',
				],
			]
		);

Yet v9.2 is trying to revert my code back to use CODE_SAMPLE and my own configuration is ignored. Same goes for most if not all of my other ecs.php settings.
I was updating from v9.1.4. I tried to check with v9.1.9 but didn't get pass this error: #2992

I'll look into it, thanks for report


Create EntityGroupedList component

[ ] Move the component GroupedList and Group to ADS, extracting out just the UI
https://github.com/appsmithorg/appsmith/blob/release/app/client/src/pages/Editor/IDE/EditorPane/components/GroupedList.tsx
https://github.com/appsmithorg/appsmith/blob/release/app/client/src/pages/Editor/IDE/EditorPane/components/Group.tsx

[ ] If there is only one group, do not show the group name eg. JS Objects, Pages

[ ] GroupedList component will take groups as props and the type definition for groups will be:
groupTitle?: string;
className: string;
items: EntityItem[];

[ ] Group list items will have the support to add description, as this is supported in Data side pane.

[ ] Add prop for showing divider between each group which will be an optional prop - dividerBetween. This will be of boolean type.

Note:

Search term, filtering of list and empty state for the list will all be part of the component where this component will be used, and these functionalities should not be part of this component. This component will get the filtered list of items as props (groups) when searchTerm is present.
Replacing of current implementation with this new component is not part of this task.

Design:
https://www.figma.com/design/sz08OJt2VrEgxQ8eToFIqG/ADS2.0---Components?node-id=8954-7244&t=HrFzlJnYdgkRxcwN-0

Hey team! Please add your planning poker estimate with Zenhub @alex-golovanov @hetunandu


Is there any particular logic for the order of authors in the spec?

For example, Alex appears halfway through the table and he has not participated in version 2.0.0.
I suggest alphabetical order.

It has just been lifted from the old document as it is. Perhaps two lists, one with previous participants in the work and one with current contributors? And yes preferably alphabetical.

I agree.

To fix this we need to decide where the authors go, and ensure that PDF and site publication support the solution. Suggestion, Appendix for author and history information? Just changes in latest version as forward material.

See this issue: https://github.com/DILCISBoard/GroupDocumentation/issues/17


Move to tape tests

Problem
It is possible that this library doesnt work on certain platforms and it would be good to test this repository on various devices/platforms.
Alternatives

We could move all the tests from jest to tape and also figure out how to do nice tape tests with typescript.
We could also try to make a rn-jest that does the same thing that rn-tape does but for jest.

I'm more into moving to tape than an rn-jest. :P Typescript support sounds like it'd be useful for folks in general.


use OCW_COURSE_STARTER_SLUG in pipelines

Pre-Flight checklist

[ ] Screenshots and design review for any changes that affect layout or styling
[ ] Migrations

[ ] Migration is backwards-compatible with current production code

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

[ ] Settings

[ ] New settings are documented and present in app.json
[ ] New settings have reasonable development defaults, if applicable
[ ] Opened issue for DevOps regarding necessary configuration changes to deployed environments

What are the relevant tickets?
(Required)
What's this PR do?
(Required)
How should this be manually tested?
(Required)
Where should the reviewer start?
(Optional)
Any background context you want to provide?
(Optional)
Screenshots (if appropriate)
(Optional)
What GIF best describes this PR or how it makes you feel?
(Optional)

Codecov Report

Merging #1560 (32bfbdf) into master (ab109f6) will increase coverage by 5.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1560      +/-   ##
==========================================
+ Coverage   89.20%   94.30%   +5.10%
==========================================
  Files         239      117     -122
  Lines       10136     3479    -6657
  Branches     1671      785     -886
==========================================
- Hits         9042     3281    -5761
+ Misses        958      194     -764
+ Partials      136        4     -132

Impacted Files
Coverage Δ

conftest.py

content_sync/pipelines/concourse.py

...caldev/management/commands/override_site_config.py

main/settings.py

ocw_import/tasks.py

websites/api.py

websites/views.py

videos/youtube.py

gdrive_sync/apps.py

content_sync/tasks.py

... and 112 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix Footer Navigation Error!! 🚀🚀

@pkspyder007 If We press the Button in Footer it actually navigates to particular url  http://localhost:3000/placeholder  ,
https://user-images.githubusercontent.com/55022929/110803080-d71a3b00-82a4-11eb-83e2-8f534c089f05.mp4

Hello I would like to work on this issue as part of GSSOC21. Can you please assign this to me.?
Thank you.

@ShreyashRoyzada  Yes I will Work on this Issue , Kindly , Assign this to me!


TODO list from Vitalik

via: https://blog.ethereum.org/2016/06/19/thinking-smart-contract-security/

throw a warning if a contract does not provably consume less than 2300 gas if called with no data
throw a warning if a function does not provably terminate within a safe amount of gas
Variable names might be colored (eg. RGB based on the first three bytes of the hash of the name)
perhaps a heuristic warning might be given if two variable names are too close to each other

Note that the provider does provide upper bounds for gas usage by employing symbolic execution. Having said that, it ignores gas sent to sub-calls, that should probably be changed.
We should add a proper warning for the fallback function and perhaps a slightly less annoying warning for other functions. Furthermore, the warning should not be shown if the fallback function throws on purpose - not sure yet how to do detect that properly.

@chriseth @soad003 we should perhaps add a static analysis module

@yann300 hm? We already have one. From the four items, only the last two are still remaining.


[BUG] Report generation fails due to Improper URL parsing

The logic used in checkURLParams, incorrectly assumes that the URL has a # and causes a JS error when one is not present.
The offending code is
const [hash, query] = location.href.split('#')[1].split('?');

This is breaking Dashboards' Discover in 2.12.


DRILL-6118: Handle item star columns during project / filter push dow…

…n and directory pruning

Added DrillFilterItemStarReWriterRule to re-write item star fields to regular field references.
Refactored DrillPushProjectIntoScanRule to handle item star fields, factored out helper classes and methods from PreUitl.class.
Fixed issue with dynamic star usage (after Calcite upgrade old usage of star was still present, replaced WILDCARD -> DYNAMIC_STAR  for clarity).
Added unit tests to check project / filter push down and directory pruning with item star.

Details in DRILL-6118.

+1

@arina-ielchiieva pls rebase on latest master.

@amansinha100 rebased and ran pre-commit tests. All good expept of 16 expected failures.

Merged into Apache master with commit id 9073aed67d89e8b2188870d6c812706085c9c41b

I noticed this change when merging with the latest master. What does DYNAMIC_STAR mean? The original WILDCARD name was more theoretical. How is DYNAMIC_STAR different from STAR (other than being **)?
Can we call it WILDCARD and isWildcard() that the string is **, presumably for internal reasons, seems less worth calling out in the name.

@paul-rogers, as you know, there were some differences between the commits in the older Calcite version (1.4.0-r23) which was used by Drill and commits merged into Apache master. One of such commits was [CALCITE-1150] Add dynamic record type and dynamic star for schema-on-read table. In our older Calcite fork DYNAMIC_STAR was *, but after rebase onto Calcite 1.15, it became **.
As I understand, DYNAMIC_STAR itself means "default column" which will be added to table row type for the case when we have select * query and the schema of the underlying table is not known.
As for the name of constant, I think current DYNAMIC_STAR more suitable, since Calcite also uses a similar name for the same string: DynamicRecordType.DYNAMIC_STAR_PREFIX. So current name at least helps to avoid divergence in naming for Drill and Calcite.


Documentation: add script structure

Add documentation illustrating the different scripts and how they interact with each other i.e. The main script interacting with the button listener script, voice recognition script, games, etc.

Will do this after I've figured this out 🤣


Download PDF from WDL viewer tab

via #150 via @sitapriyamoorthi
see discussion in 150

Love this idea! Although maybe it would be easier to use as a jpeg or png instead of pdf?

@sckott, how difficult do you think this is? This seems more like a nice-to-have so we can definitely push this until v1.3, but if it's easy to put in there, may as well throw it in with v1.2. Thoughts? Putting as v1.2 for now..

Just FYI on the PDF bs png … pdfs are easier to use as part of manuscripts … illustrator is the most go to tool and almost all journals want pdfs ! Just a thought

I don't know, i'll have a quick look and see


fix templates not found for R15B

Turns out this is a pretty small fix if you are willing to change the format used in the rebar.config for the 'escript_incl_extra' variable.  The only places filelib:wildcard/2 is called is is rebar_prv_escriptize.erl (and rebar_prv_dialyzer.erl, but I don't know if that is an issue).  By changing the escript_inc_extra variable to a 3-tuple and removing the case where the prefix is empty (which was only called from the modified function) it fixes the issue outlined in https://github.com/rebar/rebar3/issues/1002.

Oh, and looking again at rebar_prv_dialyzer.erl, the filelib:wildcard/2 call always has a "*" as the first character of the wildcard part, so I believe will not be an issue with R15B.

I believe this may break compatibility of the feature with what rebar 2.x was doing, but it has deeper problems where calls like filelib:wildcard("**/my_repo/*.?rl"). which uses many wildcard characters (**, *, and ?) no longer an obvious form with the patch and may still break anyway.

Yeah, I'm not sure about backward compatibility, rebar 2.x works fine with R15B, and from the docs it seems like allowing '**' was introduced with R16B, so I wonder how prevalent that usage is.  I know R15B is pretty old, so no worries if this patch gets dropped.

Should we close this? With 19 around the corner 15 will be 4 major versions old.

Yeah, I'll close it. Sorry for the lack of support there!


fix(core): remove usage of setTimeout.

What kind of change does this PR introduce? Bug fix

This change is

setTineout looks ugly? Do you have any other solution in mind too?

@mohammedzamakhan yep there is another better approach but it's require more work with a potential breaking change, let me think on it!

Codecov Report

Merging #586 into master will decrease coverage by 1.15%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #586      +/-   ##
==========================================
- Coverage   94.08%   92.93%   -1.16%
==========================================
  Files          16       16
  Lines         727      736       +9
  Branches      209      211       +2
==========================================
  Hits          684      684
- Misses         43       52       +9

Impacted Files
Coverage Δ

src/core/src/services/formly.form.builder.ts
97.05% <100%> (+0.01%)
:arrow_up:

src/core/src/components/formly.form.ts
91.57% <100%> (+1.1%)
:arrow_up:

src/core/src/components/formly.field.ts
83.72% <40.9%> (-8.71%)
:arrow_down:

src/core/src/utils.ts
96.07% <0%> (-0.99%)
:arrow_down:

src/core/src/services/formly.config.ts
93.93% <0%> (+3.03%)
:arrow_up:

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 a307a7c...aed31e5. Read the comment docs.

setTimeout is removed now, I hope this will not produce some unexpected behavior ;)


Export the mesh material only

Hello,
Is there a way to export the material and mesh as seperate files ? to give it more context: i am trying to import my model into unity

material(MTL) or texture it doesnt really matter

You may use VTK to write the polydata to file, which can be accessed from vedo as mymesh.polydata().
Check out : https://vtk.org/doc/nightly/html/classvtkOBJWriter.html

I dont know if you have worked with unity before ? but do you think it would be possible to some how extract the model with the interpolated data and view it in unity ? i am try to think of a way so i dont have to write a parser from scratch,
P.S. : the reason i need to do it unity is that i want to visualize the project in AR, i have essentially managed to export the file as .ply import it in blender and export it as .fbx to be able to import it in unity

uhm, no sorry... i'm not familiar with unity!

is there a way to export object files to .GLTF ?
thx for your help

Hi, I will implement it in the next release (1-2 weeks), meanwhile you can extract the polygonal data from the native vtk reader:
https://vtk.org/doc/nightly/html/classvtkGLTFReader.html
eg
reader = vtk.vtkGLTFReader()
...
poly = reader.GetOuput()
msh = vedo.Mesh(poly)
...

OUCH! sorry you said export not import...
I need to look into it!


Add rx_delay from Console to LoRaWAN config

This should resolve issue #531
This will assist devices in regions where internet backbone latency contributes to timing issues; e.g., AU->US
For this feature to be fully function, it is blocked by Console PR#952

CI tests failed due to XOR Filter which wasn't touched for this PR, but all tests pass when running locally on Linux (Xubuntu 20.04.3) via both:

make compile test
make docker-build docker-test


Fixed typos at WLAN_REASON_CODE description

suppport => support, informarion => information

@alexbereznikov : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Need to write a page for frankenfirmwares cannot be web-booted with rxTools 2.5.2

Such as 7.1.0-4J.
Otherwise the noobs who have this frankenfirmware will stuck at 9.2.0 Update's Step 26.
BTW, for my information collection, 4.3.0-4J can be web-booted with rxTools 2.5.2 but 7.1.0-4J cannot.
That means, there are some other things (maybe NATIVE_FIRM?) out of the Internet Browser can affect the rxTools 2.X web entrypoint.
If a frankenfirmware rxTools 2.X web entrypoint does not work, then we have only GW web entrypoint works.
But unfortunately, there are no GW web-boot supported CFWs with Sig-Patch-Only mode access.
For these frankenfirmwares, we have the following method to get them work:

(Method 1) Boot by GW, CIA upgrading emuNAND to 9.2.0-20, GW downgrading 9.2-Emu to 4.X, convert 4.X-Emu to RedNAND, write 4.X-Red to SysNAND (Of course backup your original before writing 4.X-Red!)
(Method 2) Cart-upgrade it to a HBL bootable 9.0-10.7 -4, use HBL to boot SafeSysupdater to downgrade it to 9.2.0-20 (Someone tested that 9.2.0-4U froze at booting HBL but 9.9.0-4U worked)

BTW, this wiki also lacks -0 frankenfirmwares' instruction.
Since -0 has no browser, all the web-boot entrypoints (and browserhax) does not work.
A general method working for every -0 consoles is

Cart-upgrade to 9.9, boot HBL with anything other than Browserhax, then SafeSysupdater-downgrade to 9.2.0-20

For specifying N3DS 8.1.0-0J / 8.1.0-0E, we still have private SOAP server method. But it's more complicated than current version - 9.9 - 9.2.

#132 is possibly a prove that 5.1.0-4U also has this problem.

I am still trying to decide exactly how to handle all the different old firmware update methods that exist; I'll need some time before I make any decisions on how this will be structured and written.

4.5 cant boot to decrypt9...
some of them...

@zfirered
This wiki introduces booting Decrypt9 with GW web entrypoint & using Launcher.dat-format Decrypt9.
It should be no problem since GW web entrypoint had full support of 4.0-9.2 & every browser <= v4096.

@Plailect there is no reason to use rxTools, you can use another CFW that meets the needs better... also, the D9 launcher.dat entrypoint is depreciated... D9 can launch from the browser using cakehax. For systems that don't have browser, there should be a tutorial on using a flashcart to install the appropriate MSET ROP onto the console, there should also be a note saying that certain firmwares (browserless 5.x or 7.x-8.1) cannot be updated using sysupdater and that they'll need to update with a cart, then get some sort of entry into the system (OoThax, ninjhax 2.x, etc.) from there to either properly update their system (to get a browser) or, if they went higher than 9.2 they need to downgrade.

In a word, Frankenfirmwares -> 9.3-10.7 -> 9.2 is the universal solution.
5.1.0-4 cannot boot Devmode? Upgrade to 9.9 then DG to 9.2.
Stuck at 7.2.0-0? Upgrade to 9.9 then DG to 9.2.
Don't know how to use NTR + Private Server for N3DS 8.1.0-0J? Upgrade to 9.9 then DG to 9.2.
9.2.0-4 freezes at booting HBL? Upgrade to 9.9 then DG to 9.2.0-20.

@MelonGx: Although it's true that updating to 9.9 and downgrading works for everyone, that can't be the first choice.  Upgrading to 9.9 and downgrading may require using Cubic Ninja/.OOT/PSMD to downgrade, and a way to get the save game onto those last two.  Not everyone has those.  So that method shoul;d only be a last resort, after the user tries the other methods that don't need anything extra.

New report:
Proper firmware 5.1.0-11U failed booting rxTools 2.X Devmode either.
http://gbatemp.net/threads/problems-trying-to-update-to-9-2.428292/
It seems that rxTools 2.X Devmode only works on main version 4.X or 6.X regardless whether it's frankenfirmware or not.

Conclusion of all the specific firmwares above which don't work with this guide:

5.X 7.X 8.X  - Can't be booted by rxTools 2.5.2 Devmode, but can be booted by rxTools 3.X Pasta Mode (to be noticed that rxTools 3.X doesn't support -2 to -6 web-boot, which rxTools 2.5.2 supports)
5.X with -2 to -6 - Neither of rxTools 2.5.2 Devmode, MSET, rxTools 3.X web-boot access, but can be cartridge upgraded to 6.X with -2 to -6 to continue using this guide
7.X 8.X with -2 to -6 - Neither of rxTools 2.5.2 Devmode, MSET, rxTools 3.X web-boot access, both Create EmuNAND 9.2 by GW -> DG EmuNAND -> Convert EmuNAND to RedNAND -> Inject RedNAND to SysNAND & upgrade to 9.3 - 10.7 then DG to 9.2 work.
7.X 8.X with -0 - Neither browser nor MSET access, only upgrade to 9.3 - 10.7 then DG to 9.2 works
N3DS 8.1.0-0J - Neither browser nor MSET access, but has NTR access, both NTR + 9.0 - 9.2 private server & upgrade to 9.3 - 10.7 then DG to 9.2 work
9.2.0 with specific suffix - It should be available to boot HBL but actually it doesn't, only upgrade to 9.3 - 10.7 then DG works

9.0 - 9.2 with specific suffix - It should be available to boot HBL but actually it doesn't, only available with upgrade to 9.3 - 10.7 then DG to 9.2.0-20

Can that ever happen?
Because there is no useful browser, upgrading and downgrading will only work if you downgrade using CN/OOT/PSMD.  If you have one of those, you don't need to upgrade and downgrade because you can use it to get into homebrew directly.

Also, <=4.x can be cartridge updated to 4.x and you can use mset.
And if you started on 2,1, get the OTP first.  (Is there any way for someone on 1.x or 2.0 to get it aside from using a cart to upgrade to 2.1?)  Believe it or not, there have been cases of people who started with 2.1.

7.X 8.X with -2 to -6 - Neither of rxTools 2.5.2 Devmode, MSET, rxTools 3.X web-boot access work, available with (1) Create EmuNAND 9.2 by GW -> DG EmuNAND -> Convert EmuNAND to RedNAND -> Inject RedNAND to SysNAND (2) Upgrade to 9.3 - 10.7 then DG to 9.2

(3) If (1) is possible, that means you can boot Gateway.  If you can boot Gateway, you can use the Gateway downgrade to 4.x.  The Gateway downgrade to 4.x will contain a proper browser so you will then be okay.  It is also possible that using the Gateway 4.x downgrade is the solution to some of the other ones, but I don't know which exact versions/browsers can boot Gateway.

@arromdee
One person told me his 9.2.0-4U cannot boot HBL with Ninjhax. That's why he finally chose 9.2.0-4 -> 9.9.0-4 -> 9.2.0-20.
For factory 1.0-2.2 3DSes, yes, you're right. This wiki should add the description for those machines.
For GWDG on 7.X 8.X -2 to -6, no, it can't. It is tested that GWDG refused performing any downgrade on suffix < -10J / -8E.

I thought that Ninjhax 2 is no longer dependent on the browser.  Was he trying Ninjhax 1 by mistake?
This looks like the kind of thing that someone with a hardmod will have to research so we know for sure.

People with browser versions lower than -7 (such as 2.1.0-6) cannot use Ninjhax 1 or 2. The secondary exploits such as OoT3Dhax would work except those require 9.X to launch HBL.

I forgot one probability why the guy said 9.2.0-4 -> 9.9.0-4 -> 9.2.0-20 worked:
Since 9.9+ cartridge upgrade pack, Nintendo added a dummy browser.
This may make the *hax treat the SysNAND as a new-browser-installed system.

Added with #336722c

Having issues with 5.1.0-10u, can't get rxTools 3.0.0 to boot through the browserhax. Tried rxTools 2.5.1, and successfully can get into rxTools, but can't boot into DevMode.
It seems that most browserhax don't work on this firmware, the only one that has worked is booting into Decrypt9. Is the only option is to find a cart upgrade, and try from there?

Update from above
5.1.0-10u apparently just doesn't work with rxTools 2.x or 3.x. I ended up using a Pokemon ORAS cart to update to 7.2.0-20u. The guide said to use rxTools 3.x, but was unsuccessful in using browserhax to launch after countless attempts. Tried rxTools 2.5.2 with browserhax exploit to launch, worked first try.
Got put into DevMode successfully to continue with the 9.2 upgrade. Am now on CFW with latest updates. So should the guide should be updated to say 5.1.0-10u just doesn't work correctly with rxTools? And should the >6u for 7.x.x be updated to rxTools 2.5.2? Maybe there should just be a note at the bottom of the chart of the 9.2.0 upgrade page saying that if rxTools 3.x doesn't work, attempt 2.5.2.


When i run ECIES demo in Node, it asserts "WebCryptoAPI is not available".

Finally, i found the problem is that OpenSSL was not installed!!


METRON-399 Stellar Date Functions Should Default to Current Time

METRON-399
The Stellar date functions expect an argument of a Long containing the epoch time in milliseconds.  If no argument is supplied, a parse exception is thrown.
WEEK_OF_YEAR(timestamp)

This should be changed so that if no argument is supplied, the function assumes the current time.
WEEK_OF_YEAR()

If an argument is passed that is not valid, the function should continue to return null.
This updates the functioning of all date functions included in #231 .

+1, good stuff


restricting the number of threads in an application

How can I restrict the number of threads to run by an hpx application?

@tsung-wei-huang if you refer to the number of cores to run your HPX application on, then you can pass the --hpx:threads=N command line option, where N is the number of cores to use. In general you might want to read about the various command line options any HPX application supports here: https://stellar-group.github.io/hpx-docs/latest/html/manual/launching_and_configuring_hpx_applications.html#commandline.

@hkaiser  is there any way I can do this through environment variable?

@hkaiser  is there any way I can do this through environment variable?

Unfortunately, this can't be controlled through an environment variable, ATM. But we could easily add this functionality, if needed. Not sure of how much use that would be for you.

I'm not sure if we want to have more ways of setting the number of threads, but doesn't the configuration system already allow customizing things through environment variables? Having HPX_NUM_THREADS work as an environment variable looks like it would be a one-line change.

I'm not sure if we want to have more ways of setting the number of threads, but doesn't the configuration system already allow customizing things through environment variables? Having HPX_NUM_THREADS work as an environment variable looks like it would be a one-line change.

Yes, that's what I was thinking. This changes the base-line default only however. We try to figure out how many cores to use through many different means, so I'm not sure if the base-line default value is actually used in the end. This needs some investigation.


nixos/sd-card: enable Raspberry Pi's mini UART console

Description of changes
Enable Raspberry Pi's mini UART console by default. This allows for headless configuration. The change has been tested on a Raspberry Pi 3 Model B.

Things done

Built on platform(s)

[ ] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

The same parameter is mentioned at https://wiki.nixos.org/wiki/NixOS_on_ARM/Raspberry_Pi#Raspberry_Pi_3_/_3B+ and https://wiki.nixos.org/wiki/NixOS_on_ARM/Raspberry_Pi#Serial_console

Thanks for pointing that out! Actually it's these pages that make me feel to create a PR and 'upstream' the changes. After this PR is merged the wiki should be updated as well.

I've changed the order to also allow kernel messages to be printed to the serial console.

I've changed the order to also allow kernel messages to be printed to the serial console.

This may break for other systems where tty0 is the serial console. All in all, it is more common than tty1.

I've changed the order to also allow kernel messages to be printed to the serial console.

This may break for other systems where tty0 is the serial console. All in all, it is more common than tty1.

Maybe you mean ttyS0 and ttyS1? By the kernel docs the only affected system would be Tegra. And IIRC for some reasons, if I put ttyS1 after ttyS0 neither kernel messages or login prompts would show up (but u-boot messages do show up). Not sure about Tegra though.
I think it may be better to have per-hardware modules for Raspberry Pi 3/4 aarch64 like nixos/modules/installer/sd-card/sd-image-raspberrypi.nix.

Oops yes, sorry, I did mean ttyS#.
The kernel documentation linked here, and other parts elsewhere about serial are heavily outdated, and actually wrong in some places. For example, the maximum is erroneous, many devices use a higher baud rate (i.e. all/most rockchip).

The behavior is more complicated when the same device type is defined more times. In this case, there are the following two rules:

The output will appear only on the first device of each defined type.

Also noting that, same example SoC, most rockchip hardware will use ttyS2 as the preferred console. The expectation is that if the console isn't ttyS0, the extlinux.conf file can be edited manually to set an appropriate console temporarily (think of it as if you hit e to edit the cmdline in GRUB).
(From the linked documentation)

If no console device is specified, the first device found capable of acting as a system console will be used. At this time, the system first looks for a VGA card and then for a serial port. So if you don’t have a VGA card in your system the first serial port will automatically become the console.

Outdated! The answer is: it depends.
Sadly, there is no real good answer to that conundrum in DT-land. Setting no console= values uses /chosen/stdout in the device tree, but this breaks display output. Only setting tty0 doesn't make the kernel use the serial console otherwisely. So to improve defaults, something needs to be picked. ttyS0 is the least worst option, by default.

Forgot to anser this:

I think it may be better to have per-hardware modules for Raspberry Pi 3/4 aarch64 like nixos/modules/installer/sd-card/sd-image-raspberrypi.nix. Or we could enable serial-getty for all these chardevs.

Nope. The answer is to remove anything device-specific. Not much has been moving precisely within NixOS, but I made notes about planning for a better NixOS on ARM a while back.

Forgot to answer this:

I think it may be better to have per-hardware modules for Raspberry Pi 3/4 aarch64 like nixos/modules/installer/sd-card/sd-image-raspberrypi.nix. Or we could enable serial-getty for all these chardevs.

Nope. The answer is to remove anything device-specific. Not much has been moving precisely within NixOS, but I made notes about planning for a better NixOS on ARM a while back.

Thanks for the great writeup! It feels right for a unified and platform-agnostic approach. I've investigated on installing NixOS with UEFI and so far I haven't met any problems. I think the best way forward would be not investing into a to-be-deprecated feature.

Closing since a UEFI-based approach should be used instead.


Bug Type Error: Cannot pass a defined object with defined nested type as TLoggableEntry

Error
If you try to pass as TLoggableEntry an object that has a definition with nested defined object, in this case IAddress it gives a type error
interface IAddress{
    line: string;
    city: string;
}

interface IUser{
    id: string;
    email: string;
    age: number;
    address: IAddress
}

const user: IUser = {
    id: 'jU1kyio90olkjhur4',
    email<EMAIL_ADDRESS>    age: 1,
    address: {
        city: 'Rome',
        line: 'line address'
    }
}

const logger = new JLogger('test_logger', LogLevel.INFO);
// this give an error for the payload described below
logger.info('message', {...user});

error recieved
Argument of type '{ id: string; email: string; age: number; address: IAddress; }' is not assignable to parameter of type 'TLoggableEntry'.
  Type '{ id: string; email: string; age: number; address: IAddress; }' is not assignable to type 'IJson'.
    Property 'address' is incompatible with index signature.
      Type 'IAddress' is not assignable to type 'TJsonValue | TJsonValue[]'.
        Type 'IAddress' is not assignable to type 'IJson'.
          Index signature for type 'string' is missing in type 'IAddress'.

Basically, the logger accept a TLoggableParam.  In other words, you have 2 options:

For a class, extend AbstractLoggable
For interface, extend IJson

Loggable created.  Please see warning in the doc: https://fp8.github.io/jlog-facade/classes/Loggable.html


Fix typings for loadRelated static method

Coverage remained the same at 95.025% when pulling b06be886f5be5b1d1c52c72eae87f57dcdcb0b6b on chamini2:fix-typings-loadRelated into 63d535deb39bb0dcf9b6b455cbafb8f0b9c2354a on Vincit:master.

Thank you!

When could we get a release?


Add selectAll option to library and demo project

This PR directly addresses #526 and will most likely resolve #108 #442.
"Select All" was the new text added with this change. We did our best to provide translations to the other languages supported and added them to their respective .strings files.
Screenshots:

New Home Screen

Picker with "Select All"

Picker when "Select All" is pressed

@zhangao0086 Thank you so much!


What is the maximum number of points supported by the ‘blst_p1s_mult_pippenger’ function?

I'm trying to compute multi-scalar multiplication using
blst_p1s_mult_pippenger
function. when I try
npoints = (size_t) 1 << 18,
it works smoothly. But
npoints = (size_t) 1 << 19
and larger does not work. Is there any restriction to the maximum number of points supported?
Thanks.

No. You're welcome.

But on a more constructive note. Come on! It surely doesn't just say "it doesn't work" on the screen. If you want better answer, provide details :-) Language? How exactly does it fail?

Thank you for your prompt reply and please excuse me for the fuzziness. Let me try to make it more clear.
I create a file called main_test.cpp as follow:
// Compile: g++ -std=c++17 -o main_test -g -O2 main_test.cpp libblst.a

#include "bindings/blst.h"

#include <cstdint>
#include <iostream>
#include <random>

// using namespace std;

/* Define ostreams */
std::ostream& operator<<(std::ostream& os, const blst_fp& b)
{
    os << std::hex << b.l[0] << " "<< b.l[1]<<  " "<< b.l[2]<< " "<< b.l[3] <<" "<<  b.l[4] <<" "<<  b.l[5] <<" ";
    return os;
}

/* Define global variables */

const size_t N_POINTS = (size_t) (1 << 16);  // I cannot test 2**19 and 2**20, it will cause segmentation fault.
const blst_p1 G1_BLST_DEFAULT_GENERATOR = *blst_p1_generator(); // Default generator in blst_p1/

blst_fr FR_ONE;
blst_fp FP_ONE;
blst_p1 G1_GENERATOR;
blst_p1_affine G1_GENERATOR_AFFINE;

void init(){

    // initialize the identity, i.e., one, in fr.
    uint64_t blst_fr_one_vec[] = {uint64_t(1),uint64_t(0),uint64_t(0),uint64_t(0)};
    blst_fr_from_uint64(&FR_ONE, blst_fr_one_vec);

    // initialize the identity, i.e., one, in fp.
    uint64_t fp_one_vec[] = {uint64_t(0x1), uint64_t(0x0), uint64_t(0x0), uint64_t(0x0), uint64_t(0x0), uint64_t(0x0)};
    blst_fp_from_uint64(&FP_ONE, fp_one_vec);

    /*
    initialize the generator in blst_p1 by Guiwen. G1_GENERATOR = 11 * 10177 * 859267 * 52437899* (Point whose x-coordinate is 4).

    G1_GENERATOR =
    {0x7f127a0a6f06434698a6b6598fc6d8bd7e8482362c69b416d8640c18c1caec0ab474874acad9e91be475966f7413a26,
    0x5be03c7afc54a0b30376055f27a4ff60e8ca9060651b98fa6caa6937bed9116b52ad54fbc4e22cd69b8519cb9bfd662}
    */
    uint64_t G1x_vec[] = {uint64_t(0xbe475966f7413a26), uint64_t(0xab474874acad9e91), uint64_t(0x6d8640c18c1caec0), uint64_t(0xd7e8482362c69b41), uint64_t(0x698a6b6598fc6d8b), uint64_t(0x07f127a0a6f06434)} ;
    uint64_t G1y_vec[] = {uint64_t(0x69b8519cb9bfd662), uint64_t(0xb52ad54fbc4e22cd), uint64_t(0xa6caa6937bed9116), uint64_t(0x0e8ca9060651b98f), uint64_t(0x30376055f27a4ff6), uint64_t(0x05be03c7afc54a0b)} ;
    blst_fp G1x, G1y;
    blst_fp_from_uint64(&G1x, G1x_vec);
    blst_fp_from_uint64(&G1y, G1y_vec);
    G1_GENERATOR = {G1x, G1y, FP_ONE};  // integer a -> a << 384 mod p in montgomery form
    G1_GENERATOR_AFFINE = {G1x, G1y};
    std::cout << "Check G1_generator is in G1: " << blst_p1_in_g1(&G1_GENERATOR) <<std::endl;
}

/*  */

blst_scalar random_blst_scalar(){

    // credit to url: https://stackoverflow.com/questions/19665818/generate-random-numbers-using-c11-random-library
    std::random_device rd;
    std::mt19937_64 mt(rd());
    std::uniform_real_distribution<uint64_t> dist(1, (uint64_t) 0xffffffffffffffff);
    uint64_t scalar_vec[4];
    scalar_vec[0] = dist(mt);
    scalar_vec[1] = dist(mt);
    scalar_vec[2] = dist(mt);
    scalar_vec[3] = dist(mt);
    blst_scalar scalar;
    blst_scalar_from_uint64( &scalar, scalar_vec);

    return scalar;
}

void test(){

    size_t nbits = 256;

    // std::cout << "scratch size: "<< blst_p1s_mult_pippenger_scratch_sizeof((1<< 19))/sizeof(limb_t) << std::endl;
    limb_t scratch[blst_p1s_mult_pippenger_scratch_sizeof(N_POINTS)/sizeof(limb_t)];
    uint8_t* scalars[N_POINTS];

    for(size_t i = 0; i < N_POINTS; ++i){
            scalars[i] = random_blst_scalar().b;
    }

    blst_p1_affine* points[N_POINTS];

    blst_p1 tmp_P, tmp2_P = G1_GENERATOR;
    blst_p1_affine tmp_P_affine;

    for(size_t i = 0; i < N_POINTS; ++i){
            blst_p1_double(&tmp_P, &tmp2_P);
            tmp2_P = tmp_P;
            blst_p1_to_affine(&tmp_P_affine, &tmp_P);
            points[i] = &tmp_P_affine;
        }

    blst_p1 ret_P; // Mont coordinates
    blst_p1_affine ret_P_affine;

    /*blst pippenger*/

    std::cout<< "blst pippenger test: " << std::endl;

    size_t TEST_NUM = 1;
    auto st = std::chrono::steady_clock::now();
    for(size_t i = 0; i< TEST_NUM; ++i)
    blst_p1s_mult_pippenger(&ret_P, points, N_POINTS, scalars, nbits, scratch);
    auto ed = std::chrono::steady_clock::now();
    std::chrono::microseconds diff = std::chrono::duration_cast<std::chrono::microseconds>(ed -st);
    std::cout << "blst pippenger Wall clock time elapse is: " << std::dec << diff.count()/TEST_NUM << " us "<< std::endl;
    blst_p1_to_affine(&ret_P_affine, &ret_P);
    std::cout << ret_P_affine.x <<std::endl;
    std::cout << ret_P_affine.y <<std::endl;

    std::cout << "TEST END" <<std::endl;

}

int main(){

    init();
    test();

    return 0;
}

on the 2018 MacBook Pro with Mac OS system, 16 GB RAM,2.2 GHz 6-Core Intel Core i7, I compile it using
g++ -std=c++17 -o main_test -g -O2 main_test.cpp libblst.a.
When const size_t N_POINTS = (size_t) (1 << 16), ./main_test runs successfully.
When const size_t N_POINTS = (size_t) (1 << 19), ./main_test says segmentation fault.
My guess is that the fault is related to scratch variable, which I  didn't understand its functionality. Maybe my laptop RAM is too small?
Can you please explain me in  fucntion  blst_p1s_mult_pippenger(&ret_P, points, N_POINTS, scalars, nbits, scratch), what the nbits and scratch are? and why my code results segmentation fault?
Thanks a lot,
Guiwen

I did allocate the scratch area, as you would see  the 3rd line of test() function in my code,
limb_t scratch[blst_p1s_mult_pippenger_scratch_sizeof(N_POINTS)/sizeof(limb_t)];.
The only difference is I assigned nbits = 256. I just tried nbits = 255, It still showed segmentation fault.

You allocate the scratch area on the stack and it's essentially the same as not allocating one. Sorry about the confusion. The scratch area should be allocated from the pool, where there is no implied limit. I mean at least not as low as 8MB.
No, the warning is not a problem.

Thank you. I kind of understand it.
Could you please let me know how I can allocate memory from the main pool rather than stack? I tried to define scratch as a global variable and use operator new to allocate memory for it, but this method doesn't work.

I'm sorry, but no. This is a generic textbook question, and this forum is not a classroom. Besides, a reference to a working code was provided.

Thank you so much dot-asm. I finally managed to run the code by unleashing the stack restriction with ulimit -s unlimited in terminal.

Thank you so much dot-asm. I finally managed to run the code by unleashing the stack restriction with ulimit -s unlimited in terminal.

Respectfully, you need to review variable declaration stack and heap allocation in C and C++.
You are going to trigger significant issues with ulimit, first of all, the fact that your application will not work on Windows or when you do not have the admin rights to change those critical safety features. And second, the fact that people can now DOS your machine with recursive function calls.

I did allocate the scratch area, as you would see the 3rd line of test() function in my code

No, you are declaring the array on the stack, review carefully the working code given.

I tried to define scratch as a global variable and use operator new to allocate memory for it, but this method doesn't work.

Either you use new or malloc/free. Please ask your advisor for material on this basic C/C++ programming question.


Windows Commands/ping: minor grammar update

Description:
As discussed in issue ticket #3996 (verb case tweak), the intentions in the descriptive text can be made more clear by adjusting the sentence grammar.
Thanks to @EricUniqueUsername for requesting to have the text updated.
Changes proposed:

Remove a redundant and duplicate occurrence of the word "protocol" in the Note blob
Reduce the number of times the word "that" is used, it is used too often as a filler word.
Add "to be" when the text refers to a future use of specific parameter values
Add explanation for Time To Live (TTL) at first use / occurrence
Add capitalization to the "Type Of Service" description
Modify "Request messages use" to "Request message uses" as denoted by article (the)
Replace "that corresponds" with "corresponding" to focus on the relation
(... this list may be expanded, depending on future comments ...)

Comments and constructive suggestions are more than welcome.
Ticket closure or reference:
Closes #3996

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Feel free to comment and make suggestions for additional changes, or possibly improvements over the ones I have already added in the text.

#sign-off

@illfated: I'm sorry - only the author of this article, @eross-msft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Oh. Right. While not being the author of this PR, you need to look at the left edge of the document and note the placement of the blue box with a + sign in it. That is the indication that you can add a comment to that specific line. There is also the experimental (but usually working) feature of adding a suggestion in the comment, by using the keyboard combination Ctrl + G, to duplicate the selected line and edit it to complete your suggestion.

You know, I see the reasoning behind the language choices, but from my IT perspective, making some of those changes, takes away some of the meaning, even if it means that the sentence becomes more grammatically accurate. I do worry that the regular IT administrators may find themselves more lost than informed by 100% accurate language.

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@illfated : Trond, I want to assure you that no native speaker of English will be confused by the proper use of the subjunctive, even if they might not employ it themselves. And I might add that the IT world runs best on precise syntax.
Just so you know where I'm coming from, my changes don't arise from a personal style opinion; they are definitely correct. I foolishly studied languages and translation, instead of something that might have earned me a living, such as programming. ;) I also worked as a translator and and did revisions (proofreading/correction) of English translations.
Eric

Thanks. Been there, done that. Didn't get the T-shirt, though.


[Key vault] Encrypt with latest key version if not specified

Feature Request

Currently in the public doc, key-version is required for encryption. Is it possible that we can get rid of key-version and use the latest key-version when encryption? I found that with the 2016-10-01 api-version, it works.

Hi @lzhecheng! I'm assuming you're using our azkeys module. If so, you can just pass in the empty string into the version parameter, and the service will default to using the latest key version.

@gracewilcox thank you for the reply! It is very helpful!
I got this question because here it says version is required. So I am confused. Should this doc be updated as well? Thanks!
https://learn.microsoft.com/en-us/rest/api/keyvault/keys/encrypt/encrypt?view=rest-keyvault-keys-7.4&tabs=HTTP#uri-parameters

I mean when I encrypt() without key version here

Hi @lzhecheng! The key vault key version is a bit of a special case, so that's why it's not as clearly documented. But if you're using our Client.Encrypt() method and pass in the empty string, the service will use the latest version of the key.
Hope that helps! :)

@gracewilcox Really appreciate it! The reason I asked about the Public doc is that I will use the api in our service so hope that we can have it officially mentioned in the doc, and this will not change in the future.
Is it possible we can make it? Thanks!

Hi lzhecheng! Docs are controlled by the service team, so routing you to them.