Create interface file does not work with React.memo

@cristianoc Thanks for your great work on getting the "Create interface file" feature to work for React components, too! 👍
I just tested it with the VSIX from the lastest master build and found that components memoized with React.memo do not work correctly yet.
For example,
@react.component
let make = (~someValue as _: bool) => React.null

let make = React.memo(make)

results in
let make: React.component<{"someValue": bool}>

instead of
@react.component
let make: (~someValue: bool) => React.element

Thanks!
Done in master.


Partial view has different render results between views and pages

Per my understanding, partial view should have same render result for MVC Views and Razor Pages, but I found an exception here when not pass a model to partial.
I have a simple partial view as below:
@model TestModel

Views/Shared/_MyPartial.cshtml

ViewData["Message"]: @ViewData["Message"]

Model: @(Model?.ToString()??"Null")

The TestMode:
    public class TestModel
    {
        public Guid ID { get; set; }
        public string Name { get; set; }
        public override string ToString() => ID.ToString("N") + ":" + Name;
    }

Same render code in view and page:
    @{
        ViewData["Message"] = "Hello, Partial";

        await Html.RenderPartialAsync("_MyPartial");
    }

    <partial name="_MyPartial" />

    @await Html.PartialAsync("_MyPartial")

The code in view works, but code in page display error below:
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'WebApplication1.MyRazorPageModel', but this ViewDataDictionary instance requires a model item of type 'WebApplication1.TestModel'.
I can fix this by
@{
    ViewData["Message"] = "Hello, Partial";

    await Html.RenderPartialAsync("_MyPartial", (TestModel)null);
}

<partial name="_MyPartial" model="null" />

@await Html.PartialAsync("_MyPartial", (TestModel)null)

But seems it is a bug?
dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100\

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

@heku what version of MVC are you using?

@pranavkm It is asp.net core 3.0 mvc

@heku thanks for contacting us.
@ryanbrandenburg can you investigate this issue?

As you've discovered PartialTagHelper and PartialAsync take an optional "model" parameter. If this isn't provided it defaults to ViewData.Model. RazorPages create their own Model if one is not provided, where-as Views do not. So you run into this because the Partial code is trying to pass in the generated model type when it expects TestModel.
As you discovered you can avoid this by explicitly passing a model (even if it's null). You can also resolve this by setting the @model on the RazorPage so it doesn't create its own, or in the case you're no longer using the model on that partial by not doing @model within the partial.
I believe all of this is working as intended, but @pranavkm can double check my thinking.

Yup, that sounds about right. The pattern works pretty well when the page and the partial share the same model type, it allows accessing both ViewData and the model instance without having to do any additional work. This might be one of the few places where the behavior is a bit rough, but it's working as intended.

It make sence, thank you for your clarification.


Changed packaging~=17.0 to 18.0 in four places

This pull request is the follow-up to pull request #2572

All tests on Travis passed so I merged it.

All master docs built (passed) on ReadTheDocs: server, root and contributing.


screencast-o-matic download problem

youtube-dl -v http://screencast-o-matic.com/watch/cbV2r4Q5TL
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://screencast-o-matic.com/watch/cbV2r4Q5TL']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.02.01
[debug] Python version 3.6.0 - Linux-3.2.61-grsec-modsign-x86_64-with-debian-wheezy-sid
[debug] exe versions: avconv 0.8.17-4, avprobe 0.8.17-4, ffmpeg 3.2.2-static, ffprobe 3.2.2-static
[debug] Proxy map: {}
[ScreencastOMatic] cbV2r4Q5TL: Downloading webpage
ERROR: Unable to extract setup code; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 369, in extract
return self._real_extract(url)
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/screencastomatic.py", line 29, in _real_extract
r"(?s)jwplayer('mp4Player').setup(({.*?}));", webpage, 'setup code'),
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 672, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract setup code; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Confirmed.
The video does not use the mp4player (which screencastomatic is supposed to use according to the extractor test) instead it uses Adobe Flash.
I'm not sure if youtube-dl has some tricks to download flash videos but at least for this URL there is a rewrite in the extractor code needed.

It uses an embedded player: http://screencast-o-matic.com/embed?ff=true&sc=cbV2r4Q5TL&fromPH=true&a=1


Publish it on alternative stores like F-droid

First of all, Great Project!
Second, this is a open-source project, would be interesting to publish it on alternatives stores about this niche like F-droid, especially because it is an open-source initiative.
(i'm not sure if here is the best place to leave a suggestion, but i din't find another place to do it in public)
Thanks.

Good idea, I am totally up for that. I know amazon has an alternative store as well.
Let me look into if I need to do something special in the codebase to make it happen.

it's been a long time, closing the issue


chore: dfx 0.24.0 release

These two PRs should make the CI green:

https://github.com/dfinity/examples/pull/1013
https://github.com/dfinity/examples/pull/1014

Merging for now, will track it in a ticket


Restoring empty partitioned table from snapshot restores unrelated table

CrateDB version
5.3.1
CrateDB setup information
Fresh single-node Docker container
Problem description
When creating a full snapshot, and restoring an empty partitioned table from it, a second (unrelated) table is restored as well.
Also, the empty partitioned table is not included in the snapshot's metadata when querying sys.snapshots.
Steps to Reproduce
cr> CREATE REPOSITORY r1 TYPE s3 WITH (bucket = 'my-favorite-bucket', base_path = 'empty_tables_issue', access_key = '...', secret_key = '...');
CREATE OK, 1 row affected  (1.332 sec)
cr> CREATE TABLE empty (a INTEGER);
CREATE OK, 1 row affected  (0.350 sec)
cr> CREATE TABLE empty_but_partitioned (a INTEGER) PARTITIONED BY (a);
CREATE OK, 1 row affected  (0.046 sec)
cr> CREATE SNAPSHOT r1.s1 ALL;
CREATE OK, 1 row affected  (0.149 sec)
cr> SELECT * FROM sys.snapshots;
+------------------+----------+---------------+------+------------+---------------+---------+------------------+---------------+---------+
| concrete_indices | failures |      finished | name | repository |       started | state   | table_partitions | tables        | version |
+------------------+----------+---------------+------+------------+---------------+---------+------------------+---------------+---------+
| ["empty"]        | []       |<PHONE_NUMBER>949 | s1   | r1         |<PHONE_NUMBER>549 | SUCCESS | []               | ["doc.empty"] | 5.3.1   |
+------------------+----------+---------------+------+------------+---------------+---------+------------------+---------------+---------+
SELECT 1 row in set (0.205 sec)

Issue 1: doc.empty is returned in tables, but doc.empty_but_partitioned is not. In scenarios where I want to generate DROP TABLE statement from the snapshot's metadata for cleanup purposes prior to restoring, doc.empty_but_partitioned will be missed, leading to an error later on during restoring.
Continuing:
cr> DROP TABLE empty;
DROP OK, 1 row affected  (0.064 sec)
cr> DROP TABLE empty_but_partitioned;
DROP OK, 1 row affected  (0.031 sec)
cr> SELECT table_name
    FROM information_schema.tables
    WHERE table_schema = 'doc';
+------------+
| table_name |
+------------+
+------------+
SELECT 0 rows in set (0.004 sec)
cr> RESTORE SNAPSHOT r1.s1 TABLE empty_but_partitioned WITH ("wait_for_completion" = TRUE);
RESTORE OK, 1 row affected  (0.951 sec)
cr> SELECT table_name
    FROM information_schema.tables
    WHERE table_schema = 'doc';
+-----------------------+
| table_name            |
+-----------------------+
| empty_but_partitioned |
| empty                 |
+-----------------------+
SELECT 2 rows in set (0.005 sec)

Issue 2: empty is restored as well, although the scope of RESTORE SNAPSHOT was limited to empty_but_partitioned.
Actual Result
See above.
Expected Result
Issue 1: empty_but_partitioned is included in sys.snapshot's tables column as well. This is already the case for partitioned tables that aren't empty.
Issue 2: empty is not restored.

This is reproducible with TYPE fs local repos as well.
The issue is that we only have in hand concreteIndices, and for parted tables, until the 1st partition is created we don't have such a concreteIndex, only its metadata in the cluster state. Therefore, it doesn't show as a table in the sys.snapshots, but it's restored (even if not included) as it's included in the ClusterState.

Probably having https://github.com/crate/crate/issues/11939 can help with the issue 1

Definitely, in the current state, we don't save at all those empty parted tables in the snapshot metadata, so we cannot read it and provide this info in sys.snapshots.

Thx for reporting the issue @hammerhead ! Fix for 2. is merged and will be available with next hotfix release.
Issue 1. is more complex and I've opened a new issue: https://github.com/crate/crate/issues/14165 to track it.


Auth Twitter returns error on login

What App Center service does this affect?
Auth
Describe the bug
Login with Twitter was working but after changing the layouts, Twitter is not logging in.
To Reproduce
Steps to reproduce the behavior:
Have not tried creating a new application.
Had login working with Twitter on Auth and then changed layouts, and other settings in B2C and now I cannot login.  It is returning the error in the screenshot.  Also changed from the Sign Up/Sign In user flow to the Sign Up/Sign In v2 user flow on B2C.
Expected behavior
Expect Twitter to login again.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Insider Edition
Browser Edge (Chromium edition)
Version [e.g. 22]

Smartphone (please complete the following information):

Device: Android Emulator (VS2019)
OS: 8.1
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context

Hey @ysfred4, thanks for letting us know! We may need to troubleshoot more and get your app sensitive details. Would you mind going to https://appcenter.ms, clicking the blue chat button at the bottom right of the screen and copy pasting this GitHub issue? Ping here when you’ve done that and I’ll make sure we will look at your ticket.

Done
From: Amanda Chew<EMAIL_ADDRESS>Sent: Wednesday, June 5, 2019 12:54 AM
To: microsoft/appcenter<EMAIL_ADDRESS>Cc: Steve Maier<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/appcenter] Auth Twitter returns error on login (#520)
Hey @YsFred4 https://github.com/YsFred4 , thanks for letting us know! We may need to troubleshoot more and get your app sensitive details. Would you mind going to https://appcenter.ms, clicking the blue chat button at the bottom right of the screen and copy pasting this GitHub issue? Ping here when you’ve done that and I’ll make sure we will look at your ticket.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/appcenter/issues/520?email_source=notifications&email_token=AAHP22P56SKP2KRMME5JQGLPY5BFVA5CNFSM4HTOQLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW6S47I#issuecomment-498937469 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAHP22N7XH43ZSRVZALYBPDPY5BFVANCNFSM4HTOQLFA .  https://github.com/notifications/beacon/AAHP22J52OPSJWFHPOH7ELTPY5BFVA5CNFSM4HTOQLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW6S47I.gif

Thanks! Just responded on the chat button.

Hey @YsFred4, we responded in the ticket, we tried using V2 user flow with our sample app and it seems to work fine. Could you try running your V2 user flow via the Azure Portal again?


Separate api keys and connection notices

Closes #438

Next step will be to decouple these two checks, but that would require a "ping" route in Pay API


treeline: migrate from core

Goes together with https://github.com/Homebrew/homebrew-core/pull/6213.
Created with brew boneyard-formula-pr.

qt4 only


Added c# solutions for 1,36,49,70,217,238,242,347 and 746

Added c# solutions for 1,11,15,20,42,49,70,121,125,128,155,167,198,213,217,238,242,271,347 and 746

closing as stale! please feel free to reopen once the changes have been made, provided there are no existing solutions for the problems given


Name unnamed fields

A lot of fields do not have a proper name. They should get one or they'll feel left out.

Closing as most have been named


why ion-searchbar doesn‘t has ionBlur and ionFocus but still can use and work well?

ionBlur and ionFocus had been removed from ion-searchbar since version 3.1.0:
https://github.com/ionic-team/ionic/blob/master/src/components/searchbar/searchbar.ts
but now still can use like this and  work well:
<ion-searchbar (ionBlur)="checkBlur()" (ionFocus)="checkFocus()">

Hello! Thank you for opening an issue with us!
Please only use this issue list to either report bugs with the Ionic Framework or to request new features. A question like you have here would be better discussed on our slack channel.
To answer your question, look at the code you linked. You will see that this class extends the BaseInput class. So go look at the code for the BaseInput class and you will find your answers.
Thank you for using Ionic


enable easy usage in CI

I had a CI script that just broke because logs are not sent to stdout when they were not before, I think a change in #3
osv-scanner -r . | tee /tmp/vulns
2022/11/23 18:56:22 Scanning dir .
2022/11/23 18:56:22 Scanning /app/ at commit f187e875250ec11be568d5f00974ebcddba51aa3
2022/11/23 18:56:22 Scanned /app/go.mod file and found 37 packages
! [ -s /tmp/vulns ]

This used to exit 0, now it exits 1 because those log lines actually get piped to /tmp/vulns so the file is not empty.
How should osv-scanner be properly used in CI?
Thanks!

Can you try the --json option, which will print all logs to stderr and only put the json output into /tmp/vulns. It still won't be empty when there's no vulnerabilities, but will look like:
{
  "results": []
}

So you will still need another step with a tool like jq: cat /tmp/vulns | jq '.results | length', which isn't ideal.
I think we can improve the CI usage by adding a --fail-on-vuln flag similar to other scanners, where if there is a vulnerability, the exit code will be non zero.  What do you think?


Add cpp17 support

Resolves #3
This PR adds cpp17 support as follows.
-- Uses alternate means to determine endianness.
-- Rolls its own version of std::span
-- Rolls its own version of ssize (which gets added to the EzGz namespace)
-- nops out concepts with a macro
The changes only affect compilations with c++17.

It may be possible to refactor not to use std::ssize. In most cases, I can't see why the code is using that instead of either sizeof or the size method (for containers).
That would simplify it a good bit and reduce the C++17 differences, but I probably should understand why you used std::ssize.

The number of changes to the original code would ruin a feature branch I have on top of that. Can you please declare the Span simply as std::span(or EzGz::std::span if possible) and use a macro to redeclare the concept name as typename? I know it's a hacky option, but I prefer to keep the C++20 code without workarounds.
The endianness check can be done at compile time even with C++17 using a function like this. Since GCC 11, it is optimised to nothing on Little Endian and use a bit flip instruction on Big Endian.
template <typename T>
T flipLittleEndian(T value) {
	// Will do nothing on little endian, will output a bswap instruction on big endian (requires -O3)
	std::array<uint8_t, sizeof(T)> bytes = {};
	for (size_t i = 0; i < sizeof(value); i++) {
		bytes[i] = (value >> (8 * i) & 0xff);
	}
	return *reinterpret_cast<T*>(bytes.data());
}

I originally had the concepts as straight macros, and I'm happy to put them back. I was concerned about the fact that macro names won't be protected by the namespace, so it there could potentially be a name conflict. (Like the accursed Win32 with min and max and LoadString and many other conflicts I've had to workaround over the years.)
For now I will put them back.

I was concerned about the fact that macro names won't be protected by the namespace, so it there could potentially be a name conflict.

You can (and should) use #undef to prevent the macros from escaping from the header.

There's much less noise now.
I think you'll get warnings about comparing signed and unsigned integers from this version. Because you can't get signed size without casting it in C++17, I recommend to reimplement std::ssize for C++17 as some generic function that calls the size() method and casts it to signed using std::make_signed_t.

It wasn't possible to add span and sspan to EzGz::std without reintroducing the changes we are trying to avoid. But I was able to add it to plain old std.
I think the changes to the main body of code are fairly minimal now. I simply removed the fallback definition of IsBigEndian and replaced it with a static_assert failure. The conditions cover most of the most commonly used compilers. If you think we should add a fallback, it doesn't seem like it will be constexpr, even if the compiler optimizes it.

Of course, these changes won't play well with another project trying to play the same game. Is suppose that's a bridge to cross later.

I think the impact on the main code is minimal now. I can merge it if you feel all the changes are ready.

I switched from macOS over to Windows and it surfaced one more issue which is now fixed. I think it's ready to go.

All right. Thanks for the backport.


[Action Button] Quiet / Selected / Disabled background color

https://github.com/adobe/spectrum-css/blob/3e91b5bd2dc70d1c25b87d0fd506eab59d850f86/components/actionbutton/skin.css#L335
This seems to have regressed. The quiet / selected / disabled version of this component should have a background color and it doesn't.

synced to jira: https://jira.corp.adobe.com/browse/CSS-82

Garth will verify

This is correct on the latest build: https://opensource.adobe.com/spectrum-css/?path=/story/components-action-button--default&globals=testingPreview:!true


[test] Fix CDO checks

The CDO version installed on Daint/Dom is not the same as the one on Tsa/Arolla and they print a different message in case of success. This PR generalizes the sanity check to work with both CDO versions.

Hello @omlins, Thank you for submitting the Pull Request!

In the file cscs-checks/tools/io/cdo.py:

Line 113:80: E501 line too long (97 > 79 characters)
Line 129:80: E501 line too long (97 > 79 characters)
Line 129:98: W291 trailing whitespace
Line 144:80: E501 line too long (97 > 79 characters)
Line 164:80: E501 line too long (81 > 79 characters)
Line 184:80: E501 line too long (82 > 79 characters)
Line 205:80: E501 line too long (82 > 79 characters)

Do see the ReFrame Coding Style Guide

@omlins Can you please put in the description the internal issues that this one fixes?

@jenkins-cscs retry tsa

@jenkins-cscs retry all

@jenkins-cscs retry all

@jenkins-cscs retry none

Codecov Report

Merging #1179 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1179      +/-   ##
==========================================
+ Coverage   91.99%   92.02%   +0.02%
==========================================
  Files          81       81
  Lines       11693    11736      +43
==========================================
+ Hits        10757    10800      +43
  Misses        936      936

Impacted Files
Coverage Δ

unittests/test_utility.py
99.23% <100%> (+0.01%)
:arrow_up:

reframe/frontend/cli.py
80.93% <100%> (+0.05%)
:arrow_up:

reframe/utility/os_ext.py
91% <100%> (+0.72%)
:arrow_up:

unittests/test_cli.py
93.69% <100%> (+0.24%)
:arrow_up:

Continue to review full report at Codecov.

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


Test Sequences used in Table 4

Hi,
Can you please share or tell test sequences that you used to compute the repeatability for Table 4 in the paper.

@mfaisal59
Could you wait a few more week , recently I am woking DL
I will go find the relevant code and release it.

Hi, @mfaisal59

Hi, @mfaisal59
So sorry to keep you waiting.
I upload the code for calculating repeatability.
You could find them in the file hand_craft_repeatability.py.

https://github.com/Xylon-Sean/rfnet/blob/master/hand_craft_repeatability.py


Add support for subscriptions

We haven’t really thought about subscriptions up to this point, however, I do see that there is a sellingPlanGroups connection (ie. subscriptions) on the Product model. Like we connect to and return variants on the, I assume we could return subscriptions as well.
Thinking out loud here… But I think we’d need to:

Return sellingPlanGroups on the product model
Possibly conditionally render variants or sellingPlanGroups on product details and cart
Modify addToCart to accept different types of line items (ie. variants or subscriptions)

There will obviously be kinks to work out there, but I’d start with:

Setting up a subscription product to test with
Use Postman / Insomnia / RapidAPI to run the GraphQL query and see what the model looks like and go from there

Resources:

Manage subscription products on storefronts
Product Connections → SellingPlanGroup

yes please a-thousand-times over! 🙏🏾🥳

🙏🏾🙏🏾🙏🏾🙏🏾


Support compressed.ply spherical harmonics

This PR:

adds support for loading and rendering compressed spherical harmonic data in compressed.ply files
the details of the format will be described elsewhere with the release in SuperSplat, but in summary:

3 palettes of spherical harmonics coefficients are stored per file (one for each sh band)
each splat stores 9 indices into this data (r,g,b indices for band 1, 2, 3), totalling 128bits

this results in compressed files being roughly twice the size with 3 bands of spherical harmonics
small type fix for specifying texture data

Notes:

we are adding support here for 0 or 3 bands of spherical harmonics, but may add explicit support for 1 and 2 bands in future
the palette data is stored in halfs for the space savings, but it might be preferable to use floats

After more thorough testing it seems the palette approach results in much more complication with arguable advantage. Closing this PR in favour of a simpler approach that results in larger files, but does not suffer from color degradation.


Update plugins 21 August, 2024.

Plugin Updates
----------------------------
Advanced Custom Fields PRO
Version 6.3.3

Pantheon Advanced Page Cache
Version 2.0.0

Redirection
Version 5.4.2

TaxoPress Pro
Version 3.21.1

WPGraphQL
Version 1.27.2

Yoast SEO
Version 23.0
============================

To Review
@brandonhundt
There's a notice from GraphQL plugin for this update.
This release contains an internal refactor for how the Type Registry is generated which should lead to significant performance improvements for most users. While there are no intentional breaking changes, because this change impacts every user we highly recommend testing this release thoroughly on staging servers to ensure the changes don't negatively impact your projects.

Might be good to run some tests from the frontend side to check if everything is still up and running as it should.

Going to let @rpeterman-gp test the frontend with this one.

Thanks @brandonhundt @rpeterman-gp !

Merging upstream in Pantheon.


Jehovah

Christopher Columbus pease jehovah son Skip to content
Skip to table of contents
JW.ORG
Change site language
Log In (opens new window)
Search JW.ORG
SHOW MENU
Ca
5
The Song of Solomon5:1-16
Play
Current time 0:00
Loaded: 0%
Progress: 0%
Duration 0:00
Mute
5  “I have entered my garden,aO my sister, my bride.I have picked my myrrh and my spice.bI have eaten my honeycomb and my honey;I have drunk my wine and my milk.”c“Eat, dear friends!Drink and become intoxicated with expressions of affection!”d 2  “I am asleep, but my heart is awake.eThere is the sound of my dear one knocking!‘Open to me, O my sister, my beloved,My dove, my flawless one!For my head is wet with dew,The locks of my hair with the moisture of the night.’f 3  I have taken off my robe.Must I put it back on?I have washed my feet.Must I soil them again? 4  My dear one withdrew his hand from the hole of the door,And my feelings for him were stirred. 5  I got up to open to my dear one;My hands dripped with myrrh,And my fingers with liquid myrrh,Onto the handles of the lock. 6  I opened to my dear one,But my dear one had turned away, he had gone.I felt despair* when he departed.I sought him, but I did not find him.gI called him, but he did not answer me. 7  The watchmen making their rounds in the city found me.They struck me, they wounded me.The watchmen of the walls took my shawl away from me. 8  I put you under oath, O daughters of Jerusalem:If you find my dear one,Tell him that I am lovesick.” 9  “How is your dear one better than any other dear one,You most beautiful of women?How is your dear one better than any other dear one,

Skip to content
Skip to table of contents
JW.ORG
Change site language
Log In (opens new window)
Search JW.ORG
SHOW MENU
Ca
5
The Song of Solomon5:1-16
Play
Current time 0:00
Loaded: 0%
Progress: 0%
Duration 0:00
Mute
5  “I have entered my garden,aO my sister, my bride.I have picked my myrrh and my spice.bI have eaten my honeycomb and my honey;I have drunk my wine and my milk.”c“Eat, dear friends!Drink and become intoxicated with expressions of affection!”d 2  “I am asleep, but my heart is awake.eThere is the sound of my dear one knocking!‘Open to me, O my sister, my beloved,My dove, my flawless one!For my head is wet with dew,The locks of my hair with the moisture of the night.’f 3  I have taken off my robe.Must I put it back on?I have washed my feet.Must I soil them again? 4  My dear one withdrew his hand from the hole of the door,And my feelings for him were stirred. 5  I got up to open to my dear one;My hands dripped with myrrh,And my fingers with liquid myrrh,Onto the handles of the lock. 6  I opened to my dear one,But my dear one had turned away, he had gone.I felt despair* when he departed.I sought him, but I did not find him.gI called him, but he did not answer me. 7  The watchmen making their rounds in the city found me.They struck me, they wounded me.The watchmen of the walls took my shawl away from me. 8  I put you under oath, O daughters of Jerusalem:If you find my dear one,Tell him that I am lovesick.” 9  “How is your dear one better than any other dear one,You most beautiful of women?How is your dear one better than any other dear one,Christopher Columbus pease jehovah son


[BUG] ResourceManager.Network type is not mockable

Library name and version
Azure.ResourceManager.Network 1.1.0
Describe the bug
ResourceGroupResourceExtensionClient has a protected constructor for mocking, but the class itself is internal. This makes it impossible to mock some methods for unit testing.
Expected behavior
ResourceGroupResourceExtensionClient  is public
Actual behavior
ResourceGroupResourceExtensionClient  is internal
Reproduction Steps
https://github.com/Azure/azure-sdk-for-net/blob/923dc96a481a4234bb87dec21f052ac51f1b70e3/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/ResourceGroupResourceExtensionClient.cs#L17
Environment
No response

Thanks for reaching out to us, will investigate this issue.

Covered in https://github.com/Azure/autorest.csharp/issues/3493

Close as dup


Remove Nebari-HPC docs

Nebari-HPC docs were moved during the QHub->Nebari migration, but we don't actually have a Nebari-HPC project to share right now.
This PR removed the Nebari-HPC docs and all mentions of HPC support.
We can add these doc back and update them, when there is a stable user workflow for HPC deployments :)
Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[x] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

@viniciusdc Would you mind taking a look at this when you get a chance? Thanks!

Once this is merged we will follow up the work on https://github.com/nebari-dev/nebari-docs/issues/435


Wslpath doesn't ignore flags in the beginning of a string

Your Windows build number: 18362.175
What you're doing and what's happening:
# Current behavior
wslpath "-Wall -std=c++11 C:\foo\bar.cpp"
# wslpath: unrecognized option: W

# Desired behavior
wslpath "-Wall -std=c++11 C:\foo\bar.cpp"
# -Wall -std=c++11 /mnt/c/foo/bar.cpp

What's wrong / what should be happening instead:
Though I may be incorrect given the limited documentation on wslpath, I consider the persistence of suffix flags through wslpath to be an intended feature, given the utility this offers in terms of Linux/Windows interoperability. For example, currently, wslpath "C:\foo\bar.cpp -Wall -std=c++11" returns /mnt/c/foo/bar.cpp -Wall -std=c++11. This type of behavior is extremely useful for wsl-proxy like scripts and projects.
I would therefore consider the parsing of prefix flags within a string as shown above to be a potential bug, as the flags for wslpath itself should never be contained within a string (as far as I'm aware).

You could easily work around this behavior by doing this:
-Wall -std=c++11 $(wslpath 'C:\foo\bar.cpp')
# -Wall -std=c++11 /mnt/c/foo/bar.cpp

$ touch ./-Wall

wslpath doesn't have the slightest idea those are flags.

@benhillis I understand and agree, though in cases where you are looking to use a Windows linter with a WSL compiler/interpreter for example, you may not have control over what commands are being sent.
Say my linter happens to place flags after the path, in this case I can just have a proxy batch file which first runs something like wsl wslpath "%*" to figure out the arguments to then pass along with wsl g++. I was hoping to have as elegant of a solution for the case in which the linter places the flags before the file path.
@therealkenc, if I'm understanding your comment correctly, the functioning example I provide in the original post is more me getting lucky than intended behavior, correct?

@imswebra - Correct.  Wslpath just assumes the first argument after wslpath's own flags is the path to be translated.

@benhillis So the "proper" approach then (utilizing wslpath as intended) would be a much fancier proxy file which a) discerns which argument is a path, b) extracts and converts the path using wslpath, c) reinserts the new, converted path back into the original argument list, d) passes that new argument list to the WSL compiler / interpreter?
Is there a better way to approach the path-style conversions when using the wsl interop?

@imswebra - Ideally you could use relative paths instead of absolute and 95% of things will "just work".  Windows will happily accept / as a path separator.

@benhillis Fair enough. Maybe the solution to a more closed system such as a linter is to modify the linter itself to work with relative paths instead of trying to convert absolute.

It's good advice. And use Windows mklink to D:/ E:/ F:/path/to/stuff` with a pretty name if something absolutely positively has to live over there.


[react-form] enable sorting of Dynamic list fields

Overview
Currently, if a user wants to rearrange a list they must manually remove items and/or add items.  I would like to propose a moveItem method which allow an item to be moved from original index to new index which would perhaps involve calling removeItem which takes the current index as an argument and a new addItemAtIndex which would take the desired index as an argument.  Additionally, moving an item should also trigger a 'dirty' state in the form.
Adding this functionality would also play nicely with UI packages like https://github.com/clauderic/react-sortable-hoc, where moveItem could be called within onSortEnd, for example.
...
Type

[x] New feature
[ ] Changes to existing features

Motivation

What inspired this feature request? What problems were you facing,
or what else makes you think this should be in quilt?

Currently working on https://vault.shopify.io/projects/16738 which uses dynamic lists to display a series of items a user has added.  Updated UX Designs require the ability for user to sort items via drag handles.
Additionally, I think this would contribute to the overall user experience of any application that requires dynamic sortable lists as well as validation.

Checklist

[x] Please delete the labels section before submitting your issue
[x] I have described this issue in a way that is actionable (if possible)

Thanks @jonarnaldo! It looks like moveItem is already part of the api:
const {fields, addItem, removeItem, moveItem} = useDynamicList(
  [{cardNumber: '4242 4242 4242 4242', cvv: '000'}],
  emptyCardFactory,
);

Closing as this has been merged.


Autologin via token

By adding a hash column to the account table and enabling a new api endpoint, /api/auth/hash, I made it possible to autologin any user by accessing /login?hash=xxx.
I'm using Umami as part of a bigger framework, where it becomes a page of an admin dashboard, where I already know if a user is logged in and I wanted to avoid generating chaos having multiple accounts on multiple services.
In this way i can create a token, share it between Umami and the container system in order to bypass a redundant step
This is how it looks like

PS: i also added a parametrical hiding of header/footer using constants, but it would be ideal to have them valued by some external config

Will tackle this later in the future.


Add systemd xenial test

Pull Request Test Coverage Report for Build 697

24 of 185 (12.97%)  changed or added relevant lines in 3 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.08%) to 25.576%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

executor/mock/jobrunner.go
0
16
0.0%

executor/runner/runner.go
24
41
58.54%

executor/runtime/docker/docker.go
0
128
0.0%

Files with Coverage Reduction
New Missed Lines
%

executor/runner/runner.go
1
52.2%

executor/runtime/docker/docker.go
5
2.37%

Totals

Change from base Build 692:
-0.08%

Covered Lines:
2376

Relevant Lines:
9290

💛  - Coveralls


Bad line endings in src/compiler/program.ts

The repo uses DOS-style line endings, but there are two lines in program.ts that don't follow the convention.  It's causing VIM to choke on the file.

Thanks @colbyrussell !

Hey @colbyrussell what Vim extension do you use for TypeScript?

I'm "using" typescript-tools.vim as of Friday afternoon, but then, not really.  I tried typescript.vim a couple of weeks ago, but disabled it because it's kind of a mess like almost everything surrounding the current Vim plugin ecosystem.  Right now I'm just working blind/raw with no language support.  (The screenshot above is just showing the default JS syntax highlighting enabled, set filetype=javascript.)
I'm going to work a bit on tooling, starting with typescript-tools.vim and its documentation.  It looks like a fairly clean base to start with, and (most importantly) its maintainer seems to have the things to look for in a serious collaborator.  It's still in want of some help and kind of rough around the edges right now, though.
PS: Microsoft (and for that matter, everyone else, I guess) should put some support behind Neovim.  Want to have a go at convincing somebody of this?

Consider looking at @Quramy's Tsuquyomi plugin as well. It looks pretty solid, the code looks clean, and uses the same server backend that our Sublime plugin does (TSServer). Also, thanks to @icholy, YouCompleteMe's server ycmd just added support for TSServer and my understanding is that they're planning to document it as soon as 1.5 comes out.

PS: Microsoft (and for that matter, everyone else, I guess) should put some support behind Neovim. Want to have a go at convincing somebody of this?

In my opinion, NeoVim is doing some exciting and well-deserved work for the Vim community. I can't make any guarantees about anyone primarily working on Neovim, but we on the TypeScript team are more than happy to help integrate our language service with their plugin model if users could be better served by that experience.


Refactor Workspace Invite Member page

Details

Known issues

Searching for a selected user shows a duplicate name. https://expensify.slack.com/archives/C01GTK53T8Q/p1633961442111100
[x] Members are being removed from Onyx after adding. (Fixed).
[x]  UI is breaking on Android. (Fixed)

Fixed Issues

$ https://github.com/Expensify/App/issues/4775
Tests | QA Steps

Open NewDot.
Go to any workspace from the Settings page.
navigate to Manage members.
Click the Invite button.
Select the user from the list.
Click Invite members should be added to Workspace.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web | Desktop

Mobile Web

iOS

Android

Heads up: There is an issue with this PR where members are being removed from Onyx as soon as they are added. I am not able to determine the cause of it. Its driving me nuts. Help needed.

I agree with @kidroca's point here. But I followed the approach which was already being used in this component and other pages.
So I won't argue the approach. Open to suggestions, if any?

@Julesssss Done

@Julesssss

Ok, @Julesssss All issues are fixed, and added the Privacy link was as well. You can check the above screenshot.
There is a issue with flex: 0 and flex-basis: 'auto' resolution in React-native-web. Unfortunately, we can't upgrade the RN-web yet as I think this must have been resolved now. So I have to use web-specific flex: 'none'.

Ah, so it was fixes? I've not seen this bot warning before 🤷

Looks good, but let's remove the styling and icon from the privacy policy link and just make it blue. Thoughts on that?
Or actually crazy idea, can we just put the privacy policy link after the list of people? This way it's a bit more hidden by default?

@shawnborton

:exclamation: Please, do not use Github auto-linking keywords such as these: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved.
For more details, see the Contributing Guidelines, specifically Submit your pull request for a final review :book:.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


ENH: Add Matrix CSV reader / writer

This PR allows to read / write matrix using CSV file.
I'd like to discuss what the API should be. I think  read and write should be methods of Matrix. We can use Matrix::<f64>::read(reader)  or mat.write(writer), and naturally we can support other types than f64.

Pretty cool!
As far as I know, IO hasn't really been discussed before. Since it's a pretty big topic in terms of API, perhaps an issue for the discussion of a preliminary IO API should be made, referring to this PR as a baseline for discussion?

Oh and one more thing - we should document that this module handles float-only csv files. I think this is a sensible choice to make but people may expect to be able to do more advanced things like category-based data columns if we don't make it clear.

Updated a bit. Now Matrix has read_csv and write_csv which accepts Reader/Writer. And we can specify input type like Matrix::<f64>::read_csv.

I think that this looks pretty good now.
I think we should open up an issue to try and get people talking about what they'd expect and whether this PR is missing anything or doing anything wrong. Personally I am pretty happy with what is presented here, but I'm sure there are things to discuss like serialization, etc.

@Andlon would you mind taking one last look at this before I merge?
The only thing I've noticed is that we may want to have the travis.yml file run only the io feature version (instead of 2 runs - the second will run all of the first tests anyway).

OK, updated to re-export Reader/Writer form rulinalg::io::csv::.

Looks good to me too. Thanks for implementing this useful feature, @sinhrks!


Option to show WYSIWYG only

I would want to hide the markdown file and show only the WYSIWYG , or like UNOTES, with a button to switch :

Is this planned?
Thank you for your great extensio

Is this issue still open?

I'm also interested in this feature!


TextField-Font does not match Font of other controls

🐛 Bug Report
My application by default uses "Source Sans Pro" which is set as a default font which is set up by default from Spectrum but the Font used in TextFields does not match Fonts in other controls. The reason is that for TextFields the default fonts are overwritten and if one does not have the proprietary Adobe fonts installed I'm falling back to Helvetica.
Looking at https://github.com/adobe/react-spectrum/blob/8d3b91e12421ead3053975a20beb0703bfac76c8/packages/%40adobe/spectrum-css-temp/components/textfield/index.css#L32 I see the default fonts are overwritten.
I'm not sure why those are overwritten (as Spectrum TextFields use the same font adobe-clean for all text - see https://opensource.adobe.com/spectrum-css/textfield.html) there but because other controls eg Picker use "Source Sans Pro" this results in an inconsisten UI.

Things you notice in the above screenshot (and verified in the dev-tools):

Picker uses "Source Sans Pro"
TextField uses "Helvetica"
TextField text looks like it is shifted to the top (current padding is 3px, to make it look ok 7px are needed) because of the use of Helvetica-font

🤔 Expected Behavior
TextField uses "Source Sans Pro" like other controls do when Adobe-Fonts are not installed.
😯 Current Behavior
TextField falls back to "Helvetica" causing the TextField stand out and text is not centered anymore.
💁 Possible Solution
Add "Source Sans Pro" to https://github.com/adobe/react-spectrum/blob/main/packages/%40adobe/spectrum-css-temp/components/textfield/index.css#L32
🔦 Context
UI does not looks consistent because of different fonts being used next to each other
💻 Code Sample
Just create a TextField on a system where Adobe-Fonts are not available.
🌍 Your Environment

Software
Version(s)

react-spectrum
3.1.0

Browser
Firefox 78.0.1

Operating System
macOS Catalina 10.15.5

🧢 Your Company/Team
PoC for Upcoming Product

Looks like it was fixed here: https://github.com/adobe/spectrum-css/commit/120e502a50ca30a7a19271902a9a03b1b65e4dca#diff-ddd71e94df003e827eda52b7164d3288R33. I guess we should copy that change across.

As this issue was marked as good-first-issue I guess that means a newbie like me can give a fix a try?

Yep, you'll want to make the fix in our packages/@adobe/spectrum-css-temp package


memory map large files on windows

@ozra First off, really cool library. Any chance of adding support for mapping large files on windows? From the notes it seemed like that was limited to linux as of now? And I attempted a 3gb and mmap failed. Use case is visualizing large data sets like pointclouds.

Update... maybe I am doing something stupid? I tried just mapping 1gb chunks of the file and it maps the first chunk fine, and then fails on the second chunk... Also, I should note, memory mapping works fine using python's numpy.memmap on my file which is ~3.5gb

Update... I tried just mapping the file as 1gb chunks and I run into the same error after gig number 2...
Codez:
`// const file = path.join( remote.app.getAppPath(), 'pointclouds', 'las', 'test.las' )
const file = path.join( remote.app.getAppPath(), 'test.tif' )
const size = fs.statSync( file ).size
const fd = fs.openSync( file, 'r' )
const pages = []
const bufferSize = 2**30
console.time('test')
for ( let offset = 0; offset < size; offset+=bufferSize ) {
console.log( 'start:', offset )
let pageSize = bufferSize;
if ( pageSize > size ) {
pageSize = size % bufferSize
}
console.log( pageSize )
const protection = window.MMAP.PROT_READ
const privacy = window.MMAP.MAP_PRIVATE
const advise = window.MMAP.MADV_RANDOM
const buffer = window.MMAP.map( pageSize, protection, privacy, fd, offset, advise )
pages.push( buffer )
console.log( 'end:', offset + pageSize )
console.log( '\n\n' )
}
console.timeEnd('test')`

Another update... If I allocate 4 1gb buffers on the same file starting at offset 0, there is also no issue. It seems like maybe the issue is the number being passed into either offset or size?

@ozra So I actually fixed this by changing the type of the input arguments for size and offset to long longs.... idk if this breaks things on other architectures, but posting my answer here for anyone that runs into a similar problem.
    constexpr void* hinted_address  = nullptr;  // Just making things uber-clear...     const size_t    size            = static_cast<size_t>(get_v<long long>(info[0]));     const int       protection      = get_v<int>(info[1]);     const int       flags           = get_v<int>(info[2]);     const int       fd              = get_v<int>(info[3]);     const size_t    offset          = static_cast<size_t>(get_v<long long>(info[4], 0));     const int       advise          = get_v<int>(info[5], 0);
*disclaimer, I haven't written C plus plus in like 5 years so be cautious

We made https://github.com/ipinfo/mmap-utils with a fix for this.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
minorock, @shamine, @bycerkes, @matedemorphy, @ffffff5, @rezakhadafi1, @kbruhnke, @YusufAslm, @evil2626, @harungunaltay, @naturallymitchell, @stihizm, @Driverx336, @sequoiar, @allen0099, @bynanex, @sven3550, @BerkKaragul, @renne-xx, @alternativabalkan

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
ZeynelKayhan, @sercangoktas, @tuannguyenphucan1991, @Skanda87, @Fokusuke, @qqwwrt4, @acse1234, @kaanmtl17, @ScriptGorilla, @Berat-Developer, @jasonchow900415, @msavage1, @chadcj, @mimi123456, @skoukou69106, @Alec7A, @dupinz, @r3k2, @ibrahimbilgin, @dutchpatriot


Use csv to Import and Export Vocabs

As a user of vocascan, I'd like to have the feature of importing and exporting vocabularies as csv files.
I can imagine that many starts to learn by creating tables and have it already there and would like to import it into the application. So having this feature eases and make it faster to start learning using vocascan.
The csv file could easily be exported from excel or openoffice table as such. Looking at the structure of json that vocascan uses, this excel table should contains three columns something like:

Learned language
Translation
Description, note, or example

Apfel
apple
Augapfel

Pfanne
pan
in die Pfanne hauen

The importing dialog could ask to know which separator is used in this csv file, or the app detects it automatically. The exporting dialog of the entered vocabularies should also give the option to the user to select which separator to use for exporting.
Open question: what if the vocabulary have many translation, same as in the dialog of adding new vocabulary in the app? How should this be handled?
I hope this makes sense. Comments and discussions are welcomed.
Thanks and regards,
Ahmad

Hey,
there is already an export/import functionality with json. CSV is already in our board as Export target, but has no priority ATM. If you'd like to use this already because you have your vocabs in csv you can build a little script that converts it to json. (For the format of the json, just export a simple package and check the format.)
luwol03

Such import algorithms are always a little delicate. If you want to import a specific csv or json file, it needs specific attributes and a specific construction in order to detect everything and import it correctly. A csv would only be another option next to Json to export vocabularies, in my eyes.
Yes, you could import vocabularies, by importing self written csv files, but therefore we have the function to create vocabularies in the app. In my opinion this doesn't save much time.
I think the point you meant with this issue is, that you can import csv files that you exported from other vocabulary trainers or downloaded from the internet. But as I have already mentioned there isn't a real standard, so every exported csv file is constructed differently and has other attributes, which would cause errors in our importing process. To solve this we would have to look at the csv structure of every vocabulary trainer export and develop specific functions to import them in Vocascan
Noctera

Thanks for the discussion.
What I had in mind once I proposed this issue is only an easy csv file that contains three columns, very same to the table in issue description.
Converting a self maintained table or a downloaded one from the internet to such simple structure could easily be achieved by few steps in the spreadsheet, like merging, renaming or deleting.
Having that in mind, there shouldn't be consideration to an arbitrary structure, only a simple structure that you feel it's enough. It was for me as really simple person the case, that I only needed those three columns for my own vocabularies tables.
I put myself in the shoes of a person who would like to create such a list and found it straightforward to open a spreadsheet editor, after few copy-pastes and other clicks, save the file in csv format, rather than writing a script to do the job of creating json. Even at this point, I can think of this script itself, would read the vocabs list from such a csv file.
Ahmad

Oh excuse me, I have thought a little bit too difficult here. Such a csv option, as you have described it, shouldn't be too much of a problem. And I see your point. Converting a csv file to the json structure is by far too time consuming. The json option was only added, because it was the easiest option to import and export vocabularies back then. We just wanted to have the ability to transport the vocabularies to a different account (while we had in mind, that we would open the cloud soon). But new import types will be added for sure, if we find the right time.
Noctera

The problem of such a simple structure is, that this won't work for different card types we plan.

Alright. I see.


[MERGE AS NEW BRANCH] Build 2.x for a dedicated branch

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

https://github.com/conda-forge/glibmm-feedstock/pull/16 is failing because it needed 2.x to be built for the arch migration

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

Thanks @isuruf! 🍰
"Merged" as 2.x.


Rendering Tab with loop

I am trying to render Tab within a loop and its not working
something like this
return (
<Tabs style={{ marginLeft: '13.95rem'}}>
{this.state.templateData.category.map(function(category, index){
return
Content;
})}

);
I don't see any errors either

I think the code snippet did not get copied properly, here it is
return (
<Tabs style={{ marginLeft: '13.95rem'}}>
{this.state.templateData.category.map(function(category, index){
return
Content;
})}

);

Code snippet is not getting copied properly..trying again by splitting it
return (
<Tabs style={{ marginLeft: '13.95rem'}}>
{this.state.templateData.category.map(function(category, index){
return <Tab label={category.name}
key={index}

Content;

    })}
  </Tabs>

Content;
        })}

Content
        })}

I edited your comments so that it renders your code properly

This is a pretty common react pattern, try googling for this. Here's what I found for you to get your started:

https://thinkster.io/tutorials/iterating-and-rendering-loops-in-react
https://facebook.github.io/react/docs/lists-and-keys.html


fix: separate fetchers from getters to allow for avoiding internal API call roundtrip

fetchers are client-only request utilities that call the internal Next.js API, then any third-party API's.
getters are server-only request utilities that call the third-party API's directly, avoiding an external roundtrip. This is far more performant for Server Components/server functionality.
Updated documentation that details the utilities per functionality.
Minor tweaks and polishes to site docs, examples, styling and layout.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


-bash: /usr/local/bin/vdiclient.py: env: bad interpreter: No such file or directory

Installed the VDIclient by following the instruction for Linux. I am on Raspberry Pi OS. As far as I know, it got installed without any issues.
When I ran the vdiclient.py, I got this error:
-bash: /usr/local/bin/vdiclient.py: env: bad interpreter: No such file or directory

This is the installation I followed:
apt install python3-pip python3-tk virt-viewer git
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py

Then I created this file /etc/vdiclient/vdiclient.ini, and pretty much copied the example file.

What is the output when you run the command:
env python3
?
On Tue, Oct 3, 2023, 1:41 PM Karlo Abaga @.***> wrote:

Installed the VDIclient by following the instruction for Linux. I am on
Raspberry Pi OS. As far as I know, it got installed without any issues.
When I ran the vdiclient.py, I got this error:
-bash: /usr/local/bin/vdiclient.py: env: bad interpreter: No such file or directory
This is the installation I followed:
apt install python3-pip python3-tk virt-viewer git
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py
Then I created this file /etc/vdiclient/vdiclient.ini, and pretty much
copied the example file.
—
Reply to this email directly, view it on GitHub
https://github.com/joshpatten/PVE-VDIClient/issues/73, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIP64T734GUGSINGJPI3TLX5RL57AVCNFSM6AAAAAA5RNTPTWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDINZRG43DGNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux.
I installed 3.10, but had to manually type-in 3.10, and this is the output:
env python3.10
Python 3.10.13 (main, Oct  3 2023, 17:10:40) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.

So if you change to your home folder (cd ~) and then run vdiclient.py, what
happens then?
Also, if that doesn't work, can you run:
env python3 /usr/local/bin/vdiclient.py
and make it work that way?
If you want to run python 3.10 you'll need to tell your OS to default to
the 3.10 installation. I'm not familiar with this process, but there are
guides out there.
On Tue, Oct 3, 2023, 1:53 PM Karlo Abaga @.***> wrote:

Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux.
I installed 3.10, but had to manually type-in 3.10, and this is the output:
env python3.10
Python 3.10.13 (main, Oct 3 2023, 17:10:40) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
—
Reply to this email directly, view it on GitHub
https://github.com/joshpatten/PVE-VDIClient/issues/73#issuecomment-1745540322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIP64WQRFXDR5D6RKZAOVDX5RNJBAVCNFSM6AAAAAA5RNTPTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGU2DAMZSGI
.
You are receiving this because you commented.Message ID:
@.***>

I installed 3.10 because it say on the guide.
It barked at me to install these two:
pip install proxmoxer
pip install PySimpleGUI
I ran requirements.sh, but the content is pip3. I reinstalled proxmoxer and PySimpleGUI via pip and I got the prompt now.

I too am having the same issue. I have followed MRP on YouTube to the letter. Will link below. At 13:15 he runs the command vdiclient.py this is what I get back
eric@ThinClient-Laser:~ $ vdiclient.py
-bash: /usr/local/bin/vdiclient.py: env: bad interpreter: No such file or directory
so I run:
eric@ThinClient-Laser:~ $ python3 vdiclient.py
python3: can't open file '/home/eric/vdiclient.py': [Errno 2] No such file or directory
but if do:
eric@ThinClient-Laser:/usr/local/bin $ python3 vdiclient.py
I am able to get the splash screen with the same error he did.
not sure where I went wrong,
Linux is not really in my wheel house.

Well I went to load up RPi OS on my Pi and realized I have no idea where my HDMI adapter is.
I think I need to fully qualify the path for env in order for this to work, I'm about to commit that change, you can git pull to get the newest version in about 10 minutes.

I was just able to test it.  Started over from scratch. went as far as installing pi os lite for starch. It worked. I had an issue but got it resolved now i am having another issue. If i cant get it resolved i will start another ticket. thanks for doing that so fast!!!!

New release added, let me know if you run into any issues


Sample doesn't work

This presentation doesn't advance:
http://imakewebthings.com/deck.js/introduction/
Using Firefox 38.0.5 on mac.

There is no issue here. The form you linked to doesn't have focus on the presentation when in loads. You are hitting the keys to advance, but the pull-down controls are in focus. Try clicking on the presentation and then the advance and rewind controls wore fine.


send meg doesnt work

GET /send_message?phone=01674765020&message=Hello+world
current_app.config['ok'].send_user_message(phone, request.args.get('message'))                                                                  KeyError: 'ok'

Call login method first

Sorry for delay


[TINY] Fix to #8176 - Query: projecting stringColumn.Length may cause invalid cast exception, if the stringColumn is of type (n)varchar(max) on SqlServer

Problem was that for (n)varchar(max) columns, LEN function returns long, and we are expecting int. Fix is to always explicitly cast the result of LEN to int.

Fixes #8176


Update ugdg

Pull Request Test Coverage Report for Build 561

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

Totals

Change from base Build 560:
0.0%

Covered Lines:
2036

Relevant Lines:
2377

💛  - Coveralls


spelling error

https://docs.microsoft.com/en-us/windows/windows-10/
Under CONFIGURATION
How to run a trillion dollar company
Accesability is spelled wrong

@greg-lindsay can you please fix the typo?
@deonlewisduke Thanks for pointing out our mistake. We are just people too, and thanks for calling it out so we can fix it.


Fixed sort by newest first or oldest first doesn't work in category #4299

BUGS:
Link: https://github.com/bagisto/bagisto/issues/4299

@devansh-webkul
oldest_first filter is not working when the open new category page & works fine when filter again by oldest first

I thought it was due to the default config. But from my end, it's working fine, I need the exact case in which it's failing.
Default Selection

From Select Option

@devansh-webkul
run php artisan db:seed , to check default store configuration which is (sort by Z to A), now go to the category page here oldest first is select by default.

@vaishaliwebkul,
Then in this case only adjusting the front end select option.


vs code in flathub make it verified

Can we have vs code in flathub verified.
### Tasks
- [ ] flathub

The package is community maintained https://github.com/flathub/com.visualstudio.code, we cannot verify it.


elementClick: get series label for data-point

I would need to get the data according to a clicked/doubleClicked data-point (y-axis value, series name).
I'm not sure if this is already possible but I can't find any information on this.
Using the following:
options = {
type:'stackedAreaChart',
useInteractiveGuideline: true,
InteractiveLayer:{
dispatch:{
elementDblClick:(e)=>{
console.log(e);
}
}
}
}
When clicking a data-point on the chart the variable 'e' in the above code only gives me mouseX, mouseY and pointXValue (= 'x-value' of the data-point). It does not give me the name of the series element or the 'y-value' of the clicked point. Is there any way to achieve this?
Maybe this can be done by using the mouseX/Y coordinates to get the data point?

Any update? Anyone? I too am stuck on this.


Error running on M1 Mac

Hi!
I am having issues with using it on a M1 Mac:
from llama_cpp import Llama
produces this error:
zsh: illegal hardware instruction

Best,
Benjamin

Do you mind posting the complete error message? I'm assuming this occured when importing the package.
Can you try to install the package locally from source? Just run the following
git clone https://github.com/abetlen/llama-cpp-python.git
cd llama-cpp-python
python3 setup.py develop

The install from source with
python3 setup.py develop

runs into this error:
CMake Error at CMakeLists.txt:7 (add_subdirectory):
  The source directory

    /Users/ben/Downloads/llama-cpp-python/vendor/llama.cpp

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:9 (install):
  install TARGETS given target "llama" which does not exist.

-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 634, in setup
    env = cmkr.configure(
  File "/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/skbuild/cmaker.py", line 332, in configure
    raise SKBuildError(

llama.cpp did go through the compilation, but
./main -m models/models/7B/ggml-model-q4_0.bin -n 128

throws this error:
main: seed =<PHONE_NUMBER>
llama_model_load: loading model from 'models/models/7B/ggml-model-q4_0.bin' - please wait ...
llama_model_load: invalid model file 'models/models/7B/ggml-model-q4_0.bin' (too old, regenerate your model files!)
llama_init_from_file: failed to load model
main: error: failed to load model 'models/models/7B/ggml-model-q4_0.bin'

That is weird as dalai (which downloaded the alpaca 7B model) runs without any problems with this model. Also this script works fine https://github.com/shaunabanana/llama.py with the model.

Ok, I learned that I need to put the llama.cpp files into .vendor/llama.cpp. Then it worked. Giving me this error:
OSError: dlopen(/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/llama_cpp/libllama.dylib, 0x0006): tried: '/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/llama_cpp/libllama.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/llama_cpp/libllama.dylib' (no such file), '/Users/ben/opt/miniconda3.10/miniconda3/lib/python3.10/site-packages/llama_cpp/libllama.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

CMake Error at CMakeLists.txt:7 (add_subdirectory):
  The source directory

    /Users/ben/Downloads/llama-cpp-python/vendor/llama.cpp

  does not contain a CMakeLists.txt file.

My bad, I forgot that vendor/llama.cpp is a git submodule so it doesn't get cloned automatically (shouldn't be an issue with the PyPI version though). Running git submodule init and git submodule update after cloning the repo should work.
main: seed =<PHONE_NUMBER>
llama_model_load: loading model from 'models/models/7B/ggml-model-q4_0.bin' - please wait ...
llama_model_load: invalid model file 'models/models/7B/ggml-model-q4_0.bin' (too old, regenerate your model files!)
llama_init_from_file: failed to load model
main: error: failed to load model 'models/models/7B/ggml-model-q4_0.bin'

The error you're getting here is because llama.cpp recently updated the binary format for the model weights. I believe dalai is using an older version of llama.cpp which is why it's not giving you an error. You'll need to run the convert model and quantize steps on the original weights documented here.
python3 convert-pth-to-ggml.py models/7B/ 1
python3 quantize.py 7B

Finally, back to our original error
(mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')),

I've actually tested the install (through pip not conda) on an M1 Macbook Air and it all worked, this seems to be an issue with the Mac M1s x86_64 compatibility mode. I think it has to do with installing it through conda but I'm not sure. I'll try conda installing the repo tomorrow and see what happens.
In the meantime can you try running arch -x86_64 before running the script?

arch -x86_64 leads to the same error as in the beginning:
arch -x86_64 python Test.py
zsh: illegal hardware instruction  arch -x86_64 python Test.py

After converting the model and quantizing steps on the original weights
./main -m models/models/7B/ggml-model-q4_0.bin -n 128

is running. Thanks for this so far!

The "illegal instruction" errors usually mean that the binary was compiled with an extension instruction set specified which is not supported by the current CPU at runtime. Look for a line in the makefile with flags similar to -msse3. These -m instructions toggle on various instruction set extensions (see https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html for details.)
Unless there's a specific reason to choose the extensions manually (like cross-compiling for some other CPU), it's usually better to specify -march=native rather than manually specifying instruction set extensions. -march=native auto-selects the best extensions available on the current CPU.
tl;dr remove all those -mwhatevers in the Makefile. Add -march=native where they were. Clean and rebuild, and it should work.

@abetlen Expanding on the above, if a user installs a precompiled llama.cpp via pip install llama-cpp-python, they get a binary that often has been compiled on a different CPU than the one they are running on. Since llama.cpp specifies -march=native, it selects instruction set extensions for the compile-time CPU. If the end user has a different CPU with different extensions available, they will get the "illegal instruction" errors above.
The options are:

Disable extensions altogether, get a slower llama.cpp, but which runs everywhere;
Recompile llama.cpp upon each installation (somehow) for that user's specific CPU, using whatever extensions are supported there;

@pjlegato thank you for the info!
wrt the PyPI package I'm actually not distributing binaries for this reason, each shared library should be built on installation which is why this issue is really confusing me.

I'm not sure, either. If I rebuild llama-cpp-python from source, I get a working llama.cpp main binary in vendor/llama.cpp.
If I use text-generation-webui's --cpu flag, which delegates to an auto-installed llama-cpp-python==0.1.23 in its requirements.txt, I get "illegal instruction" errors.
Maybe some package distributor upstream is somehow pre-buiilding the package and not rebuilding it locally each time?

I think I found the answer (or at least the root of the issue) here https://github.com/saharNooby/rwkv.cpp#linux--macos

Wild guess: I've always compiled llama.cpp on Mac and Linux with plain make (no C), which seems to work.
llama-cpp-python probably compiles llama.cpp by using CMake rather than plain make.
It appears that upstream llama.cpp's CMakeLists.txt tries to be clever and select instruction set extensions manually, rather than just using -march=native: https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L193-L219
Could this be it?

I am not familiar with CMake. If there's some way you can override llama.cpp's CMakeLists.txt at build time so that LLAMA_NATIVE is ON and all the instruction set selectors at line 54 are OFF, that should fix it.

I've confirmed that if I edit the CMakeLists.txt in vendor/llama.cpp as above (to have LLAMA_NATIVE=ON and all the manual instruction set extensions turned OFF),  then uninstall llama-cpp-python and reinstall from local source, text-generation-webui loads as expected, without the "illegal instruction" errors I was getting previously.

Hmm, I may then just move to using make for Mac and Linux (skbuild should support this) and have Windows install via cmake.

Hey,
Sorry to chime in there. I have the same problem and tried to resolve the issue with the comments in this thread. However, I am a bit lost about what the solution is. I cloned the repo and installed from source with the setup.py. I also built and quantized llama.cpp in the vendor folder so that ./main -m ./models/7B/ggml-model-q4_0.bin -n 128 runs fine in there. With all this in place and making sure that my conda environment uses the llama-cpp-python installed from source, I still get the illegal instruction error when doing from llama_cpp import Llama.
Is there something I am missing / doing wrong? I would be very glad if someone could clear this up a bit - I tried so many different ways that I am confusing myself at this point.

@tilo-schroeder I'm working on a potential fix, would appreciate if you could test something out for me, can you add set(CMAKE_SYSTEM_PROCESSOR "arm64") to the top of the CMakeLists.txt at the root of this repo and try to re-install with python3 setup.py develop and let me know if that works.

@abetlen I added the instruction so that the file now looks like this:
set(CMAKE_SYSTEM_PROCESSOR "arm64")
cmake_minimum_required(VERSION 3.4...3.22)

project(llama_cpp)

set(BUILD_SHARED_LIBS "On")

add_subdirectory(vendor/llama.cpp)

install(TARGETS llama LIBRARY DESTINATION llama_cpp)

After reinstalling I still get the illegal instruction when I try to import. If that is all that has to be changed, I am afraid that is not the fix.

I also just noticed that during the installation process it says "x86 detected"

This happened in my test run with the set(CMAKE_SYSTEM_PROCESSOR "arm64") in place which seems weird to me... but to be fair my knowledge on these build tools is very limited :D

adding the set(CMAKE_SYSTEM_PROCESSOR "arm64") line i got the following error
Traceback (most recent call last):   File "/Users/tgcandido/Documents/code/llang-test/textbook.live.py", line 113, in <module>     vectorstore = Chroma.from_documents(documents, embeddings)   File "/opt/anaconda3/lib/python3.9/site-packages/langchain/vectorstores/chroma.py", line 334, in from_documents     return cls.from_texts(   File "/opt/anaconda3/lib/python3.9/site-packages/langchain/vectorstores/chroma.py", line 303, in from_texts     chroma_collection.add_texts(texts=texts, metadatas=metadatas, ids=ids)   File "/opt/anaconda3/lib/python3.9/site-packages/langchain/vectorstores/chroma.py", line 113, in add_texts     embeddings = self._embedding_function.embed_documents(list(texts))   File "/opt/anaconda3/lib/python3.9/site-packages/langchain/embeddings/llamacpp.py", line 111, in embed_documents     embeddings = [self.client.embed(text) for text in texts]   File "/opt/anaconda3/lib/python3.9/site-packages/langchain/embeddings/llamacpp.py", line 111, in <listcomp>     embeddings = [self.client.embed(text) for text in texts]   File "/opt/anaconda3/lib/python3.9/site-packages/llama_cpp_python-0.1.25-py3.9-macosx-10.16-x86_64.egg/llama_cpp/llama.py", line 289, in embed     return list(map(float, self.create_embedding(input)["data"][0]["embedding"]))   File "/opt/anaconda3/lib/python3.9/site-packages/llama_cpp_python-0.1.25-py3.9-macosx-10.16-x86_64.egg/llama_cpp/llama.py", line 243, in create_embedding     assert self.ctx is not None AssertionError Exiting: Cleaning up .chroma directory

this also pops up before the error
llama_model_load: loading model from '/Users/tgcandido/dalai/llama/models/7B/ggml-model-q4_0.bin' - please wait ... /Users/tgcandido/dalai/llama/models/7B/ggml-model-q4_0.bin: invalid model file (bad magic [got 0x67676d66 want 0x67676a74]) 	you most likely need to regenerate your ggml files 	the benefit is you'll get 10-100x faster load times 	see https://github.com/ggerganov/llama.cpp/issues/91 	use convert-pth-to-ggml.py to regenerate from original pth 	use migrate-ggml-2023-03-30-pr613.py if you deleted originals llama_init_from_file: failed to load model AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 0 | ARM_FMA = 0 | F16C = 0 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | VSX = 0 | llama_model_load: loading model from '/Users/tgcandido/dalai/llama/models/7B/ggml-model-q4_0.bin' - please wait ... /Users/tgcandido/dalai/llama/models/7B/ggml-model-q4_0.bin: invalid model file (bad magic [got 0x67676d66 want 0x67676a74]) 	you most likely need to regenerate your ggml files 	the benefit is you'll get 10-100x faster load times 	see https://github.com/ggerganov/llama.cpp/issues/91 	use convert-pth-to-ggml.py to regenerate from original pth 	use migrate-ggml-2023-03-30-pr613.py if you deleted originals llama_init_from_file: failed to load model AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 0 | ARM_FMA = 0 | F16C = 0 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | VSX = 0 |

model works fine running via command line and with the dalai package... got the same error using conda and pip and installing this package from pip or building with cmake set to arm64

@tilo-schroeder @tgcandido I've pushed a potential fix to this repo that builds the package using make on linux and macos, would one of you mind testing it out to confirm it works? You should be able to test it by just following the development instructions in the README.

@abetlen I can import now without a problem. Thank you so much!

Fantastic @tilo-schroeder appreciate the help!


Add https://jimpl.com/ to image section

Add https://jimpl.com/ to image section

Pls review PR #86

Completed, thanks @ExitoLab !


Add table bitbucket_ pipelines_repository_variables

References
Add any related links that will help us understand the resource, including vendor documentation, related GitHub issues, and Go SDK documentation.

API reference: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/{workspace}/{repo_slug}/pipelines_config/variables/


BakedLightmap in VoxelTrace mode does not create proper emission.

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Manjaro 64bit, Godot - Master build, NVidia GT540M
Issue description:

BakedLightmap in VoxelTrace mode does not create proper emission.

^^ The left part gets more light.
Steps to reproduce:
Bake with only emission lights.
Link to minimal example project:
Bake_GI_Probe_Problems.zip
Test tscn is test_Bake_voxel_cone_emmision.tscn

This was the bias issue, which should now be closed.

@reduz IMO nothing has changed so far (c2240a2a714526e226ead5a20e3a070bb3eaaef6)
in relation to this issue, please check the example project.

Kicking this to 3.2, as a different baking algorithm will be used.

Fixed with the new lightmapper in 4.0-dev.

https://github.com/godotengine/godot/pull/40035 will also likely fix this in 3.2.x once it's merged :slightly_smiling_face:


lustreapi.h not useable by ompi, nested redefinition of 'enum llapi_json_types'

Blueprint described here: https://github.com/GoogleCloudPlatform/hpc-toolkit/issues/756#issuecomment-1337527471
This issue is a duplicate of this: https://github.com/DDNStorage/exascaler-cloud-terraform/issues/14
When using DDNs Exascaler storage (lustre), OMPI cannot be configured with the --with-lustre flag
Steps to install ompi
mkdir ${MODINSTALLPATH}/ompi && cd ${MODINSTALLPATH}/ompi
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
gunzip -c openmpi-4.1.4.tar.gz | tar xf -
cd openmpi-4.1.4
./configure --prefix=${MODINSTALLPATH}/ompi/4.1.4 --enable-mpi-cxx --with-lustre=/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/
# make all install # not run because ./configure fails

The error message I'm seeing (more detail in the DDN issue):
from console:
checking lustre/lustreapi.h presence... yes
configure: WARNING: lustre/lustreapi.h: present but cannot be compiled

from ompi's config.log:
configure:317138: checking lustre/lustreapi.h usability
configure:317138: gcc -c -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -mcx16 -pthread     -I/usr/local/include -I/usr/local/include -I/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/include conftest.c >&5
In file included from conftest.c:779:
/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/include/lustre/lustreapi.h:592:6: error: nested redefinition of 'enum llapi_json_types'
  592 | enum llapi_json_types {

hi Tristan,
This feels like either a bug with open-mpi or with lustre. Thank you for opening https://github.com/DDNStorage/exascaler-cloud-terraform/issues/14 and https://github.com/open-mpi/ompi/issues/11165.
Is your target code doing MPI I/O?
Have you tried configuring this with Spack? Is that an avenue that you would like to pursue?

As this does not seem like a Cloud HPC Toolkit bug and there are bugs open for the respective products (open-mpi & DDN exascaler) I am going to close this bug.


Added multiprocessing for oob_importances

Addresses issue #19

From my initial inspection, it looks good! How widely have you tested this? ;)

I've mainly tested it for my use case: I fixed the random seed for the column permutations and compared the feature importances from the original code to those from the multiprocessing code and they were exactly the same.

I will try it out on a data set amusing myself. thank you!

For the record, how big was the data set you used your patch on?  I've seen the multi processing package in Python go really slow when it needs to push a lot of data around.

uh. this takes much longer and gets a radically different set of feature importances.  I ran it twice and the new importances don't make sense I'm afraid. Hmm... I better back this change out for now. sorry!

Hmm, that is strange. Did you set the random state for the column permutations (i.e. on L405 (original) and L420 (modified), np.random.permutation(foo) -> np.random.RandomState(42).permutation(foo))?
My dataset is ~10k samples, but has a couple thousand features (it's quite sparse). So in my case, at least, it dramatically improved runtime.

Actually, nevermind on my above comment on setting the RandomSeed. I realized that that was not the right way to set that since it was setting it locally each time instead of globally and may have been what made the results look good on my end.
I've narrowed the error to me doing a shallow copy of the X_train, so the training set was not resetting back to its original state with each loop. I've now gotten the results to match exactly with n_jobs = 1, but if I use more than 1 job, I get 99% of the features to match with slight differences in the other features. I'm still investigating this issue.
Sorry for the confusion!

Happy to try out a new version.  it's really too bad that Python is so terrible at threads; more precisely, it can't do threads and shared memory. :(   I also find it impossible to understand, despite 40 years of programming with lots of threads and operating systems level work.

Okay, so I am now able to completely reproduce the original importances with my modified code.
The slight differences in the features I mentioned above was due to the fact that the multiprocessing doesn't necessarily execute the column permutation in order so some columns were permuted differently than if they were executed sequentially, resulting in slightly different importances. Is there a way you would like to handle this? If left as is, you may get slightly different importances (within the level of noise) depending on n_jobs.

slight differences would be expected if it is giving different permutations.  Perhaps make a new PR and I will test it on my side before merging?

Opened new PR #21


Add After power Trip by a

Song Name
After power Trip
Artist Name
a
Source
Youtube
Youtube Link
9IZTL8qqhTh
Direct File Link
No response
Song ID
653134
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 15427055
Downloaded: No

It doesn't let me put the music on, it comes out that it downloads but it won't let me, can you help me


Package Google Sign In - Keyboard can't be displayed in iOS when we login by Google

We had an issue when login by google in iOS. The keyboard can't be displayed when we try to input email or password for login by Google.
This  is the package version that we're using:
google_sign_in: ^4.5.6
Please fix this issue asap. Thanks.

Hi @fanyresfulany
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

Here is our flutter doctor -v and code sample
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/ikaru/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0.1, Build version 12A7300
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 50.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• SM A705F (mobile) • RR8M602S2AF • android-arm64 • Android 10 (API 29)
• No issues found!
Code Sample
GoogleSignIn _googleSignIn = GoogleSignIn(
scopes: ['email']
);
Future loginByGoogle() async {
_googleSignIn.signIn().then((result) {
result.authentication.then((googleKey) {
String token = googleKey.accessToken;
String currentName = _googleSignIn.currentUser.displayName;
String emailUser = _googleSignIn.currentUser.email;
});
}).catchError((onError) {
Utils.setLog("[ ERROR ] Error login by google : $onError");
});
}

Hi @fanyresfulany
Please provide the complete output of flutter doctor -v and your pubspec.yaml file as well.
Thank you

google_sign_new_request.log
here is our flutter doctor -v and pubspec.yaml file

Hi @aalhadhoud
I cannot reproduce this issue on latest stable channel.

Please provide more details about your device and the steps to reproduce the issue. Make sure you provide your flutter doctor -v as well.
Code
void main() => runApp(MyApp3());

class MyApp3 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  String userName;
  bool iSignedIn = false;
  GoogleSignInAccount _currentUser;

  @override
  void initState() {
    super.initState();
    _googleSignIn.onCurrentUserChanged.listen((GoogleSignInAccount account) {
      setState(() {
        _currentUser = account;
      });
      if (_currentUser != null) {
        setState(() {
          iSignedIn = true;
          userName = account.displayName;
          print("");
        });
      }
    });
    _googleSignIn.signInSilently().then((value) {
      if (value != null) {
        setState(() {
          userName = value.displayName;
        });
      }
    });
  }

  Future<void> _handleSignIn() async {
    try {
      await _googleSignIn.signIn().then((value) {
        value.authentication.then((valueq) {
          print(valueq.idToken);
        });
      });
    } catch (error) {
      print(error);
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text(iSignedIn ? userName : 'empty user name'),
        ),
      ),
      floatingActionButton: FloatingActionButton.extended(
        icon: Icon(Icons.add),
        label: Text(iSignedIn ? 'Sign Out' : 'Sign In'),
        onPressed: () {
          if (!iSignedIn) {
            _handleSignIn();
          } else {
            _googleSignIn.signOut();
            setState(() {
              iSignedIn = false;
            });
          }
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.7 19H2, locale en)
    • Flutter version 1.22.3 at /Users/pedromassango/dev/SDKs/flutter_stable
    • Framework revision 8874f21e79 (2 weeks ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • ECCF5C4A-8BEC-411D-B23E-85A836C3847E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

! Doctor found issues in 1 category.

Can you please try in real device?
Cause it works in iOS 14.1 emulator, but not working in real device.
For reproduce in emulator, please use iOS 13.5 emulator.
Here is the ss when we try it on iOS 13.5 emulator:

Hi @pedromassangocode
it already works now.
it was because we put a function wrong. Thanks for your help! Have a good day!


feat: add a daily inspirational quote

load quotes from a json file (copied from a free api) to the db
the daily quote is displayed in the home page, until the calendar view will be developed.
add tests

extra small change in agenda.html- I add a link  from the event's title to the event's view page.

Codecov Report

Merging #128 (e499626) into develop (d706153) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop      #128   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        18    +2
  Lines          544       585   +41
=========================================
+ Hits           544       585   +41

Impacted Files
Coverage Δ

app/database/models.py
100.00% <100.00%> (ø)

app/internal/quotes/daily_quotes.py
100.00% <100.00%> (ø)

app/internal/quotes/load_quotes.py
100.00% <100.00%> (ø)

app/main.py
100.00% <100.00%> (ø)

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 d706153...e499626. Read the comment docs.

Codecov Report

Merging #128 (e499626) into develop (d706153) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop      #128   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        18    +2
  Lines          544       585   +41
=========================================
+ Hits           544       585   +41

Impacted Files
Coverage Δ

app/database/models.py
100.00% <100.00%> (ø)

app/internal/quotes/daily_quotes.py
100.00% <100.00%> (ø)

app/internal/quotes/load_quotes.py
100.00% <100.00%> (ø)

app/main.py
100.00% <100.00%> (ø)

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 d706153...e499626. Read the comment docs.


Authentication on Swagger UI

I'm submitting a bug report
Brief Description

At the Swagger UI, with correct token,  it will still fail to get response from OSMCha API.  401 Response with message "Authentication credentials were not provided" are the current output for requests.
What  is the current behaviour, (attach relevant screenshots) ?

What  is the expected behaviour ?
Respond with successful run and API details in JSON format
When does this occur ?
When using Swagger UI
How do we replicate the issue ?

Set harmful=1, check_date__gte=2018-01-21, check_date__lte=2018-01-22 for parameters in "GET /api/v1/changesets/" section,  then run it
Please tell us about your environment:

MacBook Pro
Chrome
Other Information / context:

Hi @ylinzhi !
Sorry for the delay. On the dialog that opens when you click on the Authorize button, when you paste your token, add also the word Token .
For example, if your token is xyz1234, you will add Token xyz1234

Hi @willemarcel
Thanks for the clarification!


Hotfix/node interactive

Some older tutorial code, from before the lower casing of coordinates snuck into the node code.
We were also swallowing http errors by throwing them poorly.
Added a picture of joystick configuration. Visuals = cool :)

@ProbablePrime, thanks for your PR! By analyzing the blame information on this pull request, we identified @connor4312 and @SimonSchick to be potential reviewers

Gonna merge this as the rest is just slight text adjustments and target blanking.


Add docs on sharing secrets with GS

Closes https://github.com/giantswarm/giantswarm/issues/22237

@marians do you think this looks a bit better for the age section?


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build fro the Release configuration.

out dated

close

i have signed