Feature/1437 use validator is email

This PR resolves feature/1437-use-validator-isEmail
Implements the same validation rules as Auth0. Valid email format is:
(64max)@+(63max)+‘.’+(tld)
Valid top level domains should be any that appear in this list:
https://data.iana.org/TLD/tlds-alpha-by-domain.txt

Just a note, there's no need to touch these other translation files manually. These changes won't be captured in Lokalise and the next time these languages are exported, the previous translation (200 characters) will show up again.

Ah thanks @jyclam makes total sense.
In any case I think we will likely limit to only 2 error messages for frontend (required/invalid). So in this case if we remove them from en_US only would that be propagated to other languages? If not no big deal as long as it's not added to net new languages as that's extra work to be avoided.

Technically, yes removing keys in en_US should trigger a clean up and delete the key and translations on Lokalise but I've found it to be a bit hit or miss, sometimes it picks up changes as I expect them to, sometimes it doesn't.


Add versioning and feature flags for the website and api

Both the website and api should get a version as part of their build based on the latest git tag and the current sha, e.g. 1.0.0-abc23g. These can potentially be different if the api and website are built independently - but equally a choice might be taken to always build both together to keep them in sync.
The website should load the api version information along with a series of feature flags from an api endpoint. We may only have an example feature flag for now.
Acceptance Criteria:

[x] The website display a version based on the latest build's tag and sha.
[x] The website displays the version of the api based on the api's latest build tag and sha.
[x] The website loads feature flags from the api, an example feature flag can be used to disable something in the website.

Feature flag functionality has been demonstrated to me by Andrew.
The website/api version is not being displayed to me, this is thought to be caused by using code from the temporary repo.

I've confirmed that the website is now displaying the UI and API versions (on port 1234). Logging into the website redirects to port 3000, this causes the API version to be displayed as "Internal Server Error", being logged in and manually navigating to port 1234 will display the UI and API versions correctly.


Integrate script to generate new project

Basically, we need to integrate this:
https://github.com/MattClarkson/CMakeCatchTemplate/pull/1
but also provide command line args, maybe more testing (haven't checked) and ensure its fully usable.

Thanks to ddervs,  I decided not to go with command line parsing due to lack of available time this month. So, i tested it. The instructions said to export the project without a .git folder, so I made the script just work on an exported project. So, it works nicely for now.


Make error handling more convenient (2.1)

Implemented now as __builtin_trap() for GCC/Clang and __debugbreak() for MSVC, which are the recommended means of stopping a program on an unrecoverable situation.
Some  _TRAP-suffixed error macros added so this can be reused plus removing the need of double checks. GENERATE_TRAP is implemented as well.
IMPORTANT!!!
I'm starting to think that for 2.1, which is widely in production, the trap stuff may be too aggresive. The former solution (though being undefined behavior) helps masking bugs that may start to be uncovered if this PR is merged as it is now, making games crash when they were running with not noticeable problems so far.
Maybe for 2.1 we should just raise the perceived severity of the error situations by adding SEVERE or something like that to the messages printed on these situations.
For master it's fine because it allows precisely to bring those bugs to the surface so they can get a correct solution, specially now it's still unstable.
Current status: finally I think that for 2.1 replacing returning a null reference by a trap may break current projects. The classic way is undefined behavior, but can help games keep running instead of crashing. For master it's different since we have there a good chance of actually fixing bugs before stability.
I've named the helpers PRAY_* (because anything can happen). They make the code cleaner as the condition doesn't need to be written twice and they encapsulate the null dereferencing stuff. They print the error message with a leading SEVERE which at least differentiates an otherwise fatal error from the handleable ones.
Plus transient avoidance of the flood of warnings emitted by Clang when checking this for NULL.
Plus removal of the pointless while(0) loop in some error macros.

Please don't merge before the ongoing discussion on the master version is finished.

This has diverged too much from the master version so let's consider it "self-contained". Now it's much simpler, with no functional changes.

do-while(0) constructs added back to the index error macros with a note about why.
I'm still not convinced, though. Anyway, one day someone will be able to implement them as true functions so we all are happy. :)


router: Implement "power of two random choices" algorithm

@titanous comments addressed in d47a3a7a (I force pushed the commit like we used to, but let me know if you'd prefer commits on top once the PR is opened, I know some people prefer that to help to see what got resolved)

Yeah, going forward let's push changes as new commits, and don't forget to resolve the relevant conversations.

Yeah, going forward let's push changes as new commits, and don't forget to resolve the relevant conversations.

Will do (I've resolved all the current comments).

Can you also run a one-off benchmark of request throughput against this branch and master to ensure this doesn't have a major perf impact?

@titanous here is the benchmark:
https://gist.github.com/lmars/a37a8472a39404a26be97d58ff6d2390
So no discernible difference really.


KLayout 0.27: package "tf_import 1.0" dies with error message

I installed klayout-0.27-0.x86_64.rpm on CentOS7 and used the Salt Package Manager to install the the package "
tf_import 1.0". Then I ran this command:
klayout -rd tf_file=df2/NCSU_Techlib_tsmc02_laydefs.tf -rd lyp_file=out.lyp fifo.gds
Which outputs this error:
ERROR: /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70: uninitialized constant TechfileToKLayout::StringIO
/home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70:in read_skill_file_as_ruby_expr'   /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:195:in import_techfile'
/home/reinhard/.klayout/salt/tf_import/macros/import_tf_standalone.rb:35:in <module:TechfileToKLayout>'   /home/reinhard/.klayout/salt/tf_import/macros/import_tf_standalone.rb:24:in ' (class NameError)
Executing File>Import Cadence Techfile in the gui showed this error:
ERROR: /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70: uninitialized constant TechfileToKLayout::StringIO
/home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70:in read_skill_file_as_ruby_expr'   /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:195:in import_techfile'
/home/reinhard/.klayout/salt/tf_import/macros/import_tf.lym:32:in <module:TechfileToKLayout>'   /home/reinhard/.klayout/salt/tf_import/macros/import_tf.lym:17:in ' (class NameError)

I have the same error on Windows portable version of KLayout.
It looks like ruby requires an explicit "require 'stringio'". Once I add it it works fine for me.
Change needs to be implemented in the following files:
salt/tf_import/macros/import_tf.lym
salt/tf_import/macros/import_tf_standalone.rb
From:
...
require "import_tf"
...

To:
...
require 'stringio'
require "import_tf"
...

Thanks!  That fixed it for me too. You need to restart (or otherwise reload) this useful tf_import package!
Then all I needed was techfile.tf and display.drf, both found in our vendors PDK installation (not in our main chip design cadence folder)


Fix: Pana Flutter upper bound deprecation

:scroll: Description
Pana Flutter upper bound deprecation
:bulb: Motivation and Context
Package validation found the following potential issue:

The Flutter constraint should not have an upper bound.
In your pubspec.yaml the constraint is currently >=1.17.0 <2.0.0.
You can replace that with just the lower bound: >=1.17.0.
See https://dart.dev/go/flutter-upper-bound-deprecation

:green_heart: How did you test it?
:pencil: Checklist

[X] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[X] All tests passing
[X] No breaking changes

:crystal_ball: Next steps

LGTM but we're still at 90 points scope, not sure if this change affected that

the score is something else, a new version from the http package, the docker image from the static analyzer is outdated probably, I will need to force a dart pub upgrade to download newer versions, I guess.


Is bumping port-version strictly necessary if a change is cosmetic only?

Take #26815 as an example: I merely updated the pre-compilation message which misinformed about a system package pre-requisite. Bumping port-version in this case will trigger not only this port's recompilation, which requires substantial time and energy, but also all of its upstream dependants. Obviously the recompilation is moot, as there's no inherent value added to newly recompiled binary.
Is bumping a port-version strictly necessary in such cases? Is there a technical reason for it? It should be possible to simply update the existing version's SHA in versions.json, without adding a new one, shouldn't it?
I think it goes without saying that the current approach is very anti-eco-friendly, considering how many users vcpkg has.

(feel free to convert this into a Discussion, as I believe it is more suitable there)

Thanks for posting this issue. We have documentation about port-version, it says
if you make a change to a port, without changing the underlying version of the library, you should increment this field by one (starting at 0, which is equivalent to no "port-version" field).

I will convert this issue to discussion, we can look forward to the opinions from other users.


AWS SAM Project template in Rider using AWS SAM generator

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Description
First step in adding plugin support in Rider is to create a project template that we could use for running/publishing/debugging/etc. This commit provide a custom frontend template to Rider Templates wizard and run a SAM CLI project generator to create a template. There were two options in templates processing (standard dotnet new templates written from the one that is generated using SAM CLI vs. writing a custom UI in Rider Welcome Wizard and use SAM CLI generator). We went with option #2 (custom UI + generator) to unify the templates process creation and to not support template in plugin directly.
Note: This commit does not do a post-creation work (open project, etc.) since generated project structure is still under discussion.
Motivation and Context
Users should be able to create a project right from Rider IDE instead selecting a proper template from Welcome Wizard instead of generating it manually from SAM CLI, generating a solution. This steps simplify the process.
Related Issue(s)
None.
Testing
Mac OS X. Mojave. 10.14.5

Checked Plugin is running in Rider IDE
Checked Welcome Wizard shows new SAM Hello World Project template
Checked project creation under available runtimes + project structure
Run ./gradlew check

Screenshots (if appropriate)

Checklist

[x] I have read the README document
[x] I have read the CONTRIBUTING document
[x] Local run of gradlew check succeeds
[x] My code follows the code style of this project
[ ] I have added tests to cover my changes
[x] All new and existing tests passed
[ ] A short description of the change has been added to the CHANGELOG

License
I confirm that my contribution is made under the terms of the Apache 2.0 license.

Is already merged into upstream. Closing.


More options for creating images from scratch

Would be great to allow user to change parameters of a new image. But we should avoid asking them every time, so we should have changeable defaults. Default resolution should be the screen dimensions and default color should be white.

Implemented in #41


maintainer is bad

Bruh

I'm gonna reply to the email I got just so it reopens the issue
On Mon, Dec 23, 2019, 2:49 PM Zachary<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/ZacBytes/st-scraper/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ZacBytes/st-scraper/issues/1?email_source=notifications&email_token=AGB5LLT7VEIQ4E5Z5TJGHOLQ2BNODA5CNFSM4J6QMEJ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVULMIHA#event-2903950364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB5LLWBZ7OIL2QM3F4VYNTQ2BNODANCNFSM4J6QMEJQ
.


Bug 1120562 - Work around rendering to a surface ignoring clipping, thus potentially overwriting another surface region

Right now, we do this by forcing the mask's allocation to use a different surface. In cases where we otherwise would only need one surface, that's extremely wasteful, so we should avoid it.

/botio reftest


Brute force pattern

Any suggestions what kind of pattern I should/could put for the brute force method or where I can find them? Newbie here

Hi there, please refer to the hashcat documentation for more information on attack patterns: https://hashcat.net/wiki/doku.php?id=mask_attack


Update README.md

Added instruction to make it clear that the secrets.ini needs to be updated in the docker version of the instructions

Closing without merging, as this


Fix Incorrect ordinal day for DateTime (#527)

Underlying Timex.diff simplifies DateTime to just microseconds,
but it can be unclear on which date a DateTime falls without TZ.
In this fix, we lock the date part of DateTime
and then calc ordinal day from that Date rather than DateTime
CHANGELOG.md update too
added typespec, was missing
docs live in protocol.ex
Summary of changes
I'll review the commits, so I mostly want to understand the "why" rather than the "what"
Checklist

[check] New functions have typespecs, changed functions were updated
[n/a] Same for documentation, including moduledocs
[check] Tests were added or updated to cover changes
[check] Commits were squashed into a single coherent commit
[check] Notes added to CHANGELOG file which describe changes at a high-level

Coverage increased (+0.01%) to 72.088% when pulling 060a8954740fce2b70610f2e5e81c86fb90e58c3 on matyjas:incorrect-ordinal-day-issue-527 into 08b590d313757a2199f0c832636ee508ae294a36 on bitwalker:master.


fix(pipe): align static pipe to Observable pipe rest parameters overl…

Description:
Bring static pipe rest parameters overload to be in line with Observable.pipe
Related issue (if exists):
#4109

Coverage increased (+0.2%) to 96.96% when pulling de36e9764a4ed2e4c3cac010f2f704c7dffb8b1c on dkosasih:static_pipe_overload into e3911bc081999c3a8b39011831bdd6e527e62f40 on ReactiveX:master.

OK. I will work on that. Thanks 😊

@cartant  I have added new commit for the tests.

That was quick. Thanks 👍

pipeFromArray could also drop the type params now that no one calls it with anything other than <any, any> ?

@jgbpercy Yes, pipeFromArray has a signature that needs to be fixed, too, but I'd prefer that to be done in a separate PR. You're welcome to open one.

currently, pipeFromArray is an internal API, however.


<EMAIL_ADDRESS>download via aria2 failed

ERROR Download failed! (Error 24) HTTP authorization failed

The releases are no longer on appveyor. Now they are here, https://github.com/Ryujinx/release-channel-master


Error with ncurses 5.9

Hi! I am installing SNVPhyl on Galaxy 19.05 and went about fixing the known make error with a new tool dependencies xml below:
<?xml version="1.0"?> <tool_dependency>     <package name="ncurses" version="5.9">         <install version="1.0">             <actions_group>                 <actions os="linux" architecture="x86_64">                     <action type="download_by_url" md5sum="8cb9c412e5f2d96bc6f459aa8c6282a1">http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz</action>                     <action type="shell_command">                         wget https://raw.githubusercontent.com/cloudius-systems/osv/07e2d9032dbb3f4f2b0d0133e0eccd5be05dd05d/modules/ncurses/ncurses-5.9-gcc-5.patch &&                         patch ncurses/base/MKlib_gen.sh ncurses-5.9-gcc-5.patch                     </action>                     <action type="autoconf">--with-shared --enable-symlinks</action>                 </actions>                 <actions os="darwin" architecture="x86_64">                     <action type="download_by_url" md5sum="8cb9c412e5f2d96bc6f459aa8c6282a1">http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz</action>                     <action type="autoconf">--with-shared --enable-symlinks --without-cxx --without-cxx-binding --without-ada --without-progs --without-curses-h --without-debug --enable-widec --enable-const --enable-ext-colors --enable-sigwinch --enable-wgetch-events</action>                 </actions>                 <action type="set_environment">                     <environment_variable action="set_to" name="NCURSES_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>                     <environment_variable action="set_to" name="NCURSES_LIB_PATH">$INSTALL_DIR/lib/</environment_variable>                     <environment_variable action="set_to" name="NCURSES_ROOT_PATH">$INSTALL_DIR</environment_variable>                     <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>                     <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>                     <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>                     <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>                     <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>                 </action>             </actions_group>         </install>         <readme>             ncurses (new curses) is a programming library that provides an API which allows the programmer             to write text-based user interfaces in a terminal-independent manner         </readme>     </package> </tool_dependency>
However, I ran into a new problem when reinstalling ncurses:
 Error installing tool dependency ncurses version 5.9: 'ascii' codec can't encode character u'\u2018' in position 251: ordinal not in range(128)
I would really appreciate any suggestion on how to fix this. Thank you!

I am so sorry the formatting of the code in the post is all wrong!

That's okay about formatting.
So, I have not seen that specific error before. You could try installing ncurses through your system package manager (apt or yum). The exact version I don't think matters so much, this was just the version available in Galaxy as a dependency when those tools were written.
Note that we are nearing completion of a release of SNVPhyl that will use conda to install dependencies (rather than the older methods used by Galaxy) - #15 . So, this issue should hopefully go away fairly soon.

Hi. Thank you so much for the response! I had ncurses installed via apt, but how do I make Galaxy know where it is so the dependencies error goes away?
Can't wait to use a version utilizing CONDA.

You can disable/uninstall ncurses in Galaxy by going to Admin > Manage tools, selecting package_ncurses_5_9 and uninstalling it from Galaxy. If ncurses is available on the machine Galaxy is running the tools on it should just use the system version instead.

I am so excited about the version utilizing conda! Any idea when it'd be released?
Thank you!

It's available on the Main Galaxy Toolshed right now (https://toolshed.g2.bx.psu.edu/view/nml/suite_snvphyl_1_1_0/1f0f9b1b5580). And updated workflows are available at https://github.com/phac-nml/snvphyl-galaxy/tree/development/docs/workflows/SNVPhyl/1.1.0. We just haven't gotten our documentation all updated.


Aws signing enhancements

This does a few things & could be broken up as several PRs but since they're mostly related to AWS or just documentation hopefully you'll accept it as one:

Signs root "/" request for version so that version can be determined correctly when working with older (< version 5) ES clusters

Uses the AWS SDK CredentialProviderChain to allow users to specify credentials in a number of standard ways, most importantly adding support to automatically get credentials from the EC2 metadata service or task role credentials in ECS. These really can't be supplied by the command line or as a file as they are automatically rotated every hour. I believe I didn't break any existing command line options, but switched to using aws-sdk instead of awscred npm module. See:
https://aws.amazon.com/blogs/security/a-new-and-standardized-way-to-manage-credentials-in-the-aws-sdks/
or for Javascript specifically
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CredentialProviderChain.html#defaultProviders-property

Small doc enhancements

Adds a docker-compose file as an aid to anyone trying to run tests locally as the tests expect an elasticsearch container to be running at localhost:9200. Hopefully this isn't confusing to someone thinking this is a way to run elasticdump in Docker

Happy to rebase this or take out the parts you don't like.

@evantahler is this PR missing anything? Was wondering if you had feedback or if this could get merged...

@evantahler my mistake, ignore last comment. I'm not a Node expert. I guess require('path') is something built-in to Node and I mistakenly thought that meant I relied on an npm module by that name.
🤦♀
https://nodejs.org/api/path.html


License

@JamieStumpORNL let me know what you think of the source header - I'll update the rest if you're okay with it. I'm tired of those random symbols showing up everywhere

Should this be included in each source file? Just main? Asking because I don't know.

As far as I know all of this is best practices only (the license applies regardless of where it is in the repo, etc.). I regularly add a small header in each file, but not the full license. I can add it to the rest of the files


Search give 'no results' even with existing data

https://user-images.githubusercontent.com/83201188/149456827-d60b2004-c3ff-42d6-aeef-dac3d0ab0a99.mov

@parthp2107 can you try this with latest master. Please make sure your docker setup is properly installed


Bump golang version to 1.23

We can bump in the release with Cosmos SDK v0.52, so that we stay in sync.

is currently being done in https://github.com/cosmos/ibc-go/pull/7261

Done


CS2 Feature Requests

Post here your ideas for new features or improvements of existing features for Counter-Strike 2 version of Osiris.
You can vote with "thumbs up" reaction 👍

chams

FOV circle

would love to see an implementation of a grenade prediction

Glow

disable post processing
disable blood

Grenade helper would be very effective

More advanced Inventory Changer allowing to make custom combinations.

Allowing to choose skin from different weapons
Allowing to choose weapons Quality
(Normal, Genuine, Vintage, Unique, Community, Valve, Protoype, Customized, StatTrak, Completed, Souvenir)
Allowing to change Ratity
(White, Gray, Light blue, Blue, Purple, Pink, Gold. etc)
Allowing to change 4 Colors and Pearlescent
Classic NameTag and Stattrack Support

It shouldn't be hard for you by looking what you have done till today

Grenade Proximity Warning (Tells player where grenades will explode)

ESP Players and Items/Objects.

Inventory Changer

aimbot

fakelag

I have standalone rcs code that I fixes up for csgo that could be easily ported over to cs2 that way I don't have to keep adding it myself. @danielkrupinski

class CConVar
{
public:
    const char* szName; // 0x0000
    CConVar* m_pNext; // 0x0008
    MEM_PAD(0x10); // 0x0010
    const char* szDescription; // 0x0020
    uint32_t nType; // 0x28
    uint32_t nRegistered; // 0x2C
    uint32_t nFlags; // 0x30
    MEM_PAD(0xC); // 0x34
    uint64_t nValue; // 0x40
    uint64_t nValueBackup; // 0x48
};

class IEngineCvar
{
public:
    MEM_PAD(0x40);
    CUtlLinkedList<CConVar*> listConvars;
};

// @note: https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/tier1/utllinkedlist.h for CUtlLinkedList
// should be the same
// pseudo code for itering all the convars will be
for (int nIndex = I::Cvar->listConvars.Head(); nIndex != I::Cvar->listConvars.InvalidIndex(); nIndex = I::Cvar->listConvars.Next(nIndex))
{
  CConVar* pConVar = I::Cvar->listConvars.Element(i);
  // FCVAR_HIDDEN =					(1 << 4)
  // FCVAR_DEVELOPMENTONLY =			(1 << 1)
  // unlock it!
}

unlock hidden cvars, cre: me :D, im too lazy to do a pr

Bomb Timer / Defuse Timer
⏰

Bomb Timer / Defuse Timer ⏰

bruh its already made

Stand alone RCS

@danielkrupinski please add a cheat feature  that "Disables source 2 lightings and all other shit effects to make CS2 run smooth on low end pc".
In the CSGO Version of Osiris the "no-shadow","3d sky disable" and few other graphical features such as "Post-processing" made the game playable for me with decent fps.
At least add some rare pattern finder for CS2.
Try adding features that don't temper with games memory. ESP with overlay is the extreme example that didn't cause a single ban by VAC-net.
I have played with externals so my pov might be different.

Guys try and keep it simple to start with,things like silent aim and rcs will come after aimbot, vacnet bypasses didn't Evan exist in csgo it's based on not playing blatant. Fakelag might not be possible or atleast effective with how subtick is done.
We don't need Grenade helper it's not hard to learn 4-5 lineups per map and it's very hard to do because it adds a lot to cfg size and loading bloat. Glow was detected for a while in csgo.
These are some of the issues with suggestions I have seen so far sorry for the long rant but keep things simple it will probably take months.

sv_pure bypass
Bhop
SkyChanger
World Color Changer
Backtrack
RCS
Clantag Changer

Trade ups (if it's possible)

Csgo standalone rcs code, with removed random rcs because it's useless
auto aimPunch = activeWeapon.requiresRecoilControl() ? localPlayer.get().getAimPunch : csgo::Vector{ }; if (config.aimbot[weaponIndex].standaloneRCS && !config.aimbot[weaponIndex].silent) { csgo::Vector lastAimPunch{ }; if (localPlayer.get().getShotsFired() > config.aimbot[weaponIndex].shotsFired) { setRandomSeed(*memory.predictionRandomSeed); static csgo::Vector currentPunch{ lastAimPunch.x - aimPunch.x, lastAimPunch.y - aimPunch.y, 0 }; if (config.aimbot[weaponIndex].randomRCS) { currentPunch.x *= getRandom(config.aimbot[weaponIndex].recoilControlX, 1.f); currentPunch.y *= getRandom(config.aimbot[weaponIndex].recoilControlY, 1.f); } else { currentPunch.x *= config.aimbot[weaponIndex].recoilControlX; currentPunch.y *= config.aimbot[weaponIndex].recoilControlY; } cmd->viewangles += currentPunch; } engineInterfaces.getEngine().setViewAngles(cmd->viewangles); lastAimPunch = aimPunch; }

someone can help me?? release x86 doesn't appear in my visual code

Add contracts in to inventory changer

EdgeJump
JumpBug / High-hops
Edgebug Assist
All requires Engine Prediction so idk how possible it is rn.

hvh related stuff would be fun to see imo

Cases and keys in the inventory changer.

aim, visuals, inventory changer.

Built in injector

Hello Daniel, I really liked your osiris project and I have a paid proposal for you, how can I contact you?

i'll request some simple stuff
NoFlash and NoLegs

Skinchanger

3 Simple features

NoFlash
BunnyHop
Radar

class CConVar
{
public:
    const char* szName; // 0x0000
    CConVar* m_pNext; // 0x0008
    MEM_PAD(0x10); // 0x0010
    const char* szDescription; // 0x0020
    uint32_t nType; // 0x28
    uint32_t nRegistered; // 0x2C
    uint32_t nFlags; // 0x30
    MEM_PAD(0xC); // 0x34
    uint64_t nValue; // 0x40
    uint64_t nValueBackup; // 0x48
};

class IEngineCvar
{
public:
    MEM_PAD(0x40);
    CUtlLinkedList<CConVar*> listConvars;
};

// @note: https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/tier1/utllinkedlist.h for CUtlLinkedList
// should be the same
// pseudo code for itering all the convars will be
for (int nIndex = I::Cvar->listConvars.Head(); nIndex != I::Cvar->listConvars.InvalidIndex(); nIndex = I::Cvar->listConvars.Next(nIndex))
{
  CConVar* pConVar = I::Cvar->listConvars.Element(i);
  // FCVAR_HIDDEN =					(1 << 4)
  // FCVAR_DEVELOPMENTONLY =			(1 << 1)
  // unlock it!
}

unlock hidden cvars, cre: me :D, im too lazy to do a pr

hey how do I implement this?

i already show u how on the code, if u can't then just learn how to code first sir

AntiDLL (serverside anticheat) bypass, if this plugin is ported to CS2.

see headshot line

see headshot line

most useless feature someone could ever create

Well we need all the features of CS:GO Osiris!
But the 2 most important features for now would be:

Visuals
(
This is the most important feature we need!
In csgo i can get 120fps avg 200fps max of course using Osiris Visual features like disable post processing and 3d sky etc
but in CS2 i can barely get 60 fps with the same video settings.
)

Skin Changer
(
This one i miss the most :(
I used to have a config with all the #1 patterns
)

Legit AA,silent aim/aimbot,multipe hitboxes,invisible chams,inv changer and the old visuals

I see a few others say it but the Inventory Changer and Case openings would be amazing.
This is a feature I am willing to pay money for either implimentation or coaching from you or another member to put in myself.
I've made changes to GO-siris to customize features but I am completely lost on finding and editing existing offsets using something like the CS2 SDK.

There seems to be a working psilent in some cheats, at least demo psilent

aimbot as in csgo

Safe: ESP(box, bones, distance, bomb, diffuse, weapons, enemy watching trajectory), mouse event aimbot, rcs, triggerbot, bomb timer, spectators list, rank checker etc.
Unsafe: Silent shot, rapidfire, nosmoke/flash, AA, fakeduck, backtrack and other hvh stuff
Especially: Disable post proc, inventory changer, sky box changer, fake VAC ban, anti kick, fake medals/awards, screen capture bypass, clantags, mb cheat users list)

Safe: ESP(box, bones, distance, bomb, diffuse, weapons, enemy watching and grenade trajectory), mouse event aimbot, rcs, triggerbot, bomb timer, spectators list, rank checker etc. Unsafe: Silent shot, rapidfire, nosmoke/flash, AA, fakeduck, backtrack and other hvh stuff Especially: Disable post proc, inventory changer, sky box changer, fake VAC ban, anti kick, fake medals/awards, screen capture bypass, clantags, mb cheat users list)

Have you seen any clantags in cs2?

Box Esp Bone Esp And Chicken Esp

documentation for editing the cheat and or show how to make boxes with the stuff you have provided

a pop out radar meant to be fullscreened on a second monitor

parkour and grenade lineups. it just does some of the tricky jumps/throws for you with a starting position marker and a keybind.

amplify footsteps. just the ability to turn up the footsteps of enemies and turn down the footsteps of friendlies

legit silent aim. it will only shoot one hitbox above where you are aiming.  if you are aiming at their neck it will hit a slightly random headshot in a spray

silent aim rcs smoothing. it is just normal rcs but it removes some of the rigidity when pulling to make it smoother

ping spoof. the ability to set ur 40 ping to appear like 10-12 instead of just being locked at a single number

bullet tracers and hit sounds

third person

third person
bullet tracers and hit sounds
ping spoof. the ability to set ur 40-45 ping to appear like 10-12 instead of just being locked at a single number
silent aim rcs smoothing. it is just normal rcs but it removes some of the rigidity when pulling to make it look smoother
legit silent aim. the option to only shoot one hitbox above where you are aiming. if you are aiming at their neck it will hit a slightly random headshot more often in a spray
double wall chams. the player is a different color when they are behind more then 1 wall to prevent the cheater from expecting someone who inst actually going to peek you
amplify footsteps. just the ability to turn up the footsteps of enemies and turn down the footsteps of friendlies
parkour and grenade lineups. it just does some of the tricky jumps/throws for you with a starting position marker and a keybind.
a pop out radar meant to be fullscreened on a second monitor
a proper legitbot
it is more or less the same as triggerbot plus circle fov aimassist but sometimes they can look more natural when they are directly tied together for things like bursts or by making the secord/third shot more accurate, first shot delay and hitbox transition.
a setting for each gun and a setting for all guns in a category.
while allowing triggerbot to be set with diff settings

bhop

rapid fire

rapid fire

that would be extremely detected especially because of vacnet

Hello Daniel, I want to express my gratitude for everything you do. I have a suggestion for your consideration regarding displaying dropped ammunition on the ground so that it can be found more easily after the opponent is eliminated. Additionally, it would be great if we could have the same visual effect on opponents as when you watch a demo. It would be fantastic if this feature could be implemented, as I believe it is something that this tool currently lacks.

from easier to implement to harder:

bomb carrier (should be few lines of code)
item esp
trigger bot
box
radar
no flash
aim assist (with a smaller pov)
esp
aimbot (with full pov)

most critical ones in my opinion are:

trigger bot ( implementation of this feature will allow further modules to work )
esp (since we currently can't determine the direction of the bot)

Post here your ideas for new features or improvements of existing features for Counter-Strike 2 version of Osiris. You can vote with "thumbs up" reaction 👍

Add Skeleton feature in Osiris 2

In future u can Include all features from Osiris version 1 that you created for CS:GO in Osiris 2 for CS2

Some features that would be cool to see are:
ESP:

Box ESP.
Skeleton ESP.
Name ESP.
A option to have the features at the top/bottom/left or right.

Other:

Aimbot.                            (With slider for fov, smooth, hitbox groups ofc either per weapon / per weapongroup)
Triggerbot.                       (Hitbox, delay etc)
Invetory/skin Changer.
Viewmodel Changer.       (Just a fun feature to use.)

Some features that would be cool to see are:
ESP:

Box ESP.
Skeleton ESP.
Name ESP.
A option to have the features at the top/bottom/left or right.

Other:

Aimbot.                            (With slider for fov, smooth, hitbox groups ofc either per weapon / per weapongroup)
Triggerbot.                       (Hitbox, delay etc)
Invetory/skin Changer.
Viewmodel Changer.       (Just a fun feature to use.)

dude can't read older requests to see is it already requested.

Some features that would be cool to see are:
ESP:

Box ESP.
Skeleton ESP.
Name ESP.
A option to have the features at the top/bottom/left or right.

Other:

Aimbot.                            (With slider for fov, smooth, hitbox groups ofc either per weapon / per weapongroup)
Triggerbot.                       (Hitbox, delay etc)
Invetory/skin Changer.
Viewmodel Changer.       (Just a fun feature to use.)

dude can't read older messages to see is it already requested.

Or I just didn't read it cause I'm gonna read everything

add a bhop (bunny hop) feature

Some features that would be cool to see are:
ESP:

Box ESP.
Skeleton ESP.
Name ESP.
A option to have the features at the top/bottom/left or right.

Other:

Aimbot.                            (With slider for fov, smooth, hitbox groups ofc either per weapon / per weapongroup)
Triggerbot.                       (Hitbox, delay etc)
Invetory/skin Changer.
Viewmodel Changer.       (Just a fun feature to use.)

dudes can't read older messages to see is it already requested.

Or I just didn't read it cause I'm gonna read everything

at this point just dont ask. Daniel wont read everything.

what about a ai that plays for you and trains its self on your pc against bots and other players in casual and learn via comp to

what about a ai that plays for you and trains its self on your pc against bots and other players in casual and learn via comp to

ur pc would blow up

add normal esp and aimbot nigger

@danielkrupinski please add a cheat feature that "Disables source 2 lightings and all other shit effects to make CS2 run smooth on low end pc".
In the CSGO Version of Osiris the "no-shadow","3d sky disable" and few other graphical features such as "Post-processing" made the game playable for me with decent fps.
At least add some rare pattern finder for CS2.
Try adding features that don't temper with games memory. ESP with overlay is the extreme example that didn't cause a single ban by VAC-net.
I have played with externals so my pov might be different.

Until now, did @danielkrupinski implement some features to reduce significant graphics settings that couldn't be adjusted from the game?

Make the enemies show the same status preview as the friendlies.

silent aim auto wall

Triggerbot and a feature to see who all are spectating the player

Please add a simple skin changer

Aimbot
bhop(optionally simple auto strafe and auto ducking in air)
visible/invisible only glow settings
and Triggerbot

Would be very cool to have observerservices so certain things can still be shown in spectator. Currently glow is disabled when you are dead, presumably because it will show the glow of the person you are spectating and look super funky.
Could be nice to have a is local player spectating this pawn check, so these can always be shown.

NoFlash

add aimbot features like silent aim and trigger  bot

imgui


Implement AWarp distance measure

Is your feature request related to a problem? Please describe.
AWarp is a variant of Dynamic Time Warping for sparse time series. It claims to be exact for binary-valued series and a close approximation for continuous-valued series. DTW can be prohibitively slow for large, sparse series and series which are unaligned (which leads to a sparse DTW matrix). In these cases, AWarp may provide something more feasible.
Describe the solution you'd like
Implement a new distance metric, 'awarp', that can be used in place of existing metrics when desired. Would it also be a good idea to fall back onto awarp automatically if dtw is requested but a high degree of sparsity is detected in the DTW matrix?
Describe alternatives you've considered
The only alternative I'm aware of is FastDTW, but AWarp claims to be much more performant (for sparse series at least).
A Python implementation now exists here: https://github.com/mclmza/AWarp. It uses Numba to further speed things up. Given how small the code is though, it could be easier to re-implement than wrap. It looks like this implementation uses dense matrices and iteration, so maybe some further improvements could be made by using sparse containers and (if possible) broadcasting.
I'm aware there is a discussion ongoing around data containers, so the best way to implement AWarp could depend on the outcome of this.
Additional context
The original paper, test datasets and an implementation in C++/Matlab can be found here.

This also raises an interesting question about event series, i.e., data which are the occurrence times of events.
AWarp is a kernel where vanilla inputs are event series, then applying a natural transformer which represents an event series as the sequence of inter-event-durations - which is separate from what you do after, and useful in isolation.
The second part of AWarp looks like it could be useful for any sequence of non-negative integers (or perhaps even reals).
@TonyBagnall or @jasonlines (with their view of the field) might be also able to comment better whether AWarp is a simple composite of the aforementioned transformation and, say, a warping distance we have already implemented somewhere.

hi, thanks for that. We have a load of alternative distance measures in development with these folk
https://arxiv.org/abs/1806.04509
which next year we will do an evaluation with. @goastler is working on it.
AWarp has not made it in yet, we have concentrated on equal spaced versions, but I am aware of it.  Is that Mueen's implementation? If so, I'll ask him if he wants to get involved porting it in, spoke to him earlier in the year and he was up for collaboration  ... at least thats how I remember it if your reading this Mueen :) Always good to have the initial authors involved.
Also, we may consider including Numba as I believe it is required by another algorithm, ROCKET.

Well, technically, after applying the transform to waiting times, you can consider the series equally spaced (it's just a sequence), although you may end up with different length.

Is that Mueen's implementation?

Yes - and I haven't compared the Python implementation in detail but it looks to be pretty much a straight copy of the original Mueen code.

@big-o thanks for raising this, Mueen is keen to collaborate and his student Sheng Zhong is going toi port it in. If you also want to contribute to this sub project I'm sure there will be room! I'll set up a slack channel for those interested to join

Thanks @TonyBagnall - it'll be great to finally have a solid and simple-to-use Python implementation. It sounds like you already have enough contribution effort for this so I wouldn't want to be the cook that spoils the broth, and I'm sure the authors can do a far better job of implementing this than me! I've also offered to help out on some time series classification work so I would probably be spreading myself too thin by getting involved in anything else right now. I'd be very interested in any updates to this though.


Error when creating repo merge on GitLab

🐛 Bug Report

Running the following command:
$  nukeeper repo https://gitlab.com/under-test/undertest.git ACCESSTOKENVALUE

results in the following output:
Matched uri 'https://gitlab.com/api/v4/' to collaboration platform 'GitLab'
Using upstream fork as push, for project under-test at https://gitlab.com/under-test/undertest.git
Git clone https://gitlab.com/under-test/undertest.git, branch default, to /var/folders/8g/tyrxmcbd33x_ghbldgptqcb80000gn/T/NuKeeper/repo-29dc10be34c2445694ce85b72e192e79
Found 23 packages
Filtered by Exclude 'Glob*' from 23 to 21
Found 21 packages in use, 20 distinct, in 3 projects.
Colorful.Console, CommandLineParser, CsvHelper, FluentAssertions, Gherkin, GitVersion.CommandLine, GitVersion.CommandLine.DotNetCore, JetBrains.Annotations, Microsoft.NET.Test.Sdk, Newtonsoft.Json, NuGet.CommandLine, NuGet.Core, Nuke.Common, nunit, NUnit.ConsoleRunner, NUnit3TestAdapter, Serilog, Serilog.Settings.AppSettings, Serilog.Sinks.Console, SimpleInjector
Found 2 possible updates
Nuke.Common from 0.22.2 to 0.23.4 in build/_build.csproj
SimpleInjector from 4.7.1 to 4.8.1 in src/UnderTest/UnderTest.csproj

Found 2 package updates
Nuke.Common to 0.23.4 from 0.22.2 in 1 place since 14 days ago.
SimpleInjector to 4.8.1 from 4.7.1 in 1 place since 10 hours ago.
Selection of package updates: 2 candidates
Selected package update of Nuke.Common to 0.23.4
Selected package update of SimpleInjector to 4.8.1
Updating 'Nuke.Common' from 0.22.2 to 0.23.4 in 1 projects
OpenMergeRequest failed to parse json to NuKeeper.Gitlab.Model.MergeRequest: Unexpected character encountered while parsing value: [. Path 'labels', line 1, position 1208.
Updates failed NuKeeperException : Failed to parse json to NuKeeper.Gitlab.Model.MergeRequest
Inner Exception JsonReaderException : Unexpected character encountered while parsing value: [. Path 'labels', line 1, position 1208.
Attempted 2 updates and did 0

The part I am reporting here is:

OpenMergeRequest failed to parse json to NuKeeper.Gitlab.Model.MergeRequest: Unexpected character encountered while parsing value: [. Path 'labels', line 1, position 1208.
Updates failed NuKeeperException : Failed to parse json to
NuKeeper.Gitlab.Model.MergeRequest
Inner Exception JsonReaderException : Unexpected character encountered while parsing value: > [. Path 'labels', line 1, position 1208.
Attempted 2 updates and did 0

Note: the merge request is still successfully created.
After downloading the repo and running locally(note: different repo as the first ran out of changes) in debug mode the posted JSON is in the form of:
{
    "id":"under-test/undertest.featurelint",
    "title":"Automatic update of Microsoft.NET.Test.Sdk to 16.4.0",
    "description":"NuKeeper has generated a minor update of `Microsoft.NET.Test.Sdk` to `16.4.0` from `16.3.0`\n`Microsoft.NET.Test.Sdk 16.4.0` was published at `2019-11-06T10:50:48Z`, 24 days ago\n\n1 project
    update:\nUpdated `src/UnderTest.FeatureLint.Common.Tests/UnderTest.FeatureLint.Common.Tests.csproj` to `Microsoft.NET.Test.Sdk` `16.4.0` from `16.3.0`\n\n[Microsoft.NET.Test.Sdk 16.4.0 on NuGet.org](https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/16.4.0)\n\n\nThis is an automated update. Merge only if it passes tests\n**NuKeeper**: https://github.com/NuKeeperDotNet/NuKeeper\n",
    "target_branch":"release-v0.5.0",
    "source_branch":"nukeeper-update-Microsoft.NET.Test.Sdk-to-16.4.0",
    "remove_source_branch":true,
    "labels":"nukeeper"}

and the response JSON is in the form of:
{
   "id":123,
   "iid":456,
   "project_id":789,
   "title":"Automatic update of Microsoft.NET.Test.Sdk to 16.4.0",
   "description":"NuKeeper has generated a minor update of `Microsoft.NET.Test.Sdk` to `16.4.0` from `16.3.0`\n`Microsoft.NET.Test.Sdk 16.4.0` was published at `2019-11-06T10:50:48Z`, 24 days ago\n\n1 project update:\nUpdated `src/UnderTest.FeatureLint.Common.Tests/UnderTest.FeatureLint.Common.Tests.csproj` to `Microsoft.NET.Test.Sdk` `16.4.0` from `16.3.0`\n\n[Microsoft.NET.Test.Sdk 16.4.0 on NuGet.org](https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/16.4.0)\n\n\nThis is an automated update. Merge only if it passes tests\n**NuKeeper**: https://github.com/NuKeeperDotNet/NuKeeper",
   "state":"opened",
   "created_at":"2019-12-01T00:59:35.849Z",
   "updated_at":"2019-12-01T00:59:35.849Z",
   "merged_by":null,
   "merged_at":null,
   "closed_by":null,
   "closed_at":null,
   "target_branch":"release-v0.5.0",
   "source_branch":"nukeeper-update-Microsoft.NET.Test.Sdk-to-16.4.0",
   "user_notes_count":0,
   "upvotes":0,
   "downvotes":0,
   "assignee":null,
   "author":{
      ...
   },
   "assignees":[

   ],
   "source_project_id":123,
   "target_project_id":123,
   "labels":[
      "nukeeper"
   ],
   "work_in_progress":false,
   "milestone":null,
   "merge_when_pipeline_succeeds":false,
   "merge_status":"can_be_merged",
   "sha":"...",
   "merge_commit_sha":null,
   "squash_commit_sha":null,
   "discussion_locked":null,
   "should_remove_source_branch":null,
   "force_remove_source_branch":true,
   "reference":"!191",
   "web_url":"https://gitlab.com/under-test/undertest.featurelint/merge_requests/191",
   "time_stats":{
      "time_estimate":0,
      "total_time_spent":0,
      "human_time_estimate":null,
      "human_total_time_spent":null
   },
   "squash":false,
   "task_completion_status":{
      "count":0,
      "completed_count":0
   },
   "has_conflicts":false,
   "blocking_discussions_resolved":true,
   "subscribed":true,
   "changes_count":"1",
   "latest_build_started_at":null,
   "latest_build_finished_at":null,
   "first_deployed_to_production_at":null,
   "pipeline":null,
   "head_pipeline":{
      ...
   },
   "diff_refs":{
      "base_sha":"fb8227416707db2d40ac0fa77ed428d2c26b40f7",
      "head_sha":"1763aa2df31c37c8bd891d44fd220f41607bb743",
      "start_sha":"fb8227416707db2d40ac0fa77ed428d2c26b40f7"
   },
   "merge_error":null,
   "user":{
      "can_merge":true
   },
   "approvals_before_merge":null
}

the important item here is labels(it's an array):
"labels":[
  "nukeeper"
],

It is a string in MergeRequest.
I see this as something GitLab must have changed that we need to catch up to.
Expected behavior
Merges are created without error.
Reproduction steps
Run the following command template on a GitLab repo where one or more :
$  nukeeper repo https://gitlab.com/under-test.featurelint/undertest.git ACCESSTOKENVALUE

my specific command was:
$  nukeeper repo https://gitlab.com/under-test.featurelint/undertest.git ACCESSTOKENVALUE --maxpackageupdates 999 --age 0 -d=true --fork=SingleRepositoryOnly --useprerelease=Never

Configuration
Version: 0.26.0 (also tried 0.25.0)
Platform if applicable:

[ ] :hammer_and_wrench: NuKeeper CLI
[ ] :sparkles: GitHub
[ ] :robot: AzureDevops
[ ] :checkered_flag: Bitbucket
[x] :earth_americas: Gitlab
[ ] :tv: Gitea
[ ] :whale: Docker

Fixed in #902


Manual install appears to work then running a tool it fails

Hi
hoping you can help
I carried out a manual install as https://github.com/R-ArcGIS/r-bridge-install/issues/33 this all checks out as installed when running RInstall Details (see bottom). This is on server without internet access
When I try sample tools from the sample projects I get:
Running script ModelBasedClustering...
Cannot find 'rarcproxy.dll'.
Plese install Rintegration package.
Failed to execute (ModelBasedClustering).
Executing: RInstallDetails
Start Time: Wed Jan 04 17:10:16 2017
Running script RInstallDetails...
R (version 3.3.2), installed in: C:\Program Files\R\R-3.3.2
R packages will be installed into: C:\Program Files\R\R-3.3.2\library
All R package libraries detected: C:\Program Files\R\R-3.3.2\library
The ArcGIS R package (version <IP_ADDRESS>) is installed at: C:\Program Files\R\R-3.3.2\library\arcgisbinding
Completed script RInstallDetails...
Succeeded at Wed Jan 04 17:10:16 2017 (Elapsed Time: 0.15 seconds)

Hello @nickhmorgan,
What version of ArcGIS are you using?

Thank you Shaun
That looks clear I’ll try 32 bit R
I’m using ArcGIS 10.3.1

library(arcgisbinding)
*** Please call arc.check_product() to  define a desktop license.
arc.check_product()
Error: Could not bind to a valid ArcGIS Pro installation.
Found ArcGIS Desktop (32-bit) Version 10.3.4959.
You'll need to use the 32-bit version of R.

Nick Morgan Senior GIS Analyst Geo Apps
Met Office  Fitzroy Road  Exeter  Devon  EX1 3PB
Tel: 44 (0)1392 886305  Fax: 44 (0)1392 885681
Email: nick.morgan<EMAIL_ADDRESS>Web: http://www.metoffice.gov.ukhttp://www.metoffice.gov.uk/
From: Shaun Walbridge<EMAIL_ADDRESS>Sent: 04 January 2017 17:35
To: R-ArcGIS/r-bridge-install
Cc: Morgan, Nick; Mention
Subject: Re: [R-ArcGIS/r-bridge-install] Manual install appears to work then running a tool it fails (#39)
Hello @nickhmorganhttps://github.com/nickhmorgan,
What version of ArcGIS are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/R-ArcGIS/r-bridge-install/issues/39#issuecomment-270433207, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXxBXMqGwC4GGf98WpSnKF9AL9lIdUA3ks5rO9gygaJpZM4La2hy.

For ArcGIS 10.3.1 you need one extra step to complete install.
Open Command Prompt cmd.exe and execute following commands (change path if needed):
mkdir "C:\Program Files (x86)\ArcGIS\Desktop10.3\Rintegration"
mklink /J "C:\Program Files (x86)\ArcGIS\Desktop10.3\Rintegration\arcgisbinding" "C:\Program Files\R\R-3.3.2\library\arcgisbinding"

To validate symlink browse to C:\Program Files (x86)\ArcGIS\Desktop10.3\Rintegration and click on arcgisbinding folder, explorer should open it.

Thanks Shaun it ran OK in the R session but still had issues with accessing a dll when running a sample tool.
Thank you dpavlushko the mklink the sample tool worked (it did demand write access to the R library directory.


Elevated button does not have enabled flag

Steps to Reproduce

Change your flutter version to stable: 1.22.4
Create a layout.
Add an Elevated button and give it an onPressed method.
Try to add an enabled flag to the button.
Can also check the ElevatedButton source code and find that the enabled flag is not present in the constructor.

Expected results: elevated flag available for ElevatedButton
Actual results: elevated flag present in flutter docs, but not implemented for ElevatedButton in flutter 1.22.4 stable.

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.18363.1198], locale en-GB)
    • Flutter version 1.22.4 at C:\Development\flutter
    • Framework revision 1aafb3a8b9 (2 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\Killmonger\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\Killmonger\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (2 available)
    • Pixel 3a (mobile)            • 96BAY0X1GG    • android-arm64 • Android 11 (API 30)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86   • Android 9 (API 28) (emulator)

@Kalela
AFAIK to disable a button you can assign a null onPressed method
if it's disabled the method doesn't do anything anyway

Thanks for the response @iapicca. I also rechecked the docs and noticed the enabled flag is read-only. My bad.


ARTEMIS-3398 - fix filtering in console with filter

https://issues.apache.org/jira/browse/ARTEMIS-3398

I don't know how to verify this, so I will just trust you.


Better document how auth works with Docker

We often get a question: "how to create docker container with creadentials?"
I usually refer people to the docs we have on init-file: https://memgraph.com/docs/configuration/configuration-settings#use-the-init-file-flag-with-docker
But, setting the username and password via env is much easier: https://memgraph.com/docs/configuration/configuration-settings#environment-variables
We should document that the following Docker Compose creates a user, because it's not clear from the Environment variables
docs that MEMGRAPH_USER and MEMGRAPH_PASSWORD is not only for auth, but also for creating user, especially when having MEMGRAPH_PASSFILE too:
version: "3"
services:
  memgraph-platform:
    image: memgraph/memgraph-platform
    ports:
      - "7687:7687"
      - "3000:3000"
      - "7444:7444"
    volumes:
      - mg_lib:/var/lib/memgraph
      - mg_log:/var/log/memgraph
      - mg_etc:/etc/memgraph
    environment:
      - MEMGRAPH_USER=katarina
      - MEMGRAPH_PASSWORD=pass
volumes:
  mg_lib:
  mg_log:
  mg_etc:

I think we should come up with a couple of examples when to use which approach and how to correctly set up auth with Docker (Compose) or without it.

Needs to be checked and see what is the best approach

The above can happen if you previously had volumes set and it gets messed up. We need to be careful with volumes!

@katarinasupe I would focus on this after we move the Memgraph Platform to Memgraph Mage+Memgraph Lab combination. That will also bring new docker compose file.


[FEAT]: An Icon package

Can we use an icon package like react-icons to easily add our Icons to the website instead of mounting inside Class Names.

Can you give some examples and a link?

#390

@eddiejaoude I think we can use Font Awesome as it provides icons of almost every social media platform and many more we will be needing like FB, Insta, YouTube, Discord .
You can have a look at their website https://fontawesome.com/

Examples of an icon package:

React Icons

Easily addable as a package using npm and yarn
Very useful to integrate with React.
Diverse and supports various icons

Font-Awesome Icons

Diverse and supports various icons.

Can I work on adding a icon package if we need one?

Issue solved see #394

It isn't, we were discussing an addition and waiting for conseus

I think we're awaiting votes to decide on the best package instead of the patch and waiting for consensus. Please donot patch changes which are being discussed. Once the best icon package according to the comm is decided, we can move to patches.

I was also thinking that we were having a discussion over here and will have some kind of voting
But anyway @AbhijithGanesh I think Font Awesome will be more friendly as we will be just using a CDN and not the entire package, What do you think ?

I think we're awaiting votes to decide on the best package instead of the patch and waiting for consensus. Please donot patch changes which are being discussed. Once the best icon package according to the comm is decided, we can move to patches.

I was also thinking that we were having a discussion over here and will have some kind of voting
But anyway @AbhijithGanesh I think Font Awesome will be more friendly as we will be just using a CDN and not the entire package, What do you think ?

I think using react icons will be more suitable for other applications at the same time it's more versatile and contains more icons w.r.t font awesome package. Font awesome lacks support for certain applications like hashnode, Dev, etc

But don't you think Font awesome will be enough to provide all the icons we will be needing and it Seems like React icons also provide Font awesome icons in a form of a package. So now we have 2 options either to use Font awesome from the package or the CDN

Font awsome will be better

tbh I think we should either use Devicons or SimpleIcons they have almost every icon a dev needs

We'll have a final poll today then?

tbh I think we should either use Devicons or SimpleIcons they have almost every icon a dev needs

I tried using both But Devicon they don't have icons for Instagram and discord but I like Simple icons.

tbh I think we should either use Devicons or SimpleIcons they have almost every icon a dev needs

I tried using both But Devicon they don't have icons for Instagram and discord but I like Simple icons.

So then let's do simple icons

We'll have a final poll today then?

I'll create a poll here in a discussion...

Check this: https://github.com/EddieHubCommunity/LinkFree/discussions/417

Should we end the poll now?

Yes I think we can end it

I would love to work on this issue after the icon package is resolved


[ hdot ] Use precision-enhanced hdot

hdot : (1 x K ) x (K X 1 ) -> 1 (scalar)

Previous hdot was using full-fp16.
Since this is also one of dimension-shrinking computation, should use inter-fp32 values to enhance precision.
This has not been detected due to small dimension Tensor usage in unittest. Add higher dimension test case accordingly.

A. Accuracy w.r.t cblas-f32

dim
hdot-f16
hdot-f16f32

1024
0.250061
3.72529e-09

2048
2.07308
0.00362171

4096
11.8475
0.195379

B. Latency

dim
hdot-f16
hdot-f16f32
cblas-f32

1024
261 ns
280 ns
347 ns

2048
328 ns
359 ns
1473 ns

4096
508 ns
562 ns
909 ns

Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2555. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


MAINT: adds rpy2 to amplicon distro

Hey @colinvwood can you add this to the breaking changes/env files forum post?


Indicate that there is no data in a table

Indicate that there is no data in a table, with a message.

Fixed.


Event animateStarted or Inactivity started

Hi, I set the autoRotateInactivityDelay parameter and when it happens, I need to change the YawBounds from 180 to 90. Then when the animation is finished I set again the Yawbounds from 90 to 180.
The problem is that I don't know what event can I use when the animation starts.
When Animation finishes I do the next:
viewer.on("animatefinished", function(){
viewer.setYawBounds(-180, 180);
});
Is there a way to do a "animatestarted" event? If not, what should I?
Thanks!

This is not currently supported.


Please help me to understand some code

Hello,
I'm trying to use this library but I'm stuck. Can you please help me to understand how to filter function work with the collection filtering and how data appears?
Thank you

Hi @Ajay8444, I'd be happy to answer specific questions but I'm going to have to point you to the documentation. If there is something in the documentation isn't clear on or doesn't cover feel free to ask for clarification. Thanks


Issue 37799: Bulk edit button on list doesn't accurately reflect selected row count

@labkey-sweta can you please verify:
https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=37799


Cron job - withoutOverlapping - Stuck

Laravel Version: 5.2
PHP Version: PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33)
Database Driver & Version: mysql  Ver 14.14 Distrib 5.5.52, for debian-linux-gnu (x86_64) using readline 6.3

Description:
Sometimes the cron jobs don't run anymore. The reason is that the mutex file isn't cleaned after a run, so next runs keep skipping. Now is the temporary solution to just manually remove the mutex file.
https://laracasts.com/discuss/channels/laravel/laravel-task-scheduler-after-fatal-error-when-withoutoverlapping-is-set
Why doesn't Laravel use a file-locking mechanism (flock)? When a process is killed or an exception is thrown the file is automatically unlocked. The next run then will only be blocked when there already is a process running.
For example:
https://gist.github.com/PieterScheffers/8ca62d1e56cf93e03e08df82ca305989

Laravel 5.2 is not officially supported anymore.

It happens to me on Laravel 5.4
everyMinute() works
but
everyFiveMinutes() doesn't
What can I do?

Laravel 5.4 is not supported either

@andyscraven only LTS releases (5.1, 5.5).


Loading images in browser MissingAllowOriginHeader issue

Hi,
Hi, I am building a compose app  that should load images from a 3rd party website in a grid. I am using the 1.7.2-SNAPSHOT from  https://github.com/qdsfdhvh/compose-imageloader/issues/151. It works as expected for all native platforms but in the browser, I get this error: Cors-Origin Resource Sharing error: MissingAllowOriginHeader .
When sending the image request, the browser adds an Origin and a Referer header. This seems relevant because the browser app I'm rewriting, doesn't send these two headers and images load correctly.
I think setting mode no-cors in the fetch API should solve the issue but I don't know how to do this using imageloader's API. Any help is appreciated.
Thanks!
florin

Currently, You can customise the ktorClient：
val imageLoader = ImageLoader {
    // ...
    components {
        setupDefaultComponents(
            httpClient = {
                HttpClient(/* OkHttp.create() or other */) {
                    // some ktor config
                }
            }
        )
    }
}

If you need to pass some parameters from the ImageRequest, you need to customise the ktor fetcher  with the help of the Options.extra:
val imageRequest = ImageRequest {
    // ...
    options {
        extra {
            put("headerMap", mapOf("key1" to "value1"))
        }
    }
}

// ...
import io.ktor.http.Url

class CustomKtorUrlFetcher(
    private val httpUrl: Url,
    private val headerMap: Map<String, String>,
    httpClientFactory: () -> HttpClient,
) : Fetcher {

    private val httpClient by lazy(httpClientFactory)

    override suspend fun fetch(): FetchResult {
        val response = httpClient.request {
            url(httpUrl)
            headers {
                headerMap.forEach { (key, value) ->
                    append(key, value)
                }
            }
        }
        if (!response.status.isSuccess()) {
            error("code:${response.status.value}, ${response.status.description}")
        }
        return FetchResult.OfSource(
            source = Buffer().apply {
                write(response.bodyAsChannel().toByteArray())
            },
            extra = extraData {
                mimeType(response.contentType()?.toString())
            },
        )
    }
    class Factory(private val httpClientFactory: () -> HttpClient) : Fetcher.Factory {
        override fun create(data: Any, options: Options): Fetcher? {
            if (data !is Url) return null
            val headerMap = options.extra["headerMap"] as Map<String, String>
            return CustomKtorUrlFetcher(
                httpUrl = data,
                headerMap = headerMap,
                httpClientFactory = httpClientFactory,
            )
        }
    }
}

// Use

val imageLoader = ImageLoader {
    // ...
    components {
        add(CustomKtorUrlFetcher.Factory(
            httpClientFactory = {
                HttpClient(/* OkHttp.create() or other */) {
                    // some ktor config
                }
            }
        ))
    }
}

@florind were you able to make any more progress with this?

I ended up creating an image proxy:
wf_client = httpx.AsyncClient(base_url="base-url-for-images")
@app.get("{path:path}.png")
async def serve_image(path: str):
    url = httpx.URL(path=f"{path}.png")
    print(url)
    rp_req = wf_client.build_request("GET", url)
    rp_resp = await wf_client.send(rp_req, stream=True)

    return StreamingResponse(
        rp_resp.aiter_raw(),
        status_code=rp_resp.status_code,
        headers=rp_resp.headers,
        background=BackgroundTask(rp_resp.aclose),
    )


Can it be implemented in Angular?

I have implementing TailwindCss with Angular but I have not found how to implement this in Angular or if possible.

I'm working on something that would enable any framework to use Smelte by using plain js configuration object for all classes and using a small helper function to return a class string based on component state:
https://github.com/matyunya/smelte/blob/cb-v2/src/components/Button/config.js
const store = writable(config);
$: smelte = smelter($store, $$props);
...
<button
      class={smelte.button.class}
>


Fix error: Cannot read property twitter of undefined, in edit account

Hi @SachaG ,
I encountered this error when I was trying to add a Twitter username in my account. When I clicked the submit button, it returns this error message:
Cannot read property 'twitter' of undefined
So I changed a little code in the helper.js file of the vulcan:users package. And also in the UsersProfile.jsx file.
Please let me know if I did this correctly or not.
Thanks! :)

Good catch! But actually we only need the second part to make it work (user.profile.twitter to user.twitterUsername).

I'll add the fix myself :)


Update sbt-scoverage to 1.7.1

Updates org.scoverage:sbt-scoverage from 1.6.1 to 1.7.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.6.1).
You might want to review and update them manually.
common-test/src/main/ls/0.4.json
ui/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: sbt-plugin-update, semver-minor, old-version-remains

Superseded by #477.


frame/file triggers "ERROR Ferret crash; signal = 11"

There are many Ferret users at NOAA's Geophysical Fluid Dynamics Laboratory (GFDL). Recently, one of them began seeing the following error:
$ module load ferret/7.02
$ ferret
     *** NOTE: Unable to create journal file ferret.jnl
     NOAA/PMEL TMAP
     FERRET v7.02 (beta/optim)
     Linux 2.6.32-642.6.1.el6.x86_64 64-bit - 10/25/16
     22-Apr-20 20:01

yes? use /path/to/file1.nc
yes? use /path/to/file2.nc
yes? plot/thick=3 pslann[d=1,l=1:110,x=-110,y=40],pslann[d=2,l=1:110,x=-110,y=40]*.01
yes? LABEL/NOUSER .1 6.3, -1, 0, 0.14, "Title Of Plot"
yes? frame/file="output.gif"
**ERROR Ferret crash; signal = 11

This error occurs across numerous versions of the ferret environment module which are installed at GFDL — version 7.02 just happens to be the "default" version.
Attaching the gdb debugger to the ferret process produces this backtrace following the crash:
(gdb) bt
#0  0x0000000000759543 in Get_XColors ()
#1  0x0000000000759a8f in Window_Dump ()
#2  0x000000000075903a in put_frame_ ()
#3  0x0000000000662f46 in save_frame_ ()
#4  0x00000000005a2fe8 in xeq_frame_ ()
#5  0x000000000046ea93 in ferret_dispatch_ ()
#6  0x0000000000644e46 in ferret_dispatch_c ()
#7  0x000000000046d636 in command_line_run ()
#8  0x000000000046e10b in main ()
(gdb)

I am one of GFDL's Linux administrators, and I am filing this ticket on the behalf of a user in our Linux workstation environment. So far, I have been unable to reproduce this problem on my own, despite my best efforts to control environment variables (PATH, LD_LIBRARY_PATH, various FER_xx vars), loaded modules, permissions, and so on. The fact that the crash occurs in a function called Get_XColors makes me think that this is something I will need to fix, but I don't know where to look next.
Can you help me to understand what Ferret might be trying to do? Is there any additional testing or information which I can provide?

In the opening remarks, ferret reports
*** NOTE: Unable to create journal file ferret.jnl

which tells me you do not have write permission in the current directory.  Since you are attempting to save the GIF file to the current directory, I would suspect this is the cause.  I am not sure why it is showing up in this manner if this is the case.

I just tried this at GFDL, and also do not reproduce the error when I first do a module purge and then module load ferret/7.02.  Must be something in the user's environment, perhaps pointing to incompatible graphics libraries (qt, cairo)?  I think I've heard of problems like this before; I can't recall if it was the LD_LIBRARY_PATH, or the versions of the netcdf/hdf libraries loaded by FRE, or what.  Did you have them do a printenv and then diff that with yours?
Louis: if it helps, you can check out how I set up my (working) GFDL environment in:
/home/atw/.atw_environment

@karlmsmith  and @AndrewWittenberg , thank you for your prompt responses. I apologize for my own delayed response.
As luck would have it, we were investigating an unrelated issue and discovered that the TigerVNC server's color depth setting (-depth in the manpage) was to blame. In that case, the application in question failed to launch properly when using 16-bit color depth, and worked fine with 24-bit (native) color depth. Sure enough, re-running the aforementioned steps (with an adjustment for the read-only /archive FS, thanks @karlmsmith) crashes Ferret with 16-bit color and works fine with 24-bit color.
I will see if TigerVNC lists this as a known behavior with certain widget toolkits and report back my findings.


#121: Missing assembly in Orchard.DisplayManagement

Fixes #121
Add Microsoft.AspNet.Mvc.TagHelpers assembly in Orchard.DisplayManagement project.

I think it's a wrong fix as there is no direct dependency from Orchard.Displaymanagement but because you are adding it and this project is loaded, the view will find the assembly.
The Mvc.TagHelpers assembly is just adding specific tag helpers, the DisplayManagement module uses the extensibility points, not the actual tag helpers.
I might take this as a temporary solution but I will keep the issue open so we can find the correct solution, otherwise we'll hit the same issue with any other reference. For instance let's imagine your module depends on another package, boom, same issue.

@sebastienros oh i see, you're right, interesting. Can't right now, i'll take a look this night.

Maybe we should wait until rc2 is released as it will completely change how compilation is done.

@sebastienros
Ok, no worries, but i just got something that seems to work. Not sure it's a good fix that works in all scenarios, but it's a last attempt, see this PR #128...
Best


Investigate MongoDB indexing

Are you great at MongoDB performance tuning, or interested in learning about it? Then I have a great opportunity for you!
As we continue to create more and more records, I'd love to keep our search functionality snappy. I suspect that the way to do this is to add indexes on the stuff we search for all the time, but I leave it up to the person taking this on to investigate and recommend a path forward via a pull request.
Here are the fields users search on all the time:

Patient#primary_phone
Patient#other_contact_phone
Patient#name
Patient#other_contact

And here's something our system regularly uses when loading the dashboard:

Patient#urgent_flag

all about https://docs.mongodb.com/ruby-driver/master/tutorials/6.0.0/mongoid-indexes/


Logging of user wait time is inaccurate

default reporting.csv is set up to log the time when the system is awaiting a user response.
This implementation is insufficient for two reasons.

We don't get a representation of the start and end of the user wait so we can't know how long we waited
The hook used relies on pub sub which means that blocking actions will delay the stopwatch (eg. cmdline blocks until user response so the wait time is actually reported when the user response is complete whereas the gui is non-blocking and will log when the user response is started.

I think there are two possible approaches.

Have the sequencer to fire a log prior to any blocking call and immediately on the calls return. That gives us two logs with timestamps (we could call them for example, "user waiting" and "user finished" logs)
Have the sequencer record the start time when launching a blocking call. Then after the blocking call returns, calculate the duration of the blocked call and log that value.

Log seems to correctly report user wait start and end times according to launching tiny_images.py


[OSPK8-666] Ensure bmset finalizer len does not exceed limit

The finalizer name must not exceed 63 characters.
Shorten the prefix and use the uid to ensure this is the case.

/cherry-pick v1.3.x


fix: clear abort timeout after response was received

🔗 Linked issue
#361
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #361.
Alternative PR to #362. Changes:

Didn't apply formatting
Clear timeout immediately after request, not after it's parsing

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@pi0 I have tested my fork on my big production project and this have stopped memory groving on my project, it doesn't go as high as 1-2GB and stops on ~400MB. If this could be reviewed & merged we would be so happy :)

Landed in 1.3.4, please let me know if it made any difference @daniluk4000

Landed in 1.3.4, please let me know if it made any difference @daniluk4000

Appreciate it! I have already tested this in production, will update and re-test. Anyone using timeout + asyncContext + SSR should experience heavy memory decrease.

Works like a charm


Unable to download APKs since yesterday.

when trying to configure using
gplaydl configure and entering email and password (tried both 2FA and no 2FA) and getting the following error
'Security check is needed, try to visit https://accounts.google.com/b/0/DisplayUnlockCaptcha to unlock, or setup an app-specific password'

Confirm, same issue for me.

Bump. Facing same issue ...

Same problem, and I can confirm that this is:

After logging in on emulator to Google Play Store and accepting all terms
Using a newly-created app password
On an account that has worked previously

(This is, btw, the same with the underlying (@rehmatworks/googleplay-api)[https://github.com/rehmatworks/googleplay-api], which is probably where this issue belongs, but there doesn't seem to be an issue tracker there...)

(This is, btw, the same with the underlying @rehmatworks/googleplay-api, which is probably where this issue belongs, but there doesn't seem to be an issue tracker there...)

There is one in the original repo: https://github.com/NoMore201/googleplay-api/issues/159

There is one in the original repo: NoMore201/googleplay-api#159

Ah, right! Thanks!


counts in map api

If we expanded the map API to include various counts we could make the interface more user friendly.
Ideas:

Extend: so we can zoom to the area of interest
Occurrences per year: This would allow us to do https://github.com/gbif/portal16/issues/133
Occurrences per latitude: this would allow is to visualise at which degrees species primarily occurs at. Ideally seasonal? Useful or clear enough from map?
Which Basis Of Record is available: no need to tempt the users with a fossil filter if there is no records.
Preferred projection: possibly deducible from latitude distribution or extend.
Last updated: so we can inform the user when the map was last updated (might be out of sync with occurrence search view)

All doable. I'll get these in as a "capabilities" request.
Tim

On 8 Nov 2016, at 08:45, MortenHofft<EMAIL_ADDRESS>wrote:
If we expanded the map API to include various counts we could make the interface more user friendly.
Ideas:
Extend: so we can zoom to the area of interest
Occurrences per year: This would allow us to do #133
Occurrences per latitude: this would allow is to visualise at which degrees species primarily occurs at. Ideally seasonal? Useful or clear enough from map?
Which Basis Of Record is available: no need to tempt the users with a fossil filter if there is none.
Preferred projection: possibly deducible from latitude distribution or extend.
Last updated: so we can inform the user when the map was last updated (might be out of sync with occurrence search view)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Automating Transfer Learning: Gradual fine-tuning of a TensorFlow model produces: “ValueError: Unknown metric function: val_loss.” exception during the fit method of the fine-tuning stage.

Current behavior?
I’m attempting to automate transfer learning fine-tuning using iterative, gradual thawing of an underlying pre-trained and frozen base network. A compiled model containing the underlying, pre-trained, and frozen base network architecture is fed into an X4Learner class. The class exposes two methods: feature_extraction, and fine_tuning. The feature extraction method fits the model for a designated number of epochs and stores the last epoch as an instance variable. The fine_tuning method operates on the ‘feature_extracted’ model and performs an iterative fine-tuning process in which each iteration thaws some number of layers in the underlying base model, then recompiles it. During fine-tuning, the fit method produces the following exception.
ValueError: Unknown metric function: val_loss. Please ensure this object is passed to the custom_objects argument.
A reproducible test case can be found here
I've included the code below for convenience.
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
TensorFlow version
v2.8.0-0-g3f878cff5b6 2.8.0
Custom code
Yes
OS platform and distribution
Windows Subsystem for Linux: Ubuntu 22.04.2 LTS
Python version
3.10..12
Standalone code to reproduce the issue
from typing import Union
import os

import numpy as np
import pandas as pd
import tensorflow as tf
# ------------------------------------------------------------------------------------------------ #
class X4LearnerLite:
    """Performs transfer learning of a TensorFlow model containing a pre-trained base model.

    Two methods are exposed: extract_features, and fine_tune. The extract_features method trains
    the model on the given data using the designated learning rate. The fine_tune method
    thaws one or more layers in the model, then trains it on a decayed learning rate. Each
    fine tuning session decays the learning rate by a learning_rate_decay factor to mitigate
    catastrophic forgetting.

    Args:
        model (tf.keras.Model): Model containing a frozen, pre-trained base model.
        train_ds (tf.data.Dataset): TensorFlow training dataset.
        val_ds (tf.data.Dataset): TensorFlow validation dataset.
        base_model_layer (int): Index for the base model layer for thawing.
        learning_rate (float): The learning rate for feature extraction. Default = 0.0001
        metric (str): The metric used to evaluate model fit performance. Default = 'val_loss'
        loss (str): The loss function. Default = 'binary_crossentropy'.
        activation (str): Activation function. Default = 'sigmoid'.

    """

    def __init__(
        self,
        model: tf.keras.Model,
        base_model_layer: int,
        train_ds: tf.data.Dataset,
        val_ds: tf.data.Dataset,
        learning_rate: float = 0.0001,
        metric: str = "val_loss",
        loss: str = "binary_crossentropy",
        activation: str = "sigmoid",
    ) -> None:
        self._model = model
        self._base_model_layer = base_model_layer

        self._train_ds = train_ds
        self._val_ds = val_ds

        self._learning_rate = learning_rate

        self._metric = metric
        self._loss = loss
        self._activation = activation
        # Used during the thawing process to determine number of layers to thaw as proportion of
        # total number of layers in the underlying base model.
        self._n_layers = len(self._model.layers[self._base_model_layer].layers)
        self._initial_epoch = None

    # ------------------------------------------------------------------------------------------------ #
    def extract_features(self, epochs: int = 5) -> None:
        """Performs the feature extraction phase of transfer learning

        Args:
            epochs (int): Number of epochs to execute
        """

        history = self._model.fit(
            self._train_ds,
            epochs=epochs,
            validation_data=self._val_ds,
        )

        # Save the last feature extraction epoch for fine tune phase
        self._initial_epoch = history.epoch[-1]

    # ------------------------------------------------------------------------------------------------ #
    def fine_tune(
        self,
        epochs: int = 10,
        sessions: int = 10,
        learning_rate_decay_factory: float = 0.1,
        thaw_rate: Union[float, int] = 0.05,
    ) -> None:
        """Performs iterative fine tuning using gradual unfreezing of the base model.

        Args:
            epochs (int): Number of epochs per session. Default = 10
            sessions (int): Number of fine tuning sessions to execute. Default is 10
            learning_rate_decay_factor (float): Factor by which the learning rate is reduced each session.
            thaw_rate (Union[float, int]): Rate by which layers are thawed. This can be a raw
                integer or a float proportion of base model layers. Default = 0.05.
        """
        session = 0
        learning_rate = self._learning_rate
        initial_epoch = self._initial_epoch

        while session < sessions:
            session += 1

            learning_rate *= learning_rate_decay_factory

            # Thaw the top n layers of the base model according to the following
            n = max(int(self._n_layers * thaw_rate * session),1)
            self._model.layers[self._base_model_layer].trainable = True
            for layer in self._model.layers[self._base_model_layer].layers[:-n]:
                layer.trainable = False

            self._model.compile(
                loss=self._loss,
                optimizer=tf.keras.optimizers.Adam(learning_rate=learning_rate),
                metrics=[self._metric],
            )

            total_epochs = epochs + initial_epoch
            history = self._model.fit(
                self._train_ds,
                epochs=total_epochs,
                validation_data=self._val_ds,
                initial_epoch=initial_epoch,
            )

            initial_epoch = history.epochs[-1]

Relevant log output
ValueError: in user code:
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/training.py", line 1021, in train_function  *
    return step_function(self, iterator)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/training.py", line 1010, in step_function  **
    outputs = model.distribute_strategy.run(run_step, args=(data,))
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/training.py", line 1000, in run_step  **
    outputs = model.train_step(data)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/training.py", line 864, in train_step
    return self.compute_metrics(x, y, y_pred, sample_weight)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/training.py", line 957, in compute_metrics
    self.compiled_metrics.update_state(y, y_pred, sample_weight)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/compile_utils.py", line 438, in update_state
    self.build(y_pred, y_true)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/compile_utils.py", line 358, in build
    self._metrics = tf.__internal__.nest.map_structure_up_to(y_pred, self._get_metric_objects,
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/compile_utils.py", line 484, in _get_metric_objects
    return [self._get_metric_object(m, y_t, y_p) for m in metrics]
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/compile_utils.py", line 484, in <listcomp>
    return [self._get_metric_object(m, y_t, y_p) for m in metrics]
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/engine/compile_utils.py", line 503, in _get_metric_object
    metric_obj = metrics_mod.get(metric)
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/metrics.py", line 4262, in get
    return deserialize(str(identifier))
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/metrics.py", line 4218, in deserialize
    return deserialize_keras_object(
File "/home/john/anaconda3/envs/bcd/lib/python3.10/site-packages/keras/utils/generic_utils.py", line 709, in deserialize_keras_object
    raise ValueError(

ValueError: Unknown metric function: val_loss. Please ensure this object is passed to the `custom_objects` argument. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details

Hi @john-james-ai,
I was able to reproduce the issue on Colab using TF v2.15, Please find the gist here for reference.
Thank you!

Hi @Venkat6871
Thanks so much for the quick response. I saw the gist and it appears to give a different error in Tf v2.15. In either event, I'm running TF 2.8 because my computer was manufactured in the Mesozoic before AVX was invented. What are your thoughts on the next steps or recommendations?
p.s. I'm using the DenseNet201

@Venkat6871
I think I owe you a coffee! It turns out that val_loss actually isn't an acceptable metric in the compile method; although, it can be used as a monitor metric in the EarlyStopping callback.  I've tested it with other metrics and it seems to be working fine. I'll go ahead and close this. Thanks again mate!
j2


Azure DevOps Artifacts support for registry-url

Description:
actions/setup-node does not support Azure DevOps Artifacts even though DevOps is also a Microsoft product.  This is because actions/setup-node configures a temporary .npmrc file with an _authToken syntax, but AzureDevops requires npm's :username, ":_password", and ":email" syntax.
This patch adds support for Azure DevOps, and other registries by adding a username action input parameter.  When this is input is set, the .npmrc file will be written with a :username, :_password and :email instead of an :_authToken.
Fetching private scoped packages from Azure DevOps Artifacts is now supported and working with this patch.
Related issue:
N/A
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

?

Omg, this needs to be merged. I just spent a day and half hitting my head against my desk unable to get my GitHub Workflows to use my ADO feed (even though I was able to configure Dependabot, on GitHub just fine) only to finally realize the ADO feed requires username/password, not an auth token. And that's not supported (yet). Can't just put it in my .npmrc because then local builds break.
This has been open a year...@dmitry-shibanov can you please review and release this addition? Thank you!

This is a must have for this action in my opinion. Until Github Packages has more investment thrown behind it to add support for more packages types that Azure DevOps has, we will be confined to using Azure DevOps Overall
Can this please be finished and worked on? @dmitry-shibanov it seems this needs a review as suggested by @andyleejordan?

I can see other EMU customers getting this issue. Any updates on this?


Do not throw exception in BriefcaseManager.downloadBriefcase when the local file already exists AND the briefcase id is unassigned (pull only)

This change will keep us from changing the behavior of the briefcase manager right at the end of the 2.x generation.  I am limiting this to the 2.19 branch because it makes sense to have users check to see if a local copy of the iModel exists before calling download briefcase.  So for 3.x adding the exception is a reasonable change.

@ColinKerr, no I don’t think you should remove this exception. It should never be possible to download a briefcase on top of an existing file. Anyone counting on that behavior (why?) should fix their code. What app did this break?
(Btw, the reason I added this is that our code to verify the Guids fails and leaves the bc open in this case).

@ColinKerr, no I don’t think you should remove this exception. It should never be possible to download a briefcase on top of an existing file. Anyone counting on that behavior (why?) should fix their code. What app did this break?
(Btw, the reason I added this is that our code to verify the Guids fails and leaves the bc open in this case).

It will not download the briefcase again.  downloadBriefcase calls downloadCheckpoint which calls verifyCheckpoint.  verifyCheckpoint will poke the file listed in the args and return true if it is the correct iModel.
What is the suggested way to check if a local copy of the briefcase exists?

It will not download the briefcase again. downloadBriefcase calls downloadCheckpoint which calls verifyCheckpoint. verifyCheckpoint will poke the file listed in the args and return true if it is the correct iModel.

and then leave the file open, causing problems later.

What is the suggested way to check if a local copy of the briefcase exists?

Either supply and save the filename when downloading, or use BriefcaseManager.getFileName if you use the "briefcase cache".

I noticed this issue when updating the imodel-reporter sample/tool Glen is using

Does that application really acquire briefcases (the name implies readonly)? If not, it should use BriefcaseIdValue.Unassigned.

It will not download the briefcase again. downloadBriefcase calls downloadCheckpoint which calls verifyCheckpoint. verifyCheckpoint will poke the file listed in the args and return true if it is the correct iModel.

and then leave the file open, causing problems later.

If verifyCheckpoint is leaving the file open it is called in other workflows.  Should we fix it so a failure to verify the GUIDs doesn't leave the briefcase open?

What is the suggested way to check if a local copy of the briefcase exists?

Either supply and save the filename when downloading, or use BriefcaseManager.getFileName if you use the "briefcase cache".

OK, I will switch the code to get the file name then check and see if it exists on disk.

I noticed this issue when updating the imodel-reporter sample/tool Glen is using

Does that application really acquire briefcases (the name implies readonly)? If not, it should use BriefcaseIdValue.Unassigned.

I supply 0 as the Id which is the same as Unassigned.  I will switch to using the enum.

@kabentley I have pushed a change so the exception is not thrown with the briefcase id is unassigned.


Improve documentation for installing Blender and Subversion

Description
These changes add advice on choosing which version of Blender to install and how to install older versions, explains how to download Blender scripts (not intuitive), gives the repo location details for Windows, adds detail on basic TortoiseSVN usage (linking to their documentation is unnecessary), adds basic installation advice for non-Windows users, and explains how to download a snapshot of the media repo while explaining why it isn't recommended to do so. This is done because if an artist can't get version control working, that shouldn't stop them from contributing.
Also contains minor typo fixes.
Motivation and Context
This change is motivated by reports from multiple artists that the setup instructions were too difficult for non-programmers to understand, resulting in them giving up.
This also aims to reduce the amount of preventable questions asked in the community and to make the setup process for artists less error-prone.
How Has This Been Tested?
No testing, only markdown edits.

-what about making a video "Setting up your computer for STK art on windows" that goes through all of this , including installations of all apps (settings, usage, ...) and its goal is for artists who don't know anything about the apps. They follow everything step by step and can work on their art in no time. This video can be put on the website. It will take away all difficulties artists can have with any app or setting they need to do.
The video should show the steps needed to install apps (and their settings), get the assets, open them, edit them, save them and upload them.
So all required steps so artists can get started immediately.

github is a version control system. Is it allowed to use github for assets? Or why is SVN needed?
I'm trying to ask here if the assets can be put on github instead of SVN?
Github also allows downloading a zip file and this eliminates SVN knowledgde and/or SVN app.

I think the current explanation is good as it is and too much details will be a trouble to translators (this page is translated in every language)

So you as a developer know how artists think and what they are able to do with this limited explanation...
I'm afraid you are wrong. But it's up to you.

A video tutorial would not be translatable.  The community is welcome to create unofficial video tutorials (e.g. on YouTube), but any official documentation needs to be translatable.

I suggested a video since a video can be used ACROSS languages. People just follow the steps visually seen in the video: how to install an app, how to enter the settings for it, etc etc (even if they don't understand the spoken language, the steps can still be followed)
This is applicable idenpendent of the language since it are visual steps to follow...

@blender-girl A video tutorial is an interesting idea, and I think it's a good one. This pull request is a short-term improvement, so I support these simple changes being merged now without one, although I am also open to trying to make a few video tutorials.
As others have said, language does create a barrier, so it would be a personal experiment (like qwertychouskie said, an unofficial tutorial) where I can experiment with machine-translated subtitles instead of talking. The other big challenge is keeping the instructions up to date (e.g. Blender versions might change, and when the Blender extension platform gets added the whole installation process changes). I can't guarantee a new video each time something changes, so it just means I have to design the video a certain way to tell people how to check details and not blindly copy the video.
I can't do a Mac tutorial, so I would need to find someone else in the community to do that for Subversion.

I think it's also useful to give a working combination of Blender version and the scripts/add-ons that work with it. Artists can't find out if a script works with a specific Blender version or not. So there should be a list telling the exact Blender versions that are tested and verified to work.

There is, but it's on the GitHub page for the add-on scripts. Putting it in 2 places makes it harder to update and easier for one to be forgotten, so I want to show users how to find the version on the GitHub page, which is easier for the coders to keep up-to-date than the website. That's why I write "Check the minimum requirements section to see which Blender versions are compatible". Going through the supertuxkart.net guide as a user, do you think the current documentation is clear enough to show which versions will work, or is there a simple way to improve it?

github is a version control system. Is it allowed to use github for assets? Or why is SVN needed?

Subversion is used instead of Git (GitHub is designed to host Git repositories) for asset management. SVN is often considered easier for artists to use when contributing assets than Git, and is more efficient at handling projects with big binary files like images/audio/etc. Of course, everyone has their own favourite version control systems, but I think continuing with SVN is a smart choice for assets, and Git sites are the smart choice for the code.

Github also allows downloading a zip file

So does Sourceforge! That's what the workaround Download Snapshot is talking about in the updated documentation.