Installation problem under Ubuntu 20.04 with CPLEX 20.1

Hi,
I have problems installing CPLEXCP, CPLEX.jl is correctly installed.
To reproduce, under ubuntu 20.04 download julia 1.6.3, and then:
]up
ENV["CPLEX_STUDIO_BINARIES"] = "/opt/ibm/ILOG/CPLEX_Studio201/cplex/bin/x86-64_linux/"
]add CPLEX
import Pkg
Pkg.add("CPLEXCP")
Pkg.build("CPLEXCP")

then I got this error:
ERROR: Error building `CPLEXCP`:
ERROR: LoadError: Unable to locate CPLEX installation. Note this must be downloaded separately. See the CPLEXCP.jl README for further instructions.
 By the way, your command ]add CPLEX is not useful for CPLEXCP.jl, as the two packages are completely unrelated (except the fact that they wrap parts of the CPLEX solver for MOI consumption, there is no reliance of one on the other).
What's in the log file? It should be ~/.julia/packages/CPLEXCP/jbgSe/deps/build.log.
I think the issue is that you are setting the CPLEX_STUDIO_BINARIES environment variable, while the package only looks for CPLEX_STUDIO_DIR. That's a mistake in the README, I just fixed it as e6b1b84.

Inside ~/.julia/packages/CPLEXCP/If8ky/deps I don't see the file build.log, I just see the file build.jl.
I change the environment variable to ENV["CPLEX_STUDIO_DIR"] = "/opt/ibm/ILOG/CPLEX_Studio201/cplex/bin/x86-64_linux/"  and I still got the error
ERROR: LoadError: Unable to locate CPLEX installation. Note this must be downloaded separately. See the CPLEXCP.jl README for further instructions.
when I execute locate ILOG.CP.jar I have
/opt/ibm/ILOG/CPLEX_Studio201/cpoptimizer/lib/ILOG.CP.jar

I could build CPLEXCP using the following env. variable:
ENV["CPLEX_STUDIO_DIR"] = "/opt/ibm/ILOG/CPLEX_Studio201/"

Again, I was copy-pasting the docs from CPLEX.jl too quickly… CPLEX_STUDIO_DIR should really have the value that is set by the installer, i.e. without the bin/x86-64_linux at the end.

Thanks for your perseverance! I've updated the docs based on your feedback. Also, for the next release, the build process should output much more information (which could be helpful in debugging these issues).


Rename calibre-normal.json to calibre-np.json

calibre-normal is for the non portable version of calibre
*-normal is not used anywhere else and other non-portable version use the -np suffix.
you might also argure that calibre-normal(-np) should not be in the "extra" bucket but in the "np" bucket

I think the right course would be to add calibre-np to the nonportable bucket and possibly mark this one as deprecated.

I've added calibre-np to the nonportable bucket.


support for disabled_route_propagation argument of aviatrix-spoke_gateway

Please create a support for disabled_route_propagation argument of aviatrix-spoke_gateway

Implemented in 1.5.2


Ensure billing alerts going to the right people

Describe the issue
There has been some trouble around automated billing alerts which we will be troubleshooting and also better understanding around this automated capability
Additional context

Billing alerts are still going to the wrong people so a review of this will be held and better understanding on its capability for possible improvement and/or refinement
There are 2 kinds of billing alerts, ones that we send, and once that AWS sends according to AWS settings.
We suspect that the billing alert issue is the one from AWS which is a settings issue that Julian needs to solve, not Max
Julian has checked all three AWS root accounts for Forge, Assembly and Live environments.  There are no billing alerts there so we'll need to work backward from the notification mail that someone (likely Andy T) is getting.

Definition of done

Meet with Julian and determine if this is a Julian AWS settings issue, or a Max billing automation issue.
Review current AWS billing process with Max
Spending time to better understand the billing/alert system
Making corrections/improvements where possible

Hey Jon I think this one is done.  I had to speak to Andy about something else and I brought this up and he said "yeah I just went into the email and unsubscribed".  Going through the email backlog with Catherine, I found the matching email where he unsubscribed from root account for AWS ECF Assembly.  This makes sense because we used to call it LZ1 because it was the first SEA deployment we had.  He must have signed up for those budget alerts and it was buried in there.  I think it would have taken us forever to find it.  I'll leave this here for you to read - if you agree it's done, go ahead and close it please.

Thanks Julian for digging into that with Andy and figuring that part out.  Looked into rest of billing around AWS and the complexity around the AWS weekly billing report auto-generation sent to project\service owner of the associated billing group.  Liked the fact that PO's and finance folks can detect any significant change on a weekly basis around their cloud workloads as this shifts this monitoring to the owners.  The complexity in running and summarizing these numbers is a small concern, and it would be nice to be able to take a weekly report and compare summarized reporting charge to a manual portal-based query on the same week in question for a particular set of workload accounts (service).  This would allow us to periodically verify reporting and the proper functioning of the automation, as well as keep warm the verification process (and possibly improve on this moving forward).  As of yet am not familiar with much of AWS cost management management capabilities but we can create other ticket(s) in future to address these questions.  Created diagram to represent the Billing-investigation\logging process as follow up.  Closing ticket

The complexity in running and summarizing these numbers is a small concern, and it would be nice to be able to take a weekly report and compare summarized reporting charge to a manual portal-based query on the same week in question for a particular set of workload accounts (service).  This would allow us to periodically verify reporting and the proper functioning of the automation, as well as keep warm the verification process (and possibly improve on this moving forward).  As of yet am not familiar with much of AWS cost management management capabilities but we can create other ticket(s) in future to address these questions.  Created diagram to represent the Billing-investigation\logging process as follow up.  Closing ticket


Cannot find module 'tslint\lib\lint'

Upgraded tslint to 4.0.1 and gulp-tslint to 7.0.1.
Codelyzer gives the error mentioned in the title in file selectorNameBase.js
var Lint = require("tslint/lib/lint");

Tslint 4.0 API has changed:
https://github.com/palantir/tslint/pull/1720

I think it can be closed as duplicate of #157.

You can now use 2.0.0-beta.1 which works with tslint 4.

Codelyzer
A set of tslint rules for static code analysis of Angular TypeScript projects.
You can run the static code analyzer over web apps, NativeScript, Ionic, etc.
Angular CLI has support for codelyzer.Run the below npm command for tslint
npm i tslint-angular


[WIP] Issue dashboard: add filter by label name

Adds the option to filter issues by label names in the issue dashboard via query parameter.
As of now, this is lacking a frontend, as it's unclear to me how a GUI (eg a dropdown as in the repo issue list) would deal with duplicate labels across repos.
A good option could be to add lucene-style search syntax to the current keyword search field (eg label:foo -label:bar).
It feels a bit hacky to have two filters for labels, once by label ID, and once by label name.
This is caused by the duality of exposing label-instances to the user, while users refer to them only by name (see https://github.com/go-gitea/gitea/issues/14012).
I propose to gradually to remove user-facing label IDs, this PR could be a first step along that line. (A next step would be a de-duplication layer for available labels (for a repo & for a user). Using that, user-facing interfaces could start referencing labels by name.)
This also fixes 2 bugs I found along the way, I'll separate them out of this PR later.
TODO

[ ] add frontend of some kind
[ ] add &labels= & &label-names= params to sidebar buttons
[ ] move bugfix & refactor into separate PR

partially fixes https://github.com/go-gitea/gitea/issues/791

@noerw  do you need any help on this?


fix: layout resolve error during build

it took me a minute to fight with our build trying to understand why it choked on the layout's path since I was blindly following the doc. thankfully #5 helped! so I thought why not update the doc?

oops, sorry just seeing this now. Thanks!


Hexadecimal Calculator

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
I have added Hexadecimal Calculator
Fixes:  #1001

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
https://github.com/Sulagna-Dutta-Roy/GGExtensions/assets/115486960/4f782595-7b10-49af-b66b-601bc28a2a57

@Sulagna-Dutta-Roy Done


node gyp and now 2

Hi,
I'm trying now 2 with my next.js project and I'm getting error. First I'm surprised it is running yarn while I have package-lock.json there.  Here is the error log
[5/5] Building fresh packages...
11/15 12:59 AM (21m)
error /tmp/11797593/node_modules/tiny-secp256k1: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /tmp/11797593/node_modules/tiny-secp256k1
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp http GET https://nodejs.org/download/release/v8.10.0/node-v8.10.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v8.10.0/node-v8.10.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v8.10.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v8.10.0/SHASUMS256.txt
gyp info spawn /usr/bin/python
gyp info spawn args [ '/var/lang/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/11797593/node_modules/tiny-secp256k1/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/var/lang/lib/node_modules/npm/node_modu
11/15 12:59 AM (21m)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
11/15 12:59 AM (21m)
patching https://api-iad1.zeit.co/v2/now/deployments/dpl_Fo1JRNGAxcApmyc8qToXLGpc64PM/builds/bld_fs1248csf with {"readyState":"ERROR","errorCode":"BUILD_FAILED"}
11/15 12:59 AM (21m)
{ Error: Exited with 1
    at ChildProcess.child.on (/tmp/utils/node_modules/@now/build-utils/fs/run-user-scripts.js:9:62)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) reported: true }

Unfortunately the builder environment doesn't contain a proper C++ compiler toolchain. Yarn obfuscates the error, but if you include a package-lock.json instead then the builder uses npm, which shows the actual error. For example:
2018-11-19T20:08:18.601Z  installing to /tmp/53bf279a/user/time
2018-11-19T20:08:19.941Z  ><EMAIL_ADDRESS>install /tmp/53bf279a/user/time/node_modules/time
                          > node-gyp rebuild

2018-11-19T20:08:21.334Z  make: Entering directory `/tmp/53bf279a/user/time/node_modules/time/build'
2018-11-19T20:08:21.335Z    CXX(target) Release/obj.target/time/src/time.o
2018-11-19T20:08:21.338Z  make: g++: Command not found
2018-11-19T20:08:21.338Z  make: *** [Release/obj.target/time/src/time.o] Error 127
2018-11-19T20:08:21.338Z  make: Leaving directory `/tmp/53bf279a/user/time/node_modules/time/build'

We will look into the possibility of including a C++ compiler, perhaps as a different builder. For now you will need to use modules that pre-compile their native binaries, which is more common these days thanks to the N-API in Node.js.

Having the same issue with tiny-secp256k1 package:
https://zeit.co/benoror/sundly/9npoax2i7/logs
[4/4] Building fresh packages...
11/28 12:45 AM (2m)
error /tmp/dfc850/node_modules/tiny-secp256k1: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /tmp/dfc850/node_modules/tiny-secp256k1
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp http GET https://nodejs.org/download/release/v8.10.0/node-v8.10.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v8.10.0/node-v8.10.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v8.10.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v8.10.0/SHASUMS256.txt
gyp info spawn /usr/bin/python
gyp info spawn args [ '/var/lang/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/dfc850/node_modules/tiny-secp256k1/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/var/lang/lib/node_modules/npm/node_modules/no
11/28 12:45 AM (2m)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
11/28 12:45 AM (2m)
patching https://api-sfo1.zeit.co/v2/now/deployments/dpl_3wmx5jWDJBCjYdsgTumdkRhZdRQv/builds/bld_4tl8y3scb with {"readyState":"ERROR","errorCode":"BUILD_FAILED"}

Same problem with node-gyp. Found this thread and closed my issue: #1892
Looks like<EMAIL_ADDRESS>/<EMAIL_ADDRESS>is the problem

Same issue deploying a Loopback.js API
Please reopen the issue, or suggest a fix. Thanks
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.


feat(chat): Add toasts to various quickprofile actions

What this PR does 📖

Adds various toast notification that were missing for various quickprofile notifications like sending friend request, blocking etc.
Display "Unknown" if the identity couldn't be resolved

This potentially should solve #1833.
For the overlapping part it should be resolved with the Unknown name.
Not too sure about the actions. Maybe they did work in the issue but due to lack of feedback which should be solved via the toasts now it gave the illusion it didn't.

Sara and I noticed if you block someone you are already friends with no toast will appear. If you block someone who you are not friends with toast will appear
Removing someone I am not friends with
toast.mov
Removing someone I am friends with
no.toast.mov

if you are in a dm it and block someone via this the chat will close causing the component to unmount and thus unable to send a toast.
after some discussions in the meeting though it should be fine to ignore this case as the chat closing is enough of user feedback and doesn't require a toast


Add KLDivResult

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (505f6c0) to head (2293028).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #451   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          106       107    +1
  Lines         2695      2724   +29
  Branches       162       163    +1
=========================================
+ Hits          2695      2724   +29

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


faiss has no atrribute IndexFlatIP on Ubuntu 18.04

Platform
OS: Ubuntu 18.04
Faiss version: 4.5.4
Running on:
CPU : Processor AMD® Opteron(tm) processor 6274 × 64
Interface:
[ 3.6.5] Python

Hello,
Did you try to install faiss from conda or from sources (see the Makefile)?
If you installed it from conda, please try installing from sources.


Can I record a chat in a broadcast?

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Hello. Tell me, is it possible to record a chat along with YouTube live broadcast? And then add it to the video, for example, overlay it on top of the video.
Verbose log
No response

Hello. Tell me, is it possible to record a chat along with YouTube live broadcast?

Run a separate yt-dlp with --skip-download --write-subs --sub-lang live_chat

And then add it to the video, for example, overlay it on top of the video.

No


feat: support enhanced retry settings

RE: https://github.com/googleapis/nodejs-common/pull/674
This adds 3 additional configuration settings:

maxRetryDelay, default: 64
retryDelayMultiplier, default: 2
totalTimeout, default: 600

cc @shaffeeullah

This looks great!! Thanks, @stephenplusplus !!!

Woo, thanks! I have merged and released under 4.2.0.

@stephenplusplus I am unable to access these new fields after upgrading to 4.2.0. Does https://github.com/stephenplusplus/retry-request/blob/master/index.d.ts need to be updated? It does not contain the new parameters. Can you please regenerate it?

Fixed in 4.2.1. Good catch!

Thanks @stephenplusplus !!


⚠ Bofrost.be has degraded performance

In 55d3f37, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1689 ms

Resolved: Bofrost.be performance has improved in 5815e13 after 20 minutes.


[core] Remove redundant class field initializers

There are several components where assignments in the constructor overwrite class fields assignments making them redundant.

I'm gonna be way more greedy 😈, I'm pushing that further.

@RobertPurcea Thank you! 🚀


Django Admin - Add filtering by country

In Django Admin:

Add filter by country
Remove all other existing on the view, filters

done in https://github.com/CodeForPoznan/pah-fm/pull/449

Nope, actually not done there, thanks for heads up @hkaczmarek90  :)


Program not opening.

Ok, so I'm trying to find this "Build" folder that your tutorial mentions, but I cant seem to find it. I've followed everything so far and I've even built my game using these unity settings ( hopefully they're correct):
Build Debug level:         Development [ No Network]
Build Output:                 Unpackaged
Boot Mode:                    PCFS
Autoconnect Profiler:     Unchecked
Script Debugging:          Unchecked
Scripts Only Build:          Unchecked
After I build, I place your programs folder next to the folder of the build, but whenever I try to run your program, nothing comes up. I am stuck here to any help would be greatly appreciated.

Hi!
First you build settings are wrong.
You need to build as
Build Output : Download Image
Boot Mode : NAND
Before building you need to setup Wii U Cafe SDK Deluxe. If you can't open it, try to reinstall Net Framework 4.8 runtime from here
So before making your build :
#1 : Inside your Unity build folder, It can be where you want, but I recommend you to place it at /Builds
#2 : Download and extract to your /Builds/ folder the content of Wii U Cafe SDK Deluxe. You can download it from the release section. (You copy the folder inside the ZIP to the /Builds/ folder to be precise)
#3 : Open WiiUCafeSDKDeluxe.exe, and configure your project.
#4 : Create a new version inside Wii U Cafe SDK Deluxe, name it as you want.
#5 : Make your Build in Unity.
To build you will target Wii U (logic) as "Download Image" (Build Output) and "NAND" (Boot Mode). You will build inside the version folder (the one you created and not "Versions" who contains tool's versions information)
Example :
If you created a version "MyVersion", you will select the target build folder like /Builds/MyVersion. He "normally" be created by tool when you created a version.
#6 : Relaunch Wii U Cafe SDK Deluxe and the section about your version will be filled. The size of "copyToSdCard" will be filled with the app size. Now you can use Wii U Cafe SDK Deluxe !
I will make an installer and a new installing tutorial in next months (when the last part of the "How to make a Wii U Game With Unity" will release on GBAtemp)
Do that help ?

My computer wont let me install .NET Framework 4.8 since it says I have 4.8.1, so I'm confused as to how that wont work. Still cant open the program, but as least you are making a new installer and tutorial, so I guess I'll just wait for that.
The unity build that comes out has a copyToSDCard folder in it with .app files. I think I can use this with WUP Installer GX2 to add it to my Wii U, right?

I think I can use this with WUP Installer GX2 to add it to my Wii U, right?
It will not let you install them cause of encryption. What why Wii U Cafe SDK Exists. It decrypt, unpack, repack and re-encrypt these for Retail Wii U
That is strange if you can't run/launch the tool, I think you use the latest version ?
Do you have a message or something to guide me ?
Try to uninstall and reinstall 4.8.1. Your install can be corrupted

Yeah, my install might be corrupted, its showing up in some places and not others (where it also should be) I do not know how to fix this. I've looked for help but their options aren't helping. My best guess is that ill have to do some windows reinstall while keeping all of my files.

Keep me informed !

yeah, no, i tried to run in on my Windows 11 laptop that also claims to have a .net framework of 4.8 or later, and it still doesn't open.

Ok, im attempting to run the program from source, and it seems to be trying to find a file called "settings.json" from my roaming appdata. Is the lack of this file causing this program to not be running?

Ok, commenting out the need to call the json file got the program to boot.

It says that the file is not found ? Maybe I don't write the default settings to the settings.json file. I will check that

Ok, I was able to (somehow) get the settings.json file created. The program opens and works fine. However, when I click "Make Master for my Hardware", it creates the folder, but there is nothing inside of it.  I make sure that there are no errors in App Config Tool, and I tried for Master Editor, but there are some in Basic Information and Advanced Configuration Information that I cannot edit. Those being Application Name and Max Memory size. I'm looking at the instructions you provided and the GBATemp comments and nobody seems to have this issue, so I'm just a little stumped here.

Okay, and one time more I think my tutorial is very bad (bad original French instructions and translated to my English...). The installation setup is how to say that... specific.
So,
First of all, I will use C:/Users/RetroAndDev/UnityWiiUProject/ as Unity Project main path. (parent folder of Assets, Library...)
Inside it create a new folder "Builds". Download from release page the latest version of WiiUCafeSDKDeluxe. You will copy the folder inside the downloaded zip "WiiUCafeSDKDeluxe-vX.X.X" to /Builds/. The full path to WiiUCafeSDKDeluxe.exe will be C:/Users/RetroAndDev/UnityWiiUProject/Builds/WiiUCafeSDKDeluxe-vX.X.X/WiiUCafeSDKDeluxe.exe.
You can now start the tool, setup projet and create the first version (inside WiiUCafeSDK Deluxe, like in the GBATemp tutorial). For now, I will use a version "VersionA" as test.
When the version "VersionA" is created you will normaly see a folder "VersionA" at /Builds/WiiUCafeSDKDeluxe-VX.X.X/VersionA
You will build now the Unity Project inside this "VersionA" Folder with these settings :

After the Unity build, check if output is like : /Builds/VersionA/copyToSDCard/
If you have this, you can now use WiiU Cafe SDK Deluxe to master the Wii U Dev files from "copyToSDCard" for a Retail Wii U Unit

Alright, cool. I did all that and now it successfully installs on my Wii U. Now it says I cant play it because I never bought it from the Wii U E-shop. My guess is that Its not signed correctly or something. I don't think this is your fault though, you've done an amazing job putting up with my various questions about this tool, and I hope that V2 fixes a lot of the issues I had leading up to now, so thank you. By the way, if you are interested, I can help with proof reading and perhaps revisions of the  English version of the instructions if you ever need it.  Ive been using Unity and modding the Wii U for the past 6 years, so I have a pretty good grasp on a lot of the terminology and concepts that this project uses to create more succinct instructions. You dont have to, its okay, have a wonderful day though, and again, thanks for all of your help.

I will help you to finish your project.
 System Config Tool ? or with other thing(s) ?
If the Wii U says that you don't have the game on e-shop, check your titleID. That will be a new feature of the V2 with automatic titleID generation. You maybe have a game or tool titleID. Check here : http://wiiubrew.org/wiki/Title_database
Do you use my "How to make a Wii U Game with Unity" on GBAtemp ? I let the link : https://gbatemp.net/threads/make-a-unity-game-for-wii-u.633391/
You have the archive in the tutorial with SCT (System Config Tool).
I don't tell in the tutorial how to install Unity game with SCT (will be in the next upcoming part). I can tell you if you want.
Let me know !

I tried using  WUP Installer GX2 and NUSspli for installing the build.
I checked if my title ID was unique and it was, so I don't know if its that (It might be, idk)
Yeah, how would I install the game using SCT?

I tell you tomorrow (for me). I live in France, and I go to bed.

And I think that. Can you send me the build you installed on your Wii U ? I can test with SCT and tell if it that

Installed works BUT the game never loads.
It stuck on a black screen with loading music in background loop.
What version of Unity and WiiU Build support ? Do you completely follow my installation tutorial ?
Did you build was make with
Build Debug Level : Development [No network]
Build Output : Download Image
Boot Mode : NAND
if not retry with these (also try with Master [No network] perhaps ?)
To use SCT, download it and install it from the Part One files from my GBAtemp tutorial (install it with WUP Installer)
NOTE : BE CAREFUL WITH SYSTEM CONFIG TOOL. IT CAN DESTROY YOUR WII U. I WILL DON'T BE RESPONSIBLE FOR ANY BRICKS
Copy to and folder of your SD your proceed Unity build from WiiUCafeSDKDeluxe and launch SCT.
Inside go to
Data Manager > Title Manager > Install > SD Card > [go to your installable files] > Select it and press R trigger to install it.
 After that I followed your instructions on here and others found in both GBATemp posts. I trued exporting as Master [No Network] and Development [No Network] and I still get the whole "This software cannot be used. The NNID used to purchase the software has been deleted" thing. I tried installing with Sys Confic Tool and I get the same error.

Hummm. Strange, your Wii U is an USA version ? Last software updates ? Hacked with what ?
If there is something it due to the hack. I don't have much time to investigate why, but you can ask why on GBAtemp in Wii U Hack. Maybe there is something you have on your Nintendo Account that EUROPEAN accounts don't have.
But, when I will have more time investigate why the game won't load. Obtaining the logs will be much complicated that real dev kit but I will try

Yeah my Wii U is a USA Deluxe Model with the latest update on version 5.5.6. This might be an issue because the update only released in the US. But then again, I did install a Wii U version of Portal 2 into my Wii U and it opened fine so It might not be my console? This is really weird, do you have a test unity build that I can try to install onto my Wii U to see if it works?

Sure !
I send it to you by mail

Ok, good news! it does install and does load, so there's something up with my Unity project, or how i'm using WiiiUCSDKD.

Oh ! Perfect. Can you send me you Unity project (by mail), I can try this weekend to build it myself and install it. I can tell you what make the build don't install/launch

hello, did you get the email?

I check and I don't get something.

Yeah but no. When I talk about the Unity Project I talk about the sources to compile it myself

OH, 🤦 whoops. Uploaded the wrong file. Let me fix that up

Heres the correct link: I
https://drive.google.com/file/d/18IEnEn4exy0sblP-M9G4QGvgzkcVDxaV/view?usp=sharing
I knew what you were referring do, I just uploaded the wrong file. this is the correct one.

Were you able to find any issues?

I don't had the time to check the last few weeks. I'm in holidays next Saturday and I will check this day

Hey, The tutorial is done, it will release on 5 January 2024 with the last revision of Wii U Cafe SDK Deluxe (v1)
I will verify this week all the tutorial and your project. I tell you the reasons why it don't work quickly !


Add list of rules to the welcome popup

Would contain the following contents:

Each letter may not be used more than once
Each word has to contain the centre letter
Acceptability of words here (links to the RULES.md file)

It should ideally use a headlessui disclosure.


Update to 3.3.0

Update to laszip 3.3.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


feat: Add arguments

This PR adds an option to pass any number of arguments to the latexmk command. Effectively this would also make the format option redundant.
I haven't done any testing, other than using it for one project as:
...
      - name: Generate PDF document
        # uses: hspaans/latexmk-action@v1
        uses: engeir/latexmk-action@add-arguments
        with:
          format: pdf
          filename: src/thesis.tex
          arguments: |
            -cd
            -output-directory="../build/"
...

A check for the -pvc argument is included, as the action would not finish otherwise. Not sure if more arguments should be restricted or if this is enough.

The idea/code has been merged in https://github.com/hspaans/latexmk-action/releases/tag/v2.0.0 for more testing as part of a pre-release.


[BEAM-3848] Enables ability to retry Solr writes on error (SolrIO)

This adds retrying behavior when a failure writing to SOLR occurs.
The caller can provide max attempts and max duration for retrying. Default behavior should be unchanged, and the code follows the same pattern as other IOs (e.g. JdbcIO) for the expontential backoff.
Please note that the SolrIO.Write.WriteFn.flushBatch() signature was modified to allow unit testing.
[CC @jfkk @iemejia @echauchot]

@CaoManhDat If you have some time maybe worth your comments too.

Nice ! It gives me pointers on how to implement the same thing for ES too :)

Thanks @echauchot. I'll provide a PR for BEAM-3026 (retry in ElasticsearchIO) if this one completes - being my first contribution I'm expecting to have to make changes though.

@timrobertson100 I did not notice you were working on the 2 similar tickets. It is better indeed. More efficient !

Tim - I've been traveling past few days (including today), I'll get to this in the next few days after sorting out some of my backlog.

Thanks! Looks generally reasonable to me, but @iemejia would you mind doing the first detailed round here?

@timrobertson100 my excuses I was quite busy with other stuff I will take a look and give you some feedback at the beginning of next week at latest. Thanks for the contribution and for your interest in improving SolrIO.

@iemejia Please can you take a look?
This now follows an approach similar to the JdbcIO testing. A RetryPredicate is used to determine if an exception is a candidate for retrying.  The predicate configuration is package private since it is only intended to enable testing with the embedded server instead of mocking.
Please take a careful look at the exception handling in the test as I hit other issues with the DirectRunner and object leak tracking.
Please note I changed the log implementation for tests to follow the same of the JdbcIO too.
Thanks!

Yes please can you rebase and squash the extra commits please. I will take a look just after that (again sorry for my delay).

@iemejia - that should be rebased, squashed and presented as one commit.  Please grab me on slack if you see otherwise and I'll address it.  I'm afraid that with a rebase to origin/master to include Romain's recent PRs did not fix the thread problem so the testWriteRetry() remains with the hack to await thread termination, and manual unregistering of SolrZKClient from  threadleak detection. Perhaps we/Roman/I could diagnose and tackle that later?

Btw, this looks like closed and not merged on github only because I manually merged it, it is already merged.


Remove support for some experimental languages in 2.0

Our support for Python and PHP is too much of a toy to be used beyond a demo. Even though we do mark it as experimental, we've found that users still try to build on them, leading to a poor experience (e.g. https://github.com/Azure/Azure-Functions/issues/419).
We can't change that in 1.0, but we do have the option of removing them in 2.0. We can then bring them back later when they are built on a proper model.
Let's discuss.

:(

Is there a plan you can discuss for enhancing the experience for these technologies? Openly discussing the timing and roadmap will influence how some percieve this.

Generally, we are working on a new model for all languages that will use a persistent process to handle all requests (i.e. the way iisnode works today), instead of spawning a new exe on each request.
The first language that will follow this model will likely be Javascript, which currently runs in process in w3wp using Edge (problematic for a number of reasons).
@christopheranderson do we have any public writeup on the persistent process direction?

For some more context on this: for Python and PHP we use a scripting model and call out to e.g. python.exe. What we found is that even with the "experimental" label, customers still find the experience to be quite lacking. So, it's best to add Python back when we can do it the right way.

This is the main issue tracking the language extensibility work: https://github.com/Azure/azure-webjobs-sdk-script/issues/1319
Once that is in place, the goal would be to on-board additional languages using that model.

Best way to move forward with this is to remove the templates from the 2.0 branch in the templates repo. Filed https://github.com/Azure/azure-webjobs-sdk-templates/issues/550

@paulbatum The question is whether we want to remove the runtime support as well, for 1.0 customers who expect things to work.

Fair point, we would need to actively do work to block these scenarios from running on 2.0 and this should be actively discussed here.

I'm running the latest version (AFAICT):
Azure Functions Core Tools (2.0.0)
Function Runtime Version: 2.0.11308.0

And I noticed that func new only shows templates for C# and Javascript, and no F#.

@duncanmak We just haven't updated the F# templates yet. We're happy to take a PR if you'd like to contribute :)
https://github.com/Azure/azure-webjobs-sdk-templates/tree/v2.x

MSFT guys, this is not the expected behavior for Python developers using Azure Functions as Serverless Framework.
If something is marked as "Experimental" in version 1.0 is expected to be "Stable" or "Released" in version 2.0.

Hi Oscar, that would imply that no experiment ever fails. Surely you can agree this is not the case?
To be more specific, the approach we use to execute python functions today will never perform well. This just leads to customer dissatisfaction. We have a new language extensibility model that has good perf and we want python to use this model. Hence the removal of the old implementation in 2.0. We hope to bring python back on the new model sooner rather than later. In fact we are already talking with some internal teams about partnerships similar to what we did with the java tools team in devdiv to build java support on the new model.
So by all means, make some noise for python in functions 2.0 so that we can build a case for making this investment!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Oscar Pérez<EMAIL_ADDRESS>Sent: Thursday, October 5, 2017 11:03:05 PM
To: Azure/azure-webjobs-sdk-script
Cc: Paul Batum; State change
Subject: Re: [Azure/azure-webjobs-sdk-script] Remove support for some experimental languages in 2.0 (#1744)
MSFT guys, this is not the expected behavior for Python developers using Azure Functions as Serverless Framework.
If something is marked as "Experimental" in version 1.0 is expected to be "Stable" or "Released" in version 2.0.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-webjobs-sdk-script%2Fissues%2F1744%23issuecomment-334666351&data=02|01|pbatum%40microsoft.com|5ab72d05530c48a8456708d50c7fe9b5|72f988bf86f141af91ab2d7cd011db47|1|0|636428665875430423&sdata=EOSBNfiLOqZEAEZzy%2BS%2BX312ZOJEi7KO1s6SukcgrYU%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAApp-TrMVbRc7Q3pei66pq9de91_hTqks5spcKZgaJpZM4Oqeal&data=02|01|pbatum%40microsoft.com|5ab72d05530c48a8456708d50c7fe9b5|72f988bf86f141af91ab2d7cd011db47|1|0|636428665875430423&sdata=jXJH3VDZV%2FPH9YWW1902F6RWRQl%2F5CBvuQOnKx0yT%2F8%3D&reserved=0.

Hi Paul, of course experimental can fails, but maybe this is not the case.
We are running Python Scripts (tunned to python 3.6,  HTTP triggers and integrated with Azure AppLogic) in Azure Functions and runs well, certainly not performance but it works. It's all we need for a managed service.
Some noise to support python in functions 2.0:

Google Cloud Functions does not support python
Azure Functions (2.0) will not support python
Amazon Lambda  supports python

It's a great competitive opportunity in order to retain Azure Customers. Please, does not obviate it.

@operezfuentes one thing to clarify is that the 1.x version is not going away anytime soon. So if you're happily using Python today, that will continue to work for the foreseeable future. So the fact that 2.0 won't initially have it will not affect you.

Please do not remove support for Python. It works pretty well. We just need a selector to choose python2 or python3 versions.
The capacity already exists to pip install python modules using Kudu.
As people in the python community are preparing to end-of-life python 2.7, the ideal choice is to start gearing up new Azure Functions 2.0 to default to python 3.x as the default.

@dirkesquire please see my previous comment. It's not getting removed from v1, and v2 will have a better one.

Yes, well of course I have read it. Unfortunately the title of the this github issue is 'Remove support for some experimental languages in 2.0', which I am just weighing in on.
I'm just trying to encourage people to please continue work with this feature as the Python community really appreciates it!
I do think that the improvements that you mention of using a persistent model to spin up requests is an exciting prospect, because a new python instance per request is not great.
Thinking about how things work currently, I know we can easily install Python3 using the extension menu and that works well. What I would really love is to be able to append to the %PATH% variable in the Platform Overview, Application settings, so then we can point to the python installation path we installed via the Extension menu. This is so that it is persistent when the service reboots etc and this gets read on bootup. This also saves people from having to faff about in Kudu because it can all be done in the Azure portal. Currently there is a path to an old version of Python2 baked in by default into %PATH%, and that is not pleasant, which would be nice if it could be removed. The same issue exists when one uses python on Azure AppServices. I can appreciate this suggestion might not be relevant to your new model, but I do encourage Python3 to be the default for your new Azure Functions 2.0 since you are effectively doing a clean break in versions.

@dirkesquire see https://github.com/Azure/azure-functions-host/wiki/Using-a-custom-version-of-Python for a workaround.


Expose logger via Substance Controller?

We currently use dependency injection to connect to a notifications service. We should maybe move this into Substance Controller where users can call a getLogger() method to get a shared logger instance. This would be stuff that is logged into the status bar. So we should not use it as a debugging logger. Rather use console.log for that.
Maybe we should keep the name notifications to make it more explicit an app messaging system. However, the interface logger.log, logger.error, logger.warn etc. seems like something more straight-forward instead of introducing our own user notifications API.
Currently we do:
notifications.addMessage({
  type: "info",
  message: "Saving ..."
});

With the new logger interface:
var logger = this.controller.getLogger();
logger.log('Saving ...');

Thoughts?

Sounds good.

I'm in the middle of it. I'm dropping the different occurrences of this.context.componentRegistry, this.context.surfaceManager with the controller interface. I expose it via dependency injection, however I implemented getController() methods whereever possible, to abstract this away.
In practice this means that:
var ComponentClass = this.context.componentRegistry.get(node.type);

turns into:
var ctrl = this.getController();
var ComponentClass = ctrl.getComponent(node.type);

Just a thought: Why not making this.getController a default getter in Substance.Component? Like just indicating it's a known concept. Your component can be controlled by something higher up the component tree.

Hmmm... so it would be a built-in depency injection? Don't know.
It should always be defined then, and fail as early as possible.
Or do you want to provide a default implementation?

Sort of, I'm also not sure... but this could make sense in many apps, to separate some data-logic from component logic. Of course if you ever call this.getController() in one of your components and you have not defined one as a child context, it will fail immediately.
Our TextPropertyComponent for instance would rely on a Substance Controller to be in place, so we can do:
var ctrl = this.getController();
ctrl.getSurface();

this.getController().get

We could also decide to access controller always via this.context.controller to indicate this is a dependency injection thing. Not sure..

I would rather prefer this for now. Then it is really obvious how it works.
At some time we could declare required context properties, and fail automatically if they are not present.

Sounds good.

Done via #65.


Algorithm or Data Structure name | Language

Title - Fibonacci numbers
what will change -  This program prints nth fibonacci number when a number n is given.
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Go

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding!

Please assign this issue to me

Please assign this issue to me


Methods on base resource not called on subclass

class API::V1::ServicesBaseResource < JSONAPI::Resource
  abstract

  key_type :uuid
  paginator :none
end

class API::V1::DashboardResource < API::V1::ServiceBaseResource
  model_name 'Services::Dashboard'
end

Expectation
That API::V1::DashboardResource has paginator set to :none.
What happens
offset and limit are still getting called on the dashboard resource.
Workaround
Call paginator :none from the subclass
class API::V1::DashboardResource < API::V1::ServiceBaseResource
  model_name 'Services::Dashboard'

  paginator :none
end

Looks like a dup of #948


python311Packages.azure-cosmos: 4.6.0 -> 4.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.azure-cosmos is: Azure Cosmos DB API
meta.homepage for python311Packages.azure-cosmos is: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cosmos/azure-cosmos
meta.changelog for python311Packages.azure-cosmos is: https://github.com/Azure/azure-sdk-for-python/blob/azure-cosmos_4.7.0/sdk/cosmos/azure-cosmos/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.7.0 with grep in /nix/store/y2f8bqx1hmmqvslnr0gaqmamn31av6sc-python3.11-azure-cosmos-4.7.0
found 4.7.0 in filename of file in /nix/store/y2f8bqx1hmmqvslnr0gaqmamn31av6sc-python3.11-azure-cosmos-4.7.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

azure-cli
python311Packages.azure-cosmos
python312Packages.azure-cosmos

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y2f8bqx1hmmqvslnr0gaqmamn31av6sc-python3.11-azure-cosmos-4.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.azure-cosmos https://github.com/r-ryantm/nixpkgs/archive/4596d3e723edbb7feec0eec0553ea3fd9b871666.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4596d3e723edbb7feec0eec0553ea3fd9b871666#python311Packages.azure-cosmos

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y2f8bqx1hmmqvslnr0gaqmamn31av6sc-python3.11-azure-cosmos-4.7.0
ls -la /nix/store/y2f8bqx1hmmqvslnr0gaqmamn31av6sc-python3.11-azure-cosmos-4.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

6 packages built:

azure-cli
azure-cli.dist
python311Packages.azure-cosmos
python311Packages.azure-cosmos.dist
python312Packages.azure-cosmos
python312Packages.azure-cosmos.dist

Maintainer pings
cc @jonringer for testing.

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

6 packages built:

azure-cli
azure-cli.dist
python311Packages.azure-cosmos
python311Packages.azure-cosmos.dist
python312Packages.azure-cosmos
python312Packages.azure-cosmos.dist


add windows scripts

(not final, need to look at the originals - if there are any. But this should get things going on windows)

Awesome thanks. We can merge now and test as we go and iterate.


type_of_target off for labelpowerset and binary relevance strategies

Hi!
While trying to get support for k-fold cross validation (cv) I noticed that the scikit-learn classifiers/strategies use the target classes/shapes as given by train. I.e. my target_true might look like this: [array([0, 1, 0, 1, 1, 0, 0, 0])] and thus the scikit-learn strategies/classifiers return an np-array of targets (in this case 1-D matrix). cv checks for the same target type when trying to score the classifiers.
The problem now is that classifiers of scikit-multilearn return a list of vectors, where sklearn.utils.multiclass.type_of_target returns multiclass-multioutput, but the sklearn classifiers, as well as my targets are multilabel-indicator. Funny thing however is that when you'd print both, they both look like this: [array([0, 1, 0, 1, 1, 0, 0, 0])].
Thus for support of cv in conjunction with scikit-multilearn we'd either need to alter the implementation of type_of_target (I might drop an issue on scikit-learn and see whether or not this is expected behaviour or not) or implement casting of predicted targets by transforming the output to np.array.
Any input on this? I'd do a PR on this if I can get a solution to this.

As the reply on the scikit-learn issue shows it would be a lot more difficult to alter their implementation of this. I'd push my quickfix if you have not counter arguments. (This is needed for cross validation)

The problem is I've transformed the classes to work with sparse data internally and thus all return a sparse matrix from predict. Could you provide a test that checks for this bug so we know if it also happens on sparse matrices?
I am having a lot of problems with both working on sparse (enormous gains in speed, label space is usually very sparse), and adhering to scikit API which was designed for a single-label case. I've made a parameter require_dense in classifiers that converts to dense when dealing with a base classifier that does not handle sparse data (basically every single-label classifier in scikit).
I'm wondering, maybe we should do a wrapper that converts sparse to dense for the final outputin crossval? A testcase would help a lot, just a simple one maybe, that runs a CV and catches the error.

Ok, working on the test case. There are a few problems I've encountered, see #29 for example. I'm at work right now, but I'll have plenty of time on the weekend.

This could take longer, the notebook crashes each time I try to use cross validation (even with try…except). I'm looking into it.

Ok, not a problem on our side, for OneVsRestClassifier it happens as well.

Fixed in 0.0.3, thank your for your help!


Set dot markers for chart lines

useful for charts with only one CF version (i.e. without lines)

<img width="621" alt="Screenshot 2021-11-25 at 13 26 40" src="https://user-images.githubusercontent.com/7871793/143441609-7b1f7730-8266-427f-8fdc-4197a11975d3.png"


Feature request: attempt to rebind listener sockets periodically, if the configured socket is not being listened to

Hey all,
it is possible to ask velbustcp to bind to a specific interface by specifying its IP address, for example as such:
{
  "connections":[{
    "auth":false,
    "host":"<IP_ADDRESS>",
    "port":27015,
    "relay":true,
    "ssl":false
  }]
}

However, it is possible that at the time velbustcp is started that this address is not assigned to any of the interfaces quite yet. This can be something as simple as it being a WiFi address, and the WiFi connection has not been established yet, it could be an address that is (statically) assigned via DHCP (and DHCP did not respond yet), or it could be a simple service start up race condition, where the velbustcp service attempts to start up before the network interfaces are completely set up. I believe an issue also can come up if the network interface that the socket is bound to is disconnected and later reconnected.
In those instances you're prone to see a log print out like this:
Traceback (most recent call last):
   File "/bin/.velbustcp-wrapped", line 9, in <module>
     sys.exit(main())
   File "/lib/python3.10/site-packages/velbustcp/__main__.py", line 72, in main
     main = Main()
   File "/lib/python3.10/site-packages/velbustcp/__main__.py", line 36, in __init__
     self.__bridge.start()
   File "/lib/python3.10/site-packages/velbustcp/lib/connection/bridge.py", line 45, in start
     self.__network_manager.start()
   File "/lib/python3.10/site-packages/velbustcp/lib/connection/tcp/networkmanager.py", line 21, in start
      network.start()
   File "/lib/python3.10/site-packages/velbustcp/lib/connection/tcp/network.py", line 114, in start
     self.__bind_socket.bind(self.__options.address)
OSError: [Errno 99] Cannot assign requested address
2023-09-21 17:19:53,574 - INFO - bus - Serial connection active on port /dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00

and continue running in a state of degraded functionality – it is connected to the velbus installation, but it does not present a server to other clients wanting to connect. It would be ideal if velbustcp attempted to recreate the listening socket occasionally, or on systems that support them used options like IP_FREEBIND.

Hi there, I think the current best solution would be to bind to <IP_ADDRESS> or maybe <IP_ADDRESS> if you only allow local connections. We're not sure if we can currently implement your specific request. Feel free to open a PR.

Unfortunately the machine I'm looking to run this on has multiple interfaces and velbus should only be made available on some of them (but it does need to be available outside of local machine.)

We're not sure if we can currently implement your specific request. Feel free to open a PR.

Thank you for letting me know about your availability, I’ll probably hack on this this weekend and see about making that PR.

I made a pull request for this at #14.


Bug of code in readme

Please make sure that you have tested the code before put them into the README doc.

Such as no defined varable for abc
Missing semicolon

BTW, in order to build the example you provided, there maybe need some compiler flags to be set such LD_LIBRARY_PATH, or linking specify library, such as -lworkflow.

Thanks for your suggestion!
You can compile examples to run first.
Just run the shell script ./build.sh

The code in the example folder has been verified by CI and can be used directly.

Have checked all the docs, 🍺


stake pool desirability ranking

This PR adds the non-myopic stake pool ranking calculation to the repo. There are a handful of unit tests, and a TODO for adding property tests. Two main functions are added:

desirability calculates an individual pool's desirability
rankedPools takes NewEpochState (which is a large part of the main chain state) and EpochSize (needed only to compute R, the total reward pot), and returns a map from operator key hash to the desirability number.

This PR does not compute any moving averages of the desirability numbers. or even add the ability to cache enough data to perform the calculation for any epoch besides the previous one. and using it at the very beginning of the epoch would be ill-advised. but it's a start!
see #1236

Apart from adding functionality for getting the apparent performance not only for the current epoch, we'll also need to compute the non-myopic stake from the desirability ranking, so that we then can compute the non-myopic pool member rewards, which will be what the wallet will require for ranking displaying the pools to the users.

thank you for the helpful review! Is the non-myopic pool member rewards a more meaningful metric than ranking by the desirability score? I guess the non-myopic reward gives one a clue as to how much actual ada they could expect to earn, but it does not give them a better suggestion as to which stake pool to delegate to. yea?

Is the non-myopic pool member rewards a more meaningful metric than ranking by the desirability score? I guess the non-myopic reward gives one a clue as to how much actual ada they could expect to earn, but it does not give them a better suggestion as to which stake pool to delegate to. yea?

It's quite subtle, but yes, the non-myopic rewards are the better metric. Crucially, the non-myopic utility will decrease once a pool gets oversaturated (since the non-myopic stake is a maximum of the actual stake and (1/k or zero)). Ranking purely by desirability would lead everyone to delegate to the most desirable pool, but if you use the non-myopic utility, the most desirable pool will move down in the list once it reaches saturation.

Interesting to see this take shape and thanks for the edifying discussion here


Fix for windows_task getting created when wrong username and password  provided and throws error afterward

Description
When wrong username and password provided in the windows_task recipe it creates the windows_task and raises the exception afterwards. It should not create task when username and password is incorrect.
Issues Resolved
Updated win32-taskscheduler to set user information at the time of creation of task so that it will validate the user at that time and updated the method defination in windows_task provider.
Signed-off-by: vasu1105<EMAIL_ADDRESS>

Note: This fix has dependency on https://github.com/chef/win32-taskscheduler/pull/31 so need to merge and release that fix and then merge this  Failing test cases here has the same reason. Once above PR get merged and released the we can re-run the test cases.

@tas50 & @btm this PR is ready to merge.


Kind, Category, AttackKind of event messages

Currently the term Kind, Category, AttackKind for event filtering option on Web UI is used as following:

Category: MITRE Category or Event Category
HttpThreat should be removed in the MITRE Category.
Kind: Event Kind
For HttpThreat events, AttackKind is used instead of HTTP Threat.
The HttpThreat event kind does not work when filtering with Kind option.
AttackKind: detail attack name only for HttpThreat event kind

// review-database/src/types.rs
pub enum EventCategory {
    Reconnaissance = 1,
    InitialAccess,
    Execution,
    CredentialAccess,
    Discovery,
    LateralMovement,
    CommandAndControl,
    Exfiltration,
    Impact,
    HttpThreat,
}

// Kind
// review-web/src/graphql/event.rs
pub enum Event {
    DnsCovertChannel(_),
    HttpThreat(_),
    RdpBruteForce(_),
    RepeatedHttpSessions(_),
    TorConnection(_),
    DomainGenerationAlgorithm(_),
    FtpBruteForce(_),
    FtpPlainText(_),
    PortScan(_),
    MultiHostPortScan(_),
    ExternalDdos(_),
    NonBrowser(_),
    LdapBruteForce(_),
    LdapPlainText(_),
    CryptocurrencyMiningPool(_),
}

For new Web UI development, those use of confusing terms need to be simplified. The filtering option for detected events should be modified.

Use EventKind to filter events including HttpThreat.
This make it work to filter events with HttpThreat event kind.
Add new filtering option like AttackName or AttackKind, and use it to filter the attack name of HttpThreat events.
The default attack name for other EventKind like DnsCovertChannel can be DNS covert channel, same with the event kind.
The mapping between EventKind and EventCategory is hardcoded in review-web and review-database code.
And this makes it difficult to keep the consistency. Refactoring is required.

This issue is completed.

The ability to filter by the attack_name is completed by the https://github.com/petabi/review-database/pull/120
The category issue is completed by https://github.com/aicers/review-web/pull/296 and https://github.com/aicers/review-web/pull/295

So I close this issue.


chore(test) Test concurrent users

Describe what should be investigated or refactored
Create a test to determine what the maximum load is for the E2E application. How many concurrent users can the application handle and how well do features work under the maximum load.

closed by #798


Add support for metadata links

The extension already allows a template to be selected for validation of parameter files.
Over here, I've been working on using metadata links to allow parameter files to explicitly let CI tools know that the parameter file relates to a specific template.
https://azure.github.io/PSRule.Rules.Azure/using-metadata/#metadatalinks
It would be cool if this could also be leveraged for improving the authoring experience so when switching between multiple parameter files the correct template can be selected.
What do you think?

@BernieWhite - thank you for the feedback! It would be awesome if you wanted to contribute to implementing this via a PR https://github.com/microsoft/vscode-azurearmtools#contributing

@MarcusFelling sure. Let me take a look at it.

Got a working implementation but not sure how to approach the tests. If you're able to have a quick look at point me to a test file that is similar that would really help.

@StephenWeatherford is OOF this week. @bhsubra Are you able to lend a hand with tests?

Sorry, been busy...


Remove usage of endless range

This replaces the use of an endless range to index into an array, with the start index and number of elements to extract.

Motivation

Endless ranges were introduced in Ruby 2.6, but sorbet-runtime only depends on Ruby >= 2.3.0. This is causing errors in CI pipelines testing compatibility with old versions of Ruby.
The alternative would be to bump the minimum version of Ruby instead, but it seemed like an easy fix and allows us to maintain backwards compatibility.
Test plan

This is a refactor, so (I assume) should be covered by existing tests.

Looks like this is a duplicate of https://github.com/sorbet/sorbet/pull/4281


Do not modify or remove the line above. # Everything below it will be ignored.

Requesting a pull to avolabs-io:master from avolabs-io:dp/styling
Write a message for this pull request. The first block
of text is the title and the rest is the description.
Changes:
48e17b4 (denhampreen, 2 hours ago)
bridge sync table styling & overview styling fix
ecf3c41 (denhampreen, 2 hours ago)
profile, cleaning old code
acc14f6 (denhampreen, 3 hours ago)
bridges, dashboard == home
5686fd9 (denhampreen, 3 hours ago)
about text neaten
f00e111 (denhampreen, 3 hours ago)
bridge table styles
dcda850 (denhampreen, 4 hours ago)
start skale fetch data
424ebfc (denhampreen, 5 hours ago)
update status of a sync and subscribe
122c6e8 (denhampreen, 6 hours ago)
bride sync table, temp remove transition

Interesting commit message :D


[3.x] Fix Array.max() navigating to @GDScript.max()

Fixes https://github.com/godotengine/godot/issues/48113, supersedes https://github.com/godotengine/godot/pull/48119 because apparently these changes are only relevant to 3.x

Thanks!

Cherry-picked for 3.3.1.


New lg editor does not work well in multi-lang.

New lg editor does not work well in multi-lang.

Create a bot
add another language
Add "send activity"
switch to the new language
editing in new lg editor for send activity
some time will hit following error (not everytime)

go to all up view, the LG template created across the language

But following step will hit error

Switch the authoring language to "new locale"
editing in LG new editor
add text as below

navigate to other page
switch the authoring language back to "default language
start to edit "send activity" again

switch back to the original local
the LG content is gone

@zhixzhan can you help take a look at this, i expect some code paths in new LG editor that are not creating templates in all locales.

I will take a look today

When you add "sendactivity" , the LG editor placeholder is correct.
But when you edit the "sendactivity" for specific language with the new lg editor, it will break something.


Tests for pod/container statuses issue

Need a test that reproduces the problems described in #120, #122
The test should fail with patch form #122 reverted.

Also that would be nice if this will cover also #133


feat(formatter): allow different formatter to each transport

Each transport could have different formatter.
Add more tests cases.
Update the README.

:tada: This PR is included in version 1.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Simple Gallium example not working

This worked in 0.5.0-pre, i.e. ended up in the debug prompt in the REPL.  Am I doing something wrong?  What changed?
AWS-Sachs-Ubuntu$ cat /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl
function myfunction1(x)
    return "monadic"
end

function myfunction1(x, y)
    text = "alpha"
    z = myfunction2(x + y)
    return z
end

function myfunction2(a)
    r = a * 10
end
AWS-Sachs-Ubuntu$ ~/src/julia-release-0.5/usr/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.1-pre+27 (2016-11-04 08:41 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 25f7066 (11 days old release-0.5)
|__/                   |  x86_64-linux-gnu

julia> using Gallium

julia> include("/home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl")
myfunction2 (generic function with 1 method)

julia> bp = Gallium.breakpoint(myfunction1)
Locations (+: active, -: inactive, *: source):
 * Any matching method added to #myfunction1
 * Any matching specialization of myfunction1(x) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:2
 * Any matching specialization of myfunction1(x, y) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:6

julia> myfunction1(1)
"monadic"

Back in 0.5.0-pre, I got this:
julia> bp = Gallium.breakpoint(myfunction1)
Locations (+: active, -: inactive, *: source):
 + myfunction1(x::Int64) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:2
 + myfunction1(x::Int64, y::Int64) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:6
 * Any matching method added to #myfunction1
 * Any matching specialization of myfunction1(x) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:2
 * Any matching specialization of myfunction1(x, y) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:6

Try putting @noinline in front of your definition of myfunction1, or start julia with julia --inline=no. It's possible that julia -O0 would help, but I think that's more about avoiding the elision of variables than the inlining of functions.

Using -O0 and --inline=no did not produce different behavior.
AWS-Sachs-Ubuntu$ ~/src/julia-release-0.5/usr/bin/julia -O0 --inline=no
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.1-pre+27 (2016-11-04 08:41 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 25f7066 (12 days old release-0.5)
|__/                   |  x86_64-linux-gnu

julia> using Gallium

julia> include("/home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl")
myfunction2 (generic function with 1 method)

julia> bp = Gallium.breakpoint(myfunction1)
Locations (+: active, -: inactive, *: source):
 * Any matching method added to #myfunction1
 * Any matching specialization of myfunction1(x) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:2
 * Any matching specialization of myfunction1(x, y) at /home/sachs/lib/julia/GalliumExample.jl/src/GalliumExample.jl:6

julia> myfunction1(1)
"monadic"

I'm curious about a couple things.
(1) What would myfunction1 be inlined into, since it is being called from the REPL?
(2) What changed between 0.5.0-pre, when this worked (see above), and 0.5.0 to produce the different behavior?

There's a new optimization in 0.5, where it avoids specializing functions if it realizes the return value is always the same and just uses the value directly.  That's probably what happens here, so the function never actually gets run. We're looking into disabling that optimization in --inline=no mode.


test on different python versions

Our Python tests are set up to run on Python 3.9, 3.10 and 3.11.
https://github.com/Deltares/Ribasim/blob/30d468a5d4b20d8c6393d5862dbffec8e83b01d3/.github/workflows/python_tests.yml#L23-L26
I was wondering with the Python version being fixed to 3.11.5 in the pixi.lock file, how this worked. Looking at the 3 jobs it seems that all three actually test Python 3.11.5:
https://github.com/Deltares/Ribasim/actions/runs/6419269733/job/17428758052#step:5:6
https://github.com/Deltares/Ribasim/actions/runs/6419269733/job/17428758689#step:5:6
https://github.com/Deltares/Ribasim/actions/runs/6419269733/job/17428759035#step:5:6
Also, is it worth it to test every minor Python release, or is the oldest and newest we support enough?
Found while working on https://github.com/Deltares/Ribasim-NL/pull/17. There I'll only test 3.11 for now.

I was wondering with the Python version being fixed to 3.11.5 in the pixi.lock file, how this worked. Looking at the 3 jobs it seems that all three actually test Python 3.11.5

This is an oversight from my side. I've set up mamba to test multiple versions, but not for pixi.
Not sure if pixi has something planned to support that, but for now the best way I can think of to get this coverage back is to use an environment.yml and mamba again for Ribasim Python CI tests.

And how about just running pixi add python=3.9 on CI before pixi run install-without-pre-commit?

And how about just running pixi add python=3.9 on CI before pixi run install-without-pre-commit?

Let's try that first. I wonder how fast that works considering there's probably nothing cached


iOS get payload data when app is killed/not running

Part of documentation:
"...iOS background notifications
If the app is in the background but is still running (i.e. has not been task-killed) and the device is not in power-saving mode, the onMessageReceived callback can be invoked when the message arrives without requiring user interaction (i.e. tapping the system notification). To do this you must specify "content-available": 1 in the apns.payload.aps section of the message payload - see the Apple documentation for more information. When the message arrives, the onMessageReceived callback will be invoked without the tap property, indicating the message was received without user interaction. If the user then taps the system notification, the app will be brought to the foreground and onMessageReceived will be invoked again, this time with tap: "background" indicating that the user tapped the system notification while the app was in the background...."

Feature request
I would to know how to get payload data when the app is closed/killed/not-runing.
My problem is that when app is killed and push notification is received, on press it the app is started but nothing else. I think because it's not implemented the right method, but I am not sure. I think for this purpose this method can help: application:didFinishedLaunchingWithOptions
but I don't know how to add it to the plugin :(
maybe someone resolved this same issue and can help.
this is the sources where I researched:

https://stackoverflow.com/questions/35058870/handling-push-notifications-when-app-is-terminated
https://stackoverflow.com/questions/51302525/ios-push-notification-when-app-is-killed
https://stackoverflow.com/questions/22780275/how-to-handle-on-click-on-push-notifications-ios/49598192#49598192
https://stackoverflow.com/questions/20771312/push-notification-didfinishlaunchingwithoptions

This plugin implements application:didFinishedLaunchingWithOptions as a swizzled method.
If a push notification message is received on iOS when the app is not running/in the background, then when the user taps on the system notification, the app will be launched/restored and the didReceiveNotificationResponse method will be invoked if the APNS payload specifies content-available: 1.
You can test this by building and running the example project and using its built-in FCM v1 API client to send the ios_notification_default_sound_and_badge message which contains the appropriate APNS key.


Investigate mechanism to keep Mozilla Public Suffix List updated

It would be a neat improvement to enable a quick update of the Mozilla Public Suffix list from within the app.
We could ship a modular input that is disabled by default that periodically updates the public suffix list.

Totally agree. An updated PSL is very much needed.


clean(backend): remove searches and getAlls that were used by explorer or not even used at all

Description

Deleting anything search-like that was used in the data explorer
Deleting unused "getAll" endpoints

Have you made sure that no services uses those endpoints by checking @dgauldie dashboard?

I shall do this next week


Create add-element-only-if-unique

one-liner to add an element to an array only if it does not exist, with array of objects version, too.

Thanks @jorchg 👍

no merge?


Spaces included to have nice view and camel case of the words

For issue #16

@devappmin Can you review this PR


Folding stuck on multiline string

Consider the following code:
'use babel'

it('does not fold on multiline strings', () => {
  const foo = `
multiline
  `
})

When pressing the fold icon on function it it won't fold the whole function:

I think this is an Atom issue. Atom assumes cold folding applies to indented lines. The only control I have over it is a simple regex here
e.g. This issue is still open on Atom https://github.com/atom/atom/issues/3442 and https://github.com/atom/atom/issues/8879

Thanks for your answer. Seems indeed an Atom limitation. Issue could be closed as an upstream issue.


Proposal for time limits on RFC's?

Might be nice to have say a month or 2 weeks where we talk about the RFC, think of ways to go about it, draw a conclusion then move it over to a new issue on the implementation. This means that we don't have RFC's that go un-noticed for months or years.
Some downsides would be that policing this kind of thing would be annoying, and I'll have to keep a track of every RFC. Though it would reduce clutter in the issue handler, and we'll actually have a deadline for issues to be figured out. We can of course make exceptions for the more complicated RFC's like the macro system and similar.
Thoughts?
@ark-lang/owners

With the current state of the language, I don't believe we should be pushing for a time based approach for RFCs. Right now I believe that reaching consensus would be a lot more important than ending the RFC just because some arbitrary time limit has passed.

@kiljacken I understand that, we don't want to rush features that have a huge impact on the language in a positive or negative manner. Though we really need to stop leaving RFC's to rot in the last page of the issue handler, I'd say that's one of our bad habits.

Eh


Collaboration on this project.

Hi,
Just letting you know I am using this git repository as part of another hobby project which I am working on. I am happy to contributes to the repository if you are interested.
I am using this "issue" feature as I don't have any other way to reach you.
I am a senior software engineer from Australia, I am presently studying Russian in Minsk. I notice that you know Ukrainian and Russian languages.
Presently I am working on a few hobby projects to assist with language learning, it seems you are working on similar projects also.
Feel free to email me via the email address on my GitHub profile.
https://github.com/expertcoder
Thanks.

I have answered in an e-mail message.


Revert "[dv/mubi] Fix randomization"

#10455
breaks compile for xcelium, this is blocking for WD
reverting commit until this is fixed
This reverts commit ef5bc57ef8f9c06db162afd4fe79129b3eefae4f.

@matutem seems to have made a proper fix in #10494.


add builtin RequestTemplate：COMBINED for access log

Codecov Report

Merging #272 into develop will decrease coverage by 0.04%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop     #272      +/-   ##
===========================================
- Coverage    52.68%   52.64%   -0.05%
===========================================
  Files          235      235
  Lines        22457    22459       +2
===========================================
- Hits         11832    11824       -8
- Misses        9282     9284       +2
- Partials      1343     1351       +8

Impacted Files
Coverage Δ

bfe_modules/mod_access/request_log.go
0% <0%> (ø)
:arrow_up:

bfe_modules/mod_access/conf_mod_access.go
27.72% <0%> (-0.57%)
:arrow_down:

bfe_util/fixed_pool.go
83.33% <0%> (-16.67%)
:arrow_down:

...e_modules/mod_trust_clientip/mod_trust_clientip.go
42.85% <0%> (-3.3%)
:arrow_down:

bfe_spdy/server_write_sched.go
78.46% <0%> (-1.54%)
:arrow_down:

bfe_spdy/server_conn.go
78.53% <0%> (-0.45%)
:arrow_down:

bfe_http2/server.go
71.67% <0%> (ø)
:arrow_up:

bfe_spdy/frame_write.go
50.5% <0%> (ø)
:arrow_up:

bfe_websocket/server_conn.go
76.51% <0%> (+0.75%)
: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 94dd595...a6d7b60. Read the comment docs.


@inheritdoc doesn't work

Check the repository https://github.com/evgpisarchik/sami-inheritdoc-issue
(generated docs attached)
Description of the problem:
Class A has method foo with description.
Class B extends A and has its own implementation of foo which is annotated with @inheritdoc.
Actual behavior:
After documentation generation method foo of class B has no description.
Expected behavior:
Method foo of class B should have the same description as method foo of class A.

I have the same problem.

Use {@inheritdoc} instead

Works for me.
Thanks for the information.


Runtime_engine是否兼容浪潮f10a的19.1versionBSP

使用19.1版本的BSP运行时遇到如下错误
error:use of type '_global channel PoolTailOutput' requires cl_intel_channels extension to be enabled
channel PoolTailOutput retriever_input_channel___attribute((depth256))

The master branch assumes that you are using Quartus 16.1. When you want to try it under Quartus 19.1, you need to do some modifications in codes like adding '#pragma OPENCL EXTENSION cl_intel_channels : enable' in host/inc/cnn.h. Please refer to winograd_191 branch.


Clarify ssh key in settings

I don't know where this thing comes from, but when I was searching in setting, I got a popup: "enter the path to your public key". I think that it comes from Iceberg, as it asked for a user name afterwards and suggests "git".
The point is that I have many ssh keys for different services, and asking for "github ssh key" or even for "git ssh key" will both explain me what I need to provide and who is asking for that

in fact, this should be disabled for now: next version of iceberg will not have ssh support (you need to provide https credentials).
and before anyone complains: this is because of a limitation of current version of libgit2 (0.23). There are rumours of functionality working on 0.25, but we still need to do the migration, and test it.

@estebanlm when is the "release" coming? Because the doc says that you have to load master branch and it is ~200 commits behind the other ones

well... we are polishing the branch "multi-remotes", then we are going to merge it to "0.4-dev" and then we are going to merge it to "master".
So, let's say one week ?

cool! thanks!

Should not be happening anymore in latest version. Please reopen if necessary


Updating french translation

@RocketChat/android
Changes: Translation made with Weblate.

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

Hi, @BoFFire!
Thanks for this PR, but this repo is deprecated: https://github.com/RocketChat/Rocket.Chat.Android#important---please-read-this-first
Can you do it for the new repo? https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/app/i18n/locales/fr.js

Ok @diegolmello thanks !


Restore window.basePath in layout.erb required for request details popups.

This fixes the bug where clicking on details of a test after it has run causes no popup to display.
The window.basePath variable needs to be set in layout.erb in order for the test details popups to function correctly.  This allows us to deploy the application at / or /inferno or /any/arbitrary/path, because some popups dynamically load data from the server using javascript and need to know the root of the application.
It looks like this wasn't carried over from the base layout.erb to the site overlay version, perhaps because this customized version was created before it was added.

FYI @nbashyam, this should fix the problem you were observing.


Add a Chronon service module to add support for serving features

Summary

This PR adds a module to the project to spin up a service that wraps the Fetcher code and allows us to serve features. This module leverages the Vert.x project. Vert.x is a high performance service toolkit that allows us to build http / grpc services - as the serving layer can be on the hot path for some use-cases, the high perf nature of Vert.x will hopefully be a good starting point. Vert.x core is Java based and given we have 3 Scala versions to support in the Chronon project, I've chosen the path of writing the service in Java rather than dealing with the interop and the multi-version compat story for now.
The service as such adds a couple of HTTP endpoints that allow us to serve groupBys and joins (each returning a json payload). We can extend things in the future with an equivalent set of grpc endpoints if needed. Endpoints look like:
/ping -> Health check
/config -> Returns the svc config
/v1/features/join/<joinName> -> Bulk get request for a given join
/v1/features/groupby/<groupByName> -> Bulk get request for a given group by

Why / Goal

Currently users getting going on the project have to take on the additional work of writing a feature serving layer of their own (or rely on a set of disparate clients calling and using the Fetcher libs directly). This makes it painful to set up and this burden is exacerbated for users that don't natively work on JVM languages. Hooking up the fetcher code in other languages is non-trivial as it requires rewriting a lot of the core fetcher logic and maintaining parity across as things change over time. Including a service module within the project aims to lower that barrier of entry as it allows users to package the service and have their non-JVM services hit it and get feature data over the wire.
Test Plan

[X] Added Unit Tests
[ ] Covered by existing CI
[X] Integration tested

(Readme in the service module directory has some details / instructions on how you can spin up the project and test against the quickstart mongo api)
Checklist

[ ] Documentation update

Reviewers
@caiocamatta-stripe @mickjermsurawong-openai

Hey @piyush-zlai - could you comment on why Vert.x vs alternatives?

@caiocamatta-stripe - called out in the PR description but I'll expand more:

Vertx is a fairly high performance web service framework. A few benchmarks have found it to be better than others such as Play - Link, Link.
Play is Scala native but the challenge is that as Chronon is using a bunch of different older Scala versions - 2.10, 2.11 and 2.12, we need to deal with this licensing issue - Licensing. Support for older Scala versions requires us to use the Akka fork of Play (Play 2.9.x). If Chronon were on Scala 2.13 we could go with Play 3.x (which is on Pekko).
Vertx being a Java based framework also makes life easier as we don't need to deal with building / cross compiling across 3 Scala versions.
Vertx has a fairly rich set of docs and pretty good support for tracing, testing, grpc etc so the rails from a web service framework are fairly extensible.

@caiocamatta-stripe thanks for taking a look. I'll tag some folks in the coming days (feel free to loop in others at Stripe as well if you'd like more eyes on this).

One final thing that still wasn't clear to me - how does the service get the schemas for GroupBys it's serving? Or is that purely the Fetcher's responsibility?

Yeah this is done as part of the GroupByUpload jobs and the MetadataUpload (join schemas) - https://chronon.ai/getting_started/Tutorial.html#uploading-data (you need to have these upload to the same KV store as you're using in your fetcher)
If you have those two sets of jobs then your KV store is primed with GroupByUploads (which contains one row which is your GroupByServingInfo data) and the join schema.


[WIP] Refactor pop code for java broker

Related broker PR: https://github.com/AzureAD/ad-accounts-for-android/pull/1818

Codecov Report

Merging #1683 (c9a59e4) into dev (7f99f80) will increase coverage by 0.87%.
The diff coverage is 0.00%.

:exclamation: Current head c9a59e4 differs from pull request most recent head 2859691. Consider uploading reports for the commit 2859691 to get more accurate results

@@             Coverage Diff              @@
##                dev    #1683      +/-   ##
============================================
+ Coverage     14.53%   15.41%   +0.87%
  Complexity      318      318
============================================
  Files           165      165
  Lines          7435     7013     -422
  Branches        702      689      -13
============================================
  Hits           1081     1081
+ Misses         6183     5761     -422
  Partials        171      171

Impacted Files
Coverage Δ

...oft/identity/common/AndroidPlatformComponents.java
28.00% <0.00%> (ø)

...mon/internal/platform/AndroidDeviceKeyManager.java
0.00% <0.00%> (ø)

...mon/internal/platform/AndroidDevicePopManager.java
0.00% <0.00%> (ø)

...ity/common/internal/platform/KeyStoreAccessor.java
0.00% <0.00%> (ø)

...ty/common/internal/platform/SecretKeyAccessor.java
0.00% <ø> (ø)

...common/java/platform/AbstractDevicePopManager.java

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 03b3dea...2859691. Read the comment docs.

Kindly have a look at the failing pipeline here

@wainaina As mentioned offline, the Assemble Consumers pipeline is expected to be broken whenever a breaking change is made in common. In this case it will get fixed when the following PR in broker is merged in: https://github.com/AzureAD/ad-accounts-for-android/pull/1818


chore: release lock from correct namespace

What this PR does / why we need it:
bootstrap provider creates the lock, but can't delete or release it because its looking in the wrong namespace and lacks perms.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

- release lock from correct namespace update rbac accordingly

/ok-to-test
/lgtm

/approve


"INVALID VERSION"

<!DOCTYPE html>

HTML Form

<form method="POST" action="https://adless-games.herokuapp.com/v3/entry/github/adless-games/user-data/main/">
  name:

  <input type="text" id="name" name="fields[name]" value="John">

  mail:

  <input type="email" id="email" name="fields[email]"<EMAIL_ADDRESS>  Last name:

  <input type="text" id="message" name="fields[message]" value="reee">

  <input type="submit" value="Submit">
</form>

{"success":false,"errorCode":"INVALID_VERSION"}
How do I fix This?

I think v3 (i.e., "...rokuapp.com/v3/entry/git...") might only exist in the dev branch. I suspect that there's a disconnect between whatever documentation you are following and the code you are using.

The issue is solved here.


Multiple accessibility requests

After each brew upgrade flow, I get multiple accessibility requests. I'm not running brew services restart chunkwm manually, so IMO this dialog should only pop up once.
Not a huge deal, but wanted to flag anyway. Even after giving consent, the other 3-4 dialogs still stay up until you close all of them out.
For those looking for a quick workaround, you can code-sign the binary and avoid the prompts entirely.

This is actually explained in the brew formula caveats.
This has to be done after every update to chunkwm, unless you codesign the
binary with self-signed certificate before restarting
  Create code signing certificate named "chunkwm-cert" using Keychain Access.app
  codesign -fs "chunkwm-cert" /usr/local/opt/chunkwm/bin/chunkwm

There is no way around the codesigning requirement, and once chunkwm is running as a brew service, it will restart until it has the permissions required, which is why you're getting multiple requests.
I have this in my .zshrc/.bashrc for easy upgrades:
function upgrade-chunkwm() {
    brew reinstall --HEAD chunkwm
    codesign -fs "chunkwm-cert" $(brew --prefix chunkwm)/bin/chunkwm
    brew services restart chunkwm
}

it will restart until it has the permissions required, which is why you're getting multiple requests.

I figured it was something like this. It's not a huge dealbreaker by any stretch (I love the i3-wm feel this gives OSX) but if it's a simple fix would be cool to see this. I don't know the optimal approach, but something like a 60 second backoff on restarts would be good. If I as a user grant permissions to chunkwm, it's fair to expect that the user will manually run brew services start chunkwm to get it going.
Thanks for the alias! I'm a huge fan of automation, so will happily use that.

I don't know the optimal approach, but something like a 60 second backoff on restarts would be good

I wouldn't consider this optimal because it has downsides if chunkwm crashes within that time limit, but you can do this.
Run brew edit chunkwm and add this to both launchd files.
<key>ThrottleInterval</key>
<integer>60</integer>

After that reinstall with your edited formula and launchd will have a 60 second throttle on keep-alive.

Great, that works. Thanks!


mapping "" does not work properly (popup menu does not close)

Hello I an using ncm2 in neovim. When I use <C-n><C-y> combination in a mapping the next item is selected but the popup menu does not close. I think this is a problem with ncm2 because on deoplete the mapping works fine.
OS
Arch Linux
neovim :version output
NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallt
hrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.3/src -I/us
r/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser
Minimal vimrc for reproducing the issue
call plug#begin('$HOME/.local/share/nvim/plugged')
Plug 'ncm2/ncm2'
Plug 'ncm2/ncm2-bufword'
Plug 'roxma/nvim-yarp'
call plug#end()

autocmd BufEnter * call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect

"here I mapped j as an example
inoremap j <C-n><C-y>

neovim :messages output when the error occurs
no messages were shown

thank you. this was bugging me for a while.


Addition of a Verbalization for the Zombie's State

Hello, buddy! I really love your mod; "Plants vs Zombies" is a game I've always wanted to play, and I can do so thanks to you.
Now, here's my suggestion: take a look at this excerpt from the readme manual included in the game's installation folder on Steam:
"A zombie can typically endure some damage before it dies. When its arm drops off, it is close to dying. When its head drops off, it is dead and can no longer eat your plants, though its body may continue to move and block shots for a moment or two longer."
It would be fantastic if this information could also be displayed in-game, right next to the zombie. That way, it could be something like: "Zombie" when the zombie is healthy, "Zombie without arm" when its life is low, and "Zombie without head" when it's about to die. While not strictly necessary, as it's a visual way to express the zombie's health level, it would be great for adding more suspense for the player. Consider incorporating this enhancement!

Hi, I'm glad you like it!
That's definitely something I want to add in the next update.
Many zombies have other visual indicators, too.
I just need to figure out the exact health values these things happen.

Added in beta 1.11


Update README and ensure CLI and examples cover all providers

Prior to cutting the 0.3.0 release this updates the README so it covers that this repo now provides 3 components

CLI
Prometheus exporter
Go library

It also adds the missing ElectricityMap provider to the CLI and the WattTime example for the Go library.
My thinking is a lot of this content can move to the developer tools website. My hope is this gives us the bare bones that we can then improve on.
For example this doesn't explain the difference between the marginal emissions provided by WattTime and the average emissions provided by the other providers.

Hey Ross, thanks so much for getting this together.
CVan you please add an 'inspired by' section in the readme, for us to list of bunch of cool papers and projects we've been referring to while we work on this?
I'm thinking of stuff like:

A carbon aware internet - Branch magazine - https://branch.climateaction.tech/issues/issue-2/a-carbon-aware-internet/
Carbon Aware Kubernetes - https://devblogs.microsoft.com/sustainable-software/carbon-aware-kubernetes/
Carbon Aware nomad work - https://github.com/hashicorp/nomad/blob/h-carbon-meta/CARBON.md
The carbon aware scheduler - https://pypi.org/project/carbon-aware-scheduler/
Cucumber: Renewable-Aware Admission Control for Delay-Tolerant Cloud and Edge Workloads - https://arxiv.org/abs/2205.02895
Let's Wait Awhile: How Temporal Workload Shifting Can Reduce Carbon Emissions in the Cloud - https://arxiv.org/abs/2110.13234
Carbon Explorer - https://github.com/facebookresearch/CarbonExplorer/
Solar Protocol - http://solarprotocol.net/
A Tale of Two Visions: Designing a Decentralized Transactive Electric System - https://ieeexplore.ieee.org/document/7452738
Clean energy technologies threaten to overwhelm the grid. Here’s how it can adapt. - https://www.vox.com/energy-and-environment/2018/11/30/17868620/renewable-energy-power-grid-architecture
Scaphandre - https://github.com/hubblo-org/scaphandre

And anything else that strikes you as worth adding.
I've realised there's a lot of cited work in the issues in this repo that is basically invisible if you're not prepared to trawl through the past 2-3 years of issues exploring it like we have.

@mrchrisadams Thanks I love the idea of the Inspired By section. I'll get these links added. You're right this is a great way others can build on the research we and especially you have done!

Thanks Chris ❤  the 0.3.0 release is there now.
https://github.com/thegreenwebfoundation/grid-intensity-go/releases/tag/v0.3.0


Can't compile

On ubuntu 18.04, kernel 4.15.0, OpenSSL 1.1.1:
~/svn/ktls-example {master}$ make
make -C lib
make[1]: Entering directory '/home/giampaolo/svn/ktls-example/lib'
cc -Wall -Werror -g -O2 -I../include -c -o ktls.o ktls.c
ktls.c: In function ‘setup_ktls’:
ktls.c:72:34: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’
  EVP_CIPHER_CTX * write_ctx = ssl->enc_write_ctx;
                                  ^~
ktls.c:73:59: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
  EVP_AES_GCM_CTX* gcm_write = (EVP_AES_GCM_CTX*)(write_ctx->cipher_data);
                                                           ^~
Makefile:15: recipe for target 'ktls.o' failed
make[1]: *** [ktls.o] Error 1
make[1]: Leaving directory '/h4.15.0ome/giampaolo/svn/ktls-example/lib'
Makefile:29: recipe for target 'lib' failed
make: *** [lib] Error 2

With openssl 1.1.1, keys and IVs are not accessible through ssl context - https://github.com/openssl/openssl/issues/13419


How to install basicsr version1.4.2

Hi,
when I do "pip install basicsr", Conda try to install basicsr 1.4.9, but I got some error as below:
Using cached basicsr-1.4.2.tar.gz (172 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [86 lines of output]
.....
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
How to install 1.4.9 version of basicsr

What is the version of pip or other things like setuptools

Firstly, I provide some version information here. The pip version is 21.2.4. BasicSR: 1.4.2, PyTorch: 1.8.0+cu111, and TorchVision: 0.9.0+cu111. Secondly, the basicsr v1.4.2 may be the latest stable version. You can try to install 1.4.2 version of basicsr again. You can continue to ask any questions you meet. Thanks.


Cannot reach '/api/actor/announce' endpoint

OpenTest version number: 1.3.8

I cannot reach the  '/api/actor/announce' endpoint the actor calls with the open test server running. When attempting to reach it manually I get Cannot GET /api/actor/announce.
Steps to reproduce:

run opentest server
run opentest actor
go to endpoint 'http://localhost:3000/api/actor/announce' manually

Relevant log information:
Test actor PID: 98987
13.29.11 Running in working directory "/Users/alex/maxrewards-mobile/opentest/actor1"
13.29.11 Loading configuration from "/Users/alex/maxrewards-mobile/opentest/actor1/actor.yaml"
13.29.11 DEBUG: Test actor JAR versions:
13.29.11 DEBUG:   opentest-appium-0.0.1.jar: 2022-02-25 10:58 -0600 0.0.1-50659ecda06a8b79a41f24c1fdff05187324402b-dirty
13.29.11 DEBUG:   opentest-base-0.0.1.jar: 2022-02-25 10:58 -0600 0.0.1-50659ecda06a8b79a41f24c1fdff05187324402b-dirty
13.29.11 DEBUG:   opentest-selenium-0.0.1.jar: 2022-02-25 10:58 -0600 0.0.1-50659ecda06a8b79a41f24c1fdff05187324402b-dirty
13.29.11 WARN: Failed to log extension JARs
13.29.11 TRACE: The main class is org.getopentest.Main
Warning: Nashorn engine is planned to be removed from a future JDK release
13.29.12 Connecting to sync service at http://localhost:3000...
13.29.12 Actor 15168 of type ACTOR1 with no tags is waiting to be acquired by a test session...
13.29.12 WARN: Failed to announce actor ACTOR1(15168) to the server. Original error was: Failed to announce actor ACTOR1(15168) to the server. The HTTP request was POST http://localhost:3000/api/actor/announce. The response status code was 404.

followed by several occurrences of the same warning...

That endpoint is a POST, not a GET. My guess is that you had some another web server (and not the OpenTest server) running on port 3000, which is why it was returning a 404 status code.