How do I edit the LAYOUT of a existing component in ArkhamHorror 2ndEd?

Sorry if this is not the place to ask, but I can not find any forums or anywhere to ask about how to use this app... I'm trying to make some cards using the Arkham Horror 2ndED plug in but having some issues working out how to use it.

This is the SKILL card form the plugin... but how can I edit the layout? I would like to move the expantion symbol UP so it is off the frame and also edit the text box so it starts drawing text closer to the top of the card? But i can not find anyway to edit the card layout.. I can only edit the input field "NAME" and "EFFECT"?

Any help would be really appreciated! Thanks!
And if there is a forum or reddit or something for this app, please post a link!

The general philosophy of Strange Eons is to separate the graphic design/layout of game components from the process of creating the cards themselves. Card layouts generally follow those of official designs. That said, it is generally possible to adjust at least some aspects of most card types.
Here is one example that uses the most common approach:

Install the Developer Tools plug-in.
Make sure View/Region Boxes is enabled. This is not strictly required, but makes the modification process easier.
Create/open the card you want to modify (in these instructions, an AH Skill).
Choose Window/Setting Explorer.
In the text field marked Regex setting filter, type (for example) skill.*region. This will narrow down the list of visible settings to those that start with skill and end with setting.
Double click the value of a setting you wish to modify and enter a new value. Regions describe a rectangular area using the x- and y-coordinate of the upper-left corner, the width, and the height. For example, if you change skill-text-region from 21,122,200,210 to 21,112,200,220 then the top of the "effects" text area will move up while the bottom stays in the same location (since the height was increased accordingly).
To modify the location of expansion symbols, change the filter to expsym. There will be one main setting key, and (in this case of skill cards) some additional entries for specific expansions. Changing these to 112,90,21,22 will move the symbol above the effect text without changing the size.
Skill cards define a "page shape" to create a small cutout from the bottom the text area for certain expansion symbols. These are rarely used, and moreover do not always have accessible settings you can modify. In this case, though, it is. Type shape in the filter field and locate skill-text-shape. Changing this to 0,0,350,0,0 will effectively remove the cutout by changing its size to 0 and causing it to start below the bottom of the text area.

In the end you should have something like this:

Note that these changes will only affect the card that they are applied to. New skill cards will follow the standard layout unless similarly modified. However, you can easily clone the modified card by choosing Edit/Spin Off.
This only scratches the surface of possible modifications, but it should get you started.
The developer manual and plug-in authoring kit will contain additional information and examples that may be useful. You may have to hunt around, though, since their primary purpose is creating new designs rather than hacking existing ones!
Asking here is fine, though generally this is meant for reporting bugs or for plug-in developers to ask questions/request features needed by plug-ins. It would make more sense to ask in the documentation repository or using the Contact link on my site (which I think you also did).
Have fun!

Thanks so much for the reply. I'm sorry for contacting you at two locations but I was unsure what would be the best option.
You wouldn't have a developer pack containing all the required fonts for Arkham Horror (I guess I need to call it 2nd Ed now!). In my case it may be easier for me to build a black card in your app and then apply the text myself in affinity designer or something. But I'd need the font pack (Windows compatible)
Also as I'm already bothering you.. Is there a github with more game repositories besides the ones in the default plugin list? I was surprised to see no eldritch horror or AH3 or some other games. I thought maybe there was another listing of more plugs...maybe not 100% vetted by you or whatever?
Thanks again for your reply and for strange eons. AH modding might not be what it was but I still enjoy it lol
Tragic
*** Sent from my phone. Sorry for the brevity. ***

From: Chris Jennings @.***>
Sent: Thursday, 21 April 2022 5:13 pm
To: CGJennings/strange-eons
Cc: Tragic; Author
Subject: Re: [CGJennings/strange-eons] How do I edit the LAYOUT of a existing component in ArkhamHorror 2ndEd? (Issue #50)
The general philosophy of Strange Eons is to separate the graphic design/layout of game components from the process of creating the cards themselves. Card layouts generally follow those of official designs. That said, it is generally possible to adjust at least some aspects of most card types.
Here is one example that uses the most common approach:
Install the Developer Tools plug-in.
Make sure View/Region Boxes is enabled. This is not strictly required, but makes the modification process easier.
Create/open the card you want to modify (in these instructions, an AH Skill).
Choose Window/Setting Explorer.
In the text field marked Regex setting filter, type (for example) skill.region. This will narrow down the list of visible settings to those that start with skill and end with setting.
Double click the value of a setting you wish to modify and enter a new value. Regions describe a rectangular area using the x- and y-coordinate of the upper-left corner, the width, and the height. For example, if you change skill-text-region from 21,122,200,210 to 21,112,200,220 then the top of the "effects" text area will move up while the bottom stays in the same location (since the height was increased accordingly).
To modify the location of expansion symbols, change the filter to expsym. There will be one main setting key, and (in this case of skill cards) some additional entries for specific expansions. Changing these to 112,90,21,22 will move the symbol above the effect text without changing the size.
Skill cards define a "page shape" to create a small cutout from the bottom the text area for certain expansion symbols. These are rarely used, and moreover do not always have accessible settings you can modify. In this case, though, it is. Type shape in the filter field and locate skill-text-shape. Changing this to 0,0,350,0,0 will effectively remove the cutout by changing its size to 0 and causing it to start below the bottom of the text area.
In the end you should have something like this:
Note that these changes will only affect the card that they are applied to. New skill cards will follow the standard layout unless similarly modified. However, you can easily clone the modified card by choosing Edit/Spin Off.
This only scratches the surface of possible modifications, but it should get you started.
The developer manual and plug-in authoring kit will contain additional information and examples that may be useful. You may have to hunt around, though, since their primary purpose is creating new designs rather than hacking existing ones!
Asking here is fine, though generally this is meant for reporting bugs or for plug-in developers to ask questions/request features needed by plug-ins. It would make more sense to ask in the documentation repository or using the Contact link on my site (which I think you also did).
Have fun!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.**>

No problem, glad I could help!
You can get the fonts fairly easily from the plug-in itself. Open the plug-in manager (Toolbox/Manage Plug-ins) and choose Open Plug-in Folder. Find the main AH plug-in, select it and choose Copy. Then go back to Strange Eons, and paste the file into a project. Right click and choose Import Plug-in to convert the plug-in into a regular folder. You'll find the fonts inside.
There are some GitHub repositories for individual plug-ins that I know of, though the ones I know of are listed in the catalogue. There are some plug-ins floating around (not on GitHub so far as I know) that have never been submitted for inclusion in the catalog. For example, sometimes people post plug-ins directly to a forum.
I think I heard from someone who was interested in making an Eldritch Horror plug-in, but I don't know what the status of the project is.


Unexpected token 'T', "Too Many Requests" is not valid JSON

I've just installed this using Docker and I'm accessing this through a reverse proxy (Traefik) but it shows an at the bottom:
"Unexpected token 'T', "Too Many Requests" is not valid JSON"

Also, the [+] is missing to add a bridge ...

The [+] is missing because the initial request to fetch the bridges already fails.
Can you open the "developer tools" of your browser (most browsers use F12).
Then switch to the network tab and refresh the page. There should be request failing (red) called "bridges".
Select it and head over to the "response" tab. What does it show?

It's quite strange because if I refresh a couple of times it might work and then stop working.
I'm seeing lots of code 429 (Too Many Requests)...
Maybe something to do with the reverse proxy?  (I have the reverse proxy working with 10+ other applications so it's odd this isn't working by default)

Interesting. I need to check if there is an error-handling bug. E.g. when it fails it retries immediately. And then you somehow get the too many requests error.
I'll try to reproduce it.

After improving some things related to proxy / ingress, can you please try again as described here:
https://github.com/t0bst4r/home-assistant-matter-hub/blob/main/packages/documentation/faq/Running behind Reverse Proxy.md

Since the app is running in host mode, the port is still externally reachable.
For security reasons you can limit the http port to an IP whitelist (e.g. only include the reverse proxy ip / <IP_ADDRESS>).
The app logs (debug) the IP address which accesses the page. You can use this log to find the correct ip to whitelist for the reverse proxy.
See the configuration section in the readme for more details on how to configure it.


Set AsyncStorage cause crash

Environment

"@react-native-async-storage/async-storage": "^1.19.3",
"react-native": "0.72.3",
"@callstack/repack": "^3.5.1",
"webpack": "^5.89.0"
platform: iOS
Description

When i  call
ScriptManager.shared.setStorage(AsyncStorage);
it will crash when load async chunks

there are not much human readable info
Reproducible Demo

Hey @rainjiang,
since the error is native, it might indicate the issue with native module of either Re.Pack or AsyncStorage
does the AsyncStorage work in your project when you call it directly? For example:
import AsyncStorage from '@react-native-async-storage/async-storage';

const storeData = async (value) => {
  try {
    const jsonValue = JSON.stringify(value);
    await AsyncStorage.setItem('my-key', jsonValue);
  } catch (e) {
    // saving error
  }
};

storeData('test');


Slider not working at all

I initialized it in js properly and even used the exact code given on the website but the slider doesn't work

what is .94 file and where i can download it?

0.94 is an old release

actually my slider doesn't work too, my current materialize source at the moment was from here http://materializecss.com/getting-started.html and when i used the source code above I only see gray background.

I have the same probleme, any issue ?

OK find why, check your console browse ( F12 / Console )
And there is this : Failed to load resource: the server responded with a status of 404 (Not Found)  http://localhost/materialize 0.95/css/style.css
Just remove %XXX of your URL

I have the same problem with the slider not working...
Trying to debug, I can see I never enter the this.each loop or the $this.on('sliderStart',  function.
    init : function(options) {
      var defaults = {
        indicators: true,
        height: 400,
        transition: 500,
        interval: 6000
      };

      options = $.extend(defaults, options);

			console.log('init slider', options, this.each);

      return this.each(function() {
				console.log('for each slider');

This is what I log in the console and have just before I initialize the slider:
          var id = this.id;
          var selector = '#' + id + '.slider';
          var options = this.options || {full_width: true};
          var sliderElem = $(selector);
          console.log('slider', selector, options, sliderElem);
          // sliderElem.slider({});
          // sliderElem.slider({});
          sliderElem.slider('start');

Output:
slider
selector: #my-slideshow.slider
options: Object {}
sliderElem: [prevObject: n.fn.init[1], context: document, selector: "#my-slideshow.slider"]`

Any ideas? I don't get any errors in my browser console. I'm trying to wrap the slider as a Polymer web component. Not sure if that could cause the problem. If so, then it is too "fragile"... IMO.

It seems to be related to this: http://stackoverflow.com/questions/3106414/in-jquery-how-does-the-this-each-work and perhaps due to the context being set to document??


[enhancement request] packagePath 1 source folder/file into 2 destinations

VSTS extensions can contain multiple custom tasks, 2 or more of which may want to use the same file when packaged (e.g. identical icons).
currently neither of the following work for this:
"files": [
  {
    "path": "source/path",
    "packagePath": ["task1/path/dest", "task2/path/dest"]
  }
]

"files": [
  {
    "path": "source/path",
    "packagePath": "task1/path/dest"
  },
  {
    "path": "source/path",
    "packagePath": "task2/path/dest"
  }
]

It would be convenient for one or both of these examples to result in the same file being packaged in both specified destination paths.

I'm going to leave this feature undocumented. You can use an array of part names in the packagePath property - just like the first suggestion. There is currently no validation that the file hasn't already been added, Additionally, you are limited to a single content type for all files (hopefully that will be the same!) Let me know if it works for you.

on tfx-cli v0.4.4, this doesn't seem to be working for my current use case (packaging the VstsTaskSdk folder into 2 different Powershell-based custom tasks under 1 extension). I'm still only seeing the folder being packaged into the first destination path listed in the array.

@magnetmagnate I think I figured it out - go ahead and try 0.4.5 and let me know if that works. Thanks.

0.4.5 works. Thanks!

Good news!


support opening text file for precommand

Description of the new feature/enhancement

For many developers, especially embedded developers, they would pre-define many text commands and save them in a text file. If WT can split views and open and display text in one view, we can quickly send the text commands to the terminal. I can send lines, send selected blocks, or send the entire content of the file, and preset some shortcuts.
Proposed technical implementation details (optional)

Guys this is totally the notebooks thing I was talking about 😉
But also, there's probably some other useful things we're working on here for "Tasks" - basically, having a big long list of sendInput actions that you can quickly activate - either through the suggestions UI, or maybe even adding a "Tasks" pane.
(we'll probably have more to say after the holidays)

Okay so, you may be interested in the Suggestions UI and Tasks, which are new in 1.19: Using SendInput Actions in the Suggestions UI

I have Big Plans for these in upcoming releases - some of which is tracked in #13445 (though I think a better thread is floating around here somewhere)
see also:

#1595
#15664

no, I know this, and we DO NOT want to config the setting.json, we just want to code in some text file for TeamWorks
so, we want to open the text and the send those command easily, through terminal

No worries! I've got a lot of related ideas in this space, and untangling them all is sometimes a bit tricky.
You're looking for something more like this?

Yea? A file, with blocks of code that lets you run individual commands, or the whole block?

This is so innovative.
and  a little simple txt file for me
We can run the line to terminal where curser focused (with  shortcut )
or  select  some block  to  run

Congrats, this gets to be the thread then ☺
I've been ideating in this space for a long time, just never actually filed a thread for it. I'm gonna co-opt the OP here to add some other notes. Thanks!

@zadjii-msft
here is some demo using vscode.(yes, we can do this with vscode)

text base panel is need indeed (good for teamwork and easy to use)
notebook panel is welcome also (good for guiding)

reserving for notes for hackathon

I'm gonna leave the above comment for the "inline notebooks" investigation that eventually petered out, and use this one for side-by-side markdown in the Terminal
Branch map:

dev/migrie/f/sui-panes

til events ==> dev/migrie/fhl/2024-spring-merge-base

Inline notebooks: https://github.com/microsoft/terminal/compare/dev/migrie/fhl/2024-spring-merge-base...dev/migrie/fhl/2024-inline-notebook

Tasks pane: https://github.com/microsoft/terminal/compare/dev/migrie/f/sui-panes...dev/migrie/fhl/tasks-pane

Markdown pane: https://github.com/microsoft/terminal/compare/dev/migrie/f/tasks-pane...dev/migrie/fhl/md-pane

2024-march-14 EoD screenshot:

Updates archive
nothing else yet

Could you please provide a another text base panel， not only markdown  panel?

Sure, why not. Rendering plaintext is easy comparatively to rendering markdown in WinUI 😜

Sure, why not. Rendering plaintext is easy comparatively to rendering markdown in WinUI 😜

thank ，now i just need a short cut to send the  line command without text_selected ，or select_text
after ，we don't need copy->paste->commit line


Own style doesn't work for me (colors)....

Maybe I'm doing something wrong.
Need help.

 ShowSingleMonthPerPosition -->

    <style name="ShowSingleMonthPerPosition">
        <item name="sublimePickerStyle">@style/SPSingleMonthPerPosition</item>
    </style>

    <style name="SPSingleMonthPerPosition" parent="MySublimePickerStyle">
        <item name="spMonthViewStyle">@style/MVSingleMonthPerPositionImpl</item>
    </style>

    <style name="MVSingleMonthPerPositionImpl" parent="MonthViewStyle">
        <item name="showSingleMonthPerPosition">true</item>
    </style>

    <!-- ShowExtendedBg + ShowSingleMonthPerPosition -->

    <style name="ShowExtendedBgAndSingleMonthPerPosition">
        <item name="sublimePickerStyle">@style/SPExtendedBgAndSingleMonthPerPosition</item>
    </style>

    <style name="SPExtendedBgAndSingleMonthPerPosition" parent="MySublimePickerStyle">
        <item name="spMonthViewStyle">@style/MVSingleMonthPerPositionImpl</item>
        <item name="spButtonLayoutStyle">@style/BLExtendedBgImpl</item>
    </style>

    <style name="WindowAnimationTransition">
        <item name="android:windowEnterAnimation">@android:anim/fade_in</item>
        <item name="android:windowExitAnimation">@android:anim/fade_out</item>
    </style>

</resources>

Your styles.xml looks fine. I can see some style definitions that are not needed. But, it should be working. What specific background are you trying to change? And what is the expected vs current output?
Note:
The sample project included some style definitions which will not be needed for a regular project. I tried to explain this in comments here: https://github.com/vikramkakkar/SublimePicker/blob/master/app/src/main/java/com/appeaser/sublimepicker/Sampler.java#L290
I agree that the explanation is not very good. All you need is:
<style name="AppTheme.Light" parent="Theme.AppCompat.Light.DarkActionBar">
   ....
   ....
    <item name="sublimePickerStyle">@style/MySublimePickerStyle</item>
</style>

<style name="MySublimePickerStyle" parent="SublimePickerStyleLight">
    <item name="colorAccent">@color/colorAccent</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorPrimary">@color/colorPrimary</item>
</style>

colorAccent is used as the default for headerBackground. So, you should be seeing @color/colorAccent as the header background for the DatePicker. Now, if you want the DatePicker and TimePicker to have different header backgrounds, change MySublimePickerStyle:
<style name="MySublimePickerStyle" parent="SublimePickerStyleLight">
    <item name="colorAccent">@color/colorAccent</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorPrimary">@color/colorPrimary</item>
    <!-- Change DatePicker's style -->
    <item name="spDatePickerStyle">@style/MyDatePickerStyle</item>
</style>

<!-- `MyDatePickerStyle` inherits from `SublimeDatePickerStyle`. So, we don't
       have to define all of the attributes used by DatePicker. We only change the one
       we want to. -->
<style name="MyDatePickerStyle" parent="SublimeDatePickerStyle">
    <item name="headerBackground">@color/colorHeaderBackgroundDatePicker</item>
</style>

Now, DatePicker will use @color/colorHeaderBackgroundDatePicker as the header background while the TimePicker will continue using the default accent color: @color/colorAccent.

I have revised my styles. Thanks for help.
But I get still the default color: teal
...and not my own primary color blue or accent color pink.
This the code (from your example) I'm using:
// SublimePicker
        SublimePickerFragment pickerFrag = new SublimePickerFragment();
        pickerFrag.setCallback(mFragmentCallback);

        // Options
        SublimeOptions options = new SublimeOptions();
        int displayOptions = 0;
        displayOptions |= SublimeOptions.ACTIVATE_DATE_PICKER;
        options.setDisplayOptions(displayOptions);
        options.setPickerToShow(SublimeOptions.Picker.DATE_PICKER);
        Pair<Boolean, SublimeOptions> optionsPair = new Pair<>(displayOptions != 0 ? Boolean.TRUE : Boolean.FALSE, options);

        // Valid options
        Bundle bundle = new Bundle();
        bundle.putParcelable("SUBLIME_OPTIONS", optionsPair.second);
        pickerFrag.setArguments(bundle);

        pickerFrag.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
//        pickerFrag.show(getActivity().getSupportFragmentManager(), "SUBLIME_PICKER");
        pickerFrag.show(getActivity().getFragmentManager(), "SUBLIME_PICKER");

Thanks for pointing to that bug report - I wasn't aware of this issue. Is your project hosted? Or is there any other way that I can look the project?
Can you try addressing the attr headerBackground directly like this:
<style name="MySublimePickerStyle" parent="SublimePickerStyleLight">
    <item name="colorAccent">@color/colorAccent</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorPrimary">@color/colorPrimary</item>
    <!-- Change DatePicker's style -->
    <item name="spDatePickerStyle">@style/MyDatePickerStyle</item>
</style>

<!-- `MyDatePickerStyle` inherits from `SublimeDatePickerStyle`. So, we don't
       have to define all of the attributes used by DatePicker. We only change the one
       we want to. -->
<style name="MyDatePickerStyle" parent="SublimeDatePickerStyle">
    <item name="headerBackground">@color/colorAccent</item>
</style>

This should change the date picker's header background to @color/colorAccent.
SublimePicker relies heavily on the support libraries. So, the issue might be on that side.
Simplified code:
// SublimePicker
SublimePickerFragment pickerFrag = new SublimePickerFragment();
pickerFrag.setCallback(mFragmentCallback);

// Options
SublimeOptions options = new SublimeOptions();
options.setDisplayOptions(SublimeOptions.ACTIVATE_DATE_PICKER);
options.setPickerToShow(SublimeOptions.Picker.DATE_PICKER);

// Valid options
Bundle bundle = new Bundle();
bundle.putParcelable("SUBLIME_OPTIONS", options);
pickerFrag.setArguments(bundle);

pickerFrag.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
pickerFrag.show(getActivity().getFragmentManager(), "SUBLIME_PICKER");

I have added the headerBackground=colorAccent in styles.xml - like you wrote.
Sorry - not working, still teal SublimeDatePicker.
Maybe it's the support-lib...
Code isn't hosted. Can I check something?
Maybe you could exclude the support libs and try it - or Google will fix the bug hopefully in the near future!

Does the picker switch to the dark version if you use:
<style name="MySublimePickerStyle" parent="SublimePickerStyleDark">

Nothing changed.

Then the style definition is not wired properly. Let's talk here: http://www.twiddla.com/2195039.

Sorry - I haven't had more time yesterday.
Do you have any further idea?
Tested also without support libs?

I'm still interested to use my own colors.

@vikramkakkar I found something in my styles and now it's running!
But I have 2 suggestions:

Header-color of date picker (also time picker) in primary and primary dark color
selection and button text color in accent color
So the picker will look like the app.

@Rainer-Lang That's great!
If at all possible, please post the changes you had to make for SublimePicker to start behaving. I am certain that your contribution will be valuable to future users.

By default, the header-background color is the same as the specified accent color. Are you suggesting this color should be colorPrimary/colorPrimaryDark?

These are again taken from the accent color by default. If your defined style does not produce this, I am willing to take a look at it to determine why.

I had a mistake in my styles-v21.xml so my styles.xml isn't used for v21.
Corrected and all worked.

Yes I know about the accentColor - but my accent color looks not good on such a big area. So I want to use my colorPrimary and colorPimaryDark instead.
Yes that's what I suggest. "use primary and primarydark instead of accent color"

Accent color is working fine but looks for my accent color ugly.

I have overwritten the styles: java spDatePickerStyle  and java spTimePickerStyle .
So my primary color is now in the header of the pickers - instead of my "ugly" (looks ugly on big areas) accent color.

If someone needs this, for me just working if i overwrite with this key ("spHeaderBackground") instead of "headerBackground"
Example:


Moved java files

In order to build the java files the needs to be located in the java dir, otherwise gradle won't pick the up.
This can be verified by calling:
./gradlew clean install
jar tvf examples/build/install/examples/lib/examples-0.8-SNAPSHOT.jar | grep helloworld

Codecov Report

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

@@            Coverage Diff            @@
##             master      #14   +/-   ##
=========================================
  Coverage     23.43%   23.43%
- Complexity      136      139    +3
=========================================
  Files            51       51
  Lines          1762     1762
  Branches        296      296
=========================================
  Hits            413      413
  Misses         1263     1263
  Partials         86       86

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 e3118fd...5aedea2. Read the comment docs.


feat: --send-all option

added --send-all option to send command, allowing users to send their entire mature balance minus an optional priority fee
retains feature parity between Go and Rust implementations (the Go wallet has --send-all)
fix formatting and typos

I can also confirm that it works, as I've tested it on our testnet:
Test [c500ac46] • 3,587.9997784 TSPR (180 TSPR) $ send spectretest:qpr45ckkggwygdxdg7jxzkqcpd26s7q9rg0mxzncv90wy9hps8e0vhlq4j0dt --send-all
Enter wallet password:
Transaction sent - Amount: 3,587.9997784 TSPR  Fees: 0.00057936 TSPR  Total: 3,588.00035776 TSPR  UTXOs: 51

Sending 3,587.9997784 SPR to spectretest:qpr45ckkggwygdxdg7jxzkqcpd26s7q9rg0mxzncv90wy9hps8e0vhlq4j0dt

With priority fee:
Test [c500ac46] •<PHONE_NUMBER>8 TSPR (240 TSPR) $ send spectretest:qpr45ckkggwygdxdg7jxzkqcpd26s7q9rg0mxzncv90wy9hps8e0vhlq4j0dt --send-all 2
Enter wallet password:
Transaction sent - Amount:<PHONE_NUMBER>8 TSPR  Fees: 2.0002216 TSPR  Total:<PHONE_NUMBER>8 TSPR  UTXOs: 19

Sending<PHONE_NUMBER>8 SPR to spectretest:qpr45ckkggwygdxdg7jxzkqcpd26s7q9rg0mxzncv90wy9hps8e0vhlq4j0dt


Example scoped "section" loader and tag

Provide an example loader and include (or render) tag subclass that uses a context variable to give the loader a prefix or scope to search. Much like the "section" tag found in Shopify's Liquid.

See https://jg-rp.github.io/liquid/guides/custom-loaders#loading-sections-and-snippets.


docs: Update README.md to add a cleanup section

Which issue is resolved by this Pull Request:
Resolves #
Description of your changes:
Working with InstructLab, models are stored locally that need to be cleanup once work on InstructLab is complete. Update the README.md to describe the steps to remove unneeded data once done with InstructLab.

@nathan-weinberg Just curious why this was closed? I think users should know how to free up memory used by InstructLab.

@Billy99 It was a GitHub bug having to do with the open-sourcing, no action was taken on my part, feel free to reopen


Standard Toolbar and flexible Mui Data-tables

Notes for Reviewers
This pr provides the standard toolbar in Meshery ui and flexible and reusable data-table component .
Some pages are left to incorporate the changes
Example:

Signed commits

[x] Yes, I signed my commits.

UI improvements

Yes those theme references I am fixing, but the main issue I am facing is I am keep striking with errors due to current structure of code. Some of them are unrelated

@sudhanshutech call @aabidsofi19 to help get this done by today's deadline.

Review ready?

@sudhanshutech
Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)


Audience Network: document video format

Relates to https://github.com/prebid/Prebid.js/pull/1292

Thanks @lovell !


[request] Make invisibility of local docker building/pushing, and remote docker pulling in Kubernetes cluster invisibilly

Background
ko is widely used during development and release of Knative components, which can make containers invisible infrastructure:
No need to

run docker build
run docker push  to a Docker registry like docker hub
care the exact docker image name and tag/sha256 which Kubernetes workload will try to pull

But ko might not support Dockerfile (see issue please).
kaniko is a tool to build container images from a Dockerfile, inside Kubernetes cluster.
Requirement
The docker image oamdev/core-resource-controller needs to be built for running this project see https://github.com/crossplane/addon-oam-kubernetes-local/blob/master/charts/oam-core-resources/values.yaml#L8 and serve for the helm chart see https://crossplane.io/docs/v0.11/getting-started/run-applications.html.
kubectl create namespace crossplane-system
helm repo add crossplane-alpha https://charts.crossplane.io/alpha
helm install addon-oam-kubernetes-local --namespace crossplane-system crossplane-alpha/oam-core-resources

Proposal
We use tool like ko, kaniko to help image build.

The ko community has been considering supporting Dockerfile since last September, but there is still no clear roadmap see here.


Unreadable dialects file.

This is part of the generated dialects of common.rs,  it's hard to read. I used to use gomavlib, and the files generated are much more readable.
Another problem is that, whenever I navigate to the generated file, my NVIM editor just got stuck.

Thank you, I will try format-generated-code
I have also tried vs code (with rust-analyzer), and also got something similar:

I'm on MacBook Pro M1.


filepond UI is broken with Bootstrap 3.3.7 enabled

Summary
My app is using Bootstap 3.3.7. Everything works fine, but filepond UI do not work properly when I load bootstrap css. It looks totally fine without bootstrap css.
How to reproduce
https://codepen.io/anon/pen/KjrZdN
Expected behaviour
Working filepond UI regardless of css framework.
Additional information
ofc I'm using more than just bootstrap. I can replicate a whole page of my app at codepen, but as soon as i'm removing exactly bootstrap css everything start behaving as it should.

Remove the .form-control class from the input element. And set the .filepond--root font-size to 16px
.filepond--root { font-size: 16px; }


Refactored format command

Refracted format command to line up with wrap command
camel format air

Got a bit of user feedback on this idea, and no one was jumping up and down for it https://talonvoice.slack.com/archives/C026KPTJE6T/p1641216459210300


Typing with Mypy

Is your feature request related to a problem? Please describe.
I notice that a lot of the library is untyped. This makes it hard to contribute to, as I'm unsure what arguments are what type.
Describe the solution you'd like
Type the library with mypy and add mypy to CICD

Of lesser issue, it's not auto formatted or even linted. I would recommend ruff for that purpose.


Target behavior for handling stdin input

(opening this to facilitate a focused discussion on a topic brought up by another user in various other threads)
One requirement of rustfmt is that it must support formatting strings of Rust code via stdin (in addition to formatting .rs files of course), so this is indeed a provided feature in rustfmt 1.x today.
Instead of running rustfmt against files (e.g. rustfmt src/main.rs --edition 2018 --check) rustfmt can be used with stdin which can either be piped:
$ echo "fn         foo   (   ) {         }" | rustfmt
fn foo() {}

Or in an active/edit mode if not piped:
$ rustfmt
fn
foo (   ) {  println!(     "bar")   ; }
# After flushing the buffer with `CTRL+D` the below is emitted
fn foo() {
    println!("bar");
}

This second mode is beneficial for users operating with stdin because it operates as a sandbox of sorts that allows for writing code more natively, doesn't require escaping things like quotations, explicit newline chars, etc. and is easier to copy/paste in code snippets from elsewhere for the same reasons.
A tradeoff of sorts with this feature is that running rustfmt without any args or special flags (like --help or --version) is a valid command that takes users into the interactive stdin mode, which is a relatively unknown and currently not particularly well documented feature (though we're working to improve the docs #4336), so if a user assumes that rustfmt is an invalid command in and of itself then they could be surprised/expecting the rustfmt help text to display instead (which is common CLI behavior on invalid command, for example as seen with cargo fmt adfasdf).
So the question: whenever we have the next major/breaking version of rustfmt, do we want to maintain the interactive formatting mode and point users to rustfmt --help for help text or do we want to drop the interactive formatting feature so that both rustfmt and rustfmt --help can be used to print help text.
I'm strongly in favor of maintaining the current feature and behavior.
cc @topecongiro

@NickelCoating - I've opened this on your behalf because you seemed to feel pretty strongly that rustfmt should display help text instead of going into interactive formatting. If that's still true, then please use this issue to share your thoughts.
However, I would ask that you first please read the full issue description to familiarize yourself with the current feature and how it's leveraged by other users (even if that's not a usage pattern for you personally). If afterwards you still feel a change should be made, then please make your case for what you think should be changed, and why, so that we can have a constructive discussion.

I haven't gone through the original discussion, but I don't consider changing the default behavior as an option.

I agree, changing the default behavior breaks existing users who will then be wondering why rustfmt doesn't read from stdin by default. Imo it is easier and better to keep with the current and improve the documentation for new users.

Personally, as somebody with a high level language and tooling background, I do prefer an IDE like VS Code for quick stuff.
But, I agree, leaving the behavior the way it already is, is better. Those who already know it and most importantly use it, for them it's not even about getting them confused, that things work differently then. It worse than that, it's taking away their way of doing things they like the way they used to do until now for some time. They may not care about the reasons for that change, and they may not have to care. rustfmt is still a bit different than cargo and rustup undoubted. It got its special needs.
Extending the docs regarding the stdin instead, should be a good middle ground to fix this issue for new users who wonder why there is no usage information like with cargo, rustup, and even old jazz tooling for Quake 1 among other idiomatic terminal apps displaying the same behavior of printing usage information.

Thanks for the discussion all, going to go ahead and close this accordingly


Allow header not created correct

https://github.com/klacke/yaws/blob/59bbfd912c0bffa9d9c1f2a149ddfc420895f596/src/yaws.erl#L1949
There is a typo in yaws.erl when filling in the #outh record for an Allow header where instead the date record entry is updated. See the line above...

Thanks for finding this!


Some fixes

Fix Bug in the line:
$aadModule = $AadModule | ForEach-Object { $_.version -eq $Latest_Version.version }
To var aadModule allways be assigned array of booleans

Fix Write-Warning outside begin/process block

Removed Update-PlannerModuelEnvironment - duplicate with typo

Enhancement - Custom redirectUri. "urn:ietf:wg:oauth:2.0:oob" can not
be registered for me, as well it is not recomended -
https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-app-registration#redirect-uris

@alexeydolgopolov thanks. Sorry I didn't noticed your comments. I know I had typo on "Update-PlannerModuelEnvironment ", but the module has been out for awhile, that's why I didn't remove it. I think I should make it as alias.
About break, exit for insall AAD module, there is another pull request wants change that to return. So there is three opinions here :)
For Custom redirectUri. "urn:ietf:wg:oauth:2.0:oob", thanks for the information. I will need to update the module can use both redirectUrl, I am worried if anyone using this in automation background service, it will break their solutions if I just remove "urn:ietf:wg:oauth:2.0:oob".  I am thinking to add Parameter to support change redirectUrl.
Seems Microsoft has officially published planner module as well. "Microsoft.Graph.Planner"

I will rewrite this module a bit.


vscode-extensions.redhat.java: fix eval

Darwin's jdk has no version attribute currently, holding back
nixos-unstable-small.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

rebuild-less doesn't matter anymore, #117214


support specifying joint constraints on hyperparameters

What would you like to be added: In the current version, nni only allows specifying each hyperparameter's feasible region independently. But in some scenarios user may want to specify joint constraint across multiple hyperparameters, for example, the sum of hyperparameter a, b, c should be equal to 10.
Without this feature, how does current nni work：not easy
Brief description of your proposal if any: provide an interface for users to specify such constraints, and tuners validate the constraints on the generated trial configurations (e.g., hyperparameters) before sending them to training service.

The easiest way out is to write a tuner inheriting an existing tuner that filters the parameters generated by the parent tuner. See https://github.com/microsoft/nni/blob/master/examples/trials/efficientnet/tuner.py

Assign to @ultmaster to drive the design discussion.


I'm sorry about using issues for this,
But holy shit, thank you so much for creating this.
I was really frustrated with making a post request node.js. But I couldn't get it to work, and I was about to give up completely, but then somehow I stumbled upon your tool, and decided "why not test this?". So I did, and I posted it into my code, and it just magically worked.
Thank you so much.
If I wasn't a broke teenager then I would have bought you a pizza or anything. But I hope this thank you is enough =)
/Erik

hack the planet


Write arrays even when no headers are set

Also, I added the possibility to write the "sep=," metadata as the file first line. More information on the web: http://superuser.com/questions/647948/space-or-tabs-as-separator-in-csv
Thanks!

That sep= metadata seems interesting. Has there been any effort to standardize it or is it just an Excel-specific feature? I'd be a little worried about breaking compatibility with parsers, so we should do some research to see what support for it is like.

Hey, not sure whether it has been standardized or not, but by default it is not written in the file. If you want it there, you must turn it on throw the sendMetadata options.

Any updates for this PR?


Ecuador data miss a province

Hi,
In Ecuador is missing a province and the names need some review.
How can a help to add this province "Provincia de Los Ríos" iso-2:EC-LR

Hi @pablocarreraest and thank for the report. I believe what is happening is that it's erroreous in ISO code both on OpenStreetMap and on Wikidata.
Can you edit the right ISO code in Wikidata?
https://www.wikidata.org/wiki/Q504260
and on OSM:
https://www.openstreetmap.org/relation/109248#map=8/-1.516/-78.138
I can do a reprocessing afterwards and it'll be fixed.
Also "Names need some review" can you explain more?

Actually I think it there as "Los Ríos", isn't that right?

I checked the official ISO database, "Los Ríos" is right as "EC-R". I believe everything is right, what is the problem?

https://www.iso.org/obp/ui/#iso:code:3166:EC

sorry I made the wrong call (I see on mapbox thats why I create the issue).
Amazing work help me a lot to learn wit your json info.
An for the names of "wikipedia_id": "es:Imbabura (provincia)"
the name right is "wikipedia_id": "es:Provincia de Imbabura" and other need some review in the name how can I change that.

So wikipedia_id isn't really a name, it's a short URL for Wikipedia.
I think "es:Imbabura (provincia)" redirects to "es:Provincia_de_Imbabura", so it's not a big problem. If you feel one of them is wrong, you can edit them on Wikidata!


WIP: Flake8: Add undefined names test

Work in Progress: Do not merge.
F82 tests are almost always undefined names which are usually a sign of a typo, missing imports, or code that has not been ported to Python 3.  These also would be compile-time errors in a compiled language but in Python a NameError is raised which will halt/crash the script on the user.
This test on this repo raises a lot of false reports because it gets really confused by the HYBRID_GLOBALS approach of adding globals without declaring them as globals in the local scope.  (This could be overcome by adding them as --builtins= in the flake8 command.)
However, there are other undefined names that are not in HYBRID_GLOBALS that should be addressed such as the missing import of tensorflow.
Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

There are quite a few cases that might causes us to not being able to use this.

Hybrid script where we are using a syntax parsing
The FFI case where the functions are initialized by setattr by query the FFI

BTW, some of the undefined name error might already have been covered by pylint https://github.com/apache/incubator-tvm/blob/master/Makefile#L76

close for now per the reasons stated above

@tqchen What is the status of this.  I see the repo still has 367 undefined names and some of them look like they should be fixed but on others, they look like tvm magic variable creation.


Run PEP8 on content

Hello! The Azure documentation team (Content & Learning) is updating existing
Python samples to conform to PEP8. This consists of (only) running autopep8
on content. Even if this PR contains only whitespace changes, please accept it.
#
If you have questions about the rationale behind this change, please email
Microsoft alias sttramer.

Thanks @sptramer - We'd like to setup CI to enforce this style as well. Do you have an example of using pylint or flake8 to enforce the PEP8 style by chance?

I was just using autopep8, which seems to be pretty good at it. It has more aggressive PEP8 enforcement as well, but the defaults seem nice.

Just added this comment to the code change.
We're good to merge once this is fixed.

Resolved conflicts from master and then looked like there were no PEP8 issues left - closing.


fix: show crd version in command get hub-info

Signed-off-by: ycyaoxdu<EMAIL_ADDRESS>

https://github.com/open-cluster-management-io/clusteradm/issues/235
https://github.com/open-cluster-management-io/clusteradm/issues/260

/assign @qiujian16


[docs] docstring & demo notebook for value_filter syntax

The value filter syntax is not well documented.  It is essential to document in a docstring somewhere, and would be nice if there was a notebook, or equivalent, that highlighted how to use it, operators supported, etc.

BTW:
https://tiledb-inc-tiledb.readthedocs-hosted.com/projects/tiledb-py/en/stable/python-api.html#query-condition


Update sports-analytics-architecture-azure-content.md

Updated the alternatives list to include Databricks SQL

Learn Build status updates of commit 2db1905:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/analytics/sports-analytics-architecture-azure-content.md
:white_check_mark:Succeeded

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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

@EdPrice-MSFT
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit 65987c4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/analytics/sports-analytics-architecture-azure-content.md
:white_check_mark:Succeeded

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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 83cda37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/analytics/sports-analytics-architecture-azure-content.md
:white_check_mark:Succeeded

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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

#Sign-Off


Can't access for some attributes in user model

Laravel Version: 5.5
Adldap2-Laravel Version: ^4.0
PHP Version: 7.2
LDAP Type: ActiveDirectory

Description:

Steps To Reproduce:
Hi @stevebauman
I can't access some attributes in user model

How can I get values of those attributes ?
When I, dd( $user->getAttributes() ) it shows those attributes and values.
and also I can't update values for those attributes.

I need your help to find out this problem.
Thank You.

Hi @chinthakanm,
Some getter / setter methods are not available on all attributes.
You can access all attributes via dynamic properties:
$user->cn;
$user->telephone;

Or via getAttribute() / getFirstAttribute():
$user->getAttribute('cn'); // Returns `array`
$user->getFirstAttribute('cn'); // Returns `string`

Please look at the detailed model guide here:
https://github.com/Adldap2/Adldap2/blob/master/docs/models/model.md


Installation by SSH generates certificate signed by unknown authority

INFO[01-26|16:21:52] Event: log: Allocating domain
INFO[01-26|16:21:52] Event: cluster_state: error
EROR[01-26|16:21:52] Error: Post https://domains.flynn.io/domains: x509: certificate signed by unknown authority

Think this is MacOS related: https://github.com/golang/go/issues/18688

This will be fixed by (currently unreleased) Go 1.8 / 1.7.5


It would be great if this sort of vital information could make it into the documentation at https://webpack.js.org/configuration/resolve/#resolveconditionnames.

          It would be great if this sort of vital information could make it into the documentation at https://webpack.js.org/configuration/resolve/#resolveconditionnames.

Originally posted by @richvdh in https://github.com/webpack/webpack/issues/17692#issuecomment-2532601558

Need - https://github.com/webpack/webpack/issues/17692#issuecomment-1866272674


Select Pasted Text After Paste Action

Resolves #59881 and adds the functionality requested.

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

Just as a note - not sure if the checks will be re-run, but I think the build is failing due to a command error and not due to an actual code problem.

As we didn't plan to have feature in in near future, I'd like to close it for now to help us better maintain issues. We can reopen it when we are going to implement this feature in a proper way. Thanks anyway for your contribution!


RisingHF - HIP19 third-party manufacturer application

RisingHF - HIP19 third-party manufacturer application

Awesome. Welcome!
Rendered version here:
https://github.com/helium/HIP/blob/69580f80b2ef10546660609b635136eebda76045/0019-third-party-manufacturers/risinghf.md

Thanks Scott!


Indentation is incorrect for HTML5 void tag

Hello, I think I came across a bug in 1.5.4 (also present in 1.5.5): indentation is incorrect for HTML5 void tag <source> used with <audio> and <video>.
Input:
<video poster="big_buck_bunny_trailer_480p.jpg" controls="controls" width="150" height="85">
<source src="big_buck_bunny_trailer_iphone.m4v" type="video/x-m4v>
<source src="big_buck_bunny_trailer_480p_baseline.mp4" type="video/mp4">
<source src="big_buck_bunny_trailer_480p.webm" type="video/webm">
<source src="big_buck_bunny_trailer_400p.ogv" type="video/ogg">
</video>

Output:
<video poster="big_buck_bunny_trailer_480p.jpg" controls="controls" width="150" height="85">
  <source src="big_buck_bunny_trailer_iphone.m4v" type="video/x-m4v">
    <source src="big_buck_bunny_trailer_480p_baseline.mp4" type="video/mp4">
      <source src="big_buck_bunny_trailer_480p.webm" type="video/webm">
        <source src="big_buck_bunny_trailer_400p.ogv" type="video/ogg">
</video>

Expected:
<video poster="big_buck_bunny_trailer_480p.jpg" controls="controls" width="150" height="85">
  <source src="big_buck_bunny_trailer_iphone.m4v" type="video/x-m4v>
  <source src="big_buck_bunny_trailer_480p_baseline.mp4" type="video/mp4">
  <source src="big_buck_bunny_trailer_480p.webm" type="video/webm">
  <source src="big_buck_bunny_trailer_400p.ogv" type="video/ogg">
</video>

The indentation is correct if the <source> tags are closed using /> but I believe (someone correct me if I'm wrong) that <source ...> is valid HTML5 without the closing />.
Here are the options I am using:
{
  indent_inner_html: false,
  indent_size: 2,
  indent_char: ' ',
  brace_style: 'collapse',
  indent_scripts: 'normal',
  wrap_line_length: 0,
  preserve_newlines: true,
  max_preserve_newlines: 10,
  unformatted: '',
  end_with_newline: true
}

Thanks.

:scream:  It is 2015, and html still can't go ahead and be valid xhtml. :sob:

Haha, yeah, they just couldn't take HTML5 that next step. Thanks very much.

I have this issue in VSCode 1.32.3

I only can find a fix, adding video tag to unformated tags:
"html.format.contentUnformatted": "video"

Hm, this doesn't happen on beautifier.io.  Not sure why you're seeing this.
Output:
<div>
    <video poster="big_buck_bunny_trailer_480p.jpg" controls="controls" width="150" height="85">
        <source src="big_buck_bunny_trailer_iphone.m4v" type="video/x-m4v">
        <source src=" big_buck_bunny_trailer_480p_baseline.mp4" type="video/mp4">
        <source src="big_buck_bunny_trailer_480p.webm" type="video/webm">
        <source src="big_buck_bunny_trailer_400p.ogv" type="video/ogg">
    </video>
</div>


eDiscovery script throws errors when it gets to eDiscovery (Premium)

The following error comes up when running this script against cases in eDiscovery Premium:
add-tocasereport : Missing an argument for parameter 'casestatus'. Specify a parameter of type 'System.String' and try again.
At \\path\CaseHoldsReport.ps1:94 char:37
+ add-tocasereport -casename $cc.name -casestatus -casetype $cc.casetyp ...
+                                     ~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [add-tocasereport], ParameterBindingException
    + FullyQualifiedErrorId : MissingArgument,add-tocasereport

It looks like a parameter and variable are swapped on line 94 so I'll submit a pull request (my first ever on someone else's code!) to fix.

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

ID: 170c3a0d-4a77-211f-8ef4-21da97042c1e
Version Independent ID: b121eb8f-2438-f0cf-41b9-0cfe3ca34925
Content: Use a script to create an eDiscovery holds report - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/create-a-report-on-holds-in-ediscovery-cases.md
Service: o365-seccomp
GitHub Login: @v-tophillips
Microsoft Alias: v-tophillips

@anton612 Thank you very much for the contribution and updating the documentation with PR. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Error while running helper function

I am getting follwoing error when used with bluebird. Please help.
Debug: internal, implementation, error
Error: Missing helper: "message"
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js:19:13)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :6:117)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at Object.ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at Object.ret [as views/components/sidebar/my] (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.invokePartialWrapper [as invokePartial] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:72:46)
at eval (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:31)
at Object.prog [as fn] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:221:12)
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :11:32)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at Object.ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at Object.ret [as views/type/appformtagpage] (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.invokePartialWrapper [as invokePartial] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:72:46)
at eval (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:31)
at Object.prog [as fn] (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:221:12)
at Object. (/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), :5:35)
at main (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at ret (/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at ret (/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at Object.renderer (/node_modules/vision/lib/manager.js:141:36)

Could you share the code how you register the message helper?

Sure, here is the code ....
const promisedHandlebars = require('promised-handlebars');
const pHandlebars             = promisedHandlebars(require('handlebars'), { Promise: require('bluebird') });

pHandlebars.registerHelper('message', function(id) {
  MessageModel.findOne({_id: id}), function (err, obj) {
   return obj.subject;
  })
})
Following are npm versions
"bluebird": "^3.5.0",
"promised-handlebars": "^2.0.1",

looks ok, are you sure you are using the same pHandlebars when rendering stuff? Is it all in the same file? I suspect you might be registering the helper somewhere and then using another instance of it.

All are in the same file. I am struggling to make it for couple of days now. I have about 50 other regular helpers in the same file and all expect this promised helper work fine. I am using it with Node 8.4.0 and HAPI 16.5.1

I think you are mixing promises and callbacks. The helper must return a promise, but yours is only returning value from within the callback.
Try the "pify" package or use "new Promise(...)" As return value.

Not sure if this is really the cause of the problem though.

I get the same error when I return a string instead of resultset.

did you fix it?

Not yet. Was distracted by other issues.  Will get some time today to debug the problem today.


Why Mobiconsole violating GPLv3 ?

Your application, Mobiconsole (not Mobilinux), is based on Termux source code which is licensed under GNU GPL v3.0 license. But you do not provide the corresponding sources as well as list of made modifications and this leads to license violation.
I have disassembled Mobiconsole v1.1.0 and here is a part of AndroidManifest.xml clearly showing that origin is Termux app:
[gcps] ~/mobiconsole-1.1.0 $ head -n 20 AndroidManifest.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" android:installLocation="internalOnly" android:sharedUserId="com.termux" android:sharedUserLabel="@string/shared_user_label" package="com.termux" platformBuildVersionCode="28" platformBuildVersionName="9">
    <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
    <uses-feature android:name="android.software.leanback" android:required="false"/>
    <permission android:description="@string/run_command_permission_description" android:icon="@drawable/ic_launcher" android:label="@string/run_command_permission_label" android:name="com.termux.permission.RUN_COMMAND" android:protectionLevel="dangerous"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <application android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:banner="@drawable/banner" android:extractNativeLibs="true" android:icon="@drawable/ic_launcher" android:label="@string/application_name" android:supportsRtl="false"<EMAIL_ADDRESS>        <meta-data android:name="android.max_aspect" android:value="10.0"/>
        <activity android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:label="@string/application_name" android:launchMode="singleTask" android:name="com.termux.app.TermuxActivity" android:resizeableActivity="true" android:windowSoftInputMode="stateAlwaysVisible|adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>

If you have chosen to use parts of Termux in your project, please provide a source code of the Mobiconsole, including all further changes you have made. This is a requirement of compliance with the GNU GPL v3.0 license. Otherwise, if you want to keep your application closed source, remove all parts borrowed from @termux project which were licensed under GNU GPL v3.0 conditions.
Review the original and complete text of the GNU GPL v3.0 license at https://www.gnu.org/licenses/gpl-3.0.html with extra attention to sections 4, 5 and 6 which are about distribution. Also they are attached as part of this issue:

Section 4 (Conveying Verbatim Copies)
  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

Section 5 (Conveying Modified Source Versions)
  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

Section 6 (Conveying Non-Source Forms)
  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

Hi,
I am new to all this opensource development and licensing structure.
I am figuring out my way as I learn.
You rightly pointed out that MobiConsole is based on termux with additional
changes.
I am still playing around with the changes of the app and therefore I
haven't uploaded the source code of MOBICONSOLE app which is further based
on TERMUX.
As you said I will upload the source code to my github shortly.
Some guidance will be helpful.
Thanks.
On Tue, 30 Mar 2021 03:25 Leonid Pliushch, @.***> wrote:

Your application, Mobiconsole (not Mobilinux), is based on Termux source
code which is licensed under GNU GPL v3.0 license. But you do not provide
the corresponding sources as well as list of made modifications.
I have disassembled Mobiconsole v1.1.0 and here is a part of
AndroidManifest.xml clearly showing that origin is Termux app
https://github.com/termux/termux-app/blob/7be1fe5555d0673a5b17ad6bb34bc18627de7684/app/src/main/AndroidManifest.xml#L1-L52
:
[gcps] ~/mobiconsole-1.1.0 $ head -n 20 AndroidManifest.xml

<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.software.leanback" android:required="false"/>
<permission<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>android:name="com.termux.permission.RUN_COMMAND" android:protectionLevel="dangerous"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<application android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory"<EMAIL_ADDRESS>android:extractNativeLibs="true"<EMAIL_ADDRESS><EMAIL_ADDRESS>android:supportsRtl="false"<EMAIL_ADDRESS>    <meta-data android:name="android.max_aspect" android:value="10.0"/>
    <activity android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"<EMAIL_ADDRESS>android:launchMode="singleTask" android:name="com.termux.app.TermuxActivity" android:resizeableActivity="true" android:windowSoftInputMode="stateAlwaysVisible|adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>

If you have chosen to use parts of Termux
https://github.com/termux/termux-app in your project, please provide a
source code of the Mobiconsole, including all further changes you have
made. This is a requirement of compliance with the GNU GPL v3.0 license.
Otherwise, if you want to keep your application closed source, remove all
parts borrowed from @termux https://github.com/termux project which
were licensed under GNU GPL v3.0 conditions.
Review the original and complete text of the GNU GPL v3.0 license at
https://www.gnu.org/licenses/gpl-3.0.html with extra attention to these
sections (about distribution):
4. Conveying Verbatim Copies.
5. Conveying Modified Source Versions.
6. Conveying Non-Source Forms.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MobilinuxApp/Mobilinux-CLI/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLJ3VTIQEJTKGMPA2GAHDLTGEAMJANCNFSM42AQVOWA
.


Update readme

This PR aligns Bitters’ readme to that of Neat and Bourbon. See individual commits for what is being done.

👏 👏 👏


Fix comment

Agreed to the below.

Thanks for the pull request!

If you care, my PR preferences are at https://github.com/ndmitchell/neil#contributions, but they're all guidelines, and I'm not too fussy - you don't have to read them.

@ndmitchell Or "produces" :)

@snowleopard Thanks for the patch, builds is good, since it helps in addition to the name of the function.
There is no tracking that the produces things exist when doing a rebuild check - there probably should be. I created https://github.com/ndmitchell/shake/issues/631 to track that. So far produces is really intended for the cloud build - it copies the files to the server if you have called produces.
However, I don't see how this is related to the trac ticket?

However, I don't see how this is related to the trac ticket?

In the Trac ticket we have a situation when we don't know build results of a rule upfront: we unpack an archive whose contents is unknown and it would be nice to be able to dynamically record this using a tracked version of produces.
(But I don't know whether this is actually related to the lint failure.)

Great! I've added a comment to #631 to explain the use-case.


B350 gaming plus does not work

Hello,
I've tried using the Software and everithing was working fine, untill i hit apply. since then the rgb headder is dead. is there any way to remove/ undo the program?
Thank you in Advance.

You can either:

run MSI Mystic Light;
turn your PC off (power supply button off), press the power button for several seconds (>10 seconds), and turn your PC on again. that should reset the chip to normal.

When you do this, please try rerunning MSIRGB and tell me if it works, because this motherboard had previously been reported to work.

hey, i guess the problem lies with my mobo, the msi software is allready really unstable, and it took me a lot of trial and error to get it working again.
So I guess your software should work again as well, but i don't want to redo everything I did to get it back to working again if it does not work.


Not working

Not Working because jsonstore.io is having some trouble for many days
can you please rewrite the script for using with other such free json hosts
like jsonbox.io ?

@aliglelo you're right! jsonstore isn't returning any data. jsonbox.io seems nice. do you know if they have any usage quota ?

@aliglelo i have done some work with jsonbox in the #dev branch.

@aliglelo you're right! jsonstore isn't returning any data. jsonbox.io seems nice. do you know if they have any usage quota ?

Here is the limitations for jsonbox.io:
https://github.com/vasanthv/jsonbox#limitations

@aliglelo i have done some work with jsonbox in the #dev branch.

thanks i will check it

I haven't deployed the branch to production yet. I need to do some more optimizations and testing.

@aliglelo I haven't deployed the branch to production yet. I need to do some more optimizations and testing.
I have tested it on my local server but it didn't worked there
i hope you will fix it soon
Best of luck


Another stab at #15

Alternative to #18
Fixed the issue with the array children a slightly different way, which also allows map() to accept an array
Still untested 😅

Want me to add the tiny test suite to this PR, or merge your changes to children and map into my branch?

Overall, I like the idea of having the internal _map accept either a single node or an array of nodes, I think it's certainly cleaner than my solution

Want me to add the tiny test suite to this PR, or merge your changes to children and map into my branch?

Up to you!

Just please test that it actually works before merging 😅

Sounds good, I will port your changes into my branch, and get one final review before merging, as well as ensuring that tests work

Nit: Please fix indentation

Nit: Please fix indentation

Done


fix: Avoid busy-waiting the waker in AsyncPutObject.

What
Remove the explicit calls to cx.waker().wake_by_ref(), instead delegating wakes to the underlying future.
Why
I was curious to see if I could remove the calls to cx.waker().wake_by_ref(), which IIUC will essentially cause us to busy-wait the executor by immediately waking up whenever we're put to sleep. This seems to work, as long as we're careful to always poll the underlying future before returning Poll::Pending.
@timleslie could you please try this out and see if it behaves correctly for you, or if you're able to reproduce any of the deadlocking behaviour you saw previously?
Depends on
N/A

This looks interesting, I'll have to have a play around and see if I can make it break 🤔
I think at the crux of this is the call to wake_by_ref at line 124 in the original code. This is triggering the polling loop that we want to avoid. If the call to fut.poll(cx) is taking responsibility for calling .wake then we can definitely get rid of this. IIRC I had issues with this when I first tried it, but that could well have been a confluence of other things not being set up correctly.
The wake_by_ref at line 110 is less of a concern, since it's more just flow control to get us to the first instance of the polling loop rather than duplicating that logic in both branches of the enum. There's perhaps a micro-cost waiting for the internal task scheduler that we pay for that lack of duplication.
 If it's all good then I think it'll definitely be a win to get rid of 👍

to get us to the first instance of the polling loop rather than duplicating that logic in both branches of the enum.

I briefly experimented with doing a little loop to drive the state machine to avoid this code duplication, along the lines of:
loop {
  match self.state {
    Writing => {
        // Create the future.
        // Change state to Closing.
        // Call `continue` to go back to the top and pump the state-machine again.
     },
    Closing => {
       // The existing logic, but without the wake_by_ref call.
    }
  }
}

If I correctly understand what you're saying, the wake_by_ref at line 110 implicitly has the same effect, basically exiting out to the executor and then immediately re-entering the poll method with it in the new Closing state. That sounds OK to me, perhaps with an accompanying comment to help the reader understand it 👍🏻.

If I correctly understand what you're saying, the wake_by_ref at line 110 implicitly has the same effect, basically exiting out to the executor and then immediately re-entering the poll method with it in the new Closing state.

Yep, that's exactly it 👍

Oh, could you leave an entry in the CHANGELOG.md before merging 🙏


Fix issue with tf slicing

Fixes #342. In principle this is a tf issue as the existing code in master still works with numpy, I just changed the slicing to K.gather so that it works with Tensorflow too.
I think the problem of #342 should now be fixed but I would like to do a few more tests with more qubits because based on some other similar tf issues we fixed recently I suspect the tf einsum may fail in some cases. I am not 100% certain though.

I did a few tests with various controlled by configurations for up to 14 qubits and I did not observe any crashes after this fix, so I believe the einsum issue does not appear here. If you agree we can probably merge this and release, as there aren't any other bug related issues for now.


Introduce floats canonicalize.

See http://llvm.org/docs/LangRef.html#llvm-canonicalize-intrinsic for details.
It is first step to rework Floats hashing.

Sorry, but I don't understand why this is useful, why there are so many {% if false %} and what's the current problem with Float#hash.

In addition to what @asterite said, if there's a LLVM intrinsic why aren't we binding and using it in instrinsics.cr.

@asterite There are two problems now:

Float32.hash doesn't normalize values before hash, so two representations of same floating value differ. It's wrong (as seen by Python hash algorithm, for example).

Float64.hash is totally wrong due to #3932. It will be solved later.

And I have a question - how to embed checks for existence of imported function in Library? llvm.canonicalize available from LLVM 5, llvm.minmax available from 3.N (I doesn't check which N).
@RX14 Yes, I have seen intrinsics, but doesn't understood criteria to place them into Intrinsics or LibM.  Looks like they exists everywhere.

Could we just xor the lower and higher 32 bits of the float64 together?

@akzhan We don't currently have support for LLVM 5 and we won't until at least the release candidates. There's LLVM version constants defined here

Could we just xor the lower and higher 32 bits of the float64 together?

It does bad distribution.
I prefer this:
https://github.com/python/cpython/blob/master/Python/pyhash.c#L34

We don't currently have support for LLVM 5 and we won't until at least the release candidates. There's LLVM version constants defined here

It is not the problem, I will add IS_50 constant if needed.
But bin/crystal doesn't compile code with {% if LibLLVM::IS_36 , without recompilation of itself.
OK, will replace, recompile and try.

No. We don't support LLVM5 and compiling and linking against LLVM5 will just fail.

@ysbaddaden I want just to add
    IS_50 = {{LibLLVM::VERSION.starts_with?("5.0")}}

and test for it with
  {% if LibLLVM::IS_50 %}
  fun canonicalize_f32 = "llvm.canonicalize.f32"(value : Float32) : Float32
  fun canonicalize_f64 = "llvm.canonicalize.f64"(value : Float64) : Float64
  {% end %}

and other places.
To not rewrite code later.

@RX14 So #4560  frexp is introduced to implement Float64.hash later. And just because it is sodlib.

it should be .starts_with?("5.") because there will only be major releases (and sometimes patch releases, numbered as minor);
don't bother with LLVM5 until we start supporting it (next september, at best);
fix issues in a LLVM 3.8+ compatible way, and add a note that LLVM 5+ could help.

minnum was introduced in LLVM 3.6 for the reference

Thanks, @RX14. Looks like I want to get #4396 landed and forget about old LLVMs.

Thanks to @RX14 and @ysbaddaden for your help.
Now it's ready.
P.S.: Sory for bad commits  since I did not have a working VM during the day.

Looks like compiler cannot be built using LLVM <4.0,  it raises on LLVM 3.8/Travis:
in src/llvm/abi.cr:2: class declaration can't have attributes
abstract class LLVM::ABI

I don't know, is it OK?

Looks like I must not use LibLLVM::IS_* anywhere in stdlib.
This pull request will be [WIP] until #4396 landed.
Anyway I can rework Float caching with frexp only.


Not able to access internet

Installed the sift workstation, however, not able to access internet.  Was able to access internet with Unbuntu VM prior to install.
When it ifconfig command is entered, only get "docker" and "lo"

Mine took several restarts, but after running  dhclient  via sudo, doing a full upgrade ( sudo apt upgrade ), and restarting one more time, the errors with Xorg-server and networking corrected themselves.

Unfortunately this is a difficult problem to diagnose. We are unable to duplicate when we are testing and building the VM to start with.

I have been battling this challenge in my classroom. For some reason, SIFT workstation has bound my subnet's network address (<IP_ADDRESS>). I can't seem to change it. Its causing serious DNS collisions on my network. Its very confusing why its chosing to bind the docker0 interface to this IP address!

Google “docker default subnet address” it’s not SIFT per se, it’s Docker and the first match to the above search will tell you how to change it.
Hope this helps.
Cheers,
Barry

On 27 Feb 2019, at 8:44 am, MrGentry<EMAIL_ADDRESS>wrote:
I have been battling this challenge in my classroom. For some reason, SIFT workstation has bound my subnet's network address (<IP_ADDRESS>). I can't seem to change it. Its causing serious DNS collisions on my network. Its very confusing why its chosing to bind the docker0 interface to this IP address!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Barry - I'm curious where I can read more about how this docker0 works and how this happened. Do you have any good resources for this issue specifically, where its binding itself to the network address?

Docker is installed as a part of SIFT, by default it uses 172.17 for its bridge network via docker0. Unfortunately in your case your main network collides.
The fix is to change the default settings for docker in the vm to use a different network.
I’m mobile right now but a quick google search on how to change the default network for docker should lead you to docs on how to do this.

Super intriguing...Thanks for the feedback and support! You guys are great!

So I reinstalled it, again for the umpteenth time, and it decided to take the <IP_ADDRESS>/16 network.... go figure! So i'm just going to clone this VM and run with it!

Docker if installed from scratch attempts to probe the network it's one to try and pick a network that doesn't conflict, unfortunately when I create the VM, 172.17 isn't taken so it uses that. If you purge docker and re-install it it should get a different non-conflicting subnet.

I'm going to lock this discussion because the original issue doesn't pertain to docker per-say. If you have more issues please open a new issue. Thanks.


Format date in Forms

I'm trying to use the format () method to display the Date field in Brazilian format. But it does not work. The field appears empty when editing the record and this only happens when I define the format () method.
$form->datetime('created_at', 'Criado em:')->format('DD/MM/YYYY HH:mm:ss');

@krsmga have same problem.
I'm tried to make it work with "[Accessors & Mutators]" (https://laravel.com/docs/5.5/eloquent-mutators), but no succeed.
As far as I know format() makes problem with wrong datetime format which provides into sql query.

I am using Accessors & Mutators  and is working well.
    public function getDataNascimentoAttribute($value)
    {
        return \Carbon\Carbon::parse($value)->format('d/m/Y');
    }

    public function setDataNascimentoAttribute($value)
    {
        $this->attributes['data_nascimento'] = \Carbon\Carbon::createFromFormat('d/m/Y', $value)->format('Y-m-d');
    }

And the form I put this
$form->date('data_nascimento', 'Data de Nascimento*')->rules('required')->format('DD/MM/YYYY');

@diogolast don't you have any troubles with date filter at grid using Accessors & Mutators?

Greetings.
I have the same issue with date. Here is my accessor
`public function getStartDateAttribute($value)
{
    return Carbon::parse($value)->format('d.m.Y');

}`
When I displayed it in form it returns current date, whenever I tried any format for date.
$form->date('start_date', 'Start date')->format('DD.MM.YYYY')
Also tried to rewrite my accessor as mentioned @diogolast but still return current date.
Would be appreciate for any help

Thanks u, worked with me.
In that model which using $form date or datetime and format. Must be add function get attribute or set attribute with field name to return format again


Consistent Noop implementation

Currently for stats/tags we use a noop class that implements all the api vs in trace every class implements it's own noop. We should be consistent.

@songy23 wait for an agreement before coding this.

Conclusion:

Noop will be part of main package

Question:

Do we need to expose Noop for our users? What are the use cases?
@carlosalberto will query the OT community.

@carlosalberto this is on you now.

Friendly ping on this.

Based on initial feedback, it looks like having a no-op Tracer would be a nice to have, with the rest of the components staying private.
About the scenarios, didn't get much info, other than having the option to 'force' the global Tracer to stay no-op for a given case (which was something we may not need if we go with the ServiceLoader-alike approach).

We will expose Noop Tracer as a type, for situations when a component or function is requesting a Tracer reference.
Instead of Noop, we may want to have a "Propagation Only" tracer implementation, which propagates context only.

However, instead of a pure Noop, we may want to have a "Propagation Only" tracer implementation, which propagates context only.
Depending on how context propagation ends up working, it will either be a "minimal" tracer or a "noop" tracer.

Maybe file a separate issue to keep track of this?

Issue already filed: https://github.com/bogdandrutu/openconsensus/issues/118


Update to 2.3

Can't conda install Hug with Python 3.6 right now because:
UnsatisfiableError: The following specifications were found to be in conflict:
  - hug -> falcon 1.0.0 -> python 2.7* -> vc 9
  - python >=3.6
Use "conda info <package>" to see the dependencies for each package.

Hug 2.3 is out since May 4 (which uses falcon 1.3). Would one of the maintainers be so kind as to upgrade the conda-forge package? Thanks!

Done here: https://github.com/conda-forge/hug-feedstock/pulls


Attachment selection resets split

Step to reproduce:

Add a transaction
Update to a non-default split
Tap on the attachment button
Return to the transaction details, either by attaching something or just cancel the selection dialogue
Observe that the split has been reset to the default

Intended behaviour:
Attachments should not affect the split.

Ah, that's bad. Will fix it.

@kouyk I tried this and I can't reproduce this. Can you send video so that I can test your exact flow. Not sure if I'm doing something wrong

Screencast from 2024-06-03 21-34-16.webm
I briefly made a screen capture for this, do let me know if it is reproducible.


v0.3.11 error win32 x64

:warning:Please attach %TEMP%\vscode-java-installer\log.txt and %TEMP%\vscode-java-installer\AdoptOpenJDK-MSI.log for more details.
version: 0.3.11
env:
JAVA_HOME: undefined
PATH:
C:\Program Files\Mozilla Firefox
C:\Program Files\Python38\Scripts\
C:\Program Files\Python38\
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\PuTTY\
C:\Program Files\Git\cmd
C:\Users\Dan\AppData\Local\Microsoft\WindowsApps
C:\Users\Dan\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\Dan\AppData\Roaming\Python\Python38\Scripts
C:\Users\Dan\AppData\Local\Programs\Microsoft VS Code Insiders\bin
C:\Users\Dan\AppData\Local\GitHubDesktop\bin
JDKs:
C:\Program Files\Java\jdk1.8.0_231	WindowsRegistry,WindowsRegistry,DefaultLocation

log:
[3:31:25 PM] AdoptOpenJDK-11-x64
[4:39:11 PM] Download JDK ... [Completed]
[4:39:11 PM] Install JDK
[4:39:11 PM] Installing AdoptOpenJDK-11-x64...
[4:39:33 PM] Error occurred
[4:39:33 PM] Error: Command failed with exit code 1603: C:\WINDOWS\System32\msiexec.exe /i "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"

log.txt
AdoptOpenJDK-MSI.log

Thank you for detailed logs. Installation of JDK 11 failed. We'll forward them to AdoptOpenJDK team.
VS Code Java requires JDK 11+ to launch itself. For the moment since the installation of OpenJDK 11 failed, you might want to download and install one by your own, and re-run our installer.

Thank you for detailed logs. Installation of JDK 11 failed. We'll forward them to AdoptOpenJDK team.
VS Code Java requires JDK 11+ to launch itself. For the moment since the installation of OpenJDK 11 failed, you might want to download and install one by your own, and re-run our installer.

[4:39:33 PM] Error: Command failed with exit code 1603: C:\WINDOWS\System32\msiexec.exe /i "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
log.txt
AdoptOpenJDK-MSI.log

@douph1  Another MSI 1603 issue with, can you take a look at the AdoptOpenJDK-MSI.log above?

[4:39:33 PM] Error: Command failed with exit code 1603: C:\WINDOWS\System32\msiexec.exe /i "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
log.txt
AdoptOpenJDK-MSI.log

@douph1  Another MSI 1603 issue with, can you take a look at the AdoptOpenJDK-MSI.log above?

Problem solved, was running java8.
updated and problem solved
Thanks
On Mon, Jan 25, 2021 at 6:03 PM Yan Zhang<EMAIL_ADDRESS>wrote:

[4:39:33 PM] Error: Command failed with exit code 1603:
C:\WINDOWS\System32\msiexec.exe /i
"C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi"
MSIINSTALLPERUSER=1
ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive
/l*v
"C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
log.txt
https://github.com/microsoft/vscode-java-installer/files/5870462/log.txt
AdoptOpenJDK-MSI.log
https://github.com/microsoft/vscode-java-installer/files/5870469/AdoptOpenJDK-MSI.log
@douph1 https://github.com/douph1 Another MSI 1603 issue with, can you
take a look at the AdoptOpenJDK-MSI.log above?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-java-installer/issues/132#issuecomment-767233021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXYGYDX25AQOSX7G5U2XTS3YPFRANCNFSM4WSTTSKA
.

Problem solved, was running java8.
updated and problem solved
Thanks
On Mon, Jan 25, 2021 at 6:03 PM Yan Zhang<EMAIL_ADDRESS>wrote:

[4:39:33 PM] Error: Command failed with exit code 1603:
C:\WINDOWS\System32\msiexec.exe /i
"C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi"
MSIINSTALLPERUSER=1
ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive
/l*v
"C:\Users\Dan\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
log.txt
https://github.com/microsoft/vscode-java-installer/files/5870462/log.txt
AdoptOpenJDK-MSI.log
https://github.com/microsoft/vscode-java-installer/files/5870469/AdoptOpenJDK-MSI.log
@douph1 https://github.com/douph1 Another MSI 1603 issue with, can you
take a look at the AdoptOpenJDK-MSI.log above?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-java-installer/issues/132#issuecomment-767233021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXYGYDX25AQOSX7G5U2XTS3YPFRANCNFSM4WSTTSKA
.

�R�u�n�E�n�g�i�n�e� �w�a�i�t� �t�i�m�e�d� �o�u�t�
�I�n�s�t�a�l�l� �s�e�r�v�e�r� �n�o�t� �r�e�s�p�o�n�d�i�n�g�

can't say more, maybe slow down due to AV scanning or Installer busy .. maybe need to check Event Log

�R�u�n�E�n�g�i�n�e� �w�a�i�t� �t�i�m�e�d� �o�u�t�
�I�n�s�t�a�l�l� �s�e�r�v�e�r� �n�o�t� �r�e�s�p�o�n�d�i�n�g�

can't say more, maybe slow down due to AV scanning or Installer busy .. maybe need to check Event Log

@douph1 Thank you for the quick response, and I'll let you know if more detailed error logs are collected from users. 😉
@Dbcurtis Good to know it works. I'm closing this issue for the moment as we don't find clear clues or stable ways to reproduce it.

@douph1 Thank you for the quick response, and I'll let you know if more detailed error logs are collected from users. 😉
@Dbcurtis Good to know it works. I'm closing this issue for the moment as we don't find clear clues or stable ways to reproduce it.


Setting variables to JSON data will cause them to be converted to a string

Same thing here.

Hey there, what is the value of the "Extension version" block?

Hey there, what is the value of the "Extension version" block?

TurboWarp 0.1.2

Can you try importing this bugfix and see if it helps?
https://github.com/MikeDev101/cloudlink/blob/master/scratch/cloudlink_turbowarp.js

The problem is still present.

And just to be clear, yes I did use the bugfix version.

Thank you for the update. I'll continue my investigation regarding various feature-breaking bugs.

I have found a workaround that should do the job until the bug is fixed:

Add the Encoding extension which can encode to Base64
Encode the JSON to Base64
Set the variable to that encoded JSON
When receiving the encoded JSON, make sure to decode it

Make sure you are on Turbowarp, I dont know if PenguinMod has the Encode extension.

Another workaround is to just add a dot to the beginning.