Suggested rewrite to the README due to Xcode error

Awesome book - thank you for authoring it.  When using the MacOS Monterey 12.4 I don't use Xcode due to the massive size, so  when trying to run the command: "brew install michaeleisel/zld/zld"
I got the following errors:
————————————————————
/usr/local/opt/cmake/bin/cmake
xcodebuild -project ld/zld.xcodeproj -scheme zld -derivedDataPath build -configuration Release build ONLY_ACTIVE_ARCH=YES
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
make: *** [build_homebrew] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/michaeleisel/homebrew-zld/issues
———————————————————————————
This problem happens when xcode-select developer directory was pointing to /Library/Developer/CommandLineTools when a full regular Xcode was required (happens when CommandLineTools are installed after Xcode)
Solution:
Perhaps your README should include:
"If you don't have Xcode already installed or an older copy please do the following:
1	Install Xcode (get it from https://appstore.com/mac/apple/xcode) if you don't have it yet.
2	Accept the Terms and Conditions. Command: sudo xcodebuild -license accept
3	Ensure Xcode app is in the /Applications directory (NOT /Users/{user}/Applications).
4	Point xcode-select to the Xcode app Developer directory using the following command:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
5	Then finally the command: brew install michaeleisel/zld/zld

Note: Make sure your Xcode app path is correct.
•	Xcode: /Applications/Xcode.app/Contents/Developer"
It worked for me this morning.
Referencing: https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786

Happy to include it! Can you open a PR?

Luca;
Sorry but what is a PR?  My Director of Operations purchased 8 copies yesterday, so if it’s a Purchase Request, we did that already.  The key was CE8373F5-B2D54562-8FA757E3-6B0F6BA8.
Terrance O’Shea, Ph.D. O.E.
V.P. of Engineering
Squire Solutions, Inc.
@.***
(808)343-5151
www.squiresolutions.com
The information contained in this communication (including any attachments) is confidential and is intended only for the specific purpose and use of the addressee.  It is the property of Squire Solutions, Inc.  Any unauthorized use, disclosure or copying of this communication or any part thereof is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify us immediately by return email and then erase and destroy this communication and all copies thereof, including all attachments.

On May 25, 2022, at 10:47 PM, Luca Palmieri @.***> wrote:
Happy to include it! Can you open a PR?
—
Reply to this email directly, view it on GitHub https://github.com/LukeMathWalker/zero-to-production/issues/152#issuecomment-1138309655, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVLIDQOPVDIDX4NCTY2HBRLVL43CXANCNFSM5W57QO7Q.
You are receiving this because you authored the thread.

Sorry what is a PR? My Operations Director Jay from SquireSolutions purchased 8 copies yesterday.


[Chromatic] Resultset table header focus is not fine in snapshots

Header focus in Resultset table is fine in canvas:

But it is not in the snapshots:

This is happening in Ascendent sorting and Descendant sorting tests.

Looks like the problem is fixed after changing the focus outline style from auto to solid.


Multi tenant

can i use multi-tenancy in powergslb?

Please explain in more detail what you are trying to achieve?

i want create another user (not admin user)
like example
1 user have 1 domain
the user only can modified record on that domain and cant see another domain or record
thats my goal
Thanks

Unfortunately current version of PowerGSLB does not support multiple tenants. All created users have administrator rights.

ok thanks aleksey
i hope it will be available in next version

It takes a lot of refactoring. Some role-based access control should be implemented. The user interface is the easiest part. All read and write operations must verify the user's role before proceeding. I will try to implement it in my free time.


Unable to open connection via a proxy

Looks that change in commit faa97c618c9395335b91995c96792f8f3b61d300 introduced a bug which causes an exception when trying to establish a connection via a proxy.
java.lang.ClassCastException: scala.runtime.BoxedUnit cannot be cast to java.net.HttpURLConnection
	at com.softwaremill.sttp.HttpURLConnectionBackend.openConnection(HttpURLConnectionBackend.scala:74)
	at com.softwaremill.sttp.HttpURLConnectionBackend.send(HttpURLConnectionBackend.scala:22)
	at com.softwaremill.sttp.HttpURLConnectionBackend.send(HttpURLConnectionBackend.scala:18)
	at com.softwaremill.sttp.FollowRedirectsBackend.sendWithCounter(FollowRedirectsBackend.scala:17)
	at com.softwaremill.sttp.FollowRedirectsBackend.send(FollowRedirectsBackend.scala:12)
	at com.softwaremill.sttp.RequestT.send(RequestT.scala:229)

That's how lack of tests + asInstanceOf ends ;)
I think
https://github.com/softwaremill/sttp/commit/477a0278a78b76879bda5cbd4e25626b63dc20a2 should fix the problem - can you double-check?
And if you had an idea/some time to write an automated test for using a proxy - that would be great :)

Sory for the delay. It was busy time before christmas.
Your fix should work, but unfortunatelly I don't have an easy way to test authentication part.
Regarding the automation. Simplest would be to setup a wiremock server and some very simple http proxy server run from same jvm. I guess you could also set up wiremock so that it responds as if it was a proxy server.


Publishing a topic in the context of a DITA Map does not resolve two levels of conkeyref

I attached my sample project below.
I have a "topic.dita" which has a conkeyref:

and the conkeyreffed content has in turn also a conkeyref inside:

Fallback for conkeyref <ph conkeyref="reusable/alpha"/>.

 .....

<ph id="alpha">ALPHA</ph>

Using DITA OT 3.5.1 to publish the topic to PDF in the context of the DITA Map:
 sh dita -f pdf -i /Users/someUser/map/topic.dita -Dargs.resources=/Users/someUser/map/test.ditamap

I get a PDF which instead of the conkeyref has the text:
 Fallback for conkeyref

but instead it should be:
Fallback for conkeyref ALPHA

testConkeyrefInConkeyrefContent.zip

This seems to work with DITA OT 3.5.4, I'm not sure when it was fixed.


Improve validation around CM agent install/liveness to prevent opaque failures in later steps

Currently, a failure in installing/starting the CM agent does not prevent the playbook from continuing, which causes issues later as the host name is not present in the list of names returned from the All Hosts page, resulting in the common error
"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute '<hostname>'" }
This error is not at all clear on what or why it failed.
We should probably add some extra validation around this & produce more meaningful errors & failures
Such as

Validate that CM agent is installed
Validate its heartbeating
Validate the All Hosts list against the cluster:children investory

Thoughts?

Yes, 100% agree. There is a task that waits for hosts to heartbeat in, but if the play on that host has failed then you could get into a scenario where this has failed.
Would you like to pick this up @sdairs ?

I will take a look at it but I won't be upset if someone else wants to jump on it - it'll take me a moment to understand what needs doing


Parallelize tests

Investigate using pytest-xdist to parallelize tests.

Right now this doesn't work because multiple tests currently collide withone another's working directory when writing/deleting data from the filesystem.
This should probably be addressed through something like a ContextManager and TempDirectory that automatically cleanups up after itself.

a stupidly easy way would just to name all of the test dirs differently

Yeah, that'd work for the tests.  But I didn't look into whether this was fundamentally preventing simultaneous runs across instances for other purposes too.

From: Karla Saur @.>
Sent: Tuesday, September 17, 2024 13:37
To: microsoft/vasim @.>
Cc: Author @.>; Comment @.>; Subscribed @.***>
Subject: Re: [microsoft/vasim] Parallelize tests (Issue #60)
a stupidly easy way would just to name all of the test dirs differently
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vasim/issues/60#issuecomment-2356636109 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQ53FF2TGYYKKBZWTK2NXDZXBZGPBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE4DGNRUGQZDEOBQQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGUZDSNBXHAZDSN5HORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Implement override functionality in setupDotEnv and loadDotEnv functions

This is an issue related to a draft PR I raised in https://github.com/nuxt/cli/pull/466
Issue Description

setupDotEnv function is called with a .env file. Assume that the only env var loaded is FLAG.
The FLAG variable's value is updated in the .env file by the running process.
setupDotEnv is called again, but the value of process.env.FLAG is not changed.

Reproduce the issue: https://stackblitz.com/edit/stackblitz-starters-xnps4y?file=.env,index.js
I have introduced an override flag in DotenvOptions, which gives precedence to the env variable values in the .env file over the existing values in process.env.
With this change, the PR https://github.com/nuxt/cli/pull/466 can be simplified and we can use this new flag directly.

I was looking for an option for this problem, thanks for your work!
I think this option makes sense because in some cases, a person may be maintaining multiple projects of the same type, so some of the environment variables are consistent, so the developer can store these environment variables to the system/user level environment variables instead of configuring them separately for each project. This option is useful when a project needs to override system/user level environment variables.
The dotenv package itself supports this option, but I read the source code for both dotenv and c12, and found that using dotenv's code directly is not feasible because c12 supports custom filenames and adds extra handling for keys starting with _.
Hopefully c12 will consider merging this pr.


Create de.lua and test_de.lua

An new optimization algorithm, named Differential evolution, is added.

Hi, do you have a reference paper for this algorithm?

Yes, here is the paper "Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces".

See #123


Run GetTLFCryptKeys identifies on the service, tell KBFS to skip

This patch makes the service run the identifies for the members of a TLF as opposed to having KBFS do it.
Dependent on https://github.com/keybase/kbfs/pull/878

@mmaxim PTAL


JS: input is null when clicking on "radio" input

Good morning everyone,
in the file src/cdn/beer.js, this snippet here is problematic, for some unknown reason:
  const onClickLabel = (e) => {
    let input = query('input:not([type=file]):not([type=checkbox]):not([type=radio]), select, textarea', parent(e.currentTarget));
    input.focus();
  };

When clicking a radio button, Firefox emits the following error in the console:
Uncaught TypeError: e(...) is null
    d js/beer.min.js:1:888

Here's a preview:

Here's the code I wrote that handles the click event, and theme changing:
/* This function sets light/dark theme */
function update_light_settings() {
	/* Get radio elements */
	var theme_light = document.getElementById("theme_light");
	var theme_dark  = document.getElementById("theme_dark");

	/* Get current theme */
	var theme = get_light();

	/* Check radios accordingly */
	if (theme == "dark")
		theme_dark.checked = true;
	else
		theme_light.checked = true;

	document.body.className = "is-" + theme;
	update_cookie();
}

/* This function gets the current theme (light/dark) */
function get_light() {
	var l = document.body.className;
	return (l == "is-dark" ? "dark" : "light");
}

/* Update theme cookie */
function update_cookie() {
	document.cookie="theme=;path='/';SameSite=Lax;expires="+(new Date(0)).toUTCString();
	document.cookie="theme="+get_light()+";path=/;SameSite=Lax";
}

/* Get cookie */
function getCookie(cname) {
	let name = cname + "=";
	let decodedCookie = decodeURIComponent(document.cookie);
	let ca = decodedCookie.split(';');
	for (let i = 0; i <ca.length; i++) {
		let c = ca[i];

		while (c.charAt(0) == ' ')
			c = c.substring(1);

		if (c.indexOf(name) == 0)
			return c.substring(name.length, c.length);
	}

	return "";
}

/* Get color accent (stored in cookie) */
function get_accent() {
	var accent = getCookie("accent");
	return (accent != "" ? accent : undefined);
}

/* Set appropriate theme (light/dark) */
function toggle_light(callback) {
	/* Get current theme from body class (<body class="is-...") */
	var l = document.body.className;
	document.body.className = "is-dark" == l ? "is-light" : "is-dark";
	l = document.body.className;

	/* Update theme cookie */
	update_cookie();

	/* Get current color accent */
	var accent = get_accent();

	/* If accent is not undefined, aka it is set, set theme with accent */
	if (accent != undefined)
		ui("theme", { from: get_accent(), mode: get_light() });

	/* If set, call callback */
	if (callback != undefined)
		callback();
}

HTML (just the inputs):
<input type="radio" name="theme" id="theme_light" onclick="toggle_light(update_light_settings)">

Maybe (and I hope) it's just this code that's problematic. The "ui('theme')" and "material-dynamic-colors" functionality isn't well documented, in fact I had to look at several pages to understand how to apply a theme from a color, and Promise handling wasn't written in either one of them.

Hello again,
sorry, I was using minified version, source version makes things clearer:
Uncaught TypeError: input is null (beer.js:109:5)
onClickLabel beer.js:109
    on beer.js:42
    ui beer.js:352
    ui beer.js:351
    divs_add_onclick script.js
    load script.js
    onreadystatechange script.js
    EventHandlerNonNull* script.js

  const onClickLabel = (e) => {
    let input = query('input:not([type=file]):not([type=checkbox]):not([type=radio]), select, textarea', parent(e.currentTarget));
    input.focus();
  };

Hi @saloniamatteo ,
We release a new version that I hope will fix this issue. We will document more about dynamic theming and best practices soon. I will close this issue right now, feel free to reopen anytime.

Oh, the release is https://github.com/beercss/beercss/releases/tag/v2.0.30

I will try out the new version, and see if the issue is fixed.

Yes! Finally the issue was fixed. Thank you very much for your work and effort! 😄


Bug fixes

Added default empty string for placeholder select item
Fixed bugs in HouseConsignmentItemNavigator
Removed ConfirmRemoveComments page as it isn't used
Filled in missing item package CheckMode navigation
Addressed some TODOs

rebuild


Does simplebar work with angular material's virtual scrolling?

Just tried using the ngx-simplebar component inside cdk-virtual-scroll-viewport (which is used for virtual scrolling) and it didn't hide the scroll bar.
Does Simplebar support such a usage?
P.S. : package.json
   "@angular/animations": "^8.2.13",
    "@angular/cdk": "^8.2.3",
    "@angular/common": "~8.2.13",
    "@angular/core": "~8.2.13",
    "@angular/material": "^8.2.3",
    ...
    "simplebar-angular": "^2.1.0",
    ...

@amoghskulkarni I'm trying to achieve something similar, I think it will be difficult considering we can't wrap the simplebar around Angular's cdk-virtual-scroll-viewport, as the height of the viewport is not that of all the elements in the list, but what's in the viewport.
I ended up just creating a mixin to style my components, I have tested this on MacOS, Firefox and Chrome:
$thumb-color: #969699;
$radius: 4px;

@mixin scrollable {
  scrollbar-track-color: transparent;
  scrollbar-color: $thumb-color transparent;
  overflow-y: scroll;
  scrollbar-width: thin;
  &::-webkit-scrollbar {
    height: 10px;
    width: 6px;
    border-radius: $radius;
    background: transparent;
    transition: all 0.3s ease;
  }
  &::-webkit-scrollbar:hover {
    background: #c6c7ca;
  }
  &::-webkit-scrollbar-thumb {
    background: $thumb-color;
    border-radius: $radius;
  }
}

Hope this helps.

@jakerenzella Thanks a lot for the comment, I eventually ended up doing something very similar to what you pointed out. I was just curious if it was possible to use Simplebar's other features too.
Thanks for the help regardless!


Config does not work/crashes Server

If I change the config and try to get on the server afterwards, the server crashes and the game crashes with it. It happens with this mod and also with the BNO mod.
Version of the Server 1.19 with fabric-0.14.8 .
Is there any solution for this?

Been unable to reproduce this.  I'll continue to monitor in future versions.  Thanks for reporting


fix routing structure to accommodate all supported chains

Description
As suggested by Robin, the new dynamic routing structure for the community pages look like this: pages/community/[chain]/[contractAddress]/index.tsx, this handles most of the l2s like polygon, zora, optimism & also poap. I deleted the community/[contractAddress]/index.tsx cause it was conflicting with the new routing structure. Once tested properly, we could also delete the nested page for poap.
Updated the getExternalAddressLink to account for etherscan link of optimism, zora, & polygon.
Note: still need to make changes accordingly for mobile..
Demo:  https://www.loom.com/share/59dff734bffa45bdb3d12c2ae6ceab8f?sid=65a56ff7-3501-486d-a548-edf94b953526

looking great so far, just a couple issues!
https://loom.com/share/3039e59f2f0f47328b9a8a218e603bdf?sid=c5d50a2b-0aee-4f65-9af4-82ee17bba086

ohh, yeah forgot to run typecheck.. thankls! fixed the type issues @Robinnnnn, re the poap, it's weird cause it's working fine locally on my profile.. let me do some more testing..

looking great so far, just a couple issues!
https://loom.com/share/3039e59f2f0f47328b9a8a218e603bdf?sid=c5d50a2b-0aee-4f65-9af4-82ee17bba086

gotcha! @Robinnnnn the issue was we had a conflicting page community/poap/[contractAddress]/index.tsx lol which is now deleted, also did the same for Tezos. now it should work fine..


Various fixes for qna and filebrowser

These are various small-ish fixes that I couldn't justify breaking them out into their own PR each.

Coverage decreased (-0.05%) to 33.293% when pulling 87fdfcbe4c004880d889f84f5629ff07decea0ff on tsipinakis:bugfix/misc-fixes into a86fa68c31c89b180ebd22c886eb5fe265962b05 on newsboat:master.

Coverage decreased (-0.05%) to 33.293% when pulling 87fdfcbe4c004880d889f84f5629ff07decea0ff on tsipinakis:bugfix/misc-fixes into a86fa68c31c89b180ebd22c886eb5fe265962b05 on newsboat:master.

Looks fine, and works like a charm. Thank you!


Hi is django 2.2 not supported anymore?

I tried to pipenv-install the package but the dependency tree seems to be broken.
I currently use django 2.2.11(the LTS version) for my project, but this packages seems to support 3.0+ only. Would it be possible to support the 2.2? Thanks.

Hi @mhoonjeon ,
please, check this url: https://pypi.org/project/django-totalsum-admin/1.0.0/


Consider Docker?

How about building docker image for the development process?

I think this repo is actually dead/not used for anything. @mrpollo Do you know/should we delete it?
@saleem-hadad We do use docker almost exclusively.


chore: Converted arrow funtions

Fixes #7440

@Rishabh-Rathod I am not able to get why these tests are failing. Please help

@samyakjain10  can you fetch and merge latest appsmith's release branch into your branch.


Futurizing hawc_hal for py3

I use the futurize software to start making changes for hawc_hal to be able to run in py3.
I was able to compile it in the miniconda3 environment and it seemed to install fine, and least it didn't give me syntax errors.
I ran the tests with pytest (version 5.4.2). A few tests ran fine. I got one test (test_copy.py) that didn't pass due to the newer pytest version. I'm not very verse with pytest but I can keep looking into it. Other tests gave me some weird errors, like a ROOT file not being able  to close (when running test_geminga_paper for example).
I still figure it would be good to start the conversion of hawc_hal to py3.
I'm requesting to merge to the master branch, but if any of the threeML group would like to make a py3 branch so that I can pull request there, that would work too, and more interested people could also look into updating the code.

Awesome!
Which test_copy.py failed? There's one that's known to fail (marked xfail), causing the issue described here.

Looks like the automated tests failed. Maybe the test environments need to be updated?

From test_copy.py the first one. I get this:

__________________ test_deepcopy_point_source ___________________
Fixture "maptree" called directly. Fixtures are not meant to be called directly,
but are created automatically when test functions request them as parameters.

It's the pytest.fixture for maptree and response

I had a look at the automated test and it seems, that the package past.utils is not available during the check. I assume this might need to be installed by threeML members?


Update card.md

finishing simple version of card tutorial

Edit to file that's not in use. I'll squash myself once tests finish.


Awesome

Not an issue, just saying that you rock!
And I'd like to read draft of your thesis. :)

Aww, thanks! I appreciate the compliment :)


Add TimeValue type

I have only changed one struct to use the new type for now; if this is the right way forward, I'll change the rest of the library to use the new type. #100

We're moving away from *Value types (for now) because they don't add much value, namely you can't actually hang methods off of pointer types, and they obscure the actual type. That said, the develop branch does have an aws.Time() helper to return *time.Time objects for you based on this PR. Thanks for opening!


Support ARM platform

What
Some users want to use TopoLVM on an ARM-based platform (#369 #232  #217), but we could support the environment because we do not have it.
Linaro provides some resources for developers, and Rook attempt to use them for the CI environment.
https://www.linaro.cloud/
https://github.com/rook/rook/discussions/7710#discussioncomment-639169
How

Research how to use the Linaro environment.
If we can use it, deploy a self-hosted runner on the environment.
Enable CI and build artifacts.

Checklist

[ ] Finish implementation of the issue
[ ] Test all functions
[ ] Have enough logs to trace activities
[ ] Notify developers of necessary actions

circleci supports arm based platform now.
https://circleci.com/docs/2.0/arm-resources/


Can the gesture key point detection in MediaPipe be compiled and packaged into a dll file on Windows using this demo? If so, where should I start? Can you give me some guidance?

Unfortunately, I stopped working on this project months ago and can't really provide any guidance. Furthermore, I only ever built and tested libmp with the facial landmark model; while other models should work, it is up to other contributors to implement and test them.
Perhaps someone else can chime in if they are more knowledgeable about this specific model!


Glslang error with unsized array.

Hi,
I'm trying to do something like this
struct Scene
{
	StructuredBuffer<float4> transformData; // Contains transform of the whole scene
	StructuredBuffer<GeometryInstanceData> instanceData;

        Texture2D textures[]; // Contains all the textures 2d,

     uint GetColorId(const uint instanceID)
     {
        uint materialId = instanceData[instanceID].materialId;
        return materialData[materialId].colorId;
    }
}

It compiles in glsl , but not in spirv as glslang complains about the generated function "GetColorId" which look like this in glsl :
uint Scene_GetColorId_0(texture2D  _S14[], sampler _S15, uint _S16)
The error is :

glslang:  Scene.slang(23): error :  '' : array size required
glslang:  Scene.slang(23): error :  '' : compilation terminated
glslang: note : ERROR: 2 compilation errors.  No code generated.

Any idea how can I fix that ? Am I doing something wrong ?
Thank you !
Best regards,
Baptiste

I think the problem here is the use of unsized array (as in Texture2D textures[];). That having arrays defined in this style is a desired feature although has some caveats. Here it is defined 'at the end of the struct' which is a prerequisite of of that style, but the output GLSL isn't actually correct.
For this use case though you can just use an array type. Such as
Texture2DArray textures;

This compiles correctly as SPIR-V, and will require the appropriate array style binding.

To follow up on this, it seems that in principle the original code with the unsized array of textures under the struct type should work, and the fact that it doesn't is down to compiler/implementation problems.
If the workaround of putting that array at the global scope is acceptable, then we can potentially let this issue sit for a while. If your engine design depends on being able to get this kind of nesting working, please do let us know and we can try to prioritize the necessary fixes.
There are a lot of subtle issues around handling unsized arrays nested inside of types, and while we have a lot of implementation work in place to support it, it turns out that some of our assumptions about how the layout behavior ought to work across different platforms (not just D3D/Vulkan but also CUDA/OptiX and CPU) aren't really tenable.
The feature needs an overhaul to really be usable, but most of our current users have been happy with just using global-scope parameters for their unsized arrays. I believe that is because most users who want unsized arrays like this are using them to implement user-space solutions for "bindless" textures, and as such they really do want true global arrays that all points in the code can access.

The workaround is ok for me for now. I'll let you know if I'll need it at some point.
Baptiste

I created issue #2187 to track the goal of revamping Slang's support for unsized arrays of textures/resources in more contexts. I am going to close out this issue in favor of that one.


fix(cn): lack of translation in writing-markup-with-jsx.md

writing-markup-with-jsx.md 文档中有英文没有翻译

duplicate of #974


Libsyndicate: treat config and secrets as opaque strings

Libsyndicate shouldn't care that config and secrets are JSON documents, since it just feeds them directly into the driver sandbox.  Don't bother trying to parse them; leave that to syndicate.util.gateway.

Should be fixed in https://github.com/syndicate-storage/syndicate-core/commit/09fe8a9f6c1909fe4ae8f0df29062f5726afd2db.  Please re-open if not.


docs: add CNCF code of conduct in readme to meet CNCF's request

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Describe what this PR does / why we need it
In https://github.com/cncf/toc/issues/831, CNCF suggests that:
GitHub: ensure that hat the CNCF Code of Conduct (or your adopted version of it) are explicitly referenced at the project's README on GitHub
So, update that to meet CNCF's demand.

Codecov Report

Merging #1525 (33e6269) into main (1d443ea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1525   +/-   ##
=======================================
  Coverage   10.68%   10.68%
=======================================
  Files          84       84
  Lines        7640     7640
=======================================
  Hits          816      816
  Misses       6721     6721
  Partials      103      103

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 1d443ea...33e6269. Read the comment docs.


Adding Transform3D operations - fixes issues/290

I wanted to get more people's eyes on this. Everything but the linear interpolation unit test works. The problem with linear interpolation is that godot seems to do it differently..? I opened up godot source and I swear I've implemented it the same, yet the engine gives me a different interpolation result for the same inputs.

Ok, so I follow @bluenote10 points, but @Bromeon wanted to maintain backward-compatibility with previous release for now. So I'm calling it translated_global() for now. And in 0.11 I propose to rename translated_global() to translated() and current translated() to translated_local().

Postponed to v0.10.2 🔜

@Hexorg any feedback regarding my suggestions?


fix: client build fail in docker [TEST]

Description
test

Task Item
#minor

Screenshots

Coverage decreased (-0.03%) to 55.048% when pulling c30202c330d5ca072d117fa06bfaf576da8b7dfa on lei9444:dockerbuildtest into 30d3ec2e4e6b75b7d68e726dcfb53d62520f0b70 on microsoft:main.

Looks it still fails, may due to memory?

This PR can't fix the issue


4.0.0: WebClient HTTP keep-alive support appears to be broken

Environment Details

Helidon Version: 4.0.0 and 4.0.1
Helidon SE
JDK version: java 21.0.1 2023-10-17 LTS
OS: MacOS

Problem Description
The Helidon 4 WebClient HTTP keep-alive support appears to be broken. Even with keepAlive(true) the client does not  reuse connections.
Steps to reproduce
See the attached test case: client.zip
This is based on the stand-alone webclient example that has been modified to set keepAlive(true) and to perform 10 GET requests sequentially.  After the test is run (see README) netstat shows 10 connections in TIME_WAIT instead of one:
tcp4       0      0  <IP_ADDRESS>.56044        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56045        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56046        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56047        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56048        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56049        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56050        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56051        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56052        <IP_ADDRESS>.8080         TIME_WAIT
tcp4       0      0  <IP_ADDRESS>.56053        <IP_ADDRESS>.8080         TIME_WAIT

@romain-grecourt came up with this patch and appears to fix the issue. But it needs further review for correctness:
diff --git a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ClientResponseImpl.java b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ClientResponseImpl.java
index 16d4edc47b..3af52f6187 100644
--- a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ClientResponseImpl.java
+++ b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ClientResponseImpl.java
@@ -160,6 +160,8 @@ class Http1ClientResponseImpl implements Http1ClientResponse {
             try {
                 if (headers().contains(HeaderValues.CONNECTION_CLOSE)) {
                     connection.closeResource();
+                } else if (headers().contains(HeaderValues.CONNECTION_KEEP_ALIVE)) {
+                    connection.releaseResource();
                 } else {
                     if (entityLength == 0) {
                         connection.releaseResource();

I had seen this in H3 but failed to report it since I found the Ning HTTP client to meet all our requirements out of the box. Consider backporting this to H3 as well


Changing colons to dashes in titles

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Leanpub doesn't like colons (it legit ignores files with colons in the name). So I'm replacing colons putting dashes for all titles here.

I think maybe the ethics chapter might still have some? The changes look good though.

Yes, it looks like the only remaining colon is for the Combating Bias in LLMs video title. LGTM, and thank you, @cansavvy!


RubyZip issue with Axls

While using this Gem with ruby 1.9.3 I got this exception
"Uncaught exception: cannot load such file -- zip/zip" Tired many things but no luck.
There is some issue with RubyZip compatibility.
Please assist I am stuck.

I resolved the issue using
gem 'zip-zip' in my Gemfile.


Remove unnecessary CUDA libraries from the runtime image

The current runtime image has 4GB of CUDA-dependent packages installed.
Investigate whether development libraries or unused libraries have been installed. If found, modify the Ansible configuration file accordingly.

Related:
Slimming down the container image size #5007


Fixed decimalExpansion

I think I've fixed the issue with decimalExpansion rounding. (issue #72)
Now, when inputting<PHONE_NUMBER>987 /<PHONE_NUMBER>987
let num = BDouble("7450921770987", over: "7450936270987")!
print(num.decimalDescription)
for i in 0...8 {
    print(num.decimalExpansion(precisionAfterDecimalPoint: i))
}

it'll give
1.0000
1.
1.0
1.00
1.000
1.0000
1.00000
0.999998
0.9999981
0.99999805

which are the correct answers.

Hey @tingwoo thanks a lot! I would be super thankful if you could add these to the test cases as well, so we know for sure that future changes will not break this!

Thanks for adding the tests, great! I'm not sure why you get the error, but I will be looking into it


make sure that we read from the paramsChan before completing the handshake

It can happen that the handshake completes (and we return the session), but we haven't read the transport parameters from the paramsChan yet. In that case, OpenStream will fail, since we don't have any stream limit yet.

In the TLS extension handlers, we're creating the paramsChan as a buffered channel of capacity 1. Creating a buffered channel doesn't work, but is probably the fix for this issue.


Merge pull request #1 from alaudet/V2devel

Initial setup for sqlite3 database

Hey man, thanks...i'll try and set some time aside soon to have a look.
On Sun, Aug 4, 2019, 4:04 PM USAFPride<EMAIL_ADDRESS>wrote:

Initial setup for sqlite3 database
You can view, comment on, or merge this pull request online at:
https://github.com/alaudet/raspi-sump/pull/53
Commit Summary

Merge pull request #1 from alaudet/V2devel

File Changes
Patch Links:

https://github.com/alaudet/raspi-sump/pull/53.patch
https://github.com/alaudet/raspi-sump/pull/53.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alaudet/raspi-sump/pull/53?email_source=notifications&email_token=ABZWS54BNQT3OE6DZNTQJJDQC4Y6VA5CNFSM4IJGD4YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDIFJPA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZWS54Q27O5LEZIHJHQWA3QC4Y6VANCNFSM4IJGD4YA
.


hotfix: Remove custom tooltips due to jquery-ui errors

Removes custom tooltips because of jquery-ui errors
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 81.774% when pulling ba929958c844e3c4d319ac7dcf2480fe56332945 on gr455:tooltip-hf into 2ee624529eb2c2e5a2e3a3060025dfc58133fe7d on CircuitVerse:master.


Make HWinfo modular

I would suggest removing GPU information from the library entirely. If people need information about the GPU, getting it from Vulkan, DirectX, OpenGL, or OpenCL is already really well documented. Those standards [and similar] are really the only places people would need it anyhow.
I would suggest removing GPU information from the library entirely. If people need information about the GPU, getting it from Vulkan, DirectX, OpenGL, or OpenCL is already really well documented. Those standards [and similar] are really the only places people would need it anyhow.
I'm not trying to be rude, but there really is zero reason to include it. For people who are already using one of these frameworks, adding OpenCL on top of it is unacceptable in most cases especially considering OpenCL is on its way out the door to be replaced with other alternative frameworks.
Edit: Had a quick think. It'd probably be better to make the entire library modular. You already have the library well divided as appropriate, making it modular seems like a very safe next step. In other words, I mean making the motherboard, battery, CPU, etc. dependent on user choice.
original post by @F35H in https://github.com/lfreist/hwinfo/issues/54#issuecomment-2212381153

There are still benefits to providing this information. That's the point of giving a cross-platform way to know the hardware information. However, we can guard these features using compile flags.

Yes, the plan is to continue supporting GPU using OpenCL (and maybe also other backends...) but provide the information of the hardware components in modules (as CMake targets hwinfo_[gpu|cpu|ram|disk|mainboard|...])


Prompt user to paste code properly

If a user pastes code into a channel, the bot should respond to them with how to use markdown code-fences properly with syntax highlighting and so on.
We can maybe steal parts of this from https://github.com/python-discord/bot but they only concern themselves with Python code, where we might want to also be able to detect HTML, CSS, JS... And template languages (DTL and Jinja2 at least).

adding a link to cog that handles the codeblock instructions
https://github.com/python-discord/bot/blob/main/bot/exts/info/codeblock/_cog.py


Ctor injection in components

Will there be an ability to use constructor injection for components/pages?
At least when you have the "code behind" .cs file?

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

ID: ce9457c7-13d4-1520-790c-a18187532ff4
Version Independent ID: 43f87dbb-2f36-c91e-084c-c28d93da923f
Content: ASP.NET Core Blazor dependency injection
Content Source: aspnetcore/blazor/dependency-injection.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @RedDeathGitHub, Add your :+1: to the engineering issue so that the engineers can see the interest in this. I'll add one, too! :smile:
https://github.com/aspnet/AspNetCore/issues/18088

Thanks, added!


[v2.0] Negative scale & update issue

Hi, it's me again !
I have some data for the current year : everything works as expected

I want to see data for the last year : Damn ! There is no data (all = 0) and negative scale is born !

Options for the chart (with beginAtZero=true)

And if I want to see current year data again: scale is good but data animation is broken (but i'm not sure that is a chartjs issue, maybe angular-chart.js issue ?... )

So is there a way to disable negative scale ?
Additionnal point : how can I add a unit to ticks ($, %, ...)?

@frlinw are you using one of the v2 beta releases or the latest from the v2.0-dev branch? The issue you are seeing is because there is no data and the chart by default expands both the min and the max. To work around this, try adding suggestedMax: 1 to your scale config. This will set the top of the scale to scaleMax = Math.max(suggestedMax, dataMax).
To change the labels, add this to your config:
yAxes: [{
    ticks: {
        callback: function(tick, index, ticks) {
            // return tick as string here
        }
    }
}]

i'm using v2.0 beta2, it's an angular-chart.js dependency
Thanks for these tips, i stop to bother you until the next release so :)

Progress bars
Date: Tue, 15 Mar 2016 07:00:41 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [Chart.js] [v2.0] Negative scale & update issue (#2137)
i'm using v2.0 beta2, it's an angular-chart.js dependency
Thanks for these tips, i stop to bother you until the next release so :)
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/nnnick/Chart.js/issues/2137#issuecomment-196833812

Closing as resolved


[git_deploy] Integrated git-deploy to match defence-request-service

As per 26b0e6c39181eb34ee128e65f126056c95cd2660 in defence-request-service repo.
Changed the order of items in gitignore so that the directory tmp/ exists, even if the
files in it are ignored.

:+1:


Mark TWEEN.update()'s time parameter as optional.

The code already allowed time to be undefined. This commit updates the documentation and typing to match.

Thanks, i fixed issue by using your code


Make Get_Staggered use HashSets instead of performing multiple checks per if statement

Does 2 things to optimize the Get_Staggered Prefix:

Instead of checking each PawnDef individually, make that one check by using a HashSet.
The actual big speedup is by instead of calling HasHediff 3 times (loops through a list 3 times), just go through the hediffs List and check if the hediff is inside of a predefined HashSet like point 1 (edit since pound 1 links to PR). This way we only go through the list once on the very likely chance that none of the hediffs are on the pawn.

From my testing on a somewhat new colony when colonists are awake, the prefix went down from a max of .6ms to a max of .3ms

Accepted postfix with initial result checking and condensed code.


Add new features to allEntries:

isJustifiedAbsence
isOtanjoubi

Codecov Report

Merging #96 into master will increase coverage by 0.82%.
The diff coverage is 72.72%.

@@            Coverage Diff            @@
##           master     #96      +/-   ##
=========================================
+ Coverage   55.27%   56.1%   +0.82%
=========================================
  Files          39      39
  Lines         957     950       -7
  Branches      182     178       -4
=========================================
+ Hits          529     533       +4
+ Misses        389     382       -7
+ Partials       39      35       -4

Impacted Files
Coverage Δ

client/queries.graphql
65.21% <100%> (ø)
:arrow_up:

server/api/middleware.js
23.36% <70%> (+2.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 60d2c85...130a4cd. Read the comment docs.


New Functionality of filtering dataframe by region

Hi,
Your work is incredible, but I want to ask you if there's any way to filter all the dataframes by the region that you decide to pass. I have to try to implement it but it was very lazy since it needed to iterate through each dataframe and open them and look their available regions and see if the one passed is in the available regions of the dataframe.
There's some kind of way to do this in a more efficient way?
Thank you so much again for your work!

HI @fraFerrari99 thanks for the kind words 😃
If I understand correctly, you want to filter by region all the dataframes available in discovery.all_available()? If that's the case, I am afraid there is no way to do so as that would require loading in every istat dataframe first, even the ones you do not need. Plus, I do believe that region is not available in every dataset as a dimension.
Can you please give me more concrete examples of what you are trying to achieve so that I can look into the issue? What dataframes would you need to load and then filter?

Yeah, I was looking for a way for filtering all the datasets available passing a specific region code but I was encountering the problems that you wrote, above all that was something very very slow.
For this reason I hoped that you could find a way to do it since it could be a very helpful functionality but no worry, I would find another way to solve this problem!
Thanks!

Yeah, I also thought about a solution like this but I hope (it was a dream) to do this thing with the first call that is made to the ISTAT api and recover quickly all the filtered datasets.
Thank you so much for the quick answer and for your great work!


chore(CHAP-349): Deprecate vale hook

New features in the official vale action and CLI. Will revisit the pre-commit hook later if necessary for now a bash hook is OK as long as the vale CLI is installed on dev env.


Error in timezone parsing

Describe the bug
The timezone parsing only works for offsets with full hours. For example, parsing a date with +05:30 returns "+6", which is incorrect. This bug potentially impacts a number of significant regions (e.g., India with offset +05:30, Austalia — ACST with offset +09:30).
To Reproduce
from email.utils import parsedate_tz
import mailparser
d = "Mon, 11 Dec 2017 15:27:44 +0530"
print(parsedate_tz(d)[9]/3600)  # 5.5
print(mailparser.utils.convert_mail_date(d)[1])  # +6 -- should be 5.5

Raw mail
Raw mail is not necessary to produce the error
Environment:

OS: [macOS Mojave (10.14)]
Docker: no
mail-parser version 3.9.3

Additional context
The bug results from using 0 decimal precision while formatting the timezone string. I recommend using 2 decimal precision to address this bug (please see the patch). Or, we can keep the offset as returned by email.utils.parsedate_tz (in seconds).

Hi @saeed-abdullah thank for your contribution.
The time conversion was corrected but the timezone no. With this fix now both are correct.


Bug in service declaration

Hi, I've just upgraded to 2.0, and I've seen that ajax call to search products fail.
It seems to be a missing "public: true" declaration missing for the service
bitbag_sylius_cms_plugin.controller.action.admin.product_search

Best regards,
David

Should be fixed now. Thanks!


Unlock wallet for staking only feature

There are many valid concerns about leaving a unlocked wallet running for staking that allows anyone to transfer your coins without asking for your encrypted password.
We should always ask for password when making a transaction.

I agree. Password must be asked before transfer

Bump to top

still pending but low priority. Recommendation is lock your computer. If you are on windows, use win+l and it will still stake in the background


nix: don't use /tmp for the tests on darwin

Motivation for this change
Unlike on linux these are not namespaced per user so this will cause
build failures if /tmp/nix-test was not removed by a previous build if
the nixbld user id doesn't match by accident. Nix already creates a
unique tempdir for builds so we can use that instead.
Fixes #44172
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Success on aarch64-linux (full log)
Attempted: nix
Partial log (click to expand)
copying path '/nix/store/24lywswqniwsrz92invh0i6ysaz2bgg7-nix-2.0.4-man' from 'https://cache.nixos.org'...
copying path '/nix/store/3q8mdmbpvn4zpkx2ixrb1ls939zgz5s8-brotli-1.0.5-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/2bajx9jvbgjzrjh3h0aphvflclc9rh4w-libatomic_ops-7.6.4' from 'https://cache.nixos.org'...
copying path '/nix/store/fs33xqy4awdbc6r0wi3xgv91is9kzkxm-aws-sdk-cpp-1.4.82' from 'https://cache.nixos.org'...
copying path '/nix/store/gh06gifny788hxl07vs4c3664yflll8n-curl-7.59.0' from 'https://cache.nixos.org'...
copying path '/nix/store/hyfx48h6lqnbjfliyvi4xfy0768a34il-libseccomp-2.3.3-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/s599b2lfp1dzyz0z98s9smdgdxdgikj1-libsodium-1.0.16' from 'https://cache.nixos.org'...
copying path '/nix/store/5fj9l8ism40c590qmkmwiyfz9v0ixz5c-boehm-gc-7.6.6' from 'https://cache.nixos.org'...
copying path '/nix/store/bqcxplc7kan2y2xc97arq7k3lvd1c4gk-nix-2.0.4' from 'https://cache.nixos.org'...
/nix/store/bqcxplc7kan2y2xc97arq7k3lvd1c4gk-nix-2.0.4

Success on x86_64-darwin (full log)
Attempted: nix
Partial log (click to expand)
/nix/store/brczj9lragd3r7i4ivp64z165knbdwbn-nix-2.0.4

Success on x86_64-linux (full log)
Attempted: nix
Partial log (click to expand)
copying path '/nix/store/13a0mnwjpnmnw2j7hbx36ymsaww7lhkq-aws-sdk-cpp-1.4.82' from 'https://cache.nixos.org'...
copying path '/nix/store/dy0nwzf4bm55jhqdlw8bkghwlphgfk5l-brotli-1.0.5-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/fq99v0kqnzam9giiqfzb8nk933kq76xq-curl-7.59.0' from 'https://cache.nixos.org'...
copying path '/nix/store/qpgbq42mqj31qcwg9a0mw4f5ghix2acc-libatomic_ops-7.6.4' from 'https://cache.nixos.org'...
copying path '/nix/store/874wjmaac53rrck4y8x1n6fkpvb8l51r-libseccomp-2.3.3-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/038grnjcqsglskc206fvykm92ly5d9vn-boehm-gc-7.6.6' from 'https://cache.nixos.org'...
copying path '/nix/store/gqbkz09hn8mji1lcl3488ylwiz56wigx-libsodium-1.0.16' from 'https://cache.nixos.org'...
copying path '/nix/store/xrw9rl66x0f0zrb3d5bkxfsj2qmq0llj-nix-2.0.4-man' from 'https://cache.nixos.org'...
copying path '/nix/store/xw48y287yp080b7pbdp4ckwn0m50smw8-nix-2.0.4' from 'https://cache.nixos.org'...
/nix/store/xw48y287yp080b7pbdp4ckwn0m50smw8-nix-2.0.4


updated api docs for new api log structure and full oa codes

DO NOT MERGE

This branch has been merged into feature/363_ui_for_log_codes which is part of PR https://github.com/CottageLabs/jct/pull/49. So closing this PR.


Replace websocketsharp with Websocket.Client

Summary
Summary of the purpose of this pull request.
Replaces websocketsharp with Websocket.Client.
Websocketsharp has been a source of several bugs including a performance-sensitive stack overflow on receives causing debugging issues and issues getting into an inconsistent state when the connection is closed by the remote.
Closes TF-744
Closes TF-1095
Closes TF-1137
Tests Added
Summary of the tests added as part of this change, or reason why no tests are required.
No automated tests have been added in this PR. Whether they should be required or not is open to discussion. I initially explored adding tests to check basic functionality before quickly realising I would just be testing the WebSocket library itself and not our usage of it. If we want to add any tests they should be integration tests with a real or mock Diagnostic API. Question is whether these would be valuable long term or whether some manual testing during this PR is sufficient.
Contributor Tasks
These tasks are for the pull request creator to tick off.

[ ] PO review (optional depending on work type)
[ ] XDR review (optional depending on work type)
[ ] QA review (or another developer if no QA is available)
[ ] Ensure documentation requirements are met e.g., public API is commented
[ ] Relevant changelogs have been updated with user-visible changes

[ ] TouchFree Windows
[ ] TouchFree BrightSign
[ ] TouchFree Web Tooling

[ ] Consider any licensing/other legal implications e.g., notices required

If there is an associated JIRA issue:

[ ] Include a link to the JIRA issue in the summary above
[ ] Make sure the fix version on the issue is set correctly

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.

[ ] Developer testing
[ ] Code reviewed
[ ] Non-code assets reviewed
[ ] Documentation reviewed - includes checking documentation requirements are met and not missing e.g., public API is commented

Can get stuck disconnected when no connection was make successfully initially e.g. Service not connected at all.

Craig - did you use 'git mv' when moving the TrackingDiagnostic files? Not sure how github works here but it looks like the file's been deleted and then created.

Looking at your comments on testing, agree we wouldn't want to be testing the websocket library, and your comments show it's very hard to get it to fail. Beyond debugging the library I agree it's very difficult to test this.  Frustrating...


nginx can't bind to 80 and 443, as they are already in use

This is the output I get from starting this container. As you can see at the bottom the nginx is unable to bind to port 80. The result is that the piwik instance is not running correctly.
Welcome to the marvambass/nginx-ssl-secure container

IMPORTANT:
  IF you use SSL inside your personal NGINX-config,
  you should add the Strict-Transport-Security header like:

    add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";

  to your config.
  After this you should gain a A+ Grade on the Qualys SSL Test

>> copy /etc/nginx/external/*.conf files to /etc/nginx/conf.d/
>> piwik is configured to listen behind a reverse proxy now
>> HSTS Headers disabled
>> set MYSQL Host: mysql
>> set MYSQL Port: 3306
>> set MYSQL User: <hidden>
>> set MYSQL Password: <hidden>
>> set MYSQL DB Name: piwik
>> set MYSQL Prefix: piwik_
>> making piwik available beneath: /
>> adding softlink from /piwik to /

>> #####################
>> init piwik
>> #####################

>> update CorePlugins
Add the following JS-Code to your Site -> don't forget to change the URLs ;)

>> exec docker CMD
nginx
2015/01/13 19:45:09 [emerg] 53#0: bind() to <IP_ADDRESS>:80 failed (98: Address already in use)
2015/01/13 19:45:09 [emerg] 53#0: bind() to <IP_ADDRESS>:443 failed (98: Address already in use)
2015/01/13 19:45:09 [notice] 53#0: try again to bind() after 500ms
nginx: [emerg] bind() to <IP_ADDRESS>:80 failed (98: Address already in use)
nginx: [emerg] bind() to <IP_ADDRESS>:443 failed (98: Address already in use)
2015/01/13 19:45:09 [notice] 53#0: using the "epoll" event method
2015/01/13 19:45:09 [notice] 53#0: nginx/1.7.9
2015/01/13 19:45:09 [notice] 53#0: built by gcc 4.7.2 (Debian 4.7.2-5)
2015/01/13 19:45:09 [notice] 53#0: OS: Linux 3.18.1-x86_64-linode50
2015/01/13 19:45:09 [notice] 53#0: getrlimit(RLIMIT_NOFILE): 524288:1048576
2015/01/13 19:45:09 [notice] 53#0: start worker processes
2015/01/13 19:45:09 [notice] 53#0: start worker process 54

Any idea what could cause this?

Hi Marius,
can you tell me more about your environment? I just checked the lastest image on my Notebook. It works like a charm.

  After this you should gain a A+ Grade on the Qualys SSL Test

>> seems like the first start of nginx
>> doing some preparations...

>> generating /etc/nginx/external/dh.pem with size: 1024
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
....................................................................................+....+.............+...+......................+..........................................................................................+.......................................................................................+...............................+.................................+.......................................+............+.........+...................................................................................................++*++*++*
>> generating self signed cert
Generating a 4086 bit RSA private key
.........................................................................++
................................++
writing new private key to '/etc/nginx/external/key.pem'
-----
>> copy /etc/nginx/external/*.conf files to /etc/nginx/conf.d/
>> piwik is configured to listen behind a reverse proxy now
>> HSTS Headers disabled
>> set MYSQL Host: mysql
>> set MYSQL Port: 3306
>> set MYSQL User: <hidden>
>> set MYSQL Password: <hidden>
>> set MYSQL DB Name: piwik
>> set MYSQL Prefix: piwik_
>> making piwik available beneath: /piwik/
>> adding softlink from /piwik to /piwik/
>> piwik started, initial setup needs to be done in browser!
>> be fast! - anyone with access to your server can configure it!
>> exec docker CMD
nginx
2015/01/13 20:47:32 [notice] 44#0: using the "epoll" event method
2015/01/13 20:47:32 [notice] 44#0: nginx/1.7.9
2015/01/13 20:47:32 [notice] 44#0: built by gcc 4.7.2 (Debian 4.7.2-5)
2015/01/13 20:47:32 [notice] 44#0: OS: Linux 3.13.0-43-generic
2015/01/13 20:47:32 [notice] 44#0: getrlimit(RLIMIT_NOFILE): 524288:1048576
2015/01/13 20:47:32 [notice] 44#0: start worker processes
2015/01/13 20:47:32 [notice] 44#0: start worker process 45
^C2015/01/13 20:47:42 [notice] 44#0: signal 2 (SIGINT) received, exiting
2015/01/13 20:47:42 [notice] 45#0: signal 2 (SIGINT) received, exiting
2015/01/13 20:47:42 [info] 45#0: epoll_wait() failed (4: Interrupted system call)
2015/01/13 20:47:42 [notice] 45#0: exiting
2015/01/13 20:47:42 [notice] 45#0: exit
2015/01/13 20:47:42 [notice] 44#0: signal 17 (SIGCHLD) received
2015/01/13 20:47:42 [notice] 44#0: worker process 45 exited with code 0
2015/01/13 20:47:42 [notice] 44#0: exit

tried a bit more, but I can't reproduce the error

I made a new Dockerfile FROM yours, with some of the ENV variables I wanted. It might have been caused by a combination of the variables present, since I got it to work later. Here is a docker file that I used to recreate the problem:
FROM marvambass/piwik
MAINTAINER marius gundersen

ENV PIWIK_RELATIVE_URL_ROOT     /

ENV PIWIK_ADMIN                 admin
ENV PIWIK_ADMIN_MAIL<EMAIL_ADDRESS>ENV PIWIK_ADMIN_PASSWORD        superSecret

ENV PIWIK_MYSQL_USER            piwik
ENV PIWIK_MYSQL_PASSWORD        password
ENV SITE_NAME                   mysite.com

Hi Marius,
even this small Dockerfile works on my Notebook with no Problems.
But if you've figured it out, I'll close this issue.
Can you just comment, what you did to fix it? The only thing I can think of would be some special character inside a password variable or something like that

The docker file I went with removed the PIWIK_ADMIN_PASSWORD and added the SITE_URL ENV variables. It might be that the setup process fails, and then the nginx isn't killed correctly before it is restarted again.

normally you shouldn't be able to remove the PIWIK_ADMIN_PASSWORD variable. If it doesn't exists or is not set, the setup process gernerates one. The SITE_URL shouldn't be a Problem.
I'll close this now as invalid.


Add name property to Accounts

Summary
Changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

6 of 17 (35.29%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 45.919%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/domain/accounts/accounts.repository.ts
0
1
0.0%

src/domain/accounts/entities/create-account.dto.entity.ts
2
3
66.67%

src/datasources/accounts/accounts.datasource.ts
2
11
18.18%

Files with Coverage Reduction
New Missed Lines
%

src/datasources/accounts/accounts.datasource.ts
2
17.98%

Totals

Change from base Build<PHONE_NUMBER>6:
0.03%

Covered Lines:
4844

Relevant Lines:
8460

💛  - Coveralls


Datatypes should implement hashcode and equals

We are having testing problems because of this. Had to compare all the fields individually. Having equals method overridden could make testing much easier

Would like to see this sometime soon. It's been a while…


Improve pagination

Ref: #12
Calculate per page number for sub resources instead of using hard-coded
one.
It has 2 benefits:

reduce number of used rate limit as github counts possible number of
resources, not actual one
makes less http requests which should slightly improve performance

Benchmarking:
download go-git repo before:
INFO All metadata fetched owner=src-d rate-limit-used=341 repo=go-git total-elapsed=3m28.039093107s

after:
INFO All metadata fetched owner=src-d rate-limit-used=250 repo=go-git total-elapsed=2m58.214067408s

download small org before:
INFO All metadata fetched org=go-chi rate-limit-used=120 total-elapsed=1m19.913276742s

after:
INFO All metadata fetched org=go-chi rate-limit-used=110 total-elapsed=1m9.291050495s

[ ] I have updated the CHANGELOG file according to the conventions in keepachangelog.com
[x] This PR contains changes that do not require a mention in the CHANGELOG file

rebased on master


Add Indexer plumbing, add kcp indexers by default

I'm guessing there will be an additional change to use these indexers?

whoops meant to make this a draft, yeah looking into the listers atm


Player name case sensitivity issues (in particular for console commands with a player target)

This one might already be tied up with @oniatus and his work on unique player naming, but could likely also be done separately by just adding case insensitivity to certain commands. In general I suspect we should simply not consider case sensitivity in player names at all (if MyName and myname are players only one such player could be in the same game)
The specific problem: if you use commands like givePermission cervator2 cheat it'll fail if the target player is actually Cervator2 - that should be pretty easy to fix.
Different commands may be getting and comparing the player name using different strategies. For instance the givePermission command in PermissionCommands goes and does a playerName.equals(name) so simple switching that to equalsIgnoreCase would fix that instance. May need to search for command classes (find Java files with @Command in them) then spot any commands using player in some sense.
I'm not sure if it would be less work to somehow change the back-end handling of player names, like keeping a display name (with capitalization) and a technical name always in lower case. That's why I'm curious what @oniatus is getting to :-)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38587426-player-name-case-sensitivity-issues-in-particular-for-console-commands-with-a-player-target?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Fixed by #2568!


feat: Introducing --adopt flag to detect template block contents for existing code

The heuristics are documented in the blocks.go file in the adoptBlocks function, but the very simple version is looking for matching lines before/after a block in a template in the target file, if it so exists, and if so, pull "what will be the block content" out of that file in as "block content" for the stencil render (usually the first time stencil is run on a repo, or after a template change introducing blocks where there aren't already any).

@deregtd sorry I only just thought of this now, but mind adding a doc entry to the site around this new flag and the intended use cases? I think this would be super beneficial to have be front and center.

@deregtd sorry I only just thought of this now, but mind adding a doc entry to the site around this new flag and the intended use cases? I think this would be super beneficial to have be front and center.

totes fair.  how's that look?


Documentation for CLI tool

CLI tool looks nice for someone who doesn't want to configure a bundler just to get something started here.  But there is no documentation of any sort, and I am only able to get single files to be compiled, though it will draw an AST for multiple .monk files.

Hi,
Only example now is here: http://monkberry.js.org/docs/installation#cli
Will write more about CLI soon. Also will add --watch mode.

Just as a heads up for early adopters, this tool is SOLELY for compiling .monk files into Javascript.  You still need a transpiler(for ES6) and bundler(if you need it).
Also, thank @elfet for the quick responses.

A bundler?

@elfet something like Rollup.js


Issue created by commit #0fa1e29

In the aforementioned commit you changed the structure of the configPath() in lib/utils.py. I believe this causes now the packers to malfunction as they are trying to use two variables for this path, which produces the following error when running:

Ah dang, what a shame! You're right, my Visual Code let me believing there are no more instances of configPath when I was looking for it across the files. I probably fell into believing machine instead of double-hand checking.
Thank you for letting me know, hopefully that's now addressed with latest commit.
Let me know if problem remains, otherwise - kindly close the issue :)

Yup, seems to be working now :)


PoC Heun's method

Hi!
I'm a master degree student and I've recently started learning SDE topics, and I came across your project.
For the purpose of learning I've decided to try contributing - in known issues it states that Stratonovich methods are missing so I thought about trying that: Here's a draft of Euler counterpart - Heun's method.
If you would have a bit of time for a code review and guidance and it won't be too difficult for me I would like to try contributing.
It's just a draft with example run in demo notebook so without tests yet. What do you think about it?
Do you already have a concrete plan for Stratonovich module?
Or do you suggest other good-first-issue to start?
Thank you for any help.

Hi,
Thanks for the PR! I think this is a fantastic first step in getting the Stratonovich solvers in place!
Before we move forward, there are two things I want to mention:

In order for this code to get merged, you would need to sign a Contributor License Agreement (CLA) per the contributing to google repo policy as hinted by the bot. IIRC, there are two versions: one for individuals and one for corporates. Going through the procedure shouldn't take too long.

Even though this is a simple solver, I'd still recommend writing up some numerical tests to see it's convergence order. I think a reasonable test is that we find a particular SDE, and test the Stratonovich solver's solution with varying step size against the solution from an Ito solver with very small step size that's already implemented in the code base.

With a proper correction term, a Stratonovich SDE can be converted to Ito form, and hence solved by an Ito solver. We could treat the solution found by the Ito solver as the "ground-truth" and thereafter inspect the convergence order of Heun's method by plotting the errors vs step size on a log-log scale. Here's an example I wrote for the SRK solver.
We don't have to include the code for this particular numerical test, and it might even seem like a slog to do the testing. But I think this is definitely important in the long run, since the last thing any user might hope for is a bug in one of the solvers.
If you're happy to complete these two steps, I'd be more than excited to move forward with this PR. I will also leave some comments on the code when I start working at some point over the weekend.
Let me know if there's more that I could help, and thanks again for starting this line of work.

@googlebot I signed it!

@lxuechen Thank you for your answer.
That sounds great!
Let me spend some time on diving into the source code - I'll prepare the test and push it.
Should it be done as mentioned diagnostic example or as additional method in TestSdeint? Or both?

I think it'd be nice if we could see a plot on log-log scale just to inspect the rate. We don't necessarily need to include the code for the test, since I'm not sure how much extra stuff that test might need. If the test code isn't too long and roughly follows the format of the other source files in the diagnostics folder, I'd probably name it stratonovich_diagonal.py and place it in the same folder.

Here's an example of what a rate-inspection plot would look like. I did this for the diagonal Ito methods, and you can actually run the code in the diagnostics folder to obtain this for yourself. The numbers in the parentheses are slopes and correspond to the strong orders of different methods.
For Heun's method, you should expect to get something that's close to 0.5.

@lxuechen Hi!
I've managed to push first version of the stratonovich_diagonal.py diagnostics file. I used problem from skr_diagonal.py and run/plot it against euler and analytical solution:

...and the log-log plot:

Shapes of heun solutions look good but they seem to be slightly shifted in few cases (Is it OK?).
Also slope is close to 0.5.
I would be thankful for feedback - I hope that implementation is correct: I looked at formula and existing implementations:

StochasticDiffEq.jl
sdeint

This is almost the same, except for dW - it above implementations they use the same dWn for both stages where here I needed to compute next I_k for the second stage to get these solutions. I'm not sure if hadn't got it wrong while reading those implementations.
I can also polish PR in terms of naming and structure.
Also I think about minor restructuring - Could SDEIto be removed in favor of BaseSDE as it only gives sde_type (ForwardSDEIto and ForwardSDEStratonivich will inherit from BaseSDE and provide sde_type there)?
Then all problems from problems.py can inherit from BaseSDE and be solved with both methods by providing concrete sde_type when instantiated. WDYT?

Hi,
Thanks for the updates! I just checked the code and the solver seems good.
Now regarding the rate inspection, there's a technical issue which is for an Ito SDE and Stratonovich SDE, their analytical solutions would be different, even when their drifts and diffusions are the same. So I am guessing that's the reason to the rather uniform vertical difference between Euler and Heun as you vary the step size.
One way to properly do the error analysis is to use a conversion rule to convert the Strat SDE to Ito form and then use the Euler solver based on Ito's form.
Now that I think about it, it might require more work than I originally thought, and things can become messy. I'm currently working on setting up the Stratonovich utils and have plans of doing the rate inspection properly. On the other hand, I don't want to leave your contributions unnoticed. So here's a plan that I propose:
It would be nice if you could only include the following files

torchsde/__init__.py
torchsde/_core/base_sde.py
torchsde/_core/methods_strat/__init__.py
torchsde/_core/methods_strat/diagonal/__init__.py
torchsde/_core/methods_strat/diagonal/heun.py
torchsde/_core/sdeint.py
torchsde/_core/settings.py

I can take it up from there and set up all the stuff that's relevant for the analysis.
What do you think about this plan?

@lxuechen Thank you for your feedback!
That sounds good to me - I deleted diagnostic file leaving only 7 files requested in PR.
So what can I work on next?
Maybe I can work on next method - Milstein method for Stratonovich problems? (I will finish gdg_prod in ForwardSDEStratonovich for that purpose).
If not this maybe something different?

Closing in favour of #24


[NeuralChat] Enable retrieval with url as inputs

add the support for crawling the data from a given list of URL link

Add UTs

added


Upgradable white list contract

Have the interface maxTradeSize( ERC20 inputToken, address user) view returns(uint).
KyberNetwork contract has a pointer to white list contract. Pointer is controlled by admin.
Implement white list contract.

contract name:
KyberWhiteList
parameters
uint sgdToEthRate //singapore dollar
mapping - address to uint. - 	userCategory
mapping - uint to uint - categoryCap (ex: 0 starndard cap, 1 - KYC cap, etc) per category we list max sgd
some could be private cap. if some specific address has higher cap.
api
setUserCategory(address, uint)
setCategoryCap(uint categroy, uint sgdCap)
setSgdToEthRate(uint)
getUserCapInWei(address) returns uint


Merging PDF configuration in.

@dend,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 181: [Error] Reset to commit id ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e in folder: W:\5sr5-s_themes.pdf failed. Error: fatal: Could not parse object 'ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dend,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 181: [Error] Reset to commit id ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e in folder: W:\bbiv-s_themes.pdf failed. Error: fatal: Could not parse object 'ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dend,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 181: [Error] Reset to commit id ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e in folder: W:\pud2-s_themes.pdf failed. Error: fatal: Could not parse object 'ef1abb22d076e3d5f8b3071c4c3ee36bd13cb23e'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dend,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 181: [Error] Reset to commit id 6e558ffd678f1c41d75e718c861106ec1e6b26af in folder: W:\t4uq-s_themes.pdf failed. Error: fatal: Could not parse object '6e558ffd678f1c41d75e718c861106ec1e6b26af'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 181: [Error] Reset to commit id 6e558ffd678f1c41d75e718c861106ec1e6b26af in folder: W:\kc1y-s_themes.pdf failed. Error: fatal: Could not parse object '6e558ffd678f1c41d75e718c861106ec1e6b26af'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Moved _XML…EncodingContainer into their own files, matching decoder

The XMLEncoder.swift is far too large as it is right now.
I thus moved _XMLUnkeyedEncodingContainer and _XMLKeyedEncodingContainer into their own respective files.
Note: The Decoder directory already does the same.

🤔 this didn't change any logic. Just moving stuff around and changing some stuff from fileprivate to internal.

LGTM, again hoping that merge of #1 will make codecov checks pass and then this one's good to merge.


Update for Swift 2.0

Could you please update the lib for Swift 2.0

@confile: Steven and some other guys already updated the framework to support Swift 2. Have a look at the Swoft 2 branch: https://github.com/stephencelis/SQLite.swift/tree/swift-2


Feat: new sign in flow

A new design is introduced for the sign in using feature flags for A/B testing.
You can see the requirements in #231
As for the final design screenshots are attached.

Design updates: link


On first run of xmake, if git isn't found the repository isn't updated

Describe the bug
I tested xmake on a freshly installed Windows (which is why it can't find VS yet but I don't think it's related):
xmake couldn't find git to update its repository, so it downloaded it and then failed because it couldn't think packages because it didn't update them after downloading git.
PS C:\Users\lynix\Documents\GitHub\NazaraEngine> xmake
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in builtin-repo:
  -> git 2.20.0 [vs_runtime:MD]
please input: y (y/n/m)
y
  => download https://github.com/git-for-windows/git/releases/download/v2.20.0.windows.1/MinGit-2.20.0-64-bit.zip .. ok
  => install git 2.20.0 .. ok
error: package(cmake) not found!
PS C:\Users\lynix\Documents\GitHub\NazaraEngine> xmake
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... no
updating repositories .. ok
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> cmake 3.18.4 [vs_runtime:MT, from:assimp,libvorbis,libogg,nodeeditor,chipmunk2d]
  -> zlib 1.2.11 [vs_runtime:MD, from:assimp]
  -> assimp 5.0.1 [vs_runtime:MD]
  -> chipmunk2d 7.0.3 [vs_runtime:MD]
  -> dr_wav 0.12.19 [vs_runtime:MD]
  -> freetype 2.10.4 [vs_runtime:MD]
  -> libsdl 2.0.14 [vs_runtime:MD]
  -> minimp3 2021.05.29 [vs_runtime:MD]
  -> stb 0.0 [vs_runtime:MD]
  -> libogg v1.3.4 [vs_runtime:MD, from:libvorbis]
  -> newtondynamics v3.14d [vs_runtime:MD]
in local-repo:
  -> nodeeditor 2.1.3 [optional, vs_runtime:MD]
  -> libvorbis 1.3.7 [vs_runtime:MD, with_vorbisenc:n]
please input: y (y/n/m)

Expected behavior
That xmake refresh its repository after downloading git and before checking packages
Related Environment

xmake version: xmake v2.5.4+202106021311
os: Windows 10

I have added some debug logs on test branch, can you try it again? and let me see to output.
xmake update -s github:xmake-io/xmake#test

Here you are (I enabled verbose and run xmake twice here)
PS C:\Users\lynix\Documents\GitHub\NazaraEngine> xmake -v
checking for platform ... windows
checking for architecture ... x64
checking for vswhere.exe ... C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
checking for cl.exe ...  C:\Users\lynix\xmake\winenv\bin\7z
checking for git ... no
checking for ping ... ok
pinging for the host(gitlab.com) ... 65535 ms
pinging for the host(github.com) ... 39 ms
pinging for the host(gitee.com) ... 65535 ms
checking for git ... no
checking for git ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in builtin-repo:
  -> git 2.20.0 [vs_runtime:MD]
please input: y (y/n/m)
y
checking for curl ... C:\Users\lynix\xmake\winenv\bin\curl
C:\Users\lynix\xmake\winenv\bin\curl -SL -A "Xmake/2.5.4+202106021311 (Windows;) curl/7.54.0" https://github.com/git-for-windows/git/releases/download/v2.20.0.windows.1/MinGit-2.20.0-64-bit.zip -o MinGit-2.20.0-64-bit.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   630  100   630    0     0   1551      0 --:--:-- --:--:-- --:--:--  1551
100 20.8M  100 20.8M    0     0   570k      0  0:00:37  0:00:37 --:--:--  499k
C:\Users\lynix\xmake\winenv\bin\7z x -y MinGit-2.20.0-64-bit.zip -osource.tmp

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 21834388 bytes (21 MiB)

Extracting archive: MinGit-2.20.0-64-bit.zip
--
Path = MinGit-2.20.0-64-bit.zip
Type = zip
Physical Size = 21834388

Everything is Ok

Folders: 3
Files: 274
Size:       49560321
Compressed: 21834388
  => download https://github.com/git-for-windows/git/releases/download/v2.20.0.windows.1/MinGit-2.20.0-64-bit.zip .. ok
checking for git ... no
checking for git ... no
{
  name = "git",
  arch = "x64",
  mode = "release",
  repo = {
    url = "C:\Users\lynix\xmake\repository",
    name = "builtin-repo"
  },
  vars = { },
  envs = {
    PATH = {
      "bin",
      "share\MinGit\mingw32\bin",
      "share\MinGit\cmd"
    }
  },
  description = "A free and open source distributed version control system",
  plat = "windows",
  kind = "binary",
  version = "2.20.0",
  configs = {
    shared = false,
    vs_runtime = "MD",
    debug = false,
    pic = true
  }
}

git --version
git version 2.20.0.windows.1
  => install git 2.20.0 .. ok
checking for git ... no
checking for git ... no
checking for gzip ... no
222222222222222222
333333333333333333
5555555555555555
checking for git ... ok
6666666666
checking for xmake::assimp ... no
checking for pkg-config ... no
checking for assimp ... no
checking for xmake::chipmunk2d ... no
checking for chipmunk2d ... no
checking for xmake::dr_wav ... no
checking for dr_wav ... no
checking for xmake::freetype ... no
checking for freetype ... no
checking for xmake::libflac ... no
checking for libflac ... no
checking for xmake::libsdl ... no
checking for libsdl ... no
checking for xmake::minimp3 ... no
checking for minimp3 ... no
checking for xmake::stb ... no
checking for stb ... no
checking for xmake::libvorbis ... no
checking for libvorbis ... no
checking for xmake::newtondynamics ... no
checking for newtondynamics ... no
note: the following packages are unsupported for windows/x64!
  -> assimp
  -> chipmunk2d
  -> dr_wav
  -> freetype
  -> libflac
  -> libsdl
  -> minimp3
  -> stb
  -> libvorbis
  -> newtondynamics
PS C:\Users\lynix\Documents\GitHub\NazaraEngine> xmake -v
checking for platform ... windows
checking for architecture ... x64
checking for vswhere.exe ... C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
checking for cl.exe ...  C:\Users\lynix\xmake\winenv\bin\7z
checking for git ... ok
checking for gzip ... no
222222222222222222
333333333333333333 {
  name = "git",
  program = "git"
}

444444444444444
_update
update dddddddd
updating repositories ..
cloning repository(xmake-repo): https://github.com/xmake-io/xmake-repo.git to C:\Users\lynix\AppData\Local\.xmake\repositories\xmake-repo ..
git clone https://github.com/xmake-io/xmake-repo.git -b master C:\Users\lynix\AppData\Local\.xmake\repositories\xmake-repo
Cloning into 'C:\Users\lynix\AppData\Local\.xmake\repositories\xmake-repo'...
remote: Enumerating objects: 8549, done.
remote: Counting objects: 100% (1166/1166), done.
remote: Compressing objects: 100% (588/588), done.
remote: Total 8549 (delta 534), reused 882 (delta 365), pack-reused 7383
Receiving objects: 100% (8549/8549), 1.54 MiB | 510.00 KiB/s, done.
Resolving deltas: 100% (4508/4508), done.
ok
5555555555555555
6666666666
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
checking for xmake::zlib ... no
checking for pkg-config ... no
checking for zlib ... no
checking for xmake::assimp ... no
checking for assimp ... no
checking for xmake::chipmunk2d ... no
checking for chipmunk2d ... no
checking for xmake::dr_wav ... no
checking for dr_wav ... no
checking for xmake::freetype ... no
checking for freetype ... no
checking for xmake::libogg ... no
checking for libogg ... no
checking for xmake::libflac ... no
checking for libflac ... no
checking for xmake::libsdl ... no
checking for libsdl ... no
checking for xmake::minimp3 ... no
checking for minimp3 ... no
checking for xmake::stb ... no
checking for stb ... no
checking for xmake::libvorbis ... no
checking for vorbisfile ... no
checking for libvorbis ... no
checking for xmake::newtondynamics ... no
checking for newtondynamics ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> zlib 1.2.11 [vs_runtime:MD, from:assimp]
  -> assimp 5.0.1 [vs_runtime:MD]
  -> chipmunk2d 7.0.3 [vs_runtime:MD]
  -> dr_wav 0.12.19 [vs_runtime:MD]
  -> freetype 2.10.4 [vs_runtime:MD]
  -> libogg v1.3.4 [vs_runtime:MD, from:libvorbis,libflac]
  -> libflac 1.3.3 [vs_runtime:MD]
  -> libsdl 2.0.14 [vs_runtime:MD]
  -> minimp3 2021.05.29 [vs_runtime:MD]
  -> stb 0.0 [vs_runtime:MD]
  -> libvorbis 1.3.7 [with_vorbisenc:n, vs_runtime:MD]
  -> newtondynamics v3.14d [vs_runtime:MD]
please input: y (y/n/m)
n
error: packages(zlib, assimp, chipmunk2d, dr_wav, freetype, libogg, libflac, libsdl, minimp3, stb, libvorbis, newtondynamics): must be installed!

you can update to packagenv branch and try it again.
xmake update -s github:xmake-io/xmake#packagenv

PS C:\Users\lynix\Documents\GitHub\NazaraEngine> xmake
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2019
note: install or modify (m) these packages (pass -y to skip confirm)?
in builtin-repo:
  -> git 2.20.0 [vs_runtime:MD]
please input: y (y/n/m)
y
  => download https://github.com/git-for-windows/git/releases/download/v2.20.0.windows.1/MinGit-2.20.0-64-bit.zip .. ok
  => install git 2.20.0 .. ok
updating repositories .. ok
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> zlib 1.2.11 [vs_runtime:MD, from:assimp]
  -> assimp 5.0.1 [vs_runtime:MD]
  -> chipmunk2d 7.0.3 [vs_runtime:MD]
  -> dr_wav 0.12.19 [vs_runtime:MD]
  -> freetype 2.10.4 [vs_runtime:MD]
  -> libogg v1.3.4 [vs_runtime:MD, from:libvorbis,libflac]
  -> libflac 1.3.3 [vs_runtime:MD]
  -> libsdl 2.0.14 [vs_runtime:MD]
  -> minimp3 2021.05.29 [vs_runtime:MD]
  -> stb 0.0 [vs_runtime:MD]
  -> libvorbis 1.3.7 [vs_runtime:MD, with_vorbisenc:n]
  -> newtondynamics v3.14d [vs_runtime:MD]
please input: y (y/n/m)
y
  => downloading zlib, chipmunk2d, dr_wav, freetype .. (4/curl,git) ⠼```

It worked, thanks! 👍

Oh and powershell colors kinda broke, but I don't think it's related.

Oh and powershell colors kinda broke, but I don't think it's related.

I just encountered the problem of not supporting color in powershell terminal of win7. Can the author turn off the color function of xmake in win7?

xmake g --theme=plain

it works👌

xmake g --theme=plain


Update Meloetta to be a released shiny

thank you! unfortunately it needs a little more work than that.


Mantle Mash - Gitcoin Hackathon Bounty - Developer Infra & Tooling

Best Developer Infrastructure or Tooling Project: 2 teams win $2,500 per team
Challenge Description
Enhancing the developer experience (DX) is crucial for widespread acceptance of web3. Create an SDK, API, or tool to facilitate collaboration among DAOs and web3 teams. Ideas:

Multisig tooling
Make Mantle data available within Google’s BigQuery
Transaction Tracer https://tx.eth.samczsun.com/
Bonus if you add in storage read/write and opcodes such as CALLER/ORIGIN

Submission Requirements

The submission must be deployed on Mantle testnet
A video demo and GitHub repo must be submitted

Judging Criteria

Ease of use and effectiveness in facilitating collaboration among web3 teams and/or DAOs
Originality and innovation in developer infrastructure or tooling
Relevance and impact on the overall developer experience
Technical feasibility and implementation quality

Winner Announcement Date
Winners will be announced by Friday, February 24 EOD EST.
Links

Mantle Discord Server
Mantle Devs Telegram Channel
Mantle Docs
Mantle Developers Website
Mantle GitHub
Mantle Developer Interest Form

Best Developer Infrastructure or Tooling Project: 2 teams win $2,500 per team
Challenge Description
Enhancing the developer experience (DX) is crucial for widespread acceptance of web3. Create an SDK, API, or tool to facilitate collaboration among DAOs and web3 teams. Ideas:

Multisig tooling
Make Mantle data available within Google’s BigQuery
Transaction Tracer https://tx.eth.samczsun.com/
Bonus if you add in storage read/write and opcodes such as CALLER/ORIGIN

Submission Requirements

The submission must be deployed on Mantle testnet
A video demo and GitHub repo must be submitted

Judging Criteria

Ease of use and effectiveness in facilitating collaboration among web3 teams and/or DAOs
Originality and innovation in developer infrastructure or tooling
Relevance and impact on the overall developer experience
Technical feasibility and implementation quality

Winner Announcement Date
Winners will be announced by Friday, February 24 EOD EST.
Links

Mantle Discord Server
Mantle Devs Telegram Channel
Mantle Docs
Mantle Developers Website
Mantle GitHub
Mantle Developer Interest Form

Hey,
Just submitted my project npx create-mantle-dapp
A full-stack starter template with React & Hardhat to develop, deploy, and test Solidity smart contracts on the Mantle network.
Hope this helps many hackers! 🚀
GitHub: https://github.com/akhileshthite/create-mantle-dapp

@0xveer is this bounty still available?

Is this bounty still up for grabs?


Start script react vue

fix #821
Changed the launching port and add start script to package json for react and vue.

this PR should not close the ticket as there are still some work to do (for Vue, for Angular)
So instead of writing fix #xxxx, it should be something like related to #xxxx


Gather more logs upon test failure for Jenkins builds

Builds like this only output what the CLI shows to users when an error occurs in Cilium. As a result, there is not much to go off of to see why the job failed. For issues that might be extremely intermittent, it behooves us to get logs from the Jenkins jobs to get an RCA.

Closing this - we now gather logs via journalctl output, as well as the contents of /var/run/cilium, /var/lib/cilium.


left menu - update color and design

https://www.figma.com/file/fwADI9wqDrRAdlMX8EddCw/Bancor-v3

replaced with task #1543


Cannot move out of ...

I can't seem to wrap my head around why the following is happening:
#[derive(Clone, Debug, Default, PartialEq, Store)]
pub struct Foo {
    foo: String,
}
impl Foo {
    pub fn update(&mut self, new: String) {
        self.foo = new;
    }
}

#[function_component]
pub fn Tabs() -> Html {
    let (foo, foo_dp) = use_store::<Foo>();

    let id = uuid::Uuid::new_v4().to_string();
    let update = {
        let id = id.clone();
        foo_dp.reduce_mut_callback_with(|foo, e: MouseEvent| {
            foo.update(id);
        })
    };

    //    html!  and friends ...

Resulting in an error on the update call stating:
cannot move out of `id`, a captured variable in an `Fn` closure
move occurs because `id` has type `std::string::String`, which does not implement the `Copy` trait

With the latest yewdux and yew as dependencies.
Any ideas?

Perhaps to clarify, this does compile and I can't seem to find the difference https://github.com/intendednull/yewdux/blob/ae66ae4b5ccf47fcbfaa1185327ab9ff432a3ac7/examples/async_proxy/src/main.rs#L45

It was the move |...| before the closure arguments, although I could've sworn I tried that this morning, too.
Sorry to have bothered you with this.


Add WHERE TrinaryOp/mlop

Rename FusedOps to TrinaryOps.
The solution for #942

Can be closed now.


fix: 🐛 clone theme while dashboard clone

Codecov Report

Merging #199 (c047513) into feat/FEE-644-fonts-and-sliders (a7cad0e) will decrease coverage by 0.00%.
The diff coverage is 83.33%.

@@                        Coverage Diff                         @@
##           feat/FEE-644-fonts-and-sliders     #199      +/-   ##
==================================================================
- Coverage                           86.09%   86.09%   -0.01%
==================================================================
  Files                                 477      477
  Lines                                6121     6127       +6
  Branches                              576      578       +2
==================================================================
+ Hits                                 5270     5275       +5
- Misses                                783      784       +1
  Partials                               68       68

Impacted Files
Coverage Δ

src/modules/dashboards/saga.ts
54.31% <83.33%> (+0.49%)
: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 a7cad0e...c047513. Read the comment docs.


Write a Haskell program to convert hours to weeks

Description
Write a Haskell program to convert hours to weeks
1 week = 7 days = 168 hours
Input  : 840
Output : 5

How to contribute

Save the solution in convert_hours_to_weeks.hs file
Add convert_hours_to_weeks.hs file in convert-hours-to-weeks folder

!assign


Business Analyst - Xero

Job title: Business Analyst
Job level: intermediate to senior
Company name: Xero
Link to job description: Link
Contact info: Bruce L

Thanks for sharing this, @ryu9827


editor.multiCursorModifier is too restrictive for users on Kubuntu as ALT is taken over by KWIN.

VSCode Version: 1.19.1
OS Version: Kubuntu 17.10

Unfortunately when it comes to editor.multiCursorModifier as well as click to go through to definition there is a slight but on Kubuntu.
The problem occurs that you cannot exactly use both.
Say if I wanted to have ctrl + click to go to definition which most editors use that would be fine. But it means that the only other option for editor.multiCursorModifier is ALT.
The problem here is that ALT in Kubuntu is taken over by KWin and it is used to move a window. You can click anywhere on the application and not just on the title bar. So these two functionalities are used in conjunction even though CTRL is really the only option.
Is there a way to set the go to definition to "shift + click" ? Or "shift + ctrlCmd" as it is rather limited.
Steps to Reproduce:

Install Kubuntu
Try ALT and Click on a definition to see if you can click through

Does this issue occur when all extensions are disabled?: Yes/No
Yes.

I agree with @joshbenham, the option Shift+left click, Shift+right click (as in sublime-text) or alt+maj+left click is really (in my opinion) better than the alternative you proposed or the alternative that VSCode proposes (ctrl+left click).
So I'm not an expert on VSCode, but would there be a way to change that, and if so, how?


Width, height and duration attributes are in File attributes

Is it intended for attributes such as width and height to be part of Files - Attributes? I guess duration can be related to digital downloads?

I think I missed this question originally. Width and height attributes are installed by default by concrete5 itself, duration I've never seen before, maybe by another add-on that handles video?