Feature Request - A Case to Implement CraftTweaker Support.

I would like to begin that I am aware that "This means no more reliance on MineTweaker/ModTweaker." is a selling point for the mod, and in no way wish to make CraftTweaker a requirement for Ex Nihilo Creatio.
For individuals who like to simply throw a few mods in a folder, and make a few smaller tweaks, the native JSON support should suffice, and likely preferred. I tend to play larger packs and have hopes of making comparable packs of my own. It's not uncommon for modern packs to be near or exceed 200 mods.
With that in mind having to 'sift' (pun intended lol) through each mod that provides a plethora of various customization options becomes bothersome, even confusing, and increases the likelihood of mistakes. CraftTweaker has undergone quite a few improvements recently and provides a consolidated, versatile, and focused approach to recipe manipulation.
The more mods that provide compatibility with CraftTweaker reduces the work load on pack developers. Being able to control a number of aspects from different mods within a single script is an invaluable asset to pack developers.
When paired with other 'tweaker' styled mods, B.A.S.E / ContentTweaker specifically, new resource can be created then have, oreDict entry, means of acquisition, processing, and uses assigned to it in a single *.Zs file. And in the very near future, if I understand correctly, we will be able to provide a custom model/texture for the items.
I cannot speak for everyone, and would like to make it clear that just a few moths ago I was looking for a way to make modifications to recipes for unique crafting methods provided by mods without using CraftTweaker. Because I was intimidated by it and didn't want to 'F* Something up'. I have since taken the opportunity to learn more about it, and play with it some, though still not proficient, and came to believe that any mod that provides a unique crafting method should also make use of the CraftTweaker framework.
There are a few mods that have provided a means of abstracting crafting mechanics, "Extended Crafting" and "Modular Machinery", are the two that immediately come to mind. Of which, Extended Crafting has implemented the Crafting Tweaks Framework, and I intend to approach Modular Machines developer after he has had more time to refine his original concept, about making use of the framework.
I thank you for your time in reading this and the great amount of effort your put into contributing excellent content to the community. I do want you to know that your work is greatly appreciated, and that my intent is not to critique a mod I feel is done wrong, but to help suggest an improvement on a mod that is already freaking awesome. Some of the potential I see in this mod is more than just a sky block approach but a viable path for a survival focused early game tier. And on that note I hope this will be well received have just noticed you recently forked ModTweaker, I may be doing little more than reaffirming that you've made a good decision lol...

First of all thanks for taking the time writing the Suggestion, probably the longest I've ever gotten :P
And as I did a lot of PRs to CraftTweaker I indeed know what it could offer.
Most notebly the new preprocessor stuff which allows packmodes could be pretty powerful, would make it easier than having 20 different config folders for different packmodes.
Might be clearer to read as well.
The only issue I see is in maintaining multiple version of a config system, which adding CrT support would mean.

Oh, another thing that i can do in json but not in the CrT is the reload command.

Thank you for replying, I was a bit concerned about whether or not implementing an additional system would provide enough of a benefit to out weigh the additional work. I tend to use the External Tweaker mod/app thus am not partial about the reload command, but, I can see the benefit of making recipe modifications in a live environment and simply reload as opposed to having to restart the entire client. Would allow a user to adjust a single recipe on the fly. Thanks again for your time and I look forward to seeing what type of creative uses I can find for this mod.

I got started on adding compat for the Sieve, it should not break too much, as it is just getting loaded together with the json recipes and therefore should work alongside it.
Slight problem here.... there are like 15 registries I would have to add support to and ye, kinda too lazy/don't really have the time to add them all by hand, so If you have any coding experience and you want to continue it for the others I would be happy to accept a PR ^^

I would love to, even gone as far as watching any videos I can find on the topic, and reading books, and I can make very crude rudimentary programs in C++. I know data types, and the difference between a long and a float, heck I can even say that pointers make sense to me and that there is only a small margin of variation between each language cause in the end they all send the same commands in machine language based on Turing Primitives, all the sources I get want to explain variables, and structures, and methods/functions/classes/objects, but I haven't found a good source to actually link it all together in a way that just "clicks" with me, and makes me understand the practicality and actually how to get from a couple of lines to an actual program. So sadly, even though I'm not completely lost understanding the concept of programming, I still have no talent for it. Honestly familiarizing myself with Git as I have and getting to understand the mod configurations is just another step before I start looking into other peoples sources and trying to figure it out from the inside. CoFH world gave me a reason to learn JSON, (more so than javaScript (ECMAScript lol) actually was. sadly though I haven't found out how to set up Eclipse, though maybe I should ask you about IntelliJ (assumption based on some of your activities on git) lol..
In short, I don't have the skill set needed, even though I do have all this time lol. Maybe in the future though..

Ye no worries ^^
Can do it myself, will just take a bit longer then.
Oh and also, I didn't know my git history tells so much about me :P
On Mo., 9. Okt. 2017, 00:54 XvSkItZvX<EMAIL_ADDRESS>wrote:

I would love to, even gone as far as watching any videos I can find on the
topic, and reading books, and I can make very crude rudimentary programs in
C++. I know data types, and the difference between a long and a float, heck
I can even say that pointers make sense to me and that there is only a
small margin of variation between each language cause in the end they all
send the same commands in machine language based on Turing Primitives, all
the sources I get want to explain variables, and structures, and
methods/functions/classes/objects, but I haven't found a good source to
actually link it all together in a way that just "clicks" with me, and
makes me understand the practicality and actually how to get from a couple
of lines to an actual program. So sadly, even though I'm not completely
lost understanding the concept of programming, I still have no talent for
it. Honestly familiarizing myself with Git as I have and getting to
understand the mod configurations is just another step before I start
looking into other peoples sources and trying to figure it out from the
inside. CoFH world gave me a reason to learn JSON, (more so than javaScript
(ECMAScript lol) actually was. sadly though I haven't found out how to set
up Eclipse, though maybe I should ask you about IntelliJ (assumption based
on some of your activities on git) lol..
In short, I don't have the skill set needed, even though I do have all
this time lol. Maybe in the future though..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/38#issuecomment-335044740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZk1CeqTVjmkP9lluXpdtbWo9CtS8ks5sqVKPgaJpZM4PxzEq
.

I tend to pay a lof of attention. It's part of your repositories under your profile lol... And speaking of attention, forgive me for being so forward and asking but I'm curious are you from Russia? You replied from your email instead of the site this time. Shows the details of the email am curious about "Okt" which I assume is the abbreviated month, and it's already tomorrow there lol.. In fairness I'm from the US.

Na, I'm from Germany, but AFAIK I even have that somewhere on my github
Profile.
Okt -> Oktober
Now I am curious as well, do you see the github groups I am in or is that
private information? There would be a lot more information hidden back
there...
On Mo., 9. Okt. 2017, 01:12 XvSkItZvX<EMAIL_ADDRESS>wrote:

I tend to pay a lof of attention. It's part of your repositories under
your profile lol... And speaking of attention, forgive me for being so
forward and asking but I'm curious are you from Russia? You replied from
your email instead of the site this time. Shows the details of the email am
curious about "Okt" which I assume is the abbreviated month, and it's
already tomorrow there lol.. In fairness I'm from the US.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/38#issuecomment-335045799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZkjlD0AyBzzrlu62LajtU9QKAGjFks5sqVbVgaJpZM4PxzEq
.

You're right it does, I missed it, and had I been thinking I would have caught that Oktober is the German spelling, we see it over here a lot this time of the year with "Oktoberfest" celebrations. And didn't consider that IDL is GMT+12 so it would be noon, or afternoon, where I thought you were at the time. Below I took a screen cap of all pages related to your profile that I have access to.

Nothing too telling from the site itself and only slightly sensitive when you reply back through email.
anyways I know it's late, thanks for your time I won't keep you up any longer lol.

Quick question now that I'm working on the changes I am hoping to make to for the pack. Do the custom JSONs follow the same style as the ones used for Adscensio?

Yup, I rewrote the code for them, however I left the internal syntax of the
registries the same
XvSkItZvX<EMAIL_ADDRESS>schrieb am Sa., 14. Okt. 2017, 06:31:

Quick question now that I'm working on the changes I am hoping to make to
for the pack. Do the custom JSONs follow the same style as the ones used
for Adscensio?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/38#issuecomment-336609138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZl_Q5626-NDVHa3SE0btW10ShSRPks5ssDkOgaJpZM4PxzEq
.


get needs a way to report asset paths only

While implementing #357, it became apparent that in currently imagined workflows (as per #345), the desired output of a query is more often than not the path to a matching asset. That is because that's what needs to be fed into the next command.
Say, there's an asset with a serial number. An FZJ inventory number is available only later. In order to put it on record one needs to find the asset based on its serial (or whatever else) and set the inventory number key.
ATM, one would get something like this:
> onyo get -H --filter serial=123
laptop apple macbook some/location/with space/laptop_apple_macbook.123

Now, copy the path (or do some shell-based tab-splitting) and feed into
> onyo set -k fzj-inventory=NEWNUMBER -p some/location/with space/laptop_apple_macbook.123

I think, ideally, something like this should be possible instead:
> onyo set -k fzj-inventory=$NEWNUMBER -p $(onyo get --filter serial=$SERIAL --some-way-of-return-the-path-only)

One aspect of this is to probably make path an accessible pseudo-key for this purpose.
Another is more to more generally re-think the --keys+-H-approach. I would instead think of a -f "<python-format-string-utilizing-(pseudo-)keys".
So: onyo get --filter what=ever -f "The asset with S/N {serial} made by {maker} matches your request and is located at {path}"
Pretty much like other tool's "pretty format" or similar options, that allow to tailor the output to whatever needs. Implementation should in principle be easy, since we'd have a dict representing the matching asset anyway. Hence, outputting format_option_value.format(**asset) is all it takes.
WDYT, @aqw, @TobiasKadelka , @nhjjr ?

This does work by now by simply providing --keys path [-H] explicitly to get.


API future

I suggest freezing the API's DB and deprecating it. With our new backend it no longer serves a purpose.

Which new backend is this in reference to? Is there a transition guide?

https://github.com/jsdelivr/jsdelivr/blob/master/beta-readme.md
We are still in progress of updating everything.

API usage is as follows: static site generator, get latest version and list of versions along with main css file. Is there an alternative for this? Unfortunately the main file always only lists the js file in a bundle and never the css.


[Doc Issue] [Deeplink to another apps in MS Teams is not supported in mobile platform][2560995]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/deep-links.md
93
22
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 3b0e613:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/deep-links.md
93
22
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit d497faf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/deep-links.md
93
22
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 42fc82e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/deep-links.md
93
22
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 4fa4ea5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


fix(#213): Renamed branch master to main

@oscerd no problem. your reviews still fire within 10 mins, that's great!


How to extract NCA patch file?

The tool is very useful that I can extract all .nsp files I got. But I only succeeded in extracting .nca files for base game.
For all patch/update, I got the following error:
[NCA Header]
  Format Type:     NCA3
  Dist. Type:      Download
  Content Type:    Program
  Key Generation:  0
  Kaek Index:      Application (0)
  Size:            0x926a400
  ProgID:          0x01001d900d9ac000
  Content Index:   0
  SdkAddon Ver.:   v134348800 (8.2.0)
[PartitionFS]
  Type:        PFS0
  FileNum:     4
  MountPoint:  program:/code/
[WARNING] NCA Partition 1 not readable. (EncryptionType(AesCtrEx): UNSUPPORTED)

One example would be this file,  where the extracted file with name 8759c093c9ac45ba455929e61d4a0195.nca cannot be further extracted and will produce the error above.

I'm sorry but NSTool does not support patch/update NCA files yet.
It's planned for the future though.

No rush whatsoever; I just wanted to ping this issue and see if it's still planned. Thanks!

@mpql @Kimi-Arthur through the magic of someone doing the hard work for me, this will be put into an official release soon :)

@Kimi-Arthur @mpql Thank you for your patience.
Thanks to @sagumamugas this is now supported by NSTool v1.7.0 (https://github.com/jakcron/nstool/releases/tag/v1.7.0-r2)
If you wish to extract a NCA Patch file, you need to specify the base NCA file using the CLI base NCA argument --basenca. If you have any questions feel free to ask here.

[WARNING] NCA Partition 1 not readable. (Indirect storage not ascending ordered.)
anyone can help me fixing this!

@Adityabyahut please open a new issue with some more details:

the name of the game you are extracting
The exact nstool command that you ran
The full output of nstool from running that command

thanks :)

I am getting a similar issue.  I am trying to extract the SMM2 3.0.2 update, and it is giving me two warnings:
nstool.exe -k .\prod.keys --basenca "./SMM2/ca09dd281fba9954014068c4adc3df2b.nca" -x ./output/9014125f54075fd01aa2bce70130028a/ ./output/9014125f54075fd01aa2bce70130028a.nca
[NCA Header]
  Format Type:     NCA3
  Dist. Type:      Download
  Content Type:    Program
  Key Generation:  8
  Sig. Generation: 0
  Kaek Index:      Application (0)
  Size:            0xe9b1a00
  ProgID:          0x01009b90006dc000
  Content Index:   0
  SdkAddon Ver.:   7.4.0 (v117702656)
  RightsId:        01009B90006DC8000000000000000008
[WARNING] NCA Partition 0 not readable. (AES-CTR Key was not determined)
[WARNING] NCA Partition 1 not readable. (AES-CTR Key was not determined)
[ContentArchive/Extract]

I was able to extract some of the other NCA files, but not this one or a different one.  I looked at the metadata and found that it is actually the Program.nca and the HtmlDocument.nca files.


Add the POST /store/coupon and GET /store/coupon/create handlers.

If you run the api, and then access http://localhost/store/coupon/create you will be able to create a new coupon.
This implements two of the handlers from #77.
@arowM Please review.

Thanks for renaming to readable variable name and fixing specification documents.
When I tried to create a coupon with validFrom on Chrome, the page show me an error bellow.
could not parse: `2016-12-14'

Even if I do not specify validFrom and validUntil, the page show me an error bellow.
could not parse: `'

Also, I've created extra issue related to this PR on #83 and #85.

@arowM

When I tried to create a coupon with validFrom on Chrome, the page show me an error bellow.
could not parse: `2016-12-14'

This has been fixed in commit ced7968.

Even if I do not specify validFrom and validUntil, the page show me an error bellow.
could not parse: `'

This has been fixed in commit 87b579c.

I'll go ahead and merge this in.


Develop: Add Google Analytics integration

As an administrator of the application, I would like Google Analytics support to be added so that I can see an automated dashboard of various usage metrics.
Acceptance Criteria

Google Analytics is fully configured with the application, and metrics can be seen on the Analytics webpage.
Document any relevant content in the Programmer guide (draft thoughts of usage and importantly the "Why")
Updates SRS and STP (and other docs if necessary)
Add/Update relevant unit tests

Still working on integrating Google Analytics further within the app, but I have limited analytics coming back at this point.  I live in Carney, MD  and it's able to pull that information in real-time on the emulator.  Tomorrow, I would like to see about capturing more information navigating within the app (screen views) and also capturing outbound links.

Pushed feature/411 to GitHub this afternoon.


runtime(lua): add/subtract a 'shiftwidth' after '('/')' in indentexpr

Problem:

Current lua indentexpr does not indent for '(' ')'.
Missing indent test for lua.

Solution:

Match '(', ')' in function GetLuaIndentIntern.
Add an indent test for lua.

Hello @marcuscf, could you please review the PR?

so it seems, it's been a long time since @marcuscf has update his repo. So let me include this (minus the change of the "Last Change" header, I'll add it below).


Any breaking dependencies when upgrading from v1.0.0 to latest 3.0.5 via nuget in VS2017?

Library name and version
Microsoft Azure Key Vault Core Class Library
Query/Question
There are vulnerabilities in the version 1.0.0 of Microsoft Azure Key Vault Core Class Library so want to upgrade my project. Need to know if there are any code changes needed if I just use nuget to update to v3.0.5 or not?
Environment
Visual Studio 2017, Windows 10 Pro, large C# MVC web project.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Very likely, but Microsoft.Azure.KeyVault is deprecated in favor of:

Azure.Security.KeyVault.Secrets
Azure.Security.KeyVault.Keys
Azure.Security.KeyVault.Certificates

One goal with these new packages - all our Azure.* packages - is no breaking changes. So not only is development, bug fixes, etc., active on those packages, but if you make the move now (see our migration guides e.g., https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/keyvault/Azure.Security.KeyVault.Secrets/MigrationGuide.md), you shouldn't have to worry about subsequent breaking changes.


improve folding margin

The yaml, as used by git log should add fold markers, e.g.. as is shown when doing git log –all –follow on lexer.cpp -> the SetMarginWidth with folding_number move to generic_settings


Total size of files uploaded to Interclip

Something on the about page, or the file page that displays a statistic like this:

Some sketches I made on how this could be implemented

Now available at https://interclip.app/includes/size.json


Remove EM::Iterator from event filtering

EM::Iterator uses anonymous classes (not GC'd on JRuby)

Using a Proc w/ EM::next_tick executes filters serially, returning immediately if a filter matches (filtered), performing better than em iterator.

This is the reason https://github.com/eventmachine/eventmachine/blob/master/lib/em/iterator.rb#L163-L168

:+1:


Web - DIVE configuration JSON file import failing

Describe the bug
I am unable to upload a DIVE configuration JSON file along with a image sequence. This was not an issue about a month ago when I was able to load the same configuration file with previous image sequences, but as of yesterday I have not been able to upload the file with a new image sequence.
To Reproduce
Steps to reproduce the behavior:

Go to https://viame.kitware.com/#/viewer/66621e915175a5ecbf14389d
Click on Import
Import this file https://github.com/zhrandell/Seattle_Aquarium_CCR_analytical_resources/blob/main/data_input/species.json
See error: species.json was not a supported file type: too many values to unpack (expected 2)

Expected behavior
I expected the file to populate the Types List (with Show Empty toggled on) displaying the species list and styling configuration used in a previous image sequence folder.
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome

I apologize for the delay in responding to this.  It was a known bug that I had fixed and just required a redeployment of the server code to be fixed.  You should be able to import the customTypeStyling and other data associated with configuration files.

Yes, importing the configuration file works now. Thank you for solving this issue!

Yes, importing the configuration file works now. Thank you for solving this issue!


Stop this Auto-update not configured popup

Issue with uninstalling kite.
Please follow the issue here https://github.com/sparkle-project/Sparkle/issues/1549
What is the correct way to uninstall kite and not break my mac's Sparkle.framework?
https://help.kite.com/category/51-uninstalling-kite Did not help.

Try running the terminal command launchctl remove com.kite.KiteHelper and then uninstalling Kite. Let us know if this works for you.

Closing this issue due to inactivity. @Mizzlr please let us know if you need further assistance.

I have this same issue: tried launchctl remove com.kite.KiteHelper
Still having the issue HELP

Hi all,
Here are our next steps:

Ensure we are updated to the latest version of Sparkle so that this pop-up doesn't show up (implied by https://github.com/sparkle-project/Sparkle/issues/1549#issuecomment-619251263).
Do some digging to figure out how/why the Kite updater might possibly trigger.

We're still not entirely sure what the root cause is here, but will update the issue as we learn more.

@drizham @Mizzlr, did either of you install Kite via Homebrew by any chance? I discovered that a third party maintains a Kite Homebrew Cask.
If so, Homebrew is not a supported installation method, and it's likely that when removing Kite it has not been properly removed from your system.

If not, could you paste the exact steps you took to remove Kite from your system?
It should match https://help.kite.com/article/68-how-to-uninstall-kite (ensure that no Kite processes are running before moving Kite.app to the trash)

Hi, I deleted the Kite plugin from Atom, then when I found my Atom install to no longer be working properly, searched then found and followed the guide at https://help.kite.com/article/68-how-to-uninstall-kite.
Now, I receive the popup mentioned in https://github.com/sparkle-project/Sparkle/issues/1549 several times a day.
What do I do here?

@izuchukwu is your Trash empty? If not, is anything Kite-related in there?
Finally, could you try restarting your machine to see if this still happens?

As far as we can tell, this should only occur if some Kite process is still running. Rebooting should fix the issue. Please let us know if not.

I did find the Kite Engine process to still be running later that day. Terminating the process then logging out and in again seems to have solved it.
It may be helpful to terminate the process automatically as part of the uninstall process, or state that a restart/log out is required to complete the uninstall. While “off and on again” is something I should’ve tried sooner, I don’t usually restart my computer after adding or removing software unless told it’s required.

On May 22, 2020, at 12:10 PM, Naman<EMAIL_ADDRESS>wrote:

As far as we can tell, this should only occur if some Kite process is still running. Rebooting should fix the issue. Please let us know if not.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

emptied trash and restarted osx, that resolved it. Yes I did install via "brew cask install"

Thanks all.
I think the main point here is to clarify the uninstall process in the help page. Closing this issue, as it seems to be resolved.


Python 3 compatibility

It seems that the current master branch is not Python 3.x compatible. These changes resolve this. The actual change is pretty small, the remaining diff is just removal of trailing white spaces. Could you please merge and make a release?
It is also a good habit to tag the version you uploaded to PyPI on github so that users can easily find out to which commit a version on PyPI actually refers to. I also noticed that you are using the requests package but you did not declare it as dependency in setup.py.
Thanks for your great work in providing a useful tool like that!

Merged, added travis integration (to make sure it works with all python versions), and released (version 0.3.0).
Thanks!


RFC: breaking changes for v3

I am preparing Genql version 3 and i will make fix many issues and make some breaking changes, some are listed in the new changelog here
Is there some change you would like to see in v3? please comment if you have some ideas as i will release the new version soon
Some open questions still to be decided for v3

default fetch implementation, best one i found is native-fetch, but it would be cool to not require installing anything and try using the default fetch implementation, but only node 18 has fetch now, 16 end of life is December 2023
support for deno? is it worth it?
out of the box support for bun?

It would be cool if when using the generate function as a library, if I can just get a string with all the generated code instead of having to write to disk first and then read that file. Not a big deal but more ergonomic for modifying the output in the way I’d like to (mostly to add imports for customized types at the top).

Hey there!
Awesome news !! First off, I wanted to ask why we're dropping the chain syntax? Personally, it was that syntax that really made me lean toward GenQL over Zeus. I find it to be much more natural and readable, and I'd be really sad to see it go. (And it will require a huge refactor on my end since I use that syntax everywhere, but that's a secondary concern.)
I'm even wondering what would be the main point of using GenQL over Zeus, which is more popular and maintained if we're dropping that syntax. I'm not super familiar with Zeus's syntax, so let me know if I'm mistaken, but I don't see any major differences anymore.
I'd be really curious to hear your reasoning on this. Is it a technical limitation, or something else?
Next, the main pain point I have with GenQL currently is the generated types file. I'm working on a Hasura with around 30 tables, and as a result, I have a massive types file (40k~ lines). This causes huge slowdowns with IntelliSense in my IDE. I have reached a point where sometimes I have to wait ~2 seconds for my IDE to remove the red squiggly lines. And yet, I'm working on a powerful PC 😅
Do you think it would be possible to optimize this generated file? I'd have to look more into it, so stop me if I'm wrong, but it seems like there are a lot of duplicated types that could be merged together using generics or whatever, which could maybe help the TypeScript server be faster?
I've noticed that you're no longer generating the JS files that contained JS typeguards, which should already help a bit, I guess.
Another thing, not essential, but would also be super cool to have, is the ability to define aliases. As far as I know, this isn't possible (let me know if I'm mistaken).
To finish off, I'd say that out-of-the-box support for Deno and Bun are not really priorities. I think 95% of users don't care about that. Especially for Bun, which isn't even production-ready yet. Now, I can understand that it's a nice marketing argument, and you're free to do what you want with your library, but in my opinion it's totally secondary.
Thanks so much for your work on GenQL, and the new docs look great! Notaku seems really cool too, I might give it a try one day

Thanks for the feedback
Zeus will break and slow down a lot of graphql servers parsers because it inlines all arguments in the query, so you need to use the variables syntax that defies the purpose of the client in the first place imo, Zeus also does not generate response types I think
I am removing the chain syntax to simplify types too, and want to have only 1 way to do things
regarding typescript being slow it’s because typescript is slow, I don’t think the lines number is the reason, it’s probably slow because you have many queries
I will check if aliases are easily doable, but imo really not worth it

Hello all,
First, thank you for your work that made my life so easier working with GraphQL and Typescript. I am a huge fan of your value proposition with GenQL. Type generation coupled with chain syntax really feels like working with a TS ORM but through GraphQL ❤
I definitely agree with the above mentionned points. Chain syntax is just way too handy. It enables many generic use cases etc. I would be very sad to see it go. It would make me refactor a lot of my code as well 😕
Personally I would prefer to unify things in the way of keeping only chain syntax.
As an example: we initially planned to use Apollo Client integration with GenQL in our project, but we decided to fall back on the fetch implementation as soon as we realized it was not possible to use Apollo with the chain syntax…
I also agree on the benefits of a generated file size reduction if possible.
Deno and Bun implementation are really not a priority for me neither.
What I would like to see in V3:

Better subscription handling (glad to see it planned)
Generated file size reduction (if possible)
Higher level reusable types (ex: a reusable type for all the root arguments of a resolver / endpoint)
Third-party client integrations with chain syntax (ex: Apollo)

Thank you for your time and consideration.
Keep up the great work !🎉

I thought more about the chain syntax and there are some limitations that i don't really like

you cannot query more than one field with arguments at a time
you cannot query a scalar field together with a field that require arguments

The advantages of the chain syntax in my opinion are:

no need to use an array to pass arguments

What if the default syntax is modified to get these advantage?
Something like
client.query({
    getUser: {
        args: {
            id: 1,
        },
        everything: true,
        address: {
            everything: true,
        },
        withArgument: {
            args: {
                id: 1,
            },
        },
    },
    scalarField: true,
})

This removes the need to use ugly arrays to pass arguments, what do you think?

One other possibility is to be able to split the generated files into chunks that typescript could incrementally compile and cache better.

@remorses , Thanks for all the hard work so far on this project. It has been one of the key components to our adopting graphql. I just went through the change log and saw that the subscription client was removed (to be re-added later). This will be a show-stopper as we use subscriptions for some major modules in our project.
The chain syntax... as stated by everyone above, It is a very bit and you will find that every one uses it to a significant extent in their code bases already. Is it possible for this to be made an optional plugin?
On the subscription client bit, i think we will have to wait until it is reinstated or an alternative approach is suggested before looking at version 3.

What about allowing renaming fields and using directives?

Is it possible to do aliases at all or is that impossible with the current API

This new release is very promising. By when can we expect the release? Looking forward to use in one of the projects.

@remorses At work we've been working with the generator and it has been a pleasant DX so far ~ 🚀
However, we've discussed about the possibility of having a different form factor from the array shape.
Instead of relying on the array position, we are currently drafting something like:

use an object
then, map the GraphQL Selection Set to a fields property inside such object
and then, map the arguments, say, filters, and for mutations, inputs, into the input fields of the aforementioned object.(we decided to use input but probably args also makes sense in the example you provided in the code some comments above)

Something like this:

Note: customClient is the wrapper with the functionality (and typings we were drafting) mentioned above

Ok, i found a new syntax that i like, i am currently implementing this syntax for v3, it should make it worth it for anyone currently using chain syntax to migrate to v3
const { query } = generateQueryOp({
    recursiveType: {
        __args: { requiredVal: ['ciao'] },
        value: 1,
        recurse: {
            ...everything,
            recurse: {
                value: 1,
                recurse: {
                    ...everything,
                    recurse: {
                        ...everything,
                    },
                },
            },
        },
    },
})

To pass args you will pass an __args field (similarly named like GraphQL __typename)
This has the benefits of

removing difficult to type and refactor array syntax
no need to pass [args] as const
simplify the type selection generic type, making inference faster
has same benefits of chain syntax (no need to use arrays, easy autocompletion to discover new fields, etc)

@remorses I will love to try in our GraphQL implementations, and can allocate some time to test the ergonomics and DX of this upcoming version.

The https://genql.dev will also expose already made GraphQL clients for public APIs, feel free to open an issue with an API you would like to see published on npm :)
You can read the changelog at https://changelog.genql.dev

we found an issue while upgrading to v3 https://github.com/remorses/genql/issues/101


Modify Delete File Message

When I delete a file from a resource, I get a message telling me to save the file if I want to keep a copy.  This text should probably be changed to "Consider saving a copy of the file before you delete it if it is important to you."
This would make it more clear that a user should make a copy of the file before deleting.

@horsburgh please check this on alpha.hydroshare.org and close if the message is to your satisfaction

Looks good to me.


Add hint component

Add support for the hint component.
quick start examples to come soon.

I'll get on that, to be honest, I just used the button component as an example...

I'll get on that, to be honest, I just used the button component as an example...

Yea, don't rely on my old code :wink: … I know ,the code base could be a bit more consistent. I learned a lot in the last years working on this. So yea :shrug:
But thanks for taking care of that! :heart:


Feature request: allow incrementing nonce of unlocked accounts

I asked about this on gitter: [x]
Link to my question on gitter: https://gitter.im/ConsenSys/truffle?at=5eaac688d898fe7a3758f009

Expected Behavior
It should be possible to increment the nonce of an unlocked account via an RPC call.
Current Behavior
A user may wish to deploy to contract at a specific address, where that deployment address requires a very high nonce.  Currently this can only be achieved by broadcasting many empty transactions in a for loop as a way to increment the nonce. This is time consuming and inefficient.
Possible Solution
Add an RPC endpoint evm_nonce that accepts two parameters: the hex address of the account to increment, and an integer value to be added to the nonce. The return value is the new nonce.

done in<EMAIL_ADDRESS>via evm_setAccountNonce


HSEARCH-2845 Add dependency management entries for the dependencypath plugin and jsonassert

https://hibernate.atlassian.net//browse/HSEARCH-2845

merged, thanks!


Adding in the metricsBindAddress to kube-proxy configmap to allow for…

… metric scraping

Codecov Report

Merging #1786 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1786   +/-   ##
=======================================
  Coverage   24.52%   24.52%
=======================================
  Files          98       98
  Lines        5085     5085
=======================================
  Hits         1247     1247
  Misses       3699     3699
  Partials      139      139

Continue to review full report at Codecov.

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


refactor: resolve styleResources when not null

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Not sure if I get this PR right :thinking:
The warning will be emitted and styleResources will be handled anyway (to avoid a breaking change).
Your PR changes that behavior (if styleResources are empty) :thinking:

Codecov Report

Merging #4322 into dev will decrease coverage by 0.16%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##              dev    #4322      +/-   ##
==========================================
- Coverage   91.05%   90.88%   -0.17%
==========================================
  Files          56       56
  Lines        1844     1844
  Branches      465      465
==========================================
- Hits         1679     1676       -3
- Misses        154      156       +2
- Partials       11       12       +1

Impacted Files
Coverage Δ

packages/webpack/src/builder.js
93.33% <20%> (-4%)
:arrow_down:

Continue to review full report at Codecov.

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

If styleResources is undefined or empty，the loop is unnecessary since it just runs an empty look, I think this way is easier to understand and reduce the empty loop

Got you

That should, in theory, never happen. styleResources is {} by default. The user must have set it to undefined or null to reproduce this error.

Make sense, close it then


inference_helper.py

Hello, what function does the cotr_patch_flow_exhaustive function in the inference_helper.py file implement? What are the meanings of p_i and p_j?

cotr_patch_flow_exhaustive is designed for estimate the optical flow/dense correspondence between 2 non-square images at low resolution.
Currently, COTR only supports 256x256 as input, therefore, in order to estimate the dense correspondence between a portrait image and a landscape image, we first cut the images into 2 overlapped square patches. Then we estimate the flow 4 times, i.e. each patch in image A gets correspondence estimated against the 2 patches from image B. Then we merge 4 flows to get a final optical flow.

cotr_patch_flow_exhaustive is designed to estimate the optical flow/dense correspondence between 2 non-square images at low resolution. Currently, COTR only supports 256x256 as input, therefore, to estimate the dense correspondence between a portrait image and a landscape image, we first cut the images into 2 overlapped square patches. Then we estimate the flow 4 times, i.e. each patch in image A gets correspondence estimated against the 2 patches from image B. Then we merge 4 flows to get a final optical flow.

I want to know where you resampled the image from the original size to 256*256, I don't think I can find the exact place to do this.

You can search for the keyword "MAX_SIZE".
For example, https://github.com/ubc-vision/COTR/blob/5c9363f1ca5c1825d999f875e8eb58914a64b01d/COTR/inference/refinement_task.py#L117-L118

Thank you for your answer. Now I want to improve the speed of matching. I thought changing the image size could improve the speed, but there seems to be no obvious effect. I would like to ask if you have tested the number of parameters on the model to calculate the number of parameters per module.


Upgrade HAProxy

HAProxy 1.8.9 only when using resolver https://github.com/docker-library/haproxy/issues/67
Reported by DenTer on our slack: https://appscode.slack.com/archives/C0XQFLGRM/p1530522934000241

Im Denter. I tried localy 1.8.12 and 1.8.8 in docker compose and it worked without 100% cou. 1.8.9 specific bug i guess.
And ultimately i used older image on kubernetes voyager.
--haproxy-image-tag=1.8.8-7.0.0-alpine
as temporary solution.

Fixed in https://github.com/appscode/voyager/releases/tag/7.3.0 release.


NullPointer exception when picking up pocket computers using the mouse

Describe
Some peripherals that require the peripheral itself being in the world cause nullpointer exceptions (and I believe sometimes also cause client disconnects) when you have a running program on a pocket computer and pick it up using the mouse, or put it in a backpack or similar. I've seen both the GeoScanner and PlayerDetector display this issue.
Steps to reproduce

Create an Advanced Geo Pocket Computer or Advanced Player Detector Pocket Computer
Run a program that has an infinite loop, and continually scans using the chosen peripheral. Either scan() or getPlayerPos()
Pick it up with with your mouse. This will cause a nullpointer exception, and usually causes the program to crash as well.

Multiplayer?
Yes
Version
1.20.1-0.7.39r (Latest 1.20.1)
Minecraft, Forge and maybe other related mods versions
Forge 47.2.20 - Minecraft 1.20.1
Screenshots or Videos
No response
Crashlog/log
https://pastebin.com/XJLk38WS

Example program that can be used for testing:
local pd = peripheral.find('playerDetector')
local playerName = 'YOURPLAYERNAMEHERE'

while true do
    pd.getPlayerPos(playerName)
    os.sleep(0.05)
end


tour: dead link to golang.org/search?q=Read#Global

Context: https://tour.golang.org/methods/21
Change the title above to describe your issue and add your feedback here, including code if necessary
referal to "many implementations" using this URL is a dead link
"The Go standard library contains many implementations of this interface, including files, network connections, compressors, ciphers, and others. "

Title: "many implementations" should point to actual interface implementations
This should include at least a few implementation links of io.Reader interface such as below:

In Files:

https://golang.org/pkg/encoding/csv/#NewReader
https://golang.org/pkg/image/#Decode
https://golang.org/pkg/encoding/json/#NewDecoder

In network connections:

https://golang.org/pkg/net/mail/#ReadMessage
https://golang.org/pkg/net/http/httputil/#NewChunkedReader

Compressors

https://golang.org/pkg/compress/gzip/#NewReader
https://golang.org/pkg/compress/zlib/#NewReader
https://golang.org/pkg/archive/tar/#NewReader
https://golang.org/pkg/bytes/#Buffer.ReadFrom
https://golang.org/pkg/compress/bzip2/#NewReader
https://golang.org/pkg/compress/flate/#NewReader
https://golang.org/pkg/archive/zip/#Decompressor
https://golang.org/pkg/compress/lzw/#NewReader

Ciphers

https://golang.org/pkg/crypto/dsa/#GenerateKey
https://golang.org/pkg/crypto/ecdsa/#GenerateKey
https://golang.org/pkg/crypto/ed25519/#GenerateKey
https://golang.org/pkg/crypto/elliptic/#GenerateKey
https://golang.org/pkg/crypto/rand/#Int
https://golang.org/pkg/crypto/rsa/#GenerateKey
https://golang.org/pkg/crypto/x509/#CreateCertificate

Others

https://golang.org/pkg/bufio/#NewReader
https://golang.org/pkg/strings/#Reader

@racingmojo Please let me know if this isn't what you expect. I'm new to open-source contribution.

Hey @santoshkavhar you can probably just remove the dead link instead of trying to find a replacement link. And in the future if the community wants a link can be added or the content can be expanded.

How about just linking to this issue? The next exercise wants us to implement a reader and I think having examples like these is crucial to solving this well.

I haven't seen actual GitHub issues linked before in documentation as issues are meant to be closed in a repo. Perhaps this link as an alternative and change the wording to emphasize that there are many other examples?
https://golang.org/pkg/io/#Reader

I guess we could change the link to this? Seems to be the target in spirit closest to the current wording.

Agreed with the closest in spirit!


Add Service Workers for Offline support

Investigate and implement service workers to enable website usability in offline contexts.
Resources
Consult these resources to find a method we can use to create service workers:

https://developers.google.com/web/tools/workbox
https://github.com/lavas-project/jekyll-pwa
https://github.com/jeremiak/jekyll-offline

Done Looks Like

in a new branch, a sw.js file is created that contains service workers
documentation is written to explain how to maintain/ update the sw.js file

incase the website is down, use this version: http://d3svhkuqub8ezc.cloudfront.net/
@echoe320

@echoe320 updates:

is using the workbox cli
there is a pre-cache file size limit of ~2MB
files to precache: html, js, css, png, jpg, woff
current pre-cache is 570 files

To Do

Submit a PR with the service worker files
Include instructions on how to use the service workers (i.e. what i need to install?, what edits can/should i make, etc.)

nice work in #19 !


fix(LICENSE): Updating license

:tada: This PR is included in version 5.3.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Add form element to ReauthenticateDialog.vue

Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change
Fixes #97
As stated in the issue, this PR wraps client\js\components\GameView\ReauthenticateDialog.vue's v-text-fields and buttons in a form element, with @submit.prevent="login", following LoginSignup page's example.

OK, thank you for spotting them.
I have made the requested changes and updated the version number.

No problem. Thank you for the review and assistance!

My pleasure. If you'd like to contribute further, please feel free to take any other issue that interests you! I'll be happy to help you in any way possible


JS IR is not supported

I'm using kotlin 1.9, which defaults to js IR
kotlin {
      js {
        useEsModules()
        nodejs {

        }
        binaries.library()
        generateTypeScriptDefinitions()
    }

Compiler finds js component, but it is in legacy format. ir is actually required.
          - Variant 'jsApiElements-published' capability de.peilicke.sascha:kase64:1.0.6 declares a library, as well as attribute 'or
g.jetbrains.kotlin.platform.type' with value 'js':
              - Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'legacy' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir'
              - Other compatible attributes:
                  - Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
                  - Doesn't say anything about org.jetbrains.kotlin.js.public.package.json (required 'public-package-json')
          - Variant 'jsRuntimeElements-published' capability de.peilicke.sascha:kase64:1.0.6 declares a usage of 'kotlin-runtime' of
a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
              - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'legacy' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir'                      - Other compatible attributes:
                  - Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
                  - Doesn't say anything about org.jetbrains.kotlin.js.public.package.json (required 'public-package-json')
          - Variant 'jvmApiElements-published' capability de.peilicke.sascha:kase64:1.0.6 declares a library:
              - Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platfo

could solution be to update kotlin version to 1.9.0?
plugins {
    kotlin("jvm") version "1.7.10" apply false

https://github.com/saschpe/Kase64/blob/main/build.gradle.kts

I'll address that and provide a new release soon


Failed to "Install Config" from GUI

Every time I tried to run "Install Config", it will show this error to me"

I checked my sudo password is correct: I used that password the "Install rEFind", and also tried it from konsole with sudo su
I have clicked "Create Config", and files can be found in /home/deck/.local/SteamDeck_rEFInd/GUI/. The message is mentioning something different (/home/deck/.SteamDeck_rEFInd/GUI/), but I think they are the same? At least I tried manually created that folder and copied the files, still getting the same error.

I am not sure what I have missed, any help or hints would be much appreciated!

Can you try redoing the latest installation steps? The old location and old scripts seemed to be getting referenced and used here.

@jlobue10 when you mentioned "old location" do you mean the GUI still displayed the default path as ~/.local/SteamDeck_rEFInd/GUI/...? After I ran the commands
cd $HOME && rm -rf $HOME/SteamDeck_rEFInd/ && git clone https://github.com/jlobue10/SteamDeck_rEFInd && cd SteamDeck_rEFInd && chmod +x install-GUI.sh && ./install-GUI.sh

the same thing still appeared and with the same result....
Btw rEFInd is kind of installed as I can found it in the EFI boot options, but it is not the default option and the images are not set properly, i.e. it looks very ugly Q.Q

I mean the script that was being called appears to be from the old location. Do Install rEFInd, Create config and Install config work for you after reinstalling the GUI with the newer method?
Also, what is your output of efibootmgr?

I mean the script that was being called appears to be from the old location. Do Install rEFInd, Create config and Install config work for you after reinstalling the GUI with the newer method?

Did every steps after reinstalling, but still got the same result - same error message when trying to Install Config

Also, what is your output of efibootmgr?

Here is the result:
BootNext: 0002
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0005,0002,0003,2001,2002,2003
Boot0000* EFI PXE 0 for IPv4 (A0-CE-C8-9B-EE-0C)        PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)/USB(1,0)/MAC(a0cec89bee0c,1)/IPv4(<IP_ADDRESS>.0.0.0,0,0)RC
Boot0001* EFI PXE 0 for IPv6 (A0-CE-C8-9B-EE-0C)        PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)/USB(1,0)/MAC(a0cec89bee0c,1)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* rEFInd        HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\refind\refind_x64.efi)
Boot0003* SteamOS       HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\steamos\steamcl.efi)
Boot0005* Windows Boot Manager  HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC

Thank you so much!

非常感谢！或者我应该在 Windows 中执行任何操作来防止它优先？
顺便说一句，想与您分享这个屏幕：这是我安装后得到的 - 所有图像（背景和图标）都没有正确安装

You can refer to my solution.

非常感谢！或者我应该在 Windows 中执行任何操作来防止它优先？
顺便说一句，想与您分享这个屏幕：这是我安装后得到的 - 所有图像（背景和图标）都没有正确安装

你可以参考我的解决方案。

https://github.com/jlobue10/SteamDeck_rEFInd/issues/110


No child processes (Errno::ECHILD) command_executor.rb:70

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When I run fastlane screengrab from cmd on Windows 10 I got the error below.
The same sourcecode works fine on Mac OS X with the same configuration and emulator which is:
Nexus_5X_API_24_Android_7.0
Complete output when running fastlane, including the stack trace and command used

[✔] 🚀
[09:40:31]: fastlane detected a Gemfile in the current directory
[09:40:31]: however it seems like you don't use `bundle exec`
[09:40:31]: to launch fastlane faster, please use
[09:40:31]:
[09:40:31]: $ bundle exec fastlane screengrab
[09:40:31]:
[09:40:31]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
'cat' is not recognized as an internal or external command,
operable program or batch file.
[09:40:31]: Successfully loaded 'C:/Users/username/Documents/Projects/Android/xxx-Android/fastlane/Screengrabfile' 📄
+----------------------------+-------------------------------------------------------------------+
|                        Detected Values from './fastlane/Screengrabfile'                        |
+----------------------------+-------------------------------------------------------------------+
| app_package_name           | com.xxx.xxx                                           |
| app_apk_path               | app/build/outputs/apk/debug/app-debug.apk                         |
| tests_apk_path             | app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk |
| locales                    | ["en-GB"]                                                         |
| clear_previous_screenshots | true                                                              |
+----------------------------+-------------------------------------------------------------------+
[09:40:31]: The aapt command could not be found on your PATH
[09:40:31]: Please ensure that the Android SDK is installed and you have the build tools downloaded and present on your PATH
+-----------------------------+-------------------------------------------------------------------+
|                                  Summary for screengrab 2.86.2                                  |
+-----------------------------+-------------------------------------------------------------------+
| tests_package_name          | com.xxx.xxx.test                                      |
| locales                     | ["en-GB"]                                                         |
| clear_previous_screenshots  | true                                                              |
| output_directory            | fastlane/metadata/android                                         |
| skip_open_summary           | true                                                              |
| app_package_name            | com.xxx.xxx                                           |
| test_instrumentation_runner | android.support.test.runner.AndroidJUnitRunner                    |
| ending_locale               | en-US                                                             |
| app_apk_path                | app/build/outputs/apk/debug/app-debug.apk                         |
| tests_apk_path              | app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk |
| device_type                 | phone                                                             |
| exit_on_test_failure        | true                                                              |
| reinstall_app               | false                                                             |
+-----------------------------+-------------------------------------------------------------------+
[09:40:32]: Limiting the test classes run by screengrab to just those that generate screenshots can make runs faster.
[09:40:32]: Consider using the :use_tests_in_classes or :use_tests_in_packages option, and organize your tests accordingly.
[09:40:32]: Clearing phoneScreenshots within fastlane/metadata/android
[09:40:32]: $ adb devices -l
[09:40:32]: ▸ List of devices attached
[09:40:32]: ▸ emulator-5554          device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
List of devices attached
emulator-5554          device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
No child processes
Looking for related GitHub issues on fastlane/fastlane...
➡  Fastlane doesn't wait on its child processes before returning
https://github.com/fastlane/fastlane/issues/2092 [closed] 4 💬
22 Sep 2016
➡  Fastlane doesn't wait on its child processes before returning
https://github.com/fastlane/fastlane/issues/2093 [closed] 4 💬
22 Sep 2016
➡  Auto-generated README malformation (missing newline before new header)
https://github.com/fastlane/fastlane/issues/8560 [closed] 4 💬
03 Aug 2017
and 3 more at: https://github.com/fastlane/fastlane/search?q=No child processes&type=Issues&utf8=✓
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/command_executor.rb:70:in wait': [!] No child processes (Errno::ECHILD)         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/command_executor.rb:70:in block in execute'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/fastlane_pty.rb:14:in block in spawn'         from C:/Ruby24-x64/lib/ruby/2.4.0/open3.rb:205:in popen_run'
from C:/Ruby24-x64/lib/ruby/2.4.0/open3.rb:190:in popen2e'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/fastlane_pty.rb:13:in rescue in spawn'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/fastlane_pty.rb:6:in spawn'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/command_executor.rb:51:in execute'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/runner.rb:351:in run_adb_command'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/runner.rb:80:in select_device'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/runner.rb:56:in run'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/commands_generator.rb:49:in block (2 levels) in run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in run!'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/commands_generator.rb:67:in run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/screengrab/lib/screengrab/commands_generator.rb:19:in start'         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/fastlane/lib/fastlane/cli_tools_distributor.rb:99:in take_off'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fastlane-2.86.2/bin/fastlane:20:in <top (required)>'         from C:/Ruby24-x64/bin/fastlane:23:in load'
from C:/Ruby24-x64/bin/fastlane:23:in `'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
UNKNOWN

Ruby
2.4.3

Bundler?
false

Git
git version 2.16.2.windows.1

Installation Source
C:/Ruby24-x64/bin/fastlane

Host
Unknown  ()

Ruby Lib Dir
C:/Ruby24-x64/lib

OpenSSL Version
OpenSSL 1.0.2n  7 Dec 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :beta do
    gradle(task: "clean assembleRelease")
    crashlytics

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    gradle(task: "clean assembleRelease")
    upload_to_play_store
  end
end

`./fastlane/Appfile`
json_key_file("fastlane/key.json")
package_name("com.xxx.xxx")

fastlane gems

Gem
Version
Update-Status

fastlane
2.86.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
2.3.2

atomos
0.1.2

CFPropertyList
2.3.6

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.6

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.4

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

faraday
0.14.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.1

gh_inspector
1.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.2.1

bundler
1.16.1

faraday_middleware
0.12.2

naturally
2.1.0

simctl
1.6.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
2.1.0

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

google-api-client
0.13.6

openssl
2.0.5

excon
0.61.0

json
2.1.0

io-console
0.4.6

generated on: 2018-03-23

@Spettacolo83 Heyyy 👋 So bad news is that fastlane isn't support on Windows. Good news, we are working on supporting fastlane on Windows so stay tuned 😊

In the mean time you can try the ubuntu subsystem for windows and install and start fastlane from the bash shell. Works for me.

Although we don't officially support Windows yet, I am working on multi platform support and wand to get this working - which is why I encountered the same problem myself and started investigating.

So, my investigation:

Line throwing the error: https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/command_executor.rb#L70
Part of my favorite code of all time: https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/command_executor.rb#L50-L84
FastlanePty is special for Windows: https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/fastlane_pty.rb#L4-L22
That LoadError is triggered on Windows as pty doesn't exist/work there
What actually happens is that Line 70 (Process.wait(pid)) throws the error we are getting ("No child processes"), as documented here: https://www.w3cschool.cn/doc_ruby_2_4/ruby_2_4-process.html (Search for "no child processes"):

Calling this method raises a SystemCallError if there are no child processes. Not available on all platforms.

This error gets cought by the rescue below, but then raised:
https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/command_executor.rb#L73-L84
and then bubbles up and stops execution.

Can we somehow handle this otherwise?

Just commenting out that Process.wait(pid) for testing gives us another error:
/fastlane_core/lib/fastlane_core/command_executor.rb:95:in `execute': [!] undefined method `exitstatus' for nil:NilClass (NoMethodError)

This is because wait...

Waits for a child process to exit, returns its process id, and sets $? to a Process::Status object containing information on that process.

https://www.w3cschool.cn/doc_ruby_2_4/ruby_2_4-process.html#method-c-wait
So the wait method is definitely the culprit and required for further code execution.

Commenting out the further code that depends on $?
https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/command_executor.rb#L86-L97
let's us proceed to he actual install step of the APK. So, despite being broken here, the actual logic works as it should. We "only" have to fix this wait call here somehow.

Ok, so I looked into this further:
We don't want Process.wait to be called as this trigger the error this issue is about.
But we have to, otherwise $?.exitstatus will not exist.
Lucky for us the actual code that is executed (Open3.popen2e) already returns the exitstatus: https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/fastlane_pty.rb#L18
So we can try to move the Process.wait inside https://github.com/fastlane/fastlane/blob/27225bf916d01d3dac35e504ab8fc9c0cb25e266/fastlane_core/lib/fastlane_core/fastlane_pty.rb#L8 and work with the return value if there is one instead of calling $?.exitstatus.
Let's see if this works.


RecordBatch: Serialization of sliced record using StreamWriter produces incorrect resut

When you slice RecordBatch and serialize it with StreamWriter, it produces an incorrect result. I'm using arrow = "11.1.0"
To reproduce once can use the following test:
#[cfg(test)]
mod tests {
    use std::sync::Arc;
    use arrow::array::{Int32Array, StringArray};
    use arrow::datatypes::{DataType, Field, Schema};
    use arrow::ipc::writer::StreamWriter;
    use arrow::record_batch::RecordBatch;

    #[test]
    fn it_works() {
        pub fn serialize(record: &RecordBatch) -> Vec<u8> {
            let buffer: Vec<u8> = Vec::new();
            let mut stream_writer = StreamWriter::try_new(buffer, &record.schema()).unwrap();
            stream_writer.write(record).unwrap();
            stream_writer.finish().unwrap();
            let serialized_batch = stream_writer.into_inner().unwrap();
            serialized_batch
        }

        fn create_batch(rows: usize) -> RecordBatch {
            let schema = Schema::new(vec![
                Field::new("a", DataType::Int32, false),
                Field::new("b", DataType::Utf8, false),
            ]);
            let expected_schema = schema.clone();

            let a = Int32Array::from(vec![1; rows]);
            let b = StringArray::from(vec!["a"; rows]);

            let record_batch = RecordBatch::try_new(Arc::new(schema), vec![Arc::new(a), Arc::new(b)])
                .unwrap();
            record_batch
        }
        let big_record_batch = create_batch(65536);
        println!("big_record_batch with dimension ({}, {}) (rows x cols) serialized as Apache Arrow IPC in {} bytes", big_record_batch.num_rows(),
                 big_record_batch.num_columns(), serialize(&big_record_batch).len());
        let length = 5;
        let small_record_batch = create_batch(length);
        println!("small_record_batch with dimension ({}, {}) (rows x cols) serialized as Apache Arrow IPC in {} bytes", small_record_batch.num_rows(),
                 small_record_batch.num_columns(), serialize(&small_record_batch).len());

        let offset = 2;
        let record_batch_slice = big_record_batch.slice(offset, length);
        println!("(Sliced): record_batch_slice with dimension ({}, {}) (rows x cols) serialized as Apache Arrow IPC in {} bytes", record_batch_slice.num_rows(),
                 record_batch_slice.num_columns(), serialize(&record_batch_slice).len());
    }
}

As you can see the sliced one has almost the same size as big_record_batch, but I would expect it to be the same size as small_record_batch:
big_record_batch with dimension (65536, 2) (rows x cols) serialized as Apache Arrow IPC in 606608 bytes
small_record_batch with dimension (5, 2) (rows x cols) serialized as Apache Arrow IPC in 464 bytes
(Sliced): record_batch_slice with dimension (5, 2) (rows x cols) serialized as Apache Arrow IPC in 590240 bytes

This can be related to Add support for writing sliced arrays and flight_data_from_arrow_batch sends too much data

Can you confirm that the issue is just the size of the written file, and not a correctness problem - i.e. the data is larger than it could be, but still round-trips correctly? If so, I think as you've suggested this might be a duplicate of https://github.com/apache/arrow-rs/issues/208.

Is there any plan to resolve this issue? For my use case, I care specifically that I can write multiple smaller IPC messages rather than a single large one. I hoped to achieve this by slicing the large RecordBatch and writing each slice separately. It seems like a similar issue existed in arrow2 but was resolved last year.

As stated above this isn't a bug per se, but rather that the IPC format faithfully sends the representation of the arrays over the wire - even if some portion of the values have been logically sliced away. I think some feature that truncates buffers, rewriting offsets, etc... is definitely possible as described in #208.
I personally have very limited time to spend on this, but perhaps @nevi-me or @viirya might have some spare cycles?

I will try to take a look this weekend.

see https://github.com/apache/arrow-rs/pull/2040 from @viirya  ❤


Typing error and modifications

Hello,
thank you for providing this project. I want to use it, but I have a few questions.
I use the IRIS Connect configuration on my Kamailio. However, I had to make some changes to run it without any errors in my network.
I commented out the route route[NATDETECT] (line 513-523), route[NATMANAGE] (line 530-559) and route[DLGURI] (line 565-568).
I also replaced:
if (!proxy_authenticate("$fd", "subscriber"))…. on line 492
to if (!auth_check("$fd", "subscriber", "1"))….
Probably I found a typing error in line 267:
modparam("rtimer", "exec", "timer=senddlg;route=CCMDIALOG;")
But your function is called route[CCMDLG] not route[CCMDIALOG]
I can add users with kamctl in the kamailio database and the Rest-API of the kamailio sends data when registering, dialog start, dialog end and register-expired.
Now the Kamailio "subscriber" table is used, but how can I change to the CCM "sipaccount" table to bypass „kamctl add…“ to add new Users and use the account managment from CCM? Then how should the Konfigration look like?
I look forward to your reply.
Thank you in advance!
Best regards
harunbk

Hi! Thanks for the typo report, will fix that.
This configuration is based on the default Kamailio configuration file and documentation for that can be found in the kamailio project. That explains a lot of the extra stuff, like the routes you commented out.
In order to use the SIPaccount table you need to use a database driver for the database you use and the pv based authentication. First you perform a query to get the expected password, store that in a pseudo variable and then use that for the pv based authentication.
Check https://kamailio.org/docs/modules/5.2.x/modules/auth.html#auth.f.pv_auth_check for inspiration.
Regards,
/Olle

Hi,
Thanks for your help Olle!
I'm working on getting the password from the sipaccounts table from the CCM database as you explained above.
The database from the kamailio is not only used for the subscriber table. The Kamailio stores therein for example also the location table for the assignment of permanent and temporary IP-adress and so on.
Is it possible to completely abolish the Kamailio database and operate only with one (the CCM) database? Or is the local kamailio database still necessary for the kamailio to save data I mentioned above?
What about security when the passwords in the database are in plain text? Is there an option to hash them?
Thank you in advance!!
Regards
harunbk

You still need the location table in order to enable restarts without loosing registration. So you need a kamailio database and access to the CCM database from Kamailio. That's not a problem for kamailio at all.
CCM stores password in clear text, so you are bound to use that.


Creating constants for the stats names.

Creating one location for  finding the list of stats being collected.  Let me know if you want me to merge this PR and create one more PR with the rest of the changes, or merge the rest of the changes into this PR.

Codecov Report

Merging #258 into master will not change coverage.
The diff coverage is 84.61%.

@@           Coverage Diff           @@
##           master     #258   +/-   ##
=======================================
  Coverage   60.29%   60.29%
=======================================
  Files          87       87
  Lines        5204     5204
=======================================
  Hits         3138     3138
  Misses       1789     1789
  Partials      277      277

Impacted Files
Coverage Δ

sched/scheduler/cluster_state.go
89.41% <100%> (ø)
:arrow_up:

sched/scheduler/stateful_scheduler.go
72.39% <80%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Please add the 996.ICU license, thanks

Repo: https://github.com/996icu/996.ICU
License: https://github.com/996icu/996.ICU/blob/master/LICENSE
996.ICU

The name 996.ICU refers to "Work by '996', sick in ICU", an ironic saying among Chinese programmers, which means that by following the "996" work schedule, you are risking yourself getting into the ICU (Intensive Care Unit).

Principles and purposes

996.ICU is an initiative initiated by IT practitioners. We welcome people from other fields and other countries to join the discussion.

This is not a political movement. We firmly uphold the labor law and require employers to respect the legitimate rights and interests of their employees.

It is a great progress from closed source to open source, and it will also be a great progress from open source to emphasize labor rights at the same time. What we want is to create an open source software license that advocates for workers' rights.

We are willing to hear all positive and constructive proposals and advocate for mature and responsible speech.

We are working on the drafting of Anti-996 License right now and we hope to get help from professionals with relevant experience.

We do not have plans to use this license.


updated documentation to save others time doing what might be a common task

I had to create a cassandra table with a more complicated primary key structure than shown in the documentation examples. I finally figured out how to do this from the source code and thought I could save some others time by sharing what I have done.

Thanks for the patch.
Could you create a ticket in Jira, squash your commits, and prepend the result commit title with "SPARKC-xxx: "

OK I think I have done this now. I am new to the system so let me know if I need to make any further changes.
https://datastax-oss.atlassian.net/projects/SPARKC/issues/SPARKC-232?filter=allopenissues

I think Jacek was asking if you could present a single commit rather than 5, you should be able to do this using the get rebase command. I prefer using git rebase -i target_branch
Then you'll see you can change the commit labels from keep to squash
See
http://jaimeiniesta.github.io/learn.github.com/p/rebasing.html
For more info
When you have done this correctly you'll have to force push back up to your branch and this PR will end up only having a single commit in it
Thanks so much for helping out!

I think that I have done this correctly now, thanks for the help!

Yep that's it! Thanks for the update!


macOS

I have access to macOS, but I'm not a developer in the language in which this is written. I'd like to help test it a few times if you'd like. I really would like to get Macs in on this earlier if possible.
I really, really like this project. I feel the same about the betas.
Hopefully, though, this is smoother than the actual betas are.. comparatively, they're quite laggy and take a lot of power to run.

Documenting this for myself, but in case anyone else wants to run this on macOS (requires Git from Xcode CLT and Mono):
Server instructions:
# Download...
git clone --recursive git://github.com/flibitijibibo/TrueCraft.git
cd TrueCraft
nuget restore

# Compile...
xbuild

# Go to output folder
cd TrueCraft.Launcher/bin/Debug

# Start server
mono TrueCraft.exe

Client instructions:
# Go to output folder
cd TrueCraft.Launcher/bin/Debug

# Download and extract native libraries, discard extras
curl -O fna.flibitijibibo.com/archive/fnalibs.tar.bz2
tar xvfj fnalibs.tar.bz2 osx
rm fnalibs.tar.bz2

# Add native libs to loader path
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:./osx/

# Run
mono TrueCraft.Client.exe <IP_ADDRESS> username


Searching Code is missing for commonsense and math tasks

Thank you for your great work and swift answers. Maybe LoNAS (or LLaMA-NAS) can bring one-shot NAS back to the era of LLMs.
I noticed that in run_glue.py, when we set the flag do_search=True, we have the following code:
https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/blob/a00c14855ed87a124602ea89686dc94e8f3372f4/LoNAS/run_glue.py#L701-L752
However, I can not find similar code in commonsense or math:
https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/blob/a00c14855ed87a124602ea89686dc94e8f3372f4/LoNAS/run_commonsense.py#L327-L337
Can you explain it?

Thanks for your invaluable feedback! We have added the code for LoNAS to search on the math and commonsense datasets: https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/commit/f6cd4554b256ddf7ac431c10a2c59e4f635198bf.
Running an evolutionary search on LLMs is expensive, so you may want to propose other ways to identify high-performing subnetworks. We are also exploring this challenge.
We invite you to check our latest work, Shears (paper, code), in which we constrain the search space to the hyper-parameters of elastic LoRA adapters. You might find this work useful to your research.
Thanks!


Usage string updates and cleanups

This PR tweaks usage strings, word-wraps and standardizes them, and adds -v and -verbose flags for debug logging.

Overall comment, 1) I think you should just use backticks instead of of trying to construct these huge usage strings using concatenation.  2)  I think we should wordwrap at 80-ish characters.  It's much easier to read in a terminal that way.

@ejj , did you see the word wrapping in 32089e7? I wanted to get rid of the manual wrapping with the back ticks. Do you prefer the manual way? I could make the strings in the code more readable some other way.

I prefer backticks. It's easy to miss newlines or spaces when concatenating strings in my experience.

Ok, sounds good, I'll do the wrapping with back ticks instead.

The other nice thing about backticks, is it's easy to have a sense of what the output will look like just by looking at the code.

@ejj , updated to use back ticks


Fix linker output for data/rodata sections.

Currently, splat outputs subsections of types data and rodata as .s files to the asm/data directory.
However, the linker script which gets automatically generated expects the files to be at BUILD_DIR/data and BUILD_DIR/rodata respectively.
It would be easier for the linker script to resolve this than having a specific edge case in Makefiles.
A simple solution for this issue would be making the linker script generator simply point to BUILD_DIR/asm/data for both data and rodata types.

That's weird...the intention is for all "data" and "rodata" disasm to be linked in build_dir/asm/data. I'll look into this while we do the great path refactor

Issue has been fixed with #73.


robyn --deploy

This new feature would enable users to deploy their source code directly to a server. The deployment process would be configured through a robyn.yaml file, specifying crucial deployment details.
Key aspects of the proposed feature include:
Configuration via robyn.yaml: This file would contain the server's destination details, primarily the IP address of the Virtual Private Server (VPS).
Deployment to Different Destinations:

VPS Deployment: When deploying to a VPS, the robyn.yaml would specify the IP address. This approach would also require setting up a reverse proxy and SSL certificates, potentially using tools like Caddy to handle these aspects.
Docker Deployment: If a Dockerfile exists in the project, the deployment destination could be an artifact repository (artifactory), where the Docker container would be hosted.

The proposal underscores the need for a flexible deployment solution that accommodates both traditional VPS hosting environments and modern containerized applications. This feature would significantly streamline the deployment process for Robyn users, making it easier to manage deployments across different environments.

I'm working on this!

moved to a different repo.


Tutorial 6: Attention is all you need

Hello, is there any good hyper parameters for transformer with encoder layers and decoder layers of 6?
By simply change from
ENC_LAYERS = 3
DEC_LAYERS = 3
N_EPOCHS = 10

to
ENC_LAYERS = 6
DEC_LAYERS = 6
N_EPOCHS = 50

I got the following results:

Do you guys have any idea to get better results with bigger model? Thanks so much !

Training large Transformer models still requires quite a few tricks to make them work properly.
The main two techniques I'd recommend looking into are initialization and learning rate schedulers.
A common way to initialize Transformers, which I'd recommend, is using a truncated normal distribution with a std of 0.02.
For learning rate schedulers, a lot of people use a "warm-up" stage, where the learning rate linearly increased from zero to some maximum value, followed by an annealing stage where the learning rate is then slowly decreased (usually linearly too).

could you share a link or basic code on how we can implement the warm-up stage please?

perhaps you can do it like this:
def get_inverse_sqrt_schedule_with_warmup(optimizer, num_warmup_steps, num_training_steps, last_epoch=-1):
    """ Create a schedule with a learning rate that linearly increases from some initial learning rate (``--warmup-init-lr``) until the configured
    learning rate (``--lr``). Thereafter we decay proportional to the inverse square root of
    the number of updates.
    """

    def lr_lambda(current_step):
        current_step = max(1, current_step)
        return min(float(current_step)**-0.5, float(current_step)*(float(num_warmup_steps)**-1.5))

    return LambdaLR(optimizer, lr_lambda, last_epoch)

For further detail, you can check out this repo https://github.com/jcyk/copyisallyouneed


Allow framework id to be set in deploy.rb

Currently the play-recipes.rb hard codes the framework id to be 'prod' when starting the play app.  It would be nice if this was configurable by a variable set in the deploy.rb script so that deploy to different environments.

Yes it could be nice!
If you can contribute it, don't hesitate to send a pull request with this modif and I'll pull it!
Thanks in advance!


Add new dlc units to the dataset

I've added new dlc units to the dataset.

Hey @shyam-s00 , seems like it broke the tests. Could you check it? thanks!

Does the test run against the data from DB for asserting?

Any luck with this? Hoping for a full API (with new DLC civs)

@aalises Does the test run against the data from DB for asserting?

@shyam-s00
Indeed, that is the case. If you check this test here you will see that the API calls the database.
So, any changes to the csv files would mean that also changes in the database file are required.
Finally, keep in mind that Python 3.6.x is suggested. I had a try with 3.9.x but the tests failed with the lazy='dynamic' options used in relationships between tables. In 3.6.x this is just a warning, so the tests pass.
P.S. I know I am late to the party 😄, but as a previous consumer now I take the chance to dive into this API. Many 👍 to the creator @aalises!


Update sources

:robot_face: Updating sources to the latest version.
Diff between current and this version can be seen here: https://github.com/NixOS/nixpkgs/compare/efe0307291c4a792951a947011f2e90038b6d116...e2f381b2f1879ad6d68be5a9e9e6e3288529bfaf

This is nixos-unstable, don't think there are any ocaml changes

macOS passed so seems good to merge


Saved Hobbies dropdowns

On the saved hobbies page it could be a good idea to show something like 'No hobbies saved yet' in the drop-down that have no saved hobbies yet?

done


provided keys in error message is wrong

I received an error message about missing permissions [1]
Subsequent invocations of the same action caused ever-changing "provided keys" - the provided key, according to nodeos, was always a different one.
As it turns out nodeos merely takes a guess at the "provided keys" but can't accurately determine them. This should be reflected in the error message. It should either omit the message about provided keys or say "either you provided key [key] or something else went wrong with the signing of this transaction"
Steps to reproduce:
1 - Make any transaction on a local chain using the wrong chain ID
Expected result:
Accurate error message example
"Either you provided keys [keys] or something else went wrong with the signing of this transaction"
Alternatively - omit provided keys, since eosio cannot accurately determine provided keys from the signature.
Actual result:
Misleading error message
Reference (this is what is happening):
https://github.com/EOSIO/eosjs/issues/518#issuecomment-472176189
[1]
{
   "code":500,
   "message":"Internal Service Error",
   "error":{
      "code":3090003,
      "name":"unsatisfied_authorization",
      "what":"Provided keys, permissions, and delays do not satisfy declared authorizations",
      "details":[
         {
            "message":"transaction declares authority '{\"actor\":\"owner\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [],
provided keys [\"EOS6b4ZQkcMuHmLdTmWERUL1PikWvX9LMzgcfF9of1nZAjt9PoJow\"],  <==== Wrong, I never provided this key
and a delay max limit of<PHONE_NUMBER> ms",
            "file":"authorization_manager.cpp",
            "line_number":532,
            "method":"check_authorization"
         }
      ]
   }
}

Which version of Nodeos are you using?  This message has been updated in our 2.1 rc1 release.

Thanks to @tbfleming and @heifner for their assistance and recommendations for the solution to this issue.  @heifner for pointing out that removing the information from the message was the incorrect approach and @tbfleming for recommending a preferred solution.
The solution was to change the message from stating these are provided keys to stating these are recovered keys.  It clarifies what is being reported.


Recreate items object from initItems if value in cookie does not contain all the needed items

Thank you @sweng66 !


Change IPC FileReader to own the underlying reader

Closes: https://github.com/jorgecarleitao/arrow2/issues/514

Awesome! Thank you so much @jorgecarleitao!


Vickel: Watch smartchoiceweb

Vickel requests the watch of the watch_keyword smartchoiceweb. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

smartchoiceweb has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ