Timeout for Euler 187

Describe the Issue
Timeout limits are too aggressive on this problem and blocking users from computing the correct answer.
Affected Page
https://www.freecodecamp.org/learn/project-euler/project-euler-problems-101-to-200/problem-187-semiprimes
Your code
function semiPrimes(limit = 100000000) {
  // Bounds checking
  if (limit <= 1) return 0;

  // Make boolean array of odd numbers < half the limit
  const halfLimit = limit / 2;
  const upper     = Math.floor((halfLimit - 1) / 2);
  const isPrime   = Array(upper).fill(true); // 'Guess' all are prime

  // Initalize counts
  let numPrimes     = 1; // 2 is prime and not in the seive
  let numSemiPrimes = 1;

  // Mark multiples of each prime in seive as not prime
  const sqrtUpper = Math.floor((Math.sqrt(halfLimit) - 1) / 2); // Done when i*i marked
  for (let i = 0; i <= sqrtUpper; i++) {
    // Check if number is multiple of any smaller odd number
    if (isPrime[i]) {
      numPrimes++;
      numSemiPrimes += numPrimes; // Count all products with smaller prime and square

      // Mark all multiples of this number as not prime
      const prime = 2 * i + 3; // Note that number = index*2+3
      const primeSqaredIndex = 2 * i * i + 6 * i + 3; // Everything below prime*2 marked
      for (let j = primeSqaredIndex; j < upper; j += prime) {
        isPrime[j] = false;
      }
    }
  }

  // Count remaining primes
  for (let i = sqrtUpper + 1; i < upper; i++) {
    if (isPrime[i]) {
      numPrimes++;
      numSemiPrimes++; // Count prime * 2

      // Count all pairs
      const prime = 2 * i + 3; // Note that number = index*2+3
      for (let j = 0; j <= i && prime * (2 * j + 3) < limit; j++) {
        if (isPrime[j]) numSemiPrimes++;
      }
    }
  }

  // Return
  return numSemiPrimes;
}

console.log(semiPrimes());

Expected behavior
Verified via OEIS, the code above produces the correct number of semiprimes for 1, 10, ..., 10000000. However, for 100000000, we have a timeout. This code could probably be a bit more efficient, but even if I just cut it down to finding all primes < 50000000, it times out, indicating that it is not possible for campers to complete this exercise with the current infinite loop protections on this problem.
System
All?

Seems like a good challenge to just remove the loop protect from entirely.

Seems like a reasonable fix to me


Make threadpool a non-singleton class

The main idea of singleton pattern is to restrict to only have a single instance of class. However, this is highly misused for accessing purpose. This is the same case here.
There is no valid reasoning why thread pool class should not have any multiple instance. (One can argument "because we don't need 2 threadpool in project", but then we are breaking single responsibility principle by putting this knowledge inside threadpool by making it singleton.)
Also having singleton class means, we are having it as a hidden dependency. Also if a function utilizes singleton that means it can make side effects without the knowledge of caller.
I have used dependency injection technique to make threadpool a explicit dependency to the functions, so that there is no 'surprise' side effect. One can argue that having explicit dependency can be hard to call everytime and thus I have used default argument feature of c++ to not disturb the old API for calling.
The default argument binded is a static threadpool that is created when first time instance is called (producing the same old effect of creation when it was singleton). This is very same to analogy that std::cout is a static instance of std::ostream and std::ostream is not a singleton. We just needed to access a static member of project and for that we don't need to make the class singleton.
This refactor would help me decouple few more things from threadpool, to enhance performance.

First of all, thank you for making the effort on this! I am delighted to see your contribution! Although I am not completely in favor of this change. Let me explain.

The main idea of singleton pattern is to restrict to only have a single instance of class.

Yes, this is the only reason why the threadpool is a singleton. We do not want multiple threadpools in our program because with each threadpool, we introduce extra load on the CPU and the memory to schedule the extra threads onto the CPU. Also, it is worth noting the fact that p4-fusion is recommended to use several hundreds of threads on machines with only double-digit CPU cores and hence the scheduling needs to stay out of the processing as much as possible. It is simply not worth trying to have multiple threadpools in a program like this.

However, this is highly misused for accessing purpose. This is the same case here.

It is true that the singleton pattern is abused for easing access to the instance of a particular class, but in our rationale, the threadpool is only suited to be instantiated once due to it handling performance-critical OS resources. So I guess I am saying that we don't need more than 1 threadpool objects :)

but then we are breaking single responsibility principle by putting this knowledge inside threadpool by making it singleton.

The single responsibility principle is a tool used to ensure that classes do not go out of their way to implement functionality that is out of their own context. However, it does not necessarily mean that a class cannot have more than 1 responsibility, and depending on how granular your point of view is, a class could be encapsulating all the low level details to provide a promise to the external code. It is also subjective based on what is regarded as a responsibility. A combination of responsibilities can be part of a single context where the class implements its functions.
It is supposed to be used in a "fire and forget" manner, which demands the Threadpool class to ensure that there is only a single threadpool running in the project, or else we might hit issues with mistakenly issuing commands to the wrong threadpool and then later trying to get the results of a job from the threadpool that never executed that job.
And so in this case, Threadpool is given the responsibility of encapsulating the low-level threading implementation details (like the task queue) of the whole application so that it can be used in a "fire and forget" manner. In its current implementation, it doesn't step away from that context.

Also having singleton class means, we are having it as a hidden dependency. Also if a function utilizes singleton that means it can make side effects without the knowledge of caller.

I agree that this is a weird consequence of having a singleton class but looking at the other problems that it is solving, I do not feel the need to make it a non-singleton just to solve a problem that we are not even facing, it is just a side-effect of implementing a Meyer's singleton.
This change would have been fine if we were facing an issue with not having multiple threadpools in our program, but we have not reached that point yet. Usually in performance-critical software, like an operating system, a game engine, or any program that seeks to benefit from multithreading as much as possible, threadpools have been seen to be single instance objects that manage however many threads that the applications asks the OS to spawn.
It also seems that the changes in the PR are using the SystemThreadPool::instance() function like the Threadpool::GetSingleton() function. And with a little bit of indirection, I see that it is still functioning as a singleton, just the function name doesn't use the word "singleton" literally.
Adding an additional parameter to functions is actually a good idea, but seeing the amount of complexity it is generating, I am skeptical of whether this change should be merged.

This is very same to analogy that std::cout is a static instance of std::ostream and std::ostream is not a singleton.

std::ostream is a class which can be instantiated by the user to create multiple output streams that do not necessarily write to stdout. However in our case, we want to discourage the Threadpool class from being instantiated multiple times (for reasons I have mentioned at the start), and thus, the Threadpool class has been made as a singleton.

I hope I was able to explain my reasoning. One thing I am curious to hear from you though is this:

This refactor would help me decouple few more things from threadpool, to enhance performance.

If you can present data on how much performance increase are we talking about by making Threadpool a non-singleton, then, I am willing to reconsider this change. Because at that point, there is a clearly defined problem that has a clearly defined solution.


Yandex.Browser version <IP_ADDRESS>2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow
Tried to use vanity url so that it will be keep itself up to date automatically.

@mdanish-kh hello! 👀
Downloading installer from the same urls seem to produce different hash because they are adding info about the way it was downloaded at the end...

Is it possible to validate the installer some other way? I've found that there is so some signature from publisher that match between files.

@Andrej730 Yes, I can confirm I'm seeing different hashes from the application from the InstallerUrl you used in the manifest as it redirects to couple other Urls and adds additional parameters at the end of the Url that are serving a different application?
However, if I use the direct Url from the CDN https://cachev2-ams02.cdn.yandex.net/download.cdn.yandex.net/browser/int/23_1_3_949_40687/en/Yandex.exe, I'm consistently getting the same hash and it doesn't appear to add additional params or redirect to any other Url

 ~/Downloads winget hash .\Yandex.exe
InstallerSha256: 0159a0da24910b6b9cbdf888f82862e76bdc334d467f0156c279a82fe55eb449

I'm not sure I follow the motivation behind this PR as you used the direct Url with the correct hash in PR  #97827 👀 The merged package seems to work just fine for me with no hash mismatch errors.

@mdanish-kh the idea was to use vanity url so that wingetbot could have automatically update the manifest in the future
Is there way to use executable signature to check the match?

Oh right, In that case I believe we're out of luck as WinGet only matches Installer256 hash to determine if it's the same downloaded application.

This situation seems similar to the Roblox installer. https://github.com/microsoft/winget-pkgs/issues/94013#issuecomment-1386209074

I guess there is no way to get consistent hash from this vanity url, I switch it to direct url.


Perform regression testing of the Carbon for ibm.com v1.24.0 release - Prod QA

User Story

As a [user role below]:
DDS Engineering Lead and Offering Manager

I need to:
ensure the changes included in the v1.24.0 release do not adversely affect the existing code

so that I can:
ensure the quality of the ibm.com adopter experience is maintained

Additional information

Contents of the v24.0 release
The regression testing is currently scheduled from Aug 30 - September 3.  At least 2 rounds of regression testing should be performed during these dates.
React (Storybook)
React (NextJS)
Web Components Storybook

Acceptance criteria

[ ] All regression tests are executed
[ ] Defects are created

Regression testing about 25% finished.  No new issues to report.
Accessibility testing has started.  No new issues to report.

Praveen is about 65% finished with the first round of regression testing.

Praveen is about 85% finished with the regression testing.  Slack status:

Reviewed a Lightbox media viewer bug and decided that it is a Sev 2 and should be fixed in the v1.24.0 release.  Praveen creating the bug.  Ari will fix.

Closing based on Slck messge with Praveen.


Workflow B: ARAX not calling MolePro on (gene)-[interacts with]-(chemical entity)

MolePro is a potential source of information for the 3rd hop of Workflow B (query below). However, ARAX's expansion results UI says that MolePro doesn't support this edge: https://arax.ncats.io/?r=28066.
MolePro has the following in its MetaKG:
      "object": "biolink:Gene",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:SmallMolecule"

biolink:directly_interacts_with is symmetric, but the inverse edge is not present in MolePro's MetaKG. I'm not sure if this should potentially be resolved on the ARAX or MolePro side. @edeutsch @vdancik
Note, this issue ignores that ARAX is not calling KPs when there are more than 100 input CURIEs in the expansion.
Query:
{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                     "ids": ["MONDO:0005359", "SNOMEDCT:197358007", "MESH:D056487", "SNOMEDCT:197354009", "SNOMEDCT:427399008"],
                     "categories": ["biolink:DiseaseOrPhenotypicFeature"]
                },
                "n1": {
                    "categories": ["biolink:DiseaseOrPhenotypicFeature"]
                },
                "n2": {
                    "categories": ["biolink:Gene"]
                },
                "n3": {
                    "categories": ["biolink:ChemicalEntity"]
                }
            },
            "edges": {
                "e01": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": ["biolink:has_real_world_evidence_of_association_with"]
                },
                "e02": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": ["biolink:gene_associated_with_condition"]
                },
                "e03": {
                    "subject": "n2",
                    "object": "n3",
                    "predicates": ["biolink:interacts_with"]
                }
            }
        }
    }
}

@CaseyTa, indeed we have an issue with our metaKG - MolePro will return results for the following query, yet it does not include Gene-directly_interacts_with-SmallMolecule metaKG entry. We are going to fix that.
{
    "message": {
        "query_graph": {
            "nodes": {
                "n2": {
                    "ids":["NCBIGene:819"],
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n3": {
                    "categories": [
                        "biolink:SmallMolecule"
                    ]
                }
            },
            "edges": {
                "e03": {
                    "subject": "n2",
                    "object": "n3",
                    "predicates": [
                        "biolink:directly_interacts_with"
                    ]
                }
            }
        }
    }
}

MolePro's metaKG now declares both
      "object": "biolink:Gene",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:SmallMolecule"

and
      "object": "biolink:SmallMolecule",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:Gene"

Thanks, @vdancik!


Addressed items listed in BuB Refractor Day #89

Description

Removed the entire Post Model

Removed the entire Home in controllers

Removed router.get("/profile", ensureAuth, postsController.getProfile); on line 12 in main.js

Removed app.set("view engine", "ejs"); on line 23 in server.js

Related to #89


[ADAP-1019] [Bug] Table already exists, you need to drop it first in incremental models

Is this a new bug in dbt-spark?

[X] I believe this is a new bug in dbt-spark
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Whenever running a incremental model after a first run, dbt spark using hudi as file_format states that the table already exists and should be dropped.
Expected Behavior
Any run after the should proceed as the first
Steps To Reproduce

Using dbt-spark=1.5.2
Start a Kyuubi server with Hudi enabled
Ran the sample model twice

{{
    config(
        materialized='incremental',
        incremental_strategy='merge',
        unique_key='prim_key',
        file_format='hudi',
        location_root=<s3-path>'
    )
}}

select 1 as prim_key

Relevant log output
org.apache.kyuubi.KyuubiSQLException: org.apache.kyuubi.KyuubiSQLException: Error operating ExecuteStatement: org.apache.spark.sql.AnalysisException: Table teste_dbt_dw_spark.kyuubi_incremental_hudi already exists. You need to drop it first.

Environment
- OS: Ubuntu 20.04
- Python: 3.8.10
- dbt-core: 1.5.8
- dbt-spark:1.5.2

Additional Context
I'm running Kyuubi as I wasn't able to use thrift as per the docs on EMR.
Also followed some examples here, but didn't manage to get it working

It seems to be a problem when the adapter can't read all tables in the catalog.
I had some Iceberg tables set in the same catalog and some errors were popping up regarding those.
After deleting the Iceberg tables, the adapter worked as expected


Inspect isOdd warnings

@adammertel basically all of the styled component props now should start with $, they call it transient as mentioned there. There just still some that I haven't refactored


How to write the inference txt about mtcnn in the OpenVINO

Actually, I have already got the IR models about MTCNN( including all the nets .xml and .bin). I was wondering if anyone could tell me how to make an inference in OpenVINO or how to write the scripts of MTCNN API. It is difficult for meQAQ.  Thank you so much.

Hello, have you solved it? When I run mtcnn, only jpg is generated, but no txt file is generated.


Mismatch between Distance Fade properties and their documentation

In the documentation, it states:
float distance_fade_max_distance

Distance at which the object fades fully and is no longer visible.
float distance_fade_min_distance

Distance at which the object starts to fade. If the object is less than this distance away it will appear normal.
In reality, it's the other way around. The object is invisible at min and fully visible at max.

In reality, it's the other way around. The object is invisible at min and fully visible at max.

This is only the case if the min distance is greater than the max distance (or the other way around, I don't remember).

By default the object will dispensary when less than min_distance away and will be fully opaque when greater than max_distance away. You can indeed reverse the logic by making min_distance greater than max_distance

A potential fix would be to change on line 904 and line 933 of /scene/resources/material.cpp, reversing the min and max parameters on the function call to smoothstep
i.e
smoothstep(distance_fade_min,distance_fade_max, ...) to smoothstep(distance_fade_max,distance_fade_min, ...)
Namely through blackbox testing have determined this will indeed make the program behave consistently with the code documentation.
HOWEVER, maybe we should just leave the code as is and just change the documentation that OP has shown us?  Because users may have already designed their games around the current behavior, furthermore:
On the docs for the user-side:
https://docs.godotengine.org/en/latest/tutorials/3d/spatial_material.html
under the section "Proximity and distance fade", the description of the distance fade, ("Distance fade is useful for light shafts or indicators that are only present after a given distance"), along with the gif animation provided seems to suggest that the current behavior (object invisible at min distance away and fully visible at max distance away) is the expected behavior.

@githubjsl118 yes. This issue is tagged as "documentation" because the documentation needs to be updated to match the code.

It's just a matter of describing the behavior if the values are reversed, right?

@jabcross and correcting the current descriptions.


Textures off by one pixel on the Y axis when rendering to texture with a Y position ending in exactly .5

I managed to track this down quite a lot, but I don't know how to make any further progress debugging this. This is the C++ code that reproduces the problem:
#include <stdio.h>
#include "SDL_gpu.h"

int main(int argc, char* argv[])
{
	GPU_SetDebugLevel(GPU_DEBUG_LEVEL_MAX);

	GPU_Target* screen = GPU_Init(256, 128, 0);

	GPU_SetDefaultAnchor(0.f, 0.f);

	GPU_Image* intermediate = GPU_CreateImage(256, 256, GPU_FORMAT_RGBA);
	GPU_Target* intermediateTarget = GPU_LoadTarget(intermediate);

	GPU_Image* texture = GPU_LoadImage("redsquare.png");
	if (!texture) {
		printf("Unable to load image\n");
		return 1;
	}

	GPU_SetImageFilter(texture, GPU_FILTER_NEAREST);
	GPU_SetSnapMode(texture, GPU_SNAP_NONE);

	while (true) {
		// Render three squares onto intermediateTarget
		GPU_ClearRGB(intermediateTarget, 0, 0, 0);
		GPU_Rect textureSrc = { 32, 32, 32, 32 };
		GPU_Blit(texture, &textureSrc, intermediateTarget, 50.f,  50.45f); // displays OK
		GPU_Blit(texture, &textureSrc, intermediateTarget, 100.f, 50.50f); // displays incorrectly
		GPU_Blit(texture, &textureSrc, intermediateTarget, 150.f, 50.55f); // displays OK
		GPU_Flip(intermediateTarget);

		// Render intermediateTarget onto screen
		GPU_ClearRGB(screen, 100, 100, 100);
		GPU_Rect screenSrc = { 0, 0, 256, 256 };
		GPU_Blit(intermediate, &screenSrc, screen, 0, 0);
		GPU_Flip(screen);

		SDL_Event event;
		while(SDL_PollEvent(&event)) {
			if(event.type == SDL_QUIT) {
				return 0;

			}
		}
	}
}

Where redsquare.png is the following image:

And it renders like this on my Mac with Intel UHD Graphics 630:

Note the second square has the topmost row of pixels cut (yellow) and it displays a bottom row of pixels (cyan) that is outside of the 32x32 region specified as src coordinates. This only happens when the blitting to a position ending in .50, so it looks like a rounding problem somewhere.
This DOES NOT happen in the X axis, doesn't happen if rendering directly to the screen (without an intermediate render-to-texture) and doesn't happen if the dest position is any number not ending in exactly .50...
Can anyone try the above code and let me know if this is a problem with my hardware, or an actual bug in SDL_gpu? I'm quite lost here.

Hey @albertvaka, it's happening for me too. I'm on a 2019 Macbook Pro with Catalina 10.15.3 and it has two GPUs, but it's set to always use the AMD Radeon Pro 5500M.

Hey @albertvaka, it's happening for me too. I'm on a 2019 Macbook Pro with Catalina 10.15.3 and it has two GPUs, but it's set to always use the AMD Radeon Pro 5500M.


implement Reference.create

Josh and I reviewed this in detail. For starters we'll have the create(...) function take an array of objects which should correspond to the columns not set by defaults.

It just occurred to me... @jrchudy Maybe we should extend that create signature to take the list of defaults as an array of column definitions. That way its up to the client to determine which columns they wish to use defaults for.

But aren't the defaults defined by which columns are not showing (i.e. the visible_columns annotation) and any columns that have a type.name property set to serial?

Or should we allow a column to be a default and shown in the UI for input. If they don't define a value for that input, use the default instead?
That's the only case I can think of where the user would want to alter the defaults that are being used.

Almost any field could support a "use default" decision by the user. Serials are just the most obvious case where they'd want to and where we might not even want to let them override the default behavior.
Whether the UX is to interpret blanks as "use default" or have something else like a checkbox, this decision is not something you can solely predict from the model content.  Therefore, the ermrestjs API needs a way to configure different possible requests.

PR #212 merged. Closing this issue.


Confusing instructions in the Google Chrome section of Collect a network trace in the browser (Browser-based apps only)

The first bullet "Open the Chrome DevTools" list three bullets. After reviewing the list I think these might be three different ways to achieve "Open the Chrome DevTools" but it is not clear. Please clarify.
Also the wording is odd and confusing. The first bullet says "Select F12" as well as the second says "Select Ctrl+Shift+I (Windows/Linux) or Command+Option+I (macOS)" but both means I should "Press" those keys. Change the wording to "Press" rather than "Select". While the third bullet says "Select Customize and control Google Chrome and then More Tools > Developer Tools" which I believe are menu selections but I cannot find them in my Google Chrome. The menu way for me is to Select View > Developer > Developer Tools.

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

ID: 370e8541-684e-6a57-4805-085c20f89aae
Version Independent ID: 5ffc18f1-bafb-1249-aa8a-3bb6b685ee6c
Content: How to collect a network trace
Content Source: articles/azure-web-pubsub/howto-troubleshoot-network-trace.md
Service: azure-web-pubsub
GitHub Login: @yjin81
Microsoft Alias: yajin1

@karl-petter-sj
Thanks for your feedback! We will investigate and update as appropriate.


Implemented support for loading models with Concatenate layers

This is my first serious pullrequest so please be gentle :)
The tf.keras.models.load_model() is now able to load models with this layer type.
There was a lot missing but I have a Unet model running in the field that now fully works.
I had some weird troubles with python tensorflow (im using 2.11.1) that savemodel would put the inbound nodes for concatenate layers in an extra nested array. My call in python looks like:
comb = layers.Concatenate(axis=3, name=name+"_concat1")([concat_layer,conv])

This would create the following output in the manifest (notice the extra [ and ]:
{
  "class_name": "Concatenate",
  "config": {
    "name": "EXP_1_concat1",
    "trainable": true,
    "dtype": "float32",
    "axis": 3
  },
  "name": "EXP_1_concat1",
  "inbound_nodes": [
    [
  	[
  	  "CNT_4_conv_2",
  	  0,
  	  0,
  	  {}
  	],
  	[
  	  "EXP_1_conv_0",
  	  0,
  	  0,
  	  {}
  	]
    ]
  ]
},

so thats why i added an extra check in generic_utils.cs for this extra nest. I would love some feedback on the implementation of this check and if it's the correct way to do.
And lastly, since concatenate layers have more than 1 input node we need a List when processing nodes in Functional.FromConfig.cs.
I also added a few tests to make sure that saving and loading a model with concatenate layers is the same (this was not the case before my changes).

Thank you very much for your contribution!

Looks good to me! @Oceania2018

Do i have to do anything regarding the semantic check that failed? But to fix that I need to rename the commit title?
The reason for semantic checking error is the incorrect format of your commit title. The ci in TensorFlow.NET obey the angular style, You can change it to fix: Implemented support for loading models with Concatenate layers. But it's just a trivial question, you can discard it.


undefined reference to AMQP::Channel::Channel(AMQP::Connection*)

Hello.
When i try to build example libboostasio.cpp (for 4.0.0 )
i got  a error:
libboostasio.o: In function `AMQP::TcpChannel::TcpChannel(AMQP::TcpConnection*)':
AMQP-CPP/examples/../include/amqpcpp/linux_tcp/tcpchannel.h:38: undefined reference to `AMQP::Channel::Channel(AMQP::Connection*)'
collect2: error: ld returned 1 exit status

With 3.2.0 the build was fine.
I compare the include/amqpcpp/channel.h file in both versions, and I see that the implementation of the Channel(Connection *connection) method is missing in the new version.
and I do not understand, this is a mistake or a planned changes?

Sorry, I tried to use the last snapshot.
With release 4.0.0, everything is fine.

Hello,
I faced with the same problem.

Sorry, I forgot to add a file in my latest commit.

Sorry, I forgot to add a file in my latest commit.

Actually 4.0.1 is still broken because there is no channel.cpp in src/CMakeLists.txt.
#269 fixes this but #269 is not in release.

It seems you are affected by #127.
You can use master branch instead of release. Also you can take 4.0.1 and apply #269.

@aarchetype Thanks for your answer. I will try. Thank You


Close #13

I also noticed that the straight quotes were not converted to "smart quotes".

Thanks for this! We'll have a look soon.

Again, apologies for the delay - I see no breaks in the layout, looks great! The only thing still needed is removal of the reset file itself, then we can merge.

@erquhart I've removed the reset files itself. Good to merge?


Instagram (infact any) returning just a boiler template with no content (docker)

I use a docker image on amd64.  Till yesterday i was working fine pulling from instagram and facebook.
Tried pulling latest image and it complained of no whitelist.  So I created one (with volumes command in docker).
Now whenerver I try looking at an entry there's some boiler plate xml that comes out, but no content.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

	<title type="text"></title>
	<id>http://internal.andc.nz/?action=display&bridge=Instagram&u=jeremyclarkson1&media_type=all&format=Atom</id>
	<icon>https://github.com/favicon.ico</icon>
	<logo>https://github.com/favicon.ico</logo>
	<updated>2019-03-24T00:02:58+00:00</updated>
	<author>
		<name>RSS-Bridge</name>
	</author>
	<link rel="alternate" type="text/html" href="https://github.com/RSS-Bridge/rss-bridge/" />
	<link rel="self" type="application/atom+xml" href="http://internal.andc.nz/?action=display&bridge=Instagram&u=jeremyclarkson1&media_type=all&format=Atom" />

</feed>

Though  I can see this user has just posted something, but no image is shown.

 Do you have the right permissions ?
But this will be set in the docker image.

Found it was my issue, the host was disk full.  Exposed by seeing the apache2 log.


feat(cache): adding cache:rotate function and mlcache refactorings

Summary

removes fallbacks needed for older OpenResty support
uses SHM native TTLs only instead, and stores just the value in SHM instead of storing :<created_at>::.
implements :rotate in mlcache
implements :rotate in kong cache
changes kong.vault to use :rotate function instead of calling :peek etc. for better concurrency control

KAG-1698

Could we still keep kong.cache.marshall as an interlayer? Though it is just a alias of string.buffer.encode.

Could we still keep kong.cache.marshall as an interlayer? Though it is just a alias of string.buffer.encode.

Why do you want to keep it?

Looks good - Following up to our discussion yesterday, I think it would be better to replace the use of rotate by renew.

@hanshuebner, I will make a change and ping you back.


Converge on using one type of table output for minder, i.e. profile list is different from the rest

AI: Explore if lipgloss has a autoscaling enabled for presenting tables so we converge on it


ci: fix CLI release process

This pull request updates the CI configuration to use the new dist tool instead of cargo-dist. The changes include modifications to the .github/workflows/release.yml file and the addition of a new dist-workspace.toml configuration file.
CI Configuration Updates:

Updated .github/workflows/release.yml to replace all instances of cargo-dist with dist, including commands, installation steps, and caching paths. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Configuration File Updates:

Removed the cargo-dist configuration from Cargo.toml.
Added a new dist-workspace.toml file to configure the dist tool, specifying version, CI backends, installers, target platforms, and other settings.

Builds are working as expected, see: https://github.com/tangle-network/gadget/actions/runs/11723592744


Fix #32 by searching for all labels

This pull request includes a change to the RCChartLabelHelper function in the LabelHelper.kt file to improve the handling of labels and colors for bar charts. The most important changes include simplifying the collection of labels and ensuring that colors are correctly mapped to labels.

@tamtom Hi dear, thank you for this pr and fixing the issue. 🙌


pull request for e2e test at 01/22/2017 06:26:16

:white_check_mark: Validation status: passed
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.


gnome.eog: 42.2 -> 42.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnome.eog is: "GNOME image viewer"
meta.homepage for gnome.eog is: "https://wiki.gnome.org/Apps/EyeOfGnome"
meta.changelog for gnome.eog is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 42.3 with grep in /nix/store/npd5iwjm6mbw00crb8yygdizz1c9hb7p-eog-42.3
found 42.3 in filename of file in /nix/store/npd5iwjm6mbw00crb8yygdizz1c9hb7p-eog-42.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
gnome.eog

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/npd5iwjm6mbw00crb8yygdizz1c9hb7p-eog-42.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnome.eog https://github.com/r-ryantm/nixpkgs/archive/60e834b276090dba97b09a9b70e17b89cd14e6f4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/npd5iwjm6mbw00crb8yygdizz1c9hb7p-eog-42.3
ls -la /nix/store/npd5iwjm6mbw00crb8yygdizz1c9hb7p-eog-42.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gnome.eog

Maintainer pings
cc @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Tests failed on darwin, I don't know if that's new or pre-existing, or desire to look into fixing it.

https://gitlab.gnome.org/GNOME/eog/-/blob/047bce9983fc0d5f0dbfdc6ab7f4fab86d6f0221/src/eog-error-message-area.c#L37 is a header not supported on Darwin, likely not a new failure.


built in help appears to be missing examples

I've looked a the built in help for a few commands and they appear to be missing examples. I see there are MD files available which are nice, but will these ever be implemented in the built-in help?

Right now the only one's I've seen are the invoke-* commands. I just went back and looked again to be sure and they are all missing examples. Syntax shows up though. I applaud you trying to use the MAML and XML help. I took one look at that when building my last module and quickly threw in the towel.

Sadly with binary modules it is the only way to do help. will take a look when I start refactoring the module later this year.

On Jul 27, 2018, at 10:30 PM, Bill Kindle<EMAIL_ADDRESS>wrote:
Right now the only one's I've seen are the invoke-* commands. I just went back and looked again to be sure and they are all missing examples. Syntax shows up though. I applaud you trying to use the MAML and XML help. I took one look at that when building my last module and quickly threw in the towel.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/221#issuecomment-408576706, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0Hk0dfGdrEEt9cPYmv8fT0f-2Opyjks5uK8zigaJpZM4Vk3MN.

No worries, the MD files are helping for now. I'm planning on putting this to use soon for a number of environments where I have a few Linux nodes that I need to manage with PowerShell. Thanks for the quick reply!


[Bug]: install.sh is not present at ApplioV3.2.6.zip from Hugging Face or Github releases (for Apple Silicon)

Project Version
3.2.6
Platform and OS Version
Sonoma 14.6.1
Affected Devices
Mac Studio M1 (32 gb)
Existing Issues
No response
What happened?
Followed the steps on the site, but I can't find install.sh in none of the two current downloads for ApplioV3.2.6  (Hugging Face or Github releases). the "Prepare Applio for Linux/Mac (Only required the first time) Shows 3 Linux distros commands, none for Mac. When trying to run the run-applio.sh it complains about the missing gradio module. I'm kind of confuse at this point, I have other TTS and rvc runing on this mac, but i can not see the requirements for Applio.  Thank you so much!  ```
Traceback (most recent call last):
ApplioV3.2.6 % chmod +x run-applio.sh
./run-applio.sh
Traceback (most recent call last):
File "/Volumes/8Tera/Applio/ApplioV3.2.6/app.py", line 1, in
import gradio as gr
ModuleNotFoundError: No module named 'gradio'
Getting Started
1. Installation

Run the installation script based on your operating system:

    Windows: Double-click run-install.bat.
    Linux/macOS: Execute run-install.sh.

### Steps to reproduce

1.  installed Python3.10.12 `pyenv local 3.10.12` (local folder)
2. extracted the ApplioV3.2.6.zip
3. created and activated .venv
4. chmod +x run-applio.sh
./run-applio.sh
...
`chmod: run-install.sh: No such file or directory`

### Expected behavior

run app.py

### Attachments

_No response_

### Screenshots or Videos

_No response_

### Additional Information

_No response_

the hugging face version is a precompiled version which already has all the dependencies installed so that's why the run-install.sh is not there as it is not necessary.

Also, if you have already downloaded the precompiled .zip, you have to unzip it first, and then execute the indicated commands.

https://applio-docs.pages.dev/getting-started/installation

Thank you so much!, I ended up cloning the repo to install, because the precompiled version keep giving me trouble with numpy==1.23.5 conflicting with Python 3.10.12.  Now its running! :) Still trying to fix the TTS tab, it wont display or play the audio after converting, (but the audio file it's created inside of the audio folder). If I cant figure it out, Ill reported later.

Open another thing about bug and close this one


feat(youtube-player): initialize component and infrastructure

Let me know when the PR is ready for another round; GitHub doesn't have a great mechanism for saying "ready to go"

This PR is ready for review.


Django 5 support

Hi, I've tried installing on Django 5, which Django VectorDB doesn't yet support to see if it'd work, and as expected, ran into an error. Just curious to know roughly when or if Django 5 support is expected.  Also, curious to know where vectordb.0001_initial is or how I could reset this since I'm still getting the error after rolling back...
Environment: Python 3.11, Windows 11, Django 5
Error running migrations:
Applying vectordb.0001_initial...Traceback (most recent call last):
File "C:\Users...\anaconda3\envs\studypt\Lib\site-packages\django\db\backends\utils.py", line 103, in _execute
return self.cursor.execute(sql)
^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InvalidForeignKey: there is no unique constraint matching given keys for referenced table "django_content_type"

Thanks for reporting the issue. Will try to get it running within this week or latest next week


Failover mode consumer has inconsistent behaviour

When using failover subscription mode with multiple Pulsar consumers, with partitioned topics, it is possible to have multiple consumers reading from the same partition.
Steps to reproduce the behavior:
Set up 3 consumers, pulling from the same topic and partition with the same subscription name, all in Failover mode, all with different consumer names, A, B, C.
E.g. (I added a consumer-name parameter to the client tool to demo this)
pulsar-client consume persistent://public/default/topicXYZ-partition-0 --subscription-name sub1 --num-messages 0 --subscription-type Failover --rate 1 --consumer-name [A|B|C]
Start consumer A first, then C, then B... let A run for a while, B and C will be suspended, then kill A, B takes over, C stays suspended...kill B, C takes over.... all good.
Start consumer B first, then A... B starts consuming, but A does also!!
This defeats the point of Failover mode, which should ensure ordering of a partition is retained. It appears to have reverted back to Shared mode.
Expected behavior
I would expect to start consumer B first, then A, then C... B starts consuming, A and C will be suspended, then kill B, A takes over, C stays suspended.... kill A, C takes over.
This would ensure only one consumer was ever reading from that partition.
Additional context
We have an extremely high throughput partitioned topic. It is being read by consumers split across 3 machines. We need to retain ordering of the topic within a partition and have failover. This is not straightforward to configure (compared to Kafka).
Thanks

@narkedboy with a failover subscription, having a unique active consumer on a given partition, is guaranteed at the broker level and I am not aware of any issues in that mechanism.
What you also might be seeing is that some the failover is being triggered when you start the consumer as the assignments are re-balanced.
When the rebalance/failover occurs, the broker will switch the active consumer and will re-send all the unacknowledged messages to the new active consumer.

@merlimat have you tried to reproduce this issue?
It's pretty easy to do so. With two consumers, start one with consumer name B and 10 seconds later one with consumer name A. Both attached to the same partition.
Both consumers will read from the partition simultaneously. B is not suspended when A starts.

@merlimat Yes that seems to be the case, if you let both consumers run for long enough, eventually the one with the lexically higher consumer name does stop. So it must just be the buffering that is causing both consumers to run simultaneously.

Hi @merlimat. I think this behavior can be problematic. Please correct me if I don't understand it correctly. Assuming an application reads messages from Pulsar, processes and produces results back to another Pulsar topic.
If there are still some unacknowledged messages buffering on the disconnected consumer and these messages are re-sent to the failover consumer, these messages can be concurrently processed in two different processes. This can lead to duplication or out-of-order results on the output topic.
Does Pulsar provide any fence-off mechanism to prevent application with disconnected consumer from continuing to produce results to Pulsar? For example, in case of Apache Kafka, they use a new epoch number for the producer on the failover instance to detect and drop any message produced by the instance with disconnected consumer.


Absence of a couple of env variables in the sample .env file provided in README.

Prerequisites
*Put an X between the brackets on this line if you have done all of the following:
[x] Checked that your issue isn't already filed: https://github.com/GetStream/Winds/issues
Description
[Description of the issue]
Steps to Reproduce
Expected behavior: [What you expect to happen]
The absent env variables have to be included in the sample .env provided in README.
Actual behavior: [What actually happens]
Currently, the .env file that is provided in README has a couple of env vars absent which are required when setting up the project locally. I experienced it when I tried to set up the project.
Those are:
REACT_APP_STREAM_API_KEY
REACT_APP_STREAM_ANALYTICS

@lunaticmonk Addressed. Thank you!


Property 'includes' does not exist on type string[]

Hi,
I am trying to use
Array.prototype.includes includes function explained on MDN network but I am getting the following error:
Property 'includes' does not exist on type 'string[]'.
includes is part of EcmaScript 6.
I am using Typescript version 2.0.3

use --lib es2015 (since it is ES2015-specific). if you also want the DOM definitions use --lib dom,es2015

I don't see how this is es2015 specific. Looking at the docs it's included in the es2016 and es2017 specs so adding es2015 doesn't work, at least for me.
So adding any of es2016, es2016.array.include or es2017 works.

thanks @krokofant for the correction. You are right, it is -lib es2016 or --lib dom es2016.

updated comment above

What is the tsconfig.json option for this?

"Lib"

Okay, to overcome the issue, I needed to set  tsconfig.json` compilerOptions.lib from "es6" to "es7" as follows:
"lib": [
  "dom",
  "es7"
],

I'm not sure if this causes other problems, though. "includes" is implemented for 'string' (not Array) in ES6, and for arrays only in ES7.

change 'target' worked for me:
{   "compilerOptions": {     "target": "es2016",   }, }


middleware.http.opa Error at dapr run: invalid memory address or nil pointer dereference

In what area(s)?

/area runtime

What version of Dapr?

1.4.0

Expected Behavior
Normal start
Actual Behavior
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x15a444d]
goroutine 1 [running]:
github.com/dapr/dapr/pkg/middleware/http.Pipeline.Apply({{0xc000cafa30, 0x17, 0x368d6ff}}, 0x4)
/home/runner/work/dapr/dapr/pkg/middleware/http/http_pipeline.go:27 +0x2d
github.com/dapr/dapr/pkg/http.(*server).useComponents(...)
/home/runner/work/dapr/dapr/pkg/http/server.go:183
github.com/dapr/dapr/pkg/http.(*server).StartNonBlocking(0xc000cf8360)
/home/runner/work/dapr/dapr/pkg/http/server.go:68 +0x65
github.com/dapr/dapr/pkg/runtime.(*DaprRuntime).startHTTPServer(0xc0007d7400, 0xdac, 0x0, 0x1e61, {0x3c5abd8, 0x1}, {{0xc000cafa30, 0x0, 0x7}})
/home/runner/work/dapr/dapr/pkg/runtime/runtime.go:904 +0x61b
github.com/dapr/dapr/pkg/runtime.(*DaprRuntime).initRuntime(0xc0007d7400, 0xc000355130)
/home/runner/work/dapr/dapr/pkg/runtime/runtime.go:358 +0x815
github.com/dapr/dapr/pkg/runtime.(*DaprRuntime).Run(0xc0007d7400, {0xc000bbf5a8, 0x7, 0x2})
/home/runner/work/dapr/dapr/pkg/runtime/runtime.go:230 +0x208
main.main()
/home/runner/work/dapr/dapr/cmd/daprd/main.go:155 +0x14df
❌  The daprd process exited with error code: exit status 2
⚠  Could not update sidecar metadata for cliPID: PUT http://<IP_ADDRESS>:3500/v1.0/metadata/cliPID giving up after 5 attempts
✅  You're up and running! Dapr logs will appear here.
Steps to Reproduce the Problem

component

configuration

run
dapr run --app-id dapr-learn --components-path ./components --config ./dapr-config.yaml --app-port 8060 --dapr-http-port 3500 --dapr-grpc-port 50001

P.S.If I delete the definition of my-policy in the dapr-config.yaml file and only use uppercase, there is no problem

Thanks for reporting it. Duplicated with #3216, has been fixed but hasn't been fully merged. And you may see it soon.


navigation_with_keys = False

and update docs
Related to #1100.
Closes #1492.

There was talk on #1100 of adding a deprecation notice. Where would that go?

For changing the default value of a boolean, I typically use this pattern:

change the default to None
somewhere in the code, detect None, change None to the new default boolean, and warn that the default has changed.
after the release-after-next, change the default from None to the new default boolean, and remove the logic that triggers the warning.

In our case since we're changing a theme default (not a function or method param default) we'd probably need to put the "None->False & warning" logic in our __init__.py (in update_config function)

@drammock, is my previous commit what you had in mind? I inspected the value of theme_options within update_config when running the build command, sphinx-build docs docs/_build/html, and I noticed that the only keys in the dictionary were the same ones defined in conf.py under "html_theme_options", with none of the keys or values in theme.conf. Is there another point in the init and build process that I need to hook into or maybe a different object?

the failing CI is due to unrelated issues, I am confident enough that this is a working solution, are you ok if I merge it?

the failing CI is due to unrelated issues, I am confident enough that this is a working solution

in fact this broke all our tests. Running tests locally, the warning about not setting navigation_with_keys occurs on every test now.  I will try to roll a fix for that into #1512

Ok we can't continue this way tomorrow I'll try to spend some time to solve the existing crash of the CI and site build. I will may be forced to unplug some stuff on the way but tests are currently useless. I'll do it in multiple PR to keep track of the different steps starting by using nbsphinx to at list get the RDT build back

Ah sorry, I should have caught that but I stopped paying attention to CI because all of my PRs have been failing CI due to the Sphinx 5 issue that #1482 solves


Add a base template and collection browsing

first cut at browsing collections- we can enable new collection creation, image upload here.

Addresses #44


Using the generic type 'JsonInheritanceConverter' requires 1 type argument

I'm using the JsonInheritanceConverter attribute on classes as described in the wiki here.
After upgrading from NJsonSchema 10.9.0 to 11.0.0 this syntax no longer works:
[JsonConverter(typeof(JsonInheritanceConverter), "discriminator")]
public class MyClass {}

And I get this error at build time: Error	CS0305	Using the generic type 'JsonInheritanceConverter<TBase>' requires 1 type arguments
Adding <> to the type like this appears to resolve my build issues:
[JsonConverter(typeof(JsonInheritanceConverter<>), "discriminator")]
public class MyClass {}

Is this the correct way to use JsonInheritanceConverter with the JsonConvert attribute now?

The class has been moved to
https://www.nuget.org/packages/NJsonSchema.NewtonsoftJson
(You’re referencing the system.text.json one [default])


⚠ Bofrost.fr has degraded performance

In 7f55eff, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1458 ms

Resolved: Bofrost.fr performance has improved in 90d7785 after 18 minutes.


Rubyfy the pagination methods

Overview
The OmiseGO::Pagination currently includes two methods which do not feel very ruby-esc, is_first/last_page
The ruby style guide mentions both "offences", linked below.
https://github.com/bbatsov/ruby-style-guide\#bool-methods-qmark
https://github.com/bbatsov/ruby-style-guide\#bool-methods-prefix
Changes

is_first_page => first_page?
is_last_page => last_page?

Implementation Details
Override attr_reader and make is_first/last_page methods private
Define first/last_page? methods
Usage
response = OmiseGO::Transaction.all_for_user(provider_user_id: some_user.uuid)
response.pagination.first_page?
response.pagination.last_page?

Impact
Not backwards compatible

Another solution that'd be more future-proof would be to do some method_missing magic and try to check all the %{something}? if there's a is_%{something} attribute declared that returns either true or false. Could be slightly overkill at the moment and could totally be a typical YAGNI case. @T-Dnzt thoughts?

@robinclart I don't think we need that for now. @JoeWoodward's implementation is good enough. If we start seeing the need for is_ -> _? change in more than one place, we can start adding some of that magic.


Bad session data preventing incremental builds

Describe the bug
Segment has been sending us a bad piece of data (session_start_at date is in the year 2026). This prevent any new data from being added during our incremental builds
Steps to reproduce
N/A
Expected results
I think this module should have a filter for only timestamps that are in the current_date (or even current_date+1) so that if a bad piece of data arises, it doesn't block the incremental build
Which database are you using dbt with?

[ ] postgres
[X] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

Additional context
This is very high priority for my organization and we have no other recourse
Are you interested in contributing the fix?
Sure, if that would help move things along. Thank you!

Thanks for opening this - https://github.com/fleetio/dbt-segment has adopted this package, so I'd recommend transferring this issue there if it is still a problem for you.


Use IO.warn over no-longer-existing :elixir_errors.warn

Closes #137
Replace usage of :elixir_errors.warn/3 with IO.warn/2, since the former no longer exists in Elixir 1.9.0.
Not sure how to test this other than running a server that would give this warning, so I did:

The failed checks seems to be unrelated dialyzer warnings.

Thanks, this looks good. The dialyzer issue is discussed in #136, although I haven't had time to look at it yet. busy weekends.
As all the tests pass I can happily merge this. normally I would ask for a changelog entry but I think for this change even that is not necessary

@CrowdHailer Anything halting this? I will be happy to help.

No this looks good, I'll hit merge today.
Do you think this should be a patch release?

Or just wait until the next release. Though there currently isn't really any work in progress  to bundle it with

@CrowdHailer Yes, I think a patch release will be good, since this breaks the CI workflow when using dialyzer. (I have a dialyzer ignore specific for this to get around it).

Would you be able to add a CHANGELOG entry, for a patch release. Cheers.

@CrowdHailer Sure, I added a changelog entry ;)


Fix mosaicjson endpoints on titiler

Out titiler deployment has new API paths for mosaics requiring this change.

yes thanks @jjfrench closing in favor of #52


bug: the sidebar re renders when switching between videos

https://github.com/code100x/cms/assets/98402835/7bace462-37f1-4daf-beb2-d439ad8501ce

🙋 @hkirat

@aakash2330 if u want u can work on the issue, its simple just move the sidebar component with the get api call to the layout.js file into courseId folder

I need a little guidance, I added Sidebar in layout.tsx under [...courseId] > layout.tsx,
I am getting this error

This error coming under Sidebar.tsx
⨯ src\components\Sidebar.tsx (67:20) @ map
⨯ TypeError: Cannot read properties of undefined (reading 'map')
at renderContent (./src/components/Sidebar.tsx:64:25)
at Sidebar (./src/components/Sidebar.tsx:204:27)
65 |
66 |   const renderContent = (contents: any) => {

67 |     return contents.map((content: any) => {
|                    ^
68 |       if (content.children && content.children.length > 0) {
69 |         // This is a folder with children
70 |         return (
⨯ src\components\Sidebar.tsx (67:20) @ map
⨯ TypeError: Cannot read properties of undefined (reading 'map')
at renderContent (./src/components/Sidebar.tsx:64:25)
at Sidebar (./src/components/Sidebar.tsx:204:27)
65 |
66 |   const renderContent = (contents: any) => {
67 |     return contents.map((content: any) => {
|                    ^
68 |       if (content.children && content.children.length > 0) {
69 |         // This is a folder with children
70 |         return (

I can't find help on this will need how I can tackle

@aakash-a-dev the session is still in loading phase while the sidebar is being rendered, the response from the server will give unauthorized access, so the contents would be undefined, i guess

I figured out that layout.tsx doesn't allow data fetching directly so going through documentation probable it can help me out

hey just checked the code out, its not that simple, i might also be working on it

I Think I'll try it out

https://github.com/code100x/cms/pull/349#issue-2233710666

@aakash2330 this PR does not fix the issue, it will still rerender, the issue i was talking about, is that when a user switches between different videos the sidebar should be fixed and the loader should only come at the place where the video is

hey just checked the code out, its not that simple as thought, i might also be working on it, feel free to give a shot

I am quite close to the solution just have to call the APIs in the layout I am stuck there, is it possible to work together on this?

@aakash-a-dev I'm done just creating the PR, you can take a look at it.

@aakash-a-dev I'm done just creating the PR, you can take a look at it.

Okayyy


[Bug] flaky incorrect results of hashjoin_spill in parallel mode on x86_64

Cloudberry Database version
main branch 951be2d3e3f91a9fcf1f0c1ebab441ecdd56a569
What happened
diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /code/gpdb_src/src/test/regress/expected/workfile/hashjoin_spill.out /code/gpdb_src/src/test/regress/results/workfile/hashjoin_spill.out
--- /code/gpdb_src/src/test/regress/expected/workfile/hashjoin_spill.out	2023-10-23 15:54:14.579403168 +0800
+++ /code/gpdb_src/src/test/regress/results/workfile/hashjoin_spill.out	2023-10-23 15:54:14.581402176 +0800
@@ -68,7 +67,7 @@
 select avg(i3) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2) foo;
          avg
 ----------------------
-<PHONE_NUMBER>000000000
+<PHONE_NUMBER>378211935
 (1 row)

 select * from hashjoin_spill.is_workfile_created('explain (analyze, verbose) SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2');

or previous :
diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /code/gpdb_src/src/test/regress/expected/workfile/hashjoin_spill.out /code/gpdb_src/src/test/regress/results/workfile/hashjoin_spill.out
--- /code/gpdb_src/src/test/regress/expected/workfile/hashjoin_spill.out	2023-08-24 08:08:57.766770920 +0000
+++ /code/gpdb_src/src/test/regress/results/workfile/hashjoin_spill.out	2023-08-24 08:08:57.768770926 +0000
@@ -43,7 +50,7 @@
 select avg(i3) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2) foo;
          avg
 ----------------------
-<PHONE_NUMBER>000000000
+<PHONE_NUMBER>544051515
 (1 row)

What you think should happen instead
No response
How to reproduce
We got this kind of results diff occasionally on several CI, ex: https://github.com/cloudberrydb/cloudberrydb/actions/runs/5960899566/job/16169472506?pr=142
and internal CI: https://code.hashdata.xyz/cloudberry/cbdb/-/jobs/366882
Operating System
x86_64
Anything else
No response
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

I didn't reproduce it on my x86_64 machine, a 1000 times test show no failed cases:
for in in {1..1000};
do PGOPTIONS='-c optimizer=off -c enable_parallel=true -c min_parallel_table_scan_size=0 -c min_parallel_index_scan_size=0 -c force_parallel_mode=1 -c gp_appendonly_insert_files=0'
./pg_regress  --inputdir=. --bindir='/home/gpadmin/install/gp9/bin' --load-extension=gp_inject_fault --dlpath=. --max-connections=20 --max-concurrent-tests=24 --init-file=./init_file
workfile/hashjoin_spill | grep -i 'workfile/hashjoin_spill' | tee -a debug.log;
done

cat debug.log | grep -i ok | wc -l
1000

We got the wrong results again: https://github.com/cloudberrydb/cloudberrydb/actions/runs/6661394625/job/18104487842?pr=265
Pr #260 doesn't fix this.

first attempts of reproducing succeed with the following diffs:
--- /home/gpadmin/cbdb/src/test/regress/expected/workfile/hashjoin_spill.out    2023-10-27 11:44:25.385210186 +0800
+++ /home/gpadmin/cbdb/src/test/regress/results/workfile/hashjoin_spill.out 2023-10-27 11:44:25.385210186 +0800
@@ -43,7 +49,7 @@
select avg(i3::numeric) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2) foo;
          avg
 ----------------------
-<PHONE_NUMBER>000000000
+<PHONE_NUMBER>559297647
(1 row)

select * from hashjoin_spill.is_workfile_created('explain (analyze, verbose) SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2
ON t1.i1=t2.i2');

499.4107171506497674 again

@Ray-Eldath and I debug this for a while, we have reproduced this about 2~3% of a 200-times loop tests.
It's related with SET statement_mem=1024; and parallel hash join
and it has less data:
 count |   sum    |         avg
-------+----------+----------------------
 37409 | 18716789 |<PHONE_NUMBER>359753001
(1 row)
 count |   sum    |         avg
-------+----------+----------------------
 37398 | 18676962 |<PHONE_NUMBER>506497674
(1 row)
 count |   sum    |         avg
-------+----------+----------------------
 37398 | 18676962 |<PHONE_NUMBER>506497674
(1 row)

the right results:
 count |   sum    |         avg
-------+----------+----------------------
 45000 | 22477500 |<PHONE_NUMBER>000000000
(1 row)

failed times of 200 loops
set statement_mem = 1024
parallel-aware

0
false
true

0
true
false

0
false
false

4
true
true

gpadmin=# select count(i3), avg(i3::numeric) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_
hj_spill AS t2 ON t1.i1=t2.i2) foo;
INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=661224)
INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=661222)
INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=661221)
INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=661225)
INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=661223)
INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=661220)
 count |         avg
-------+----------------------
 37409 |<PHONE_NUMBER>359753001
(1 row)

gpadmin=# explain(costs off) select count(i3), avg(i3::numeric) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2) foo;
                               QUERY PLAN
------------------------------------------------------------------------
 Finalize Aggregate
   ->  Gather Motion 6:1  (slice1; segments: 6)
         ->  Partial Aggregate
               ->  Parallel Hash Left Join
                     Hash Cond: (t2.i2 = t1.i1)
                     ->  Redistribute Motion 6:6  (slice2; segments: 6)
                           Hash Key: t2.i2
                           Hash Module: 3
                           ->  Parallel Seq Scan on test_hj_spill t2
                     ->  Parallel Hash
                           ->  Parallel Seq Scan on test_hj_spill t1
 Optimizer: Postgres query optimizer
(12 rows)

And I modify the SQL to inner join, the issue can't be reproduced anymore with a 200 times loop.

Negative.
Inner join also get wrong results for the plan:
gpadmin=# explain select count(i3), avg(i3::numeric) from (SELECT t1.* FROM test_hj_spill AS t1  JOIN test_hj_spill AS t2 ON t1.i2=t2.i1) foo;
                                                  QUERY PLAN

--------------------------------------------------------------------------------------------------------
-------
 Finalize Aggregate  (cost=684.26..684.27 rows=1 width=40)
   ->  Gather Motion 6:1  (slice1; segments: 6)  (cost=684.13..684.21 rows=6 width=40)
         ->  Partial Aggregate  (cost=684.13..684.14 rows=1 width=40)
               ->  Parallel Hash Join  (cost=196.75..627.88 rows=7500 width=4)
                     Hash Cond: (t1.i2 = t2.i1)
                     ->  Redistribute Motion 6:6  (slice2; segments: 6)  (cost=0.00..253.00 rows=7500 wi
dth=8)
                           Hash Key: t1.i2
                           Hash Module: 3
                           ->  Parallel Seq Scan on test_hj_spill t1  (cost=0.00..103.00 rows=7500 width
=8)
                     ->  Parallel Hash  (cost=103.00..103.00 rows=7500 width=4)
                           ->  Parallel Seq Scan on test_hj_spill t2  (cost=0.00..103.00 rows=7500 width
=4)
 Optimizer: Postgres query optimizer
(12 rows)

I also encountered the same problem.
https://github.com/cloudberrydb/cloudberrydb/actions/runs/6701267279/job/18208675293
https://github.com/cloudberrydb/cloudberrydb/actions/runs/6689290610/job/18172842563

Update:
I have identified the issue is at the outer side of parallel-aware join, some batches are lost when there is incorrect result.
ex: a process on seg0  lost some data.
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890950)
psql:p.sql:3: INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890949)
psql:p.sql:3: INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890948)
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890951)
psql:p.sql:3: INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890952)
psql:p.sql:3: INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890953)
psql:p.sql:3: INFO:  parallel outer batch has total 7592 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890948)
psql:p.sql:3: INFO:  parallel outer batch has total 7420 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890949)
psql:p.sql:3: INFO:  parallel outer batch has total 7603 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890952)
psql:p.sql:3: INFO:  parallel outer batch has total 7329 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890953)
psql:p.sql:3: INFO:  parallel outer batch has total 7470 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890950)
psql:p.sql:3: INFO:  parallel outer batch has total 7592 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890951)
 count |   sum    |         avg
-------+----------+----------------------
 45000 | 22477500 |<PHONE_NUMBER>000000000
(1 row)

6 process' logs of  parallel outer batch.
psql:p.sql:3: INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890919)
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890921)
psql:p.sql:3: INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890922)
psql:p.sql:3: INFO:  shared hash table has 14930 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890923)
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890920)
psql:p.sql:3: INFO:  parallel outer batch has total 7420 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890919)
psql:p.sql:3: INFO:  parallel outer batch has total 7592 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890921)
psql:p.sql:3: INFO:  parallel outer batch has total 7329 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890923)
psql:p.sql:3: INFO:  parallel outer batch has total 7603 rows.  (seg2 slice1 <IP_ADDRESS>:9004 pid=890922)
psql:p.sql:3: INFO:  parallel outer batch has total 7470 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=890920)
psql:p.sql:3: INFO:  shared hash table has 15010 rows.  (seg0 slice1 <IP_ADDRESS>:9002 pid=890918)
 count |   sum    |         avg
-------+----------+----------------------
 37409 | 18716789 |<PHONE_NUMBER>359753001
(1 row)

5 process' logs of  parallel outer batch, lost one on seg0.

Adding some logs show that: when wrong results happened,  one worker of seg1 didn't participate in PHJ_BUILD_HASHING_OUTER.
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938113)
psql:p.sql:3: INFO:  parallel build_barrier total participants: 1.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938113)                               psql:p.sql:3: INFO:  parallel build_barrier participants begin, nbatch: 2  (seg1 slice1 <IP_ADDRESS>:9003 pid=938113)
psql:p.sql:3: INFO:  parallel outer batch begin fetch rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938113)
psql:p.sql:3: INFO:  parallel outer batch has total 7592 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938113)
psql:p.sql:3: INFO:  shared hash table has 15060 rows.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938112)
psql:p.sql:3: INFO:  parallel build_barrier total participants: 1.  (seg1 slice1 <IP_ADDRESS>:9003 pid=938112)

another failed case: https://github.com/cloudberrydb/cloudberrydb/actions/runs/6729213443/job/18290602808?pr=278
 select avg(i3::numeric) from (SELECT t1.* FROM test_hj_spill AS t1 RIGHT JOIN test_hj_spill AS t2 ON t1.i1=t2.i2) foo;
          avg
 ----------------------
-<PHONE_NUMBER>000000000
+<PHONE_NUMBER>559297647
 (1 row)

we have reproduced this about 2~3% of a 200-times loop tests in case of high load.

A 1000-times loop test shows no incorrect results with #284 , we could keep this issue open for several months to check the CI results.

we have reproduced this about 2~3% of a 200-times loop tests in case of high load.

A 1000-times loop test shows no incorrect results with #284 , we could keep this issue open for several months to check the CI results.

comparison
500 loops test

commit
succeed  to run sql
wrong results

without pr #284
470
30

with pr #284
474
0

#284  has been merged, let's keep this issue open for a while to see if it's really resolved.

Issue doesn't exist since #284 , close.


Add MIT License

📦 Pull Request
The README.md links to a License at https://github.com/magiclabs/magic-js/blob/master/LICENSE. But there is no License in this Repository. This adds a MIT License.
Please inform me if I should update the CHANGELOG.md, because this is not really a Bug fix/Feature.
🗜 Versioning

[x] Patch: Bug Fix?
[ ] Minor: New Feature?
[ ] Major: Breaking Change?

⚠ Update CHANGELOG.md

[ ] I have updated the Upcoming Changes section of CHANGELOG.md with context related to this Pull Request.

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


automatic updating of numbers in summer-holidays notebook

which is live at
https://oscovida.github.io/2020-are-summer-holidays-contributing-to-increasing-infections.html

Codecov Report

Merging #112 into master will decrease coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
- Coverage   76.32%   76.05%   -0.28%
==========================================
  Files           4        4
  Lines         790      781       -9
==========================================
- Hits          603      594       -9
  Misses        187      187

Impacted Files
Coverage Δ

oscovida/oscovida.py
73.75% <0.00%> (-0.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Seems to work.


Unlink file after binding to it.

When unlinking the file before binding, a new entry is created
in the file system after binding. This is not desireable, so
unlink it after binding to remove the temporary file after the process
closes.

@freerdp-bot test

@akallabeth does it mean that the file will exist only when the fd is opened ?

@hardening yes

Sorry, but this was wrong and it actually creates a bug. The listener creates the socket file when you call 'bind'. If the file already exists, the bind will fail with "address already in use", which is why the unlink was there before the bind. By moving the unlink after the bind, you are basically deleting the socket right after its creation. This prevents anyone from connecting to the server listener socket ("file not found" errors), rendering the server/listener unusable.
I've fixed it in PR #4201.


Suggest using all threads for compilation in R

The docs suggest adding a flag in the R Makevars file to parallelize compilation of the R package of DuckDB.
The line it suggest to add fixes it at 8 threads, but one would usually want to use as many threads as possible. This PR adds such a suggestion for linux systems using nproc instead.

Thanks!


Make Swagger2Controller respect basePath even if a host is not set

This fixes #1435 and #1507

@asdcdow the PR has some issues ☝

@asdcdow thanks for this PR! 🙇


ERROR SNS topic ARN not found in region 'us-east-1' , use -h for help.

When the option '--aws-managed-encryption' is invoked, the following permissions were required in addition to the standard documented ones  or else the error "ERROR SNS topic ARN not found in region 'us-east-1' , use -h for help." was thrown:
  {
        "Sid": "kmskeypermissions",
        "Effect": "Allow",
        "Action": [
            "kms:Decrypt",
            "kms:Encrypt",
            "kms:ListKeys"
        ],
        "Resource": [
            "arn:aws:kms:region:acct:key/keyid"
        ]
    }

Also I added the following stanzas to the S3 bucket policy:
  {
        "Sid": "DenyIncorrectEncryptionHeader",
        "Effect": "Deny",
        "Principal": "*",
        "Action": "s3:PutObject",
        "Resource": "arn:aws:s3:::bucket/*",
        "Condition": {
            "StringNotEquals": {
                "s3:x-amz-server-side-encryption": "AES256"
            }
        }
    },
    {
        "Sid": "DenyUnEncryptedObjectUploads",
        "Effect": "Deny",
        "Principal": "*",
        "Action": "s3:PutObject",
        "Resource": "arn:aws:s3:::bucket/*",
        "Condition": {
            "Null": {
                "s3:x-amz-server-side-encryption": "true"
            }
        }
    }

I used the same key for self-created key for S3, SNS, and SQS, though I don't think that's strictly required.  I used KMS materials, not external, although that should not make any real difference either.

Thanks for sharing! Added a link to this issue in the wiki


Vulnerability roundup 85: mps-1.117.0: 1 advisory [5.3]

search, files

[ ] CVE-2019-18362 CVSSv3=5.3 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: a84b797b28e; nixos-unstable: 22c98819ccd. May contain false positives.
Cc @thoughtpolice

False positive, this CVE is about jetbrains mps


Bittensor internet optimization-monetization

Is your feature request related to a problem? Please describe.
As a non-developer, I'm launching an inquisition that incentivizes secure internet access by merging elements of monetization and web usage backed by querying a decentralized Bittensor node to analyze network traffic patterns to optimize resource allocations. AI can boost throughput and reliability through the allocation of dynamic network and computational resources in real time to areas experiencing high service demand, and by optimizing the routing of data to reduce congestion, they can improve bandwidth and latency.
This is a rough summary,
I hope this sparks some development ideas!
Describe the solution you'd like
Any
Describe alternatives you've considered
Any
Additional context
Any

This is not a specific feature request, but rather a project in itself.
Great idea and PRs are welcome!


added short delay before adding clickOutside listener

as described in https://github.com/charliekassel/vuejs-datepicker/issues/377
it isn't currently possible to open the calendar programatically because the code immediately closes any calendar that is opened from a button that's outside the Datepicker component. Adding this short delay resolves the problem
also added it as a wrapper function to prevent duplicate code

Coverage remained the same at 98.714% when pulling 9aea1900313e0d4563068778b024e4d9b7713e68 on vesper8:patch-1 into f33040f02e76d50531a56061ede95c1a27f9a044 on charliekassel:master.

Coverage remained the same at 98.714% when pulling 9aea1900313e0d4563068778b024e4d9b7713e68 on vesper8:patch-1 into f33040f02e76d50531a56061ede95c1a27f9a044 on charliekassel:master.

👍 good stuff

Available from v0.9.22


[ADD]: MARSHMALLOW PLAYBACK GAME 👾

PR Description 📜

This PR is about adding a Marshmallow Playback game

Fixes #1305

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you  @0xabdulkhalid , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


wrap LSTMCell in DropoutWrapper if dropout param

Adds a dropout=_ param to lstm(), which if provided wraps lstm_cell in a rnn.DropoutWrapper for regularization. Feel free to close if there's a smarter way, more for consideration on providing a dropout option for these layers where applicable.

Hey thanks for this,
we will have a think and merge/close

Thanks for the PR, looks all good! :+1:


Support default method implementation

Precursor to #2013. This allows us to inject default implementation of some methods, magical or not.
This relies on some implementation details of Python. May not be ideal.
Test code looks ugly. I have no idea how to fix that though.

I think it's ready to be reviewed again. I need to touch a lot of implementation details in order to rename the generated method... Hope it won't be an issue in the future.

So I forgot there is #[pyo3(name= ...)] and it supports magic methods....
The new commit respects privacy better, though there's still code duplication between pyimpl::impl_methods and pyimpl::gen_default_slot_impls.

I was very sick from my vaccine shot yesterday, so couldn't do anything. Sorry.
You mentioned there would be trait conflicts from SlotFragment implementations, so I reverted my last commit.

No worries, I have also been very busy. I'll do my best to review this over the weekend, or end of Monday at the latest.


[Merge] MONDO:0019302

Mondo term (ID and Label)
MONDO:0019302 mucopolysaccharidosis with skin involvement
Reason for deprecation
grouping class with a single child. It is a synonym for the child term.
Term to be merged with
MONDO_0010674 'mucopolysaccharidosis type 2'
related to https://github.com/monarch-initiative/mondo/issues/3785

@nicolevasilevsky Several ClinGen users noted that the term that you are merging this into MONDO_0010674 'mucopolysaccharidosis type 2' has been flagged for obsoletion in the Dec 30, 2021 release. They believe this is an error and would like clarification from you.
Also the planned obsoletion date on MONDO_0010674 'mucopolysaccharidosis type 2' is 1/1/2021 which is last year.
Please let us know if MONDO_0010674 'mucopolysaccharidosis type 2' is really planned for obsoletion or not and when. If it is, please let us know the replacement term.

@larrybabb thanks to your team for catching this error! These annotations should have been removed when I did the merger, this was an error on my part.
This term will not be obsoleted, I'll fix this and the fix will be available in the next release in early Feb.
Thanks!


Prototype

This is as much a review of the README as anything else, so I'll see if that speaks for itself!

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b83aa07). Click here to learn what that means.
The diff coverage is 86.75%.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   86.75%
=========================================
  Files             ?        1
  Lines             ?      151
  Branches          ?       36
=========================================
  Hits              ?      131
  Misses            ?       20
  Partials          ?        0

Impacted Files
Coverage Δ

treeTable.js
86.75% <86.75%> (ø)

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 b83aa07...68d2978. Read the comment docs.

These comments have been extremely helpful, thank you!

LGTM - just need a blog post now :)

for sure!


Update databricks-sentiment-analysis-cognitive-services.md

Need to make the following changes - I cannot merge, so if the author can that will be great:
has an outdated  line of code:
val
pool = Executors.newFixedThreadPool(1)
this should be updated to:
val
pool = Executors.newScheduledThreadPool(1)

@sriramgana : Thanks for your contribution! The author, @lenadroid, has been notified to review your proposed change.


Professional To Install and Configure Server

Hello,
I need someone who can install and configure my server, if any professional has interest you can call me by e-mail for proposals<EMAIL_ADDRESS>or Skype: usinadeideia
Thank you

What exactly do you need? Is already any os installed and where is the server hosted?
You can tell me more detailed informations in an email to<EMAIL_ADDRESS>

@chriso0710 can confirm


Login fails for SiriusXM using correct username/password

Basic information

Your Linux distribution and its version: Ubuntu MATE 18.04.2 LTS

Your desktop environment: ...

Nuvola Runtime version: ...

The web app you use and its version: ...

Describe the bug
The SiriusXM app installed and updated. But for some reason the login fails.
Is the app Country specific? I'm in Canada right now. And I have a legit SiriusXM account, which I can listen to live via Windows. Why can't I log in?
Debugging log

Attach the debug log here: ...
Screenshots

Attach screenshots here:
Additional context

I just purchased a Premium key. Supporting the open source development for Nuvola.

Hello @linuxgameconsortium. Do you have the account of SiriusXM US or SiriusXM Canada?

Is the app Country specific?

It seems so. When I need to access SiriusXM, I need to use a US VPN service. I've never tried SiriusXM with a Canadian VPN service though.

Well it looks like a different login or redirect is needed for use in
Canada.
Even though I can use the same login in the US without any problem.
Best Regards,
Todd Batrynchuk
Founder and CEO
<EMAIL_ADDRESS>LinuxGameConsortium.com http://www.linuxgameconsortium.com/
http://LinuxGameConsortium.com http://linuxgamenews.com/
Discord:* [Todd B] LinuxGameConsortium#3555*
Twitter: @linuxgamecons https://twitter.com/linuxgamecons
YouTube: LinuxGameConsortium
https://www.youtube.com/user/linuxgameconsortium
SkypeID: linuxgameconsortium
LinkedIn: todd-batrynchuk
http://ca.linkedin.com/pub/todd-batrynchuk/5/4a6/940/
On Mon, Jun 24, 2019 at 7:17 AM Jiří Janoušek<EMAIL_ADDRESS>wrote:

Is the app Country specific?
It seems so. When I need to access SiriusXM, I need to use a US VPN
service. I've never tried SiriusXM with a Canadian VPN service though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/539?email_source=notifications&email_token=AA5EXS2OELPPFQRDGPIFQX3P4CUMJA5CNFSM4HZCO3UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMS7DI#issuecomment-504967053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5EXS7BUS6L6KTZPMLY4ALP4CUMJANCNFSM4HZCO3UA
.

Indeed, it is necessary to add a selection of national variants - USA and Canada.

Yes indeed. That would fantastic. Since it is just a URL change.

Sorry that it took so long. I was hit by a strange crash in GTK that required a lot of time to investigate.
Updated Sirius XM script should be available later today.

Released in SiriusXM 1.5.5 (5-gba43c84).

All good. GTK issue, really?
Well I'm glad you have it worked out.
Just updated and voila SiriusXM works in Canada. :D
Thanks Jiří!!!
Best Regards,
Todd Batrynchuk
Founder and CEO
<EMAIL_ADDRESS>LinuxGameConsortium.com http://www.linuxgameconsortium.com/
http://LinuxGameConsortium.com http://linuxgamenews.com/
Discord:* [Todd B] LinuxGameConsortium#3555*
Twitter: @linuxgamecons https://twitter.com/linuxgamecons
YouTube: LinuxGameConsortium
https://www.youtube.com/user/linuxgameconsortium
SkypeID: linuxgameconsortium
LinkedIn: todd-batrynchuk
http://ca.linkedin.com/pub/todd-batrynchuk/5/4a6/940/
On Sat, Jul 20, 2019 at 11:46 AM Jiří Janoušek<EMAIL_ADDRESS>wrote:

Sorry that it took so long. I was hit by a strange crash in GTK that
required a lot of time to investigate.
Updated Sirius XM script should be available later today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/539?email_source=notifications&email_token=AA5EXS4ZGETELD4RDBJVOB3QAMXN3A5CNFSM4HZCO3UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NQ2PQ#issuecomment-513477950,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5EXS7HHTZJ6N4DEDI3HXLQAMXN3ANCNFSM4HZCO3UA
.


fix(disbursement): increase disbursement max limit according to Xendit docs

Currently, disbursement capped at IDR 25 million.  Increasing limit to reflect actual limit based on docs https://docs.xendit.co/xendisburse/limits-and-processing-times/index.html
Ref #69

@kahirul Let's remove this validation instead, as these should be solely handled by Xendit servers

That event better, will update PR


Edit or delete cat information

It is easy to make a mistake when entering your cat's information such as birthdate or treatment start date etc. Please can I request an option to be able to edit the cat's information, or just delete the cat's information and start afresh?
I have made a mistake in the cat's information section, but I can't find a way to edit it or even remove the cat so I can start again. I haven't added any treatment logs yet so I'm happy to remove the cat and create a new profile for it, but I don't want there to be a mistake on her log, as I will use this website to track her treatment, then export as CSV and send to my vet and GS supplier in case of relapse or if an extension is required, so I'd like her information to be accurate.

I'll add revision logic/deletion options in an update in a few weeks.  In
the mean time, create a new cat with a slightly different name (eg, add a
2) so you can add to that log.
I know this is frustrating, but it will take me a little while to implement
a change.
On Sun, Apr 16, 2023, 3:09 PM Nicbreed @.***> wrote:

It is easy to make a mistake when entering your cat's information such as
birthdate or treatment start date etc. Please can I request an option to be
able to edit the cat's information, or just delete the cat's information
and start afresh?
I have made a mistake in the cat's information section, but I can't find a
way to edit it or even remove the cat so I can start again. I haven't added
any treatment logs yet so I'm happy to remove the cat and create a new
profile for it, but I don't want there to be a mistake on her log, as I
will use this website to track her treatment, then export as CSV and send
to my vet and GS supplier in case of relapse or if an extension is
required, so I'd like her information to be accurate.
—
Reply to this email directly, view it on GitHub
https://github.com/JKesslerPhD/FIPInjectionLogger/issues/58, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3GD4B6PYRQ25ZQTQR2AVLXBRUZTANCNFSM6AAAAAAXAMT4XE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you so much Jeff!
I've created a new cat on the profile for now, but I appreciate your timely response and look forward to seeing the changes!


feat: show git file mode change if exist

Fix #46
test branch https://github.com/gadfly3173/gadfly3173/tree/test/file-mode
Screenshots

I need to redesign the DiffView toolbar. But I will merge the PR first.


[Enhancement] Adding (today) with start/ending date

A minor enhancement, check if the date of start/end is of today, if yes, print (today) with it in the Discord server for ease of the user.

Now start/end both dates are being checked and (today) is being printed.


Implement dynamic OSv compiler

Added dynamic OSV compiler that uses forked Capstan tool
to create OSv unikernels. This Capstan is able to
set arbitrary logical image size during compose (as opposed
to default 10GB). Therefore a --size argument was added
to the 'unik build' command.
Testing
You can use these three example applications to test the new funcionality:
dynamic-compiler-examples.zip
Just navigate to project folder and run ./unik_openstack_up.sh to create OSv unikernel, upload it to OpenStack and run it.

@ilackarms @gberginc could you please make a review on this PR? So the idea is, once we merge it, to then use this same forked Capstan for Java compiler. Because then user will be able to run it with arbitrary size, not just the default 10 gigs, as we've discussed some time ago.

So I've modified this PR according to the discussion above:

removed --size argument for the unik build command to prevent core modifications of UniK
supported image_size parameter in OSv's manifest yaml

Also, I've added a compiler for the NodeJS that understands same manifest for NodeJS than rump. Same example application works for Rumprun and OSv:
$ cd docs/examples/example-nodejs-app
$ unik build --name imgExample --path ./ --base osv --language node --provider openstack
$ unik run --instanceName instExample --imageName imgExample

@ilackarms, I'm looking forward to hear your opinion :)

Following the convention that we use with Rumprun, the size of the boot volume should be dynamically calculated (based on the size of the kernel + all files the user put in the project directory + an extra 20mb for grub). If the user wants additional storage for data, that's what data volumes are intended for (which you create by specifying a --size flag). I know this doesn't fit all use cases (some apps may want everything on a single volume), but in the case of rumprun, you can mount additional volumes (i believe up to 8) anywhere you like, so the application can just refer to the mount point without having to know that it belongs to a different piece of storage.

Closing this PR temporarily until we get dependent PR's merged: #111. and #110.


Fixes installation nightly test by filtering out the git commands on v1.3.x

Description
The nightly job was failing because the installation instructions test was testing v1.3.x instructions against the master branch. I've updated the underlying script to filter out the git calls from the set of operations it extracts from the instruction document.
Targets #13800
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
Fixes nightly job by filtering some commands when running the installation guide test.
Comments
This commit was cherry-picked from the master branch PR #14144

@perdasilva Thanks for your contribution!
@mxnet-label-bot  add [pr-work-in-progress, test]

@mxnet-label-bot add [pr-awaiting-review]

@mxnet-label-bot remove [pr-work-in-progress]

Can you add a simple test? Does the change need to go into master and v1.4.x branch as well?

@srochel thanks for getting back to me. I don't know exactly where this test would go. This script is the best being run in CI. However, I have checked that it works by creating a custom test on the jenkins-dev
http://jenkins.mxnet-ci-dev.amazon-ml.com/blue/organizations/jenkins/per-nightly/detail/testfix_1.3/6/pipeline


Fix StatisticsManagerSuite

What problem does this PR solve?
Fix StatisticsManagerSuite may fail sometimes
What is changed and how it works?
Statistics may be delayed for one minute.
The test may fail because the Statistics are not loaded in time, So just add analyze to trigger the load of Statistics

/run-all-tests

/merge


Uglify Does Not Uglify Enough on Latest Webpack + React 16

Hi,
Thanks for your work on this library. I recently upgraded to the latest version  of webpack and react and I'm now seeing the following in my console (in Production).

My webpack config looks kind of like this:
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')

var config = {
  entry: {
    public: APP_DIR + '/public.main.jsx',
    private: APP_DIR + '/private.main.jsx',
  },
  output: {
    path: BUILD_DIR,
    filename: "[name].bundle.js",
    chunkFilename: "[name].bundle.js",
  },
  plugins: [
    new webpack.EnvironmentPlugin(['NODE_ENV']),
    new webpack.DefinePlugin({
      'process.env': {
         NODE_ENV: JSON.stringify("production")
       }
    }),
    new webpack.optimize.CommonsChunkPlugin({
     name: 'init',
      filename: 'init.js',
    }),
    new UglifyJsPlugin({
      uglifyOptions:{
        output: {
          comments: false, // remove comments
        },
        compress: {
          unused: true,
          dead_code: true, // big one--strip code that will never execute
          warnings: false, // good for prod apps so users can't peek behind curtain
          drop_debugger: true,
          conditionals: true,
          evaluate: true,
          drop_console: true, // strips console statements
          sequences: true,
          booleans: true,
        }
      },
    }),
    new webpack.optimize.AggressiveMergingPlugin()
  ],
  resolve: {
    extensions: ['*', '.js', '.jsx'],
    modules: [path.resolve(__dirname, 'react_components'), 'node_modules']
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        loader: 'babel-loader',
        exclude: /node_modules/,
        query: {
          cacheDirectory: false,
          plugins: [
            require.resolve('babel-plugin-transform-decorators-legacy'),
          ],
          presets: [
            require.resolve('babel-preset-react'),
            require.resolve('babel-preset-env'),
            require.resolve('babel-preset-stage-0')
          ]
        }
      }
    ]
  }
}

module.exports = config;

Thanks,
Michael

I also had this issue with my production bundles. I was getting the React is running in production mode but dead code elimination has not been applied error. After trying everything, including global_defs, "move uglify to top", compress: { options: { passes: 3|4|5 }}, I decided to use babel-minify-dead-code-elimination as a secondary step. It fixed everything!
Code follows:
...
const babelEnvs = {
    development: {
      plugins: ['react-hot-loader/babel'],
    },
  };

  if (isProd && isClient) {
    babelEnvs.production = {
      plugins: ['minify-dead-code-elimination'],
    };
  }
// more webpack options here...
//...
// still use uglify
plugins: [new UglifyJsPlugin({
      uglifyOptions: {
        ecma: 8,
        compress: {
          warnings: false,
        },
      },
      sourceMap: false, // true,
    })]
// but also use babel dce
{
          test: /\.js$/,
          exclude: /node_modules/,
          use: [{
            loader: 'babel-loader',
            options: {
              babelrc: false,
              presets: ['es2015', 'react', 'stage-2'],
              plugins: [
                ['relay'],
                'universal-import'
              ],
              env: babelEnvs,
            },
          }],
        },
// ...

I found that the configuration from an article of Slack's blog works for me. The only difference is that for<EMAIL_ADDRESS>the cascade in compress option is not working now, just remove this line and it minifies react lib code as production code.

We were seeing the exact same thing until we set devtool: false for our production builds. This did not simply eliminate sourcemaps - it solved the fact that pretty much nothing was being minified at all (comments were left in, dead code, etc..). I don't fully understand the connection, but would try that.

Where exactly do I set this 'devtool: false'??

@amrita-syn in your webpack config object.
{
    entry: {/* ... */},
   // ...
   devtool: false
}

@amrita-syn in your webpack config object.
{
    entry: {/* ... */},
   // ...
   devtool: false
}

So, essentially, can't without ejecting?

@amrita-syn I unfortunately have no experience with create-react-app so I do not know how this would impact your project. You need a way to override your webpack config in either case.


[Typescript] Generated declaration file expands INF and NAN incorrectly

Hello there, there seems to be an issue according to Typescript's compiler, tsc, with the following lines in the automatically-generated godot.d.ts:

This yields the following errors:
../godot.d.ts:2177:15 - error TS1005: ',' expected.

2177  const INF: 1.#INF;
                   ~~~~

../godot.d.ts:2182:15 - error TS1005: ',' expected.

2182  const NAN: 1.#QNAN;

Thankfully, the typescript file for my compiles just fine regardless.
Steps to reproduce:

Create a new Godot project
Select Project > Tools > ECMAScript > Generate Typescript Declaration File which generates godot.d.ts in res://
Create a new Typescript file anywhere. In my case, it's res://src/ts/new_script.ts
In res://src/ts/, create a subdirectory called godot and place godot.d.ts in it.
At the top of new_script.ts, import the declarations by writing import "godot";
Run tsc in the src/ts/ directory. It will then print the errors.

I can't reproduce this problem.
You'd better using latest code to compile.