systemd: disable EFI stripping

In Issue #169693 we found out that systemd-bootaa64.efi does not have
required #### LoaderInfo: systemd-boot 250.4 #### marking.
It is destroyed by nixpkgs's _doStrip hook (part of fixupOutputHooks).
It makes sense as PE32+ is a bit different from ELF where .sdmagic section
is inserted.
The change avoids stripping EFI files altogether by moving them out
of default strip directories of _doStrip for the time while fixupPhase
is running.
Closes: https://github.com/NixOS/nixpkgs/issues/169693
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I was able to replicate the linked issue and confirm that this patch fixes it. I also confirmed that the new not-stripped EFI executable is still bootable, at least by U-Boot 2022.04-rc4 on my machine.
Thanks for tracking down and fixing this. I wonder if it would be possible to see this fix pushed directly to staging-next to get this fix out ASAP.

Sounds reasonable. Switched to staging-next.
The PR has a merge-base of both staging and master. Should be easy to move target just by editing PR in web UI if needed again by someone else.

I can also confirm that this fixes upgrading systemd-boot on aarch64-linux:
aether.delroth.net | copying 0 paths...
aether.delroth.net | Copied "/nix/store/w0n6sz2b3jb123nhjqr46610ikskpxxn-systemd-250.4/lib/systemd/boot/efi/systemd-bootaa64.efi" to "/boot/EFI/systemd/systemd-bootaa64.efi".
aether.delroth.net | Copied "/nix/store/w0n6sz2b3jb123nhjqr46610ikskpxxn-systemd-250.4/lib/systemd/boot/efi/systemd-bootaa64.efi" to "/boot/EFI/BOOT/BOOTAA64.EFI".
aether.delroth.net | updating systemd-boot from (249.7) to (250.4)


Change SIRI protocol homepage to new hostname

http://user47094.vs.easily.co.uk/siri/ yields a DNS error, so it seems the site has fully migrated to its new home.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zach smithson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

deleted after fixing commit message, resubmitted as https://github.com/CUTR-at-USF/awesome-transit/pull/188


Always get / NOTFOUND/NOPRIV

I not set the command default youtube
so when I typed !youtube artist - song
some said https://forum.sinusbot.com/threads/not-loading-scripts-properly.406/
no luck with https://forum.sinusbot.com/threads/notfound-nopriv.3182/
Logs
https://pastebin.com/5p1LuqsD

Hello, i will take a look for you issue; thanks for your feedback!


Decompile to human-readable IL string (code)

For example to decompile the delegate:
Func<int, int, int> sum = (x, y) => x + y;

and to get a IL-formated text (code):
ldarg.0
ldarg.1
add
ret

The implementation can be based on:
http://toolheaven.net/post/2010/08/14/IL-disassebly-in-C.aspx
http://mrpfister.com/programming/opcodes-msil-and-reflecting-net-code/
Are you going to implement something like this? Or Sigil NuGet package is not a place for such task? This strings can be used for ToString() functions (to provide a better debugging) of DisassembledOperations.

Looks like Emit.Instructions() doing something similar.

Well, it is actually human-readable enough.


Revert "Revert "image-builder: improve ova built stability (#168)" (#…

…178)"
This reverts commit a448900b63fa23b247e7161db64bdb011ce63ec4.
Issue #, if available:
Description of changes:
/hold
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jaxesn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jaxesn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/unhold


NLOSS is positive

I have been running into an odd case during training: sometimes NLOSS takes a positive value.
My current understanding is this:
I am targeting downstream classification, so the loss function being used is NLL (negative log likelihood). My understanding is that log likelihood is the log of a values on the interval [0:1]. This means that log must be negative, or 0. Thus, its negative must be positive, or 0.
NLOSS in IDGL is the negative of the NLL loss function, ie -NLL. Thus, it just recovers the original log-likelihood, which is strictly non-positive.
My observations:
I have observed cases where it is positive. Oddly, in most of these cases, I will see that, for some loss value L, the accuracies associating with training models that have losses near L or near -L are nearly identical.
This prompted me to think that there is some edge case where a negative is not applied (or is applied once too many times)
One sample of a case where the NLOSS is positive is this:
{
    "data_type": "network",
    "dataset_name": "cora",
    "data_dir": "../data/cora/",
    "pretrained": null,
    "task_type": "classification",
    "out_dir": "/workspace/output/models/TwigJob_n5_bdg250_loglr_repeat_fixout/3_0_7/0.7623429221128561",
    "seed": 77,
    "model_name": "GraphClf",
    "scalable_run": true,
    "num_anchors": 7967,
    "hidden_size": 43,
    "use_bert": false,
    "dropout": 0.6635843579072174,
    "feat_adj_dropout": 0.06838793351721184,
    "gl_dropout": 0.548838069426093,
    "bignn": false,
    "graph_module": "gcn",
    "graph_type": "dynamic",
    "graph_learn": true,
    "graph_metric_type": "weighted_cosine",
    "graph_skip_conn": 0.7949061507223335,
    "update_adj_ratio": 0.632239148921817,
    "graph_include_self": false,
    "graph_learn_regularization": true,
    "smoothness_ratio": 0.530333708979554,
    "degree_ratio": 0.804512963814122,
    "sparsity_ratio": 0.10112626099490862,
    "graph_learn_ratio": 0,
    "graph_learn_hidden_size": 33,
    "graph_learn_epsilon": 0,
    "graph_learn_topk": null,
    "graph_learn_num_pers": 6,
    "graph_hops": 4,
    "gat_nhead": 8,
    "gat_alpha": 0.2,
    "optimizer": "adam",
    "learning_rate": 1.634816494138241e-05,
    "weight_decay": 0.002369427396679898,
    "lr_patience": 7,
    "lr_reduce_factor": 0.20687033919483733,
    "grad_clipping": null,
    "grad_accumulated_steps": 6,
    "eary_stop_metric": "nloss",
    "pretrain_epoch": 0,
    "max_iter": 10,
    "eps_adj": 8.5e-05,
    "rl_ratio": 0,
    "rl_ratio_power": 1,
    "rl_start_epoch": 1,
    "max_rl_ratio": 0.99,
    "rl_reward_metric": "acc",
    "rl_wmd_ratio": 0,
    "random_seed": 77,
    "shuffle": true,
    "max_epochs": 27.777777777777775,
    "patience": 100,
    "verbose": 20,
    "print_every_epochs": 500,
    "out_predictions": false,
    "out_raw_learned_adj_path": "cora_idgl_node_anchor_adj.npy",
    "save_params": true,
    "logging": true,
    "no_cuda": false,
    "cuda_id": 0
}

The output of this is:
NLOSS = 6.22605
ACC = 0.19400

Do you have any idea why this would occur? Or is my understanding of how loss is reported incorrect?
Thank you in advance!
Sincerely,
--Jeffrey Sardina

data

@Jeffrey-Sardina Thank you for your interest to our work! You are right about the NLL loss. However, the overall loss adds up both the NLL loss and graph regularization loss (which can be negative), as shown here. Therefore, the overall loss can be negative, and nloss can be positive. Please refer to Eq. (11) in the paper for more details.
Back to your run, because your degree_ratio value was large, so the connectivity loss (first item in Eq. (11)) became more dominant, which led to negative overall loss.

Thank you very much! That makes a lot of sense now


graphene_quaternion_slerp: Always use the shortest path

As discussed in the "Invertin Quaternions" section in:
http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/slerp/
We need to check if the dot product (i.e. cos(theta/2)) is
negative. If so, that means the rotation is > 180 degrees and
we should invert the rotation so as to take the shortest path.
Without this rotation animations in gthree get really weird when you
pass 360 degrees. I.e. interpolation is slow clockwise until 360
deg, where it switches to a very fast counter-clockwise rotation only
to then continue the slow clockwise rotation.

Yeah, this makes sense—also in light of 04b3aa3d48f7926ada3198e824a716ab2e086a8f.

The failure on Windows is unrelated.


Provisioning fails with node template and SLES15 AMI

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Create a node template for EC2, and use ami-0a8c72379d44c5e14 -> SLES15SP2 x86_64
Result:
Error creating machine: /etc/sysconfig/SuSEfirewall2 No such file or directory
Other details that may be helpful:
SuSEfirewall2 is no longer available in SLES15
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15/#fate-320794
Environment information

Rancher version v2.5.3
Installation option HA

Cluster information

Cluster type Infrastructure Provider
Machine type cloud
Kubernetes version v1.19.4

@alexrenna the fix for this is in v2.5.6-rc3 if you want to try and validate it with your ami. rancher qa is about to sign off on this using us-East-1 AMIs but want to be sure you're happy too.

@alexrenna the fix for this is in v2.5.6-rc3 if you want to try and validate it with your ami. rancher qa is about to sign off on this using us-East-1 AMIs but want to be sure you're happy too.

tested on eu-central-1 with ami-0a8c72379d44c5e14, it works now. thanks

tested on eu-central-1 with ami-0a8c72379d44c5e14, it works now. thanks

@alexrenna reopening so QA can sign off and close it. they're trying to repro in 2.5.5 and confirm fixed in 2.5.6 too.

@alexrenna reopening so QA can sign off and close it. they're trying to repro in 2.5.5 and confirm fixed in 2.5.6 too.

Validated with ami on AWS east2: ami-08bddf70836446637->SLES15SP2
On rancher version: v2.5.5 and v2.5-head (e3128c9)
Same steps on the two rancher versions:

Bring up a rancher single install.
Add a EC2 cluster by setting the ami-08bddf70836446637 in the node template (1 control plane, 1 etcd, 3 workers)

Results:

on v2.5.5, the issue can be reproduced.

on v2.5-head, the cluster is provisioned successfully

Validated with ami on AWS east2: ami-08bddf70836446637->SLES15SP2
On rancher version: v2.5.5 and v2.5-head (e3128c9)
Same steps on the two rancher versions:

Bring up a rancher single install.
Add a EC2 cluster by setting the ami-08bddf70836446637 in the node template (1 control plane, 1 etcd, 3 workers)

Results:

on v2.5.5, the issue can be reproduced.

on v2.5-head, the cluster is provisioned successfully


Skipped build tasks should probably not exit with code 0

The exit code is inherited from the BuildTaskSkippedException code:
abstract class BuildTask
{
  public function skip(string $reason = 'Task was skipped'): void
  {
      throw new BuildTaskSkippedException($reason);
  }
}

class BuildTaskSkippedException extends RuntimeException
{
    public function __construct(string $message = 'Task was skipped', int $code = 0)
    {
        parent::__construct($message, $code);
    }
}

I was considering using exit code 2 for this, but after asking ChatGPT 4o to get a statistically probable result, I think we should go with code 3. See output below:
In Unix-like operating systems, exit codes typically follow conventions where specific numbers are used to indicate the nature of the process's termination. The standard conventions are:

0: Success
1: General error

For indicating that a command was skipped or did not perform its intended action due to a specific condition (like a missing URL), it's useful to choose an exit code that is distinct from general success or error codes. Common conventions for these cases include:

2: Misuse of shell built-ins (according to Bash documentation)
3-125: Custom error codes specific to the application
126: Command invoked cannot execute
127: Command not found
128: Invalid argument to exit
128+n: Fatal error signal "n"
130: Script terminated by Control-C
255: Exit status out of range

Given these conventions, a good choice for an exit code when a command is skipped would be one that is within the range of custom error codes, typically between 3 and 125.
For your specific case, you might use:

2: Indicates incorrect usage or a missing required argument.
3: Indicates that the command was skipped due to a specific reason like a missing URL.

Example
To indicate that the sitemap generation was skipped due to a missing URL, you could use:
$ php hyde build:sitemap
Generating sitemap... Skipped
 > Cannot generate sitemap without a valid base URL
$ echo $?
3

In this scenario, 3 clearly indicates that the command was skipped due to a specific, non-error condition, differentiating it from a generic error (1) or success (0).

I think this could be considered a bug fix, but since I'm working on HydePHP v2 atm I think it's safer to implement this there, in case people depend on this behaviour, that way it can be more clearly communicated.

Fixed in https://github.com/hydephp/develop/pull/1749


Adjacent image doesn't display when viewport zoomed

Hello. I don't exactly know if this is a bug, a bad configuration by me or actually expected behaviour. When on mobile, if I zoom in next to the images and then touch for them to show, nothing happens at all, but if I leave the zoom they work as expected.
I have a production example, the zoom I'm referring to is inside the "FIBRA" select box.
Link: http://bit.ly/2d6ZN8Q
Thanks for your time! :+1:

Nothing? :/

At first i thought this issue was related to #82 and #94 but upon investigation I can see that the mouseenter event is triggered as expected and the internal show method called, however hide is immediately called after that due to the third constraint in this condition:
https://github.com/i-like-robots/EasyZoom/blob/master/src/easyzoom.js#L236
Now the maths behind this are long forgotten and the my variable naming choices in 2011 were not so great.


Support ServeError action and http_custom_errors phase

Add support for the new http_custom_errors phase, that uses the serve_error action. This action supports action parameters content, content_type and status_code.

Codecov Report

Merging #998 (c82958b) into master (401e1c1) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #998      +/-   ##
==========================================
- Coverage   48.93%   48.92%   -0.01%
==========================================
  Files         108      108
  Lines       10385    10387       +2
==========================================
  Hits         5082     5082
- Misses       4195     4197       +2
  Partials     1108     1108

Impacted Files
Coverage Δ

rulesets.go
27.65% <0.00%> (-0.30%)
:arrow_down:

public docs will be released early next week.


cmd/gc: Wrong error message: "internal compiler error: dowidth: unknown type:"

go version go1.4 darwin/amd64
package main

type A struct {
	S []string
}

func f(a A, s []string) []string {
	return append(a, s...)
}

will result in the following error message:
line 4: internal compiler error: dowidth: unknown type: S []string

The actual error is in line 8 where a (the struct) is used instead of a.S (a field of the struct). I would expect an error message along the lines of
line 8: first argument to append must be slice; have struct

In my case, the buggy append() code was in a different file so it was very hard to track down because the error fired in the wrong place.

Dup of #9634, which is fixed on tip.

Have you tried 1.4.2? I think the error has been fixed.

Indeed. It's fixed in 1.4.2. I had reproduced it on http://play.golang.org/ but now it turns out that the site is still on 1.4.1. Thanks for the reply.


Overlunky WHIP and 1.27

I have Tried running different types overlunky but it keeps saying something not found
and I have tried reinstalling spelunky 2 and overlunky but it just will not work anyone know how to fix this?

A new patch for spelunky 2 just came out last night (1.26). It'll take some time before it works again

Ok Thank You!

I'm going to leave this open for now so others see it

The latest WHIP build now works (barely) with 1.26, but a lot of random functionality is simply disabled. Running scripts is probably pretty folly. Basic UI functions are probably fine. I had to delete overlunky.ini to get it to start. Progress is being made in #259, but this might be futile cause a new patch is probably coming in the following weeks.

I think Mr.Auto fixed it. Let me know!


Is there any way to customize the connecting lines or display self-looping nodes better?

Please describe the feature that you want to propose

The display effect of self-looping nodes is very poor. Is there any way to customize the connecting lines or display them better?

There's an old example on how to do something like that right here.

You would need to implement a custom type for that as seen in the custom edge example.


Export method 'CreateDiscVertexData'

Exports the local method CreateDiscVertexData so it is accessible outside of discBuilder.ts

@chapmankyle do you mind fixing the formatting issue? (just run 'npm format:fix')


Removing obsolete FAO and WDI ontologies

This PR removes the obsolete FAO and WDI ontologies - the variables in them are now subsumed by the MITRE12 ontology.

I agree with @bsharpataz in that the inclusion of these mappings can be turned on/off using the config. One advantage of the WDI and FAO mappings is that they correspond to data entries in those sources directly so it might make sense to keep them around just in case.

Is there consensus on this?

Ok, I agree with @bgyori , @adarshp i think i’ll close for now but we can always reopen?

@BeckySharp sure! I have reverted the removal of the files.


Tag Creator - Restore Tag Creator output when an affiliated organization is specified

Overview
Currently, Tag Creator fails to return results for most attempts to specify a project URL if an Affiliated Organization is selected from the dropdown menu. Hack for LA Brigade -> CTI-website-frontend and Hack for LA Brigade -> CTI-website-backend are the only combinations that correctly find a project and render topic tags.
Action Items
[ ] - Troubleshoot to determine why Civic Tech Index frontend and backend work, while other pages/organizations do not.
[ ] - Resolve the functionality issue in code.
Resources/Instructions

After some hunting around, I've found at least one repo that yields results:

The fetch code in Tag Creator may be working, after all.

Here is another one ( CodeForAfrica / HealthTools.KE-theStarHealth ):

I am closing this one now, as it does not now seem to be an issue.


Counting lines in large files

Hi,
I am trying to familiarise myself with using Highland by playing with very large text files.
One toy example I am trying to make is to count the lines in a collection of files and output the total.
Starting with the following code:
let total = 0;

_(sourceFiles /* array of paths */)
    .map(fs.createReadStream)
    .flatMap(nodeStream => {
        return _(nodeStream)
            .split()
            //something goes here
    })
    //output here;

As they are large files I cannot use toArray and read in the whole thing so I think I need to write a custom consume function, but I cannot figure out the format for this.
Any pointers gratefully received.

You can use reduce to count the number of lines.
_(sourceFiles)
    .map(fs.createReadStream)
    .flatMap(nodeStream => _(nodeStream)
        .split()
        .reduce(0, (total, line) => total + 1))

This will give you a stream that counts the number of lines for each file. If you want the total number of line for all files, you'd need to do the reduce again after the flatMap.
_(sourceFiles)
    .map(fs.createReadStream)
    .flatMap(nodeStream => _(nodeStream)
        .split()
        .reduce(0, (total, line) => total + 1))
    .reduce(0, (total, count) => total + count)

You can get at the result by using any of the Consumption methods. In this case, each or toCallback would probably make the most sense.
_(sourceFiles)
    .flatMap(fileName => _(fs.createReadStream(fileName))
        .split()
        .reduce(0, (total, line) => total + 1))
    .reduce(0, (total, count) => total + count)
    .each(total => console.log(`Total count is ${total} lines.`))

Thank you, that is really helpful and a nice simple solution.


long short weighting scheme is wrong

https://github.com/quantopian/alphalens/blob/master/alphalens/performance.py#L162
it should be
demeaned_vals = group - group.mean()
return demeaned_vals / demeaned_vals.abs().sum()

https://github.com/quantopian/alphalens/pull/76


Create a row in AWS Postgres using Business forms

I have Grafana using on AWS with Business forms version 4.6.0
I created a simple form to allow a row to be created in the PostGres database that is the source for Grafana
In the update request payload, I have the following code:
const payload = {};
context.panel.elements.forEach((element) => {
if (!element.value) {
return;
}
payload[element.id] = element.value;
})
const queryInsert = {
rawSql: INSERT INTO battery_locations (client_id, location) VALUES ('${payload.client_id}', '${payload.location}'),
format: 'table',
};
console.log(queryInsert);
return queryInsert;
I can see from the console that queryInsert is
{rawSql: "INSERT INTO battery_locations (client_id, location) VALUES ('EPS123', 'My Office')", format: 'table'}
but nothing is getting to the database.
Is there a log either in the plugin or Grafana that I can use to help debug the issue?
Nothing appears in the AWS database logs.
I am making the assumption that this should work, based on the tutorial videos

@Filikin You can check in the Browser's Network tab the payload and response to troubleshoot the issue.
What do you see in the context.panel.response object? Was it successful?

Thanks, the problem was that I was looking that the tutorials for V3 and had missed the significance of the query editor in the Update Request Payload section
From: Mikhail Volkov @.>
Sent: Monday 7 October 2024 20:51
To: VolkovLabs/business-forms @.>
Cc: Eamon Kelly @.>; Mention @.>
Subject: Re: [VolkovLabs/business-forms] Create a row in AWS Postgres using Business forms (Issue #515)
@Filikinhttps://github.com/Filikin You can check in the Browser's Network tab the payload and response to troubleshoot the issue.
What do you see in the context.panel.response object? Was it successful?
—
Reply to this email directly, view it on GitHubhttps://github.com/VolkovLabs/business-forms/issues/515#issuecomment-2397760632, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGGNJZPNBFZYWYJ3F6LTJ3Z2LQ23AVCNFSM6AAAAABPQUC3AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJXG43DANRTGI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

All good now, the dashboard is updating the PostGres database

@Filikin Correct, Query Editor was introduced in v4 is a game-changer and provides better user experience than v3.


fix: bad check for phone number

:tada: This PR is included in version 1.70.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix divide-by-zero in GpuAverage with ansi mode

Fixes: https://github.com/NVIDIA/spark-rapids/issues/2078

build

@gerashegalov we don't have ANSI semantics in several of the operations. In the DivModLike ops alone, the failOnError flag is actually given (in Spark) to: Divide, IntegralDivide and Remainder. Each of these has as default SQLConf.get.ansiEnabled. In our case, Pmod falls under the DivModLike category also.
Doing a quick search in Spark, I am finding that:

Divide: failOnError is passed only in the Average as per this PR.
IntegralDivide: failOnError in case class signature but not overwritten.
Reminder: failOnError in case class signature but not overwritten.
Pmod: failOnError in case class signature but not overwritten.

So the only class that really needs it is GpuDivide, and it seems better (and less error prone) to me to have the call to the shim in a single place GpuDivModLike, with the override possibility, as only GpuDivide requires it.
That said, if we want to match Spark more, I can look into adding the failOnError to all the GpuDivModLikes. Interested to know if we need an issue to track ANSI work for the plugin in general, as it seems that many places have forks for this.

@abellina this is the change I am suggesting in the nut shell. https://github.com/abellina/spark-rapids/compare/agg/fix_ansi_avg...gerashegalov:agg/fix_ansi_avg?expand=1
@revans2 if we made failOnError non-lazy then we don't need an override inside the GpuDivide case class body but could do it just as a param

@gerashegalov updated PR to incorporate your suggestion.

build


1.2 changes root node for XPath

Starting from v.1.2 xpath stopped returning current node after document creation. Well, it is easier to explain here:
    GDataXMLDocument* doc = [[GDataXMLDocument alloc] initWithXMLString:@"<doc/>" error:NULL];
    XCTAssertEqual([doc nodesForXPath:@"//doc" <EMAIL_ADDRESS>Works, 1.2: Works");
    XCTAssertEqual([doc nodesForXPath:@"/doc" error:NULL].count,(NSUInteger)1, @"1.1: Works, 1.2: Works");
    XCTAssertEqual([doc nodesForXPath:@"doc" error:NULL].count,(NSUInteger)1,  @"1.1: Works, 1.2: Fails");

Most probably it happened because of this commit: https://github.com/graetzer/GDataXML-HTML/commit/87ae11b09b7041195016d46f1a88f5368d23cd8e. As far as I understand it changes default root element.

Hi there. Sorry I'm late to the party. It's unfortunate that you couldn't get the third example to work without casting _xmlDoc to xmlNodePtr. I did a bit of investigating myself and found several libraries that perform this cast roughly the same way this branch is doing it. I also found some open source Apple code which uses xmlDocGetRootElement() when the xpath context node reference is the doc element itself, but only when handling the namespaces, again, roughly the same way this branch is working. This looks good to me.

Hi there. Sorry I'm late to the party. It's unfortunate that you couldn't get the third example to work without casting _xmlDoc to xmlNodePtr. I did a bit of investigating myself and found several libraries that perform this cast roughly the same way this branch is doing it. I also found some open source Apple code which uses xmlDocGetRootElement() when the xpath context node reference is the doc element itself, but only when handling the namespaces, again, roughly the same way this branch is working. This looks good to me.

@master-nevi Thank you for the investigation!
@graetzer What do you think? Can we merge a branch to master or you would like to wait until I check this update in real life to be sure that it doesn't cause any crashes?

Hi again, any chance to get this merged to the master and release a new version to CocoaPods? I'm now creating react-native-xml and having a new version in CocoaPods would make my life easier!
Thanks!

Just pushed 1.3.0 to cocoapods, should be fixed now


Added Corelight's YARA Use

Corelight now utilizes YARA and I've updated the README.md to reflect that - https://corelight.com/products/yara

Signed the subscriber agreement - re-submitting PR


Prepare for 0.8.1

Prepare for next release

        1 Warning

  </th>
 </tr>

:warning:
Tests were not updated

  Generated by :no_entry_sign: danger


current project status

Hi @Dogfalo and @acburst,
as you can see there are many open issues and PR's and it seems @acburst is the only contributor but does not merge any PR's.
Are there plans to add more xontributors and pickup development speed?
Because I found a few bugs and I am unsure if PR's will be merged if I provide a fix.

Yeah. Me and @19Peaches were talking about on making an supported fork of materialize.  @Acburst is the only active maintainer, but to handle such a big project alone is impossible. It is Dogfalos project so he has to take care of it or transfer it to another person! There are more than 1000 issues and 300 PRs open! Another way would be to add some maintainers and maybe reset the issue counter! This whole thing really pisses me off.

I totally agree with you. This project has a huge potential and huge interest from other developers but I feel that many things block the further progress of the framework.
We need issue labels, maybe the new projects feature makes also sense to create a backlog of todo issues, current issues in work and create a better structure.
Some third party dependencies should be installed using npm / bower instead of including them directly and the zip file sin the bin directory / the build process could be simplified.
Milestones, some roadmap, better versioning (SemVer as much as possible), just to name a few things which come to my mind.

I am open to the idea of having more maintainers who have had a good history of contributions.

Ok, thats cool, but why aren't you accepting any prs anymore?

I think that the first priority for this project is to add more maintainers. Even though I'm new here, it seems clear to me that the project needs more maintainers with more than 1000 open issues and more than 300 PRs, along with stuff (like materialize-picker plugin) that didn't even get in to the project.
This project is epic and has huge potential, and more maintainers will help it achieve it's true potential.

To be completely honest with you @tomscholz , it's a mixture of laziness on my part and a general disenchantment in the many PR that I've come across. At one point I kept coming across PR that modified the compiled HTML, JS, or CSS file and it really started to annoy me. But in the end it's no excuse to ignore PR's of course
It would be great if someone is willing to go through the old issues and PR and aggressively close the ones that are no longer relevant or duplicates. I see you have been really active as of late Tom, let me know if you want to help in this regard.

Well, compiled files should be never part of the master branch. Normally there should be an extra branch for a build. And normally you setup npm / Grunt / gulp tasks to do the compile steps and other developers have to go through the npm / bower install and build steps on their own.
But that is just my opinion. A gh-pages or website branch for a complete build is totally ok.
For example I strictly separate the source files and the build in this project to ease automatic builds which we could also use here (Travis and other CI solutions): https://github.com/DanielRuf/testblog

@DanielRuf I, in my first commit too almost edited the compiled files.
Possible solutions:

Move compiled items to a different branch
Add a very clear notice, to not commit to compiled files
Remove edit access from compiled files to normal users
Put them all in a folder called "compiled" so it'd be clear not to touch it

This is a separate concern, I think maybe we would just add them to git ignore but leave them where are currently are

@DanielRuf I, in my first commit too almost edited the compiled files.
Possible solutions:
Move compiled items to a different branch
Add a very clear notice, to not commit to compiled files
Remove edit access from compiled files to normal users
Put them all in a folder called "compiled" so it'd be clear not to touch it

This is what a protected branch is normally for. Currently I miss any documentation for us develoeprs what we have to do and what we should not do when working with the files.

We could move the docs into a folder called docs/ and use jeykell to generate it 🤔

This is a separate concern, I think maybe we would just add them to git ignore but leave them where are currently are

This is just a part of a good solution, the working tree is still full of different directories from the build process or am I wrong?

We could move the docs into a folder called docs/ and use jeykell to generate it 🤔

Definitely a good idea. Sometimes it also makes to make an extra repository just for the docs. At least an extra directory is senseful and have an extra branch for the Jekyll hook.

@Dogfalo

At one point I kept coming across PR that modified the compiled HTML, JS, or CSS file and it really started to annoy me.

Totally agree

I see you have been really active as of late Tom, let me know if you want to help in this regard.

I would love to

that would change the github pages routing no? wouldn't it solve the problem already if the master branch didn't contain the compiled files?

Yeah that would solve the problem with edited compiled files but still the docs inside the repo is a little bit of a mess.

that would change the github pages routing no? wouldn't it solve the problem already if the master branch didn't contain the compiled files?

If you set in the settings that the docs folder is for github pages, then no

that would change the github pages routing no? wouldn't it solve the problem already if the master branch didn't contain the compiled files?

@Dogfalo Do you mean the build process for the website / docs? You can set the branch for the page individually

If you set in the settings that the docs folder is for github pages, then no

Exactly, this is the third option on my screenshot (I don't have a docs directory in this repository si it is greyed out).

@Dogfalo Now we are already talking. What is about the @materialize organization? Who owns it and what is/was it for?

We own it, we were just squatting it in case we needed it.

To comment on the above - the issue for implementation for a timepicker is several years old, and has many PRs of different implementations, however nothing has been merged

@tomscholz please send me an email so we can exchange a few words.

OK. I managed to close like 80-90 issues now. I want to make this as public as possible, but we could also open a new Gitter channel for better communication. Anyhow, what I am trying to say is that it is really hard to cleanup/sort issues. There are still 328 open PRs. These PRs are often in a relation with one or multiple issues. This results in a very complex system. A very anoying thing is that sometimes there are solutions for problems but no one hits the merge button. Many of @DanielRuf PR are good, or is there just something I don't see?

Hello @tomscholz, I wanted to help too, Curiously I was reading this topic right now, I send you a private message in gitter

Gitter could be useful for better back and forth. Message me there. Yes I
will merge a few today.
On Sun, Apr 2, 2017 at 5:32 PM Fabian Gutierrez<EMAIL_ADDRESS>wrote:

Hello @tomscholz https://github.com/tomscholz, I wanted to help too,
Curiously I was reading this topic right now, I send you a private message
in gitter
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dogfalo/materialize/issues/4423#issuecomment-291026388,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACpax-sytIg_wrl1GPiQvg2MeHsQsG_Pks5rsD4pgaJpZM4Mr-g0
.

--
Doggy sends his greetings from Mars.

@Dogfalo I already send you a message :smile:

hello everyone, thanks for picking up this great project and improving development. Over time I noticed that many issues are just questions from users needing support or sharing ideas. Maybe a simple forum could help to get down the number of open issues leaving only real bugs, branches and PRs? I've seen this working really well on the Syncthing  project

@uok I don't think we need a forums system, but we could just have issues of different kinds using github issue labels: Problems/Errors, Features/Enhancements, and Questions. The problems/errors could be the default issues with no label, but we'd need a label for features/enhancements and a label for questions, and in the default creating add a note that if it's a question/feature/enhancment to make sure it wasn't asked/suggested before.

@NonameSLdev https://github.com/Dogfalo/materialize/labels

@NonameSLdev labels can help, but it needs additional time of project owners to assign them. And having ~900 open issues can be a bit overwhelming even if everything is labelled correctly.

899 issues

@tomscholz Oh :)
@uok
Sure, it can be overwhelming and it could be a hassle to assign labels to everything. If the labels already exist all we need to do is to encourage issue commiters to put labels on their issues so they're more organized. So, even if there will be a large amount of issues in the future, it'll be easier to go through them.
@tomscholz I don't think that we should add labels to existing issues/PRs as in my opinion it'll be a waste of time. And yeah, clearing all those issues will be a group effort. But hey, around 5 days ago we had ~1000 open issues and we've already reduced that to a 900 thanks to the amazing collaborators/managers :) So we'll make it eventually.

afaik only users with write access to the repo can assign labels

afaik only users with write access to the repo can assign labels

Exactly.

@uok @DanielRuf Just found that out and was about to write it :) Well why is it like this? If everyone could assign labels (only assigning, not adding new labels) to themselves it could be great for the project.

I think that the Enhancements petitions should have a verdict from the leaders of the project in a couple of weeks (maybe two) because there are usually vague and a lot of them are still open since a lot of time ago.
Or we can move the enhancements label quickly to a project tabloid. organized like
"In consideration" "Approved" "Denied"
It should clean this kind of issues without closing something valuable

@fega i dont get it

@NonameSLdev Not every person that opens an issue is a developer, e.g. user could open issue "control dishwasher with materialize", label it "critical" and add to next milestone! Take the Syncthing forum as an example - it works really well as the project has users with many questions and ideas/suggestions. So it would be like "forum = brainstorming and support" and "issues = confirmed todo/new feature list". In addition the devs use labels  on Github to inform users what they are working on (e.g. "bug") and what could be picked up by other developers (e.g. "easy") Issues that contain questions or are out of scope are closed as soon as possible and are redirected to the forum.

Hello, @tomscholz :smile:
Exist a lot of Issues like these:
#915
#936
#2406
#1638
#1056
#601
#1024
There are Enhancements, not bugs.
Some of them are vague, that means that you don't know when to close one, why should ask for a clear petition or goal, if this is not provided, close it. if yes, pass to the next options.
Other bunch are unrelated to the project and should fit better in a plugin for Materialize, In that case, a plugin creation should be encouraged and the issue closed.
Also, there are some that are no plans to be accomplished, in those case, I guess that the best option is that the project leaders decide to close it or implement it.
If the maintainers decide to implement it, use something like a project board would be nice to manage this topic.

Maybe we can try https://waffle.io/ to organize issues better at materialize

Jesus christ... I just found this https://github.com/Dogfalo/materialize/pull/2670#issue-127092917 PR... That are a lot of issues 🙃

Maybe we can try https://waffle.io/ to organize issues better at materialize
I created some labels inspired by bootstrap, but I also found these over here very interesting,  because they have for each component a label. What do you think about that?

I think component labels isn't necessary. Probably used at Google because they have different people manage different components

Ah ok. And another general question: If an issue has a pr, but it is very old and the pr isnt merged. Should I close the issue?

Lets discuss on Gitter

Can we close this?

From my side? Sure. We have now a better communication, real progress and some strategy (the projects, labels, Gitter channel and so on). And development is faster now 👍

I'm just watching your issue closing party and, may i say, it's impressive! 😃

yeah, its pretty amazing!  already under 800

Captain, full speed ahead 🚀
Small suggestion: for clarity keep approved feature requests open

@uok Good idea @fega

@DanielRuf Where is the maintainer channel? is it in gitter?

@smileytechguy right, did you get an invitation from @tomscholz?

As mentioned before, this discussion has moved to gitter :)


fix IT cmsQuickaction

For inexplicable reasons, the selectText() function in firefox did not trigger the CMS quickaction button in the input field. I am now doing the select manually as it seems to work this way. What do you think?
Strangely enough, the IT works for me locally with the previous solution without any problems on all browsers.

thanks for the good input.
yes i ran the test locally and it was green, so i was surprised why the jenkins build failed. I'll try an await and if that doesn't work double click 👍

@ivy-lli Unfortunately it didn't work with await but it looks like it works with double click🙌

thanks for the good input. yes i ran the test locally and it was green, so i was surprised why the jenkins build failed. I'll try an await and if that doesn't work double click 👍

I assume that if you run it multiple times locally it would fail to sometimes. Thas exactly why you should add an await to every playwright action.

If it don't work with await then something is wrong.
If you don't await and you have to actions click and selectText you have no guarantee which is triggered first.

I'm not quite sure what you mean by this but it now works with dblclick without any problems. i would leave it as it is or do i need to analyse this further?

I'm not quite sure what you mean by this but it now works with dblclick without any problems. i would leave it as it is or do i need to analyse this further?

https://apidog.com/blog/await-in-playwright/


Is there a way to add a stroke/border around some icons?

I'm currently trying to switch a project from using mdi-vue components to using Nuxt UI Icon (with dynamic: false to use CSS class icons).
With the component icons I was able to target the <svg> of the icons via CSS to, e.g., add a stroke/border, to some icons. Is this somehow possible with CSS base64 SVG embedded icons as well?
For such an use case, do you think it might make more sense to use icon components to be able to target the <svg> of the icons?

So, maybe we could make extraProperties accept a function so that you can apply extra
properties conditionally. WDYT?

I have thought about it a bit more and the use case I have to be able to use icons normally and have some icons with separate props.
Collection Aliases
One would basically "create" an alias to point to an existing icon collection, so only the icons with the different collection name will have the extraProperties added to them.
// [...]
collectionAliases: {
  mdistroke {
    collection: 'mdi',
    extraProperties: {
       stroke: '#000000',
       'stroke-width': '0.75px',
       'stroke-linejoin': 'round,
    },
  ],
},
// [...]

I could use i-mdistroke-home and get the i-mdi-home with the css properties added to the <svg> of the icon.
Icon Aliases
i-mdi-home icon is available normally without extra properties.
For the few components/pages where one would need to have the i-mdi-home icon but with a stroke/border added to it, an "alias" would be added to the config per icon (but being able to reference/resolve existing icons, so SVG code doesn't need to be copy'n'pasted around ). This would result in i-custom-mdi-home being available with the extra properties for these cases.
// [...]
iconAliases: {
  mdi: [
    {
      alias: 'i-custom-mdi-home',
      icon: 'i-mdi-home',
      extraProperties: {
       stroke: '#000000',
       'stroke-width': '0.75px',
       'stroke-linejoin': 'round,
    },
  ],
},
// [...]

I personally lean towards the "Collection Aliases" idea, as that would enable using a whole collection with several different properties by just aliasing the collection name, and being able to continue using both where applicable.

This is an interesting idea, do you want to create a PR? I would love to accept it.

Sure, I'll try and see how far I get, thanks! :-)

I would love to have an option to define stroke-width of icons. Currently we are using Tabler icons but not being able to define stroke-width is unfortunate.

@frasza You can custom stroke width for Tabler icons now in v1.8.0


Add classes

Highlights

Created Person class
Created Student class
Created Teacher class
Added professional README file
Fixed errors using linters

@emmanuellekamwa,
Thanks a lot


Why not LoadLibraryA and GetProcAddress with separate dll wrapper with C bindings?

question

The Free Software Foundation explicitly claims that wrapping something in a DLL doesn't make it acceptable to combine with GPL code.
They give the specific example of breaking something into a separate process that communicates over a pipe as acceptable, though, so that's the design I went with here, since this was specifically to let GPL games use Steamworks.

The Free Software Foundation explicitly claims that wrapping something in a DLL doesn't make it acceptable to combine with GPL code.

Does it prohibit static and dynamic linking during compiling? What about loading library on runtime?

Does it prohibit static and dynamic linking during compiling? What about loading library on runtime?

Yes, you can't directly combine closed-source code with GPL-licensed code without violating the GPL license, no matter how you link it (static, dynamic, or LoadLibrary()'d). The license doesn't consider code in another process talking to GPL'd code as combining code, even if it's a custom interface designed specifically for those two pieces of code to communicate.
The goal of this project wasn't to make a C-callable wrapper around Valve's C++ code, it was to make it so GPL'd games can use Steamworks.

Thanks for clarification. I should give up of implementation idea...


No error when I select 3 subnets in 2 Azs when deploying redshift

Summary

Steps to reproduce

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Possible fixes

This is :bug: Bug Report

Duplicated with #463


Github blocked.

Hi Jack, Github is blocked from my country, it's only a matter of time till my ISP enforces the rule, so if you notice very less contributions from people from my country (India), now you know why.
Luckily I'll be gone to Singapore for a while, and I'll be able to contribute from there. But, thought I'd let you know anyway!
Cheers. (Happy new year to you, btw :) )
Reference:
https://www.techdirt.com/articles/20141231/02075529554/indian-government-orders-32-web-sites-blocked-including-github-archiveorg-pastebin-dailymotion-vimeo.shtml

Perhaps it will be blocked only in DNS so using OpenDNS might bypass the issue, no? Or there is still the VPN solution.

Perhaps it will be blocked only in DNS so using OpenDNS might bypass the issue, no? Or there is still the VPN solution.

I read about GitHub being blocked, its really unfortunate. Let's hope the government resolves things reasonably.

I read about GitHub being blocked, its really unfortunate. Let's hope the government resolves things reasonably.

You could buy a cheap DigitalOcean server in America and use it as a proxy. Just a thought

You could buy a cheap DigitalOcean server in America and use it as a proxy. Just a thought

Nevermind, I'm now back to SG, so shouldn't be an issue anymore. Thanks everyone :+1:


HOSS2-319 - Hook up to the new MRZ endpoint and make logic generic

dont mind me formatting your badly named PR's


Hi Kevin!!Could you please post an example of Cache Expiration and Validation!!

wrt to retail scenario ie. an client app (angular) collecting  product summary from API
demarcation of data is mostly as is derived from real world retail producr , consider Laptop and its supported Accessories wrt to multiple brands API supports.
ques is how to ensure reliability of data sent in response from API endpoint via a Httpget (api/Laptops/GetProducts?fields=Id)
is maximum mostly considering nature of data , resource representation may be different for each Vendor.

Hi,
you can find some examples, including documentation, in the HttpCacheHeaders repo: https://github.com/KevinDockx/HttpCacheHeaders.  Note that the actual caching should be handled by a cache server, it's not the responsibility of the API.
Hope this helps! :)


Support Swift 5.0

Has fix.

Looks like you didn't successfully resolved the conflicts, please merge upstream's master  or rebase.

Mabey don't need 'osx_image: xcode10.1, osx_image: xcode9.4, osx_image: xcode9.2' in .travis.yml file


Neural Network - Base

I have added Neural Network  base model file please let me know if there are any changes I should do
@geekquad
issue #47

sure sir I will  do some necessary changes with in 2 days


Stagemonitor widget should be more locked down by default

The current archetype doesn't provide any configuration around the stagemonitor widget [1]. The default configuration should be to have it locked down. Possibly with a comment or content updates in the documentation site on how the configuration could be changed for the widget.
[1] https://github.com/stagemonitor/stagemonitor/wiki/Only-show-the-widget-for-authorized-users

Issue addressed in b8de980


oak-d as a video device

Added How to run OAK-D as video device to the FAQ.

Thanks this looks good.  It would be good to set a reminder to update in say a month (can do in slack) as I think with the DDR boot improvements, this could get easier/cleaner (and mainlined).
So on the DDR-boot @themarpe / @alex-luxonis - am I right in assuming that that can make UVC nodes easier/cleaner?

Correct, no need for separate branch, etc...
I'd wait as well

@Luxonis-Brandon I set reminded on Slack. @themarpe - so this one can be merged now and updated later?

@cafemoloko I think we can, we'll update later

Oh also @cafemoloko when you get a second could you also link to this new section from here if you haven't already?   Also as good practice we should search the FAQ for any relevant sections/etc. just with a simple ctrl-f (e.g. in this case for UVC) to update other FAQ entries if/as necessary.  (And sorry if you already did this and I missed it.).


Should scenery support css animations to improve performance?

In simulations, we often cannot use css3 keyframe-style animation for arbitrary motion.  However, we could use it for certain user interface components, such as animating an object to fly to a toolbox.  Should scenery support this style of css3 animations?  If so, how would it work (API/implementation)?  If not, would they coexist peacefully or better to steer clear of css3 animations?

Now that we're getting WebGL, I'd prefer to have the fast animations in WebGL rather than handling with CSS animations (which would need a completely new API). Thoughts?

Yes, let's avoid css animations.  Close if you wish.


Suggestion - Output exception message to the error code in-place

Let's say a template is consists of tens or hundreds of lines.
Assume most of the template code are OK, but one of them has syntax error :
<% errorCodeHere %>
It'll be great if the compilation goes on and insert the Exception ClassName and Error Message in-place into somewhere in between <% errorCodeHere %> in the result string.
Hope it makes sense.

I think it depends on how you are outputting stuff. Ideally, there should not be any issue. If you are following the model of passing data into the template rather than using functions to fetch data - there should be no issue. if there is an exception during the data fetching phase, well, you know about it and can then use the error handling template however.
if you want to do something like you suggest, I think you would have to have something like:
<% errorCode := getErrorCode(); %>
<% errorCode %>
if there is no errorCode, it can be blank...
you probably know this already, but fundamentally, the template engine is not trying to be something like php... otherwise it would have all of the features and be a general purpose programming langauge.

actually, I was reviewing what you said again about nested templates...
The template engine uses 'stack frames' for storing variables. I can't recall offhand, but it may be that when going across template boundaries, a new stack frame is created. However, the way variable resolution works is by traversing the various stack frames until the relevant variable is found. if not found, it is added to the current stack frame.
with this in mind, what I'm thinking you could try... in the parent template, create  a variable <% errorCode := '' %>
then in the child template, if you assign <% errorCode := 'some value' %>, it should be visible in the parent template... I can't say 100% for sure, but it might work.

Sorry for not being clear enough for the suggestion. I hope the following example explains the issue better.
Assume we have a html template file:

...many lines here
// the end user writes the template code and have written it wrongly:
<% CallCustomFunction(Anything might go wrong here for non-techies) %>
...many lines here

With the current implementation, Template.Eval will raise exception and the template processing will be halted when if there is a parsing error, so the Eval result will be zero or full.
My suggestion is not to raise exception (thus stopping the processing) but insert the error message in where the error happened. Take the above as an example, the processed output should be something like:

...many lines here
// the end user writes the template code and have written it wrongly:
<% Template error here, error code: 1, error message: 'blablabla', original code: 'CallCustomFunction(...)' %>
...many lines here

I think I see what you are getting it...
It is more about recovery during the parsing process.
I think the demo app demonstrates how to get error line and position, but does not render anything.
If you have a server app, it may be more ideal to parse the templates on startup, and then 'eval' the parsed template ... which should be a little faster. this might not be the case for you right now though, but just mentioning... if there is a problem, it is an application issue and should just be fixed in my opinion. ;) but if I recall, in your scenario you are working on an editor, so recovery during preview may be nicer...
Recovery and injection of an error message may be a good extension. thank you for the suggestion.

Recovery can be a tricky problem, but I'm just thinking about how it can be done...
So I think I'd add an option to support recovery, as it might not always be automatically desirable.
As an error essentially takes place within the <% %> type script tags, the recovery process would log the error (there may be some configuration as to a prefix/suffix around the error - e.g. so it fits into html, etc) and ignores everything until it finds a closing %> type tag at which point it just resumes normal processing.

There is a new option on the context - eoDebug. When this is enabled, you can also leverage the new property on the context: DebugMessageFormat.
If you want to use html output, simply do something like:
DebugMessageFormat := 'Error:%s';

procedure TTestTemplate.TestException;
var
  LContext: ITemplateContext;
  Functions: ITemplateFunctions;
begin
  Functions := CreateTemplateFunctions;
  Functions.RegisterDefaults;
  Functions.AddFunctions(TMyExceptProc);
  LContext := Template.Context([eoEmbedException]);
  LContext.Functions := Functions;
  Assert.AreEqual(#$D#$A#$D#$A'ERROR:  (Line 1, Column 16) test'#$D#$A#$D#$A, Template.Eval(LContext, '<% RaiseExcept(''test'') %>'));
  LContext.DebugErrorFormat := 'Error:%s';
  Assert.AreEqual('Error: (Line 1, Column 16) test2', Template.Eval(LContext, '<% RaiseExcept(''test2'') %>'));
end;


Handle Missing Values

Specify they should use sklearn components to handle it.

don't use '.fillna' in your notebook


Filter Primes from a List

Before jumping into Pr first comment for assign.
Problem statement : Write a function that takes a list and returns a new list containing only prime numbers.
Probelm Link : https://edabit.com/challenge/yXZhG7zq6dWhWhirt
Choose one Cateorgy - Hard
question category : Numbers
Before submitting a PR please Check some details.
fileName formet should be in camelcase
example- returnTheNextNumber.py
Choose label for Problem , example- "good first issue", "easy"
In file there should be problem statement and link to problem
/* Problem-Task : This program will add two numbers

Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
*/
int main() {
int bla;
return 0;
}
This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github
Good Luck,

Hey @aayushi-droid please assign

please Don't modify the template. you removed checkbox by mistake

[ ] Task Assigned

Hey @aayushi-droid kindly assign

@Jayshah6699 Task is already assigned. I will add more program tomorrow. So  I will you assign there.
Keep an eye out.


Existing resource scope ignored with BICEP_IMPORTS_ENABLED_EXPERIMENTAL

Bicep version
0.4.1272
Describe the bug
With BICEP_IMPORTS_ENABLED_EXPERIMENTAL enabled, the existing resource's scope is ignored on sub-level deployments, leading to empty resource group
Status: Failed
Error:
Code: ResourceNotFound
Message: The Resource 'Microsoft.ContainerService/managedClusters/foo' under resource group ' ' was not found.

To Reproduce

existing.bicep

targetScope = 'subscription'

resource cluster 'Microsoft.ContainerService/managedClusters@2020-09-01' existing = {
  name: 'foo'
  scope: resourceGroup('sub-id', 'res-grp')
}

output clusterFqdn string = cluster.properties.fqdn

output with imports disabled:

{
  "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
  "contentVersion": "<IP_ADDRESS>",
  "resources": [],
  "outputs": {
    "clusterFqdn": {
      "type": "string",
      "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', 'sub-id', 'res-grp'), 'Microsoft.ContainerService/managedClusters', 'foo'), '2020-09-01').fqdn]"
    }
  }
}

output with imports enabled:

{
  "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
  "languageVersion": "1.9-experimental",
  "contentVersion": "<IP_ADDRESS>",
  "resources": {
    "cluster": {
      "existing": true,
      "type": "Microsoft.ContainerService/managedClusters",
      "apiVersion": "2020-09-01",
      "name": "foo"
    }
  },
  "outputs": {
    "clusterFqdn": {
      "type": "string",
      "value": "[reference('cluster').fqdn]"
    }
  }
}

I think this is a bug in the runtime. The goal of modeling the "existing" pattern in JSON was to simplify codegen in Bicep.

Never mind. It's definitely a bug with Bicep code gen when symbolic names are enabled. We're not emitting the subscriptionId and resourceGroup properties to modify the scope of the existing resource. After manually adding the missing property in, my own repro template deploys successfully.


All encodings in userdata should be specified as SJIS

This makes sense to me, but could you add a test? It'd be great if we could find a replay where the name is only parsed properly with shift-JIS

added it. Any replay that was played without the NDT static English patch would have this issue


Fixes goryn-clade/pathfinder#190

Fixes goryn-clade/pathfinder#190
Added database entries for the Zarzakh map change, as well as a few checks to fix a bug where pathfinder frontend would crash when you try to open the Map Information dialog if Zarzakh is on the map.
Incidentally, it fixes the same bug that occured if an Abyssal Deadspace system was on the map.
These bug were caused by planets being undefined for Zarzakh and AD systems, leading to an Uncaught TypeError at planets.length.

Manually merged due to conflicts.


Mapping between generic gRPC error codes and PHP error statuses.

Should this be an issue in the gRPC issue tracker?
yes
What version of gRPC and what language are you using?
gRPC v1.10.0, PHP
What operating system (Linux, Windows, …) and version?
Mac OS Seirra
What runtime / compiler are you using (e.g. python version or version of gcc)
PHP  7
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
Making a unary call
$hcApi->Ready(new \Google\Protobuf\GPBEmpty(), [], ["timeout" => 1000])->wait();
returns responses

What did you expect to see?
Expected to see error messaging more similar to https://grpc.io/docs/guides/error.html. The status code returning 4 is especially not very helpful.
What did you see instead?
See image above
Anything else we should know about your project / environment?
Nothing of great importance.

We can't change the returned value $status from code to string directly because it will block uses who are using it. Thus we provide some helper method map those enum value to the string as in #15652.


Plugin Description
Plugin to rename functions and variables with a locally hosted ollama server. Can use any of the openly available models such as llama3 and gemma2.
Plugin Repository URL
Repo URL: https://github.com/ahaggard2013/binaryninja-ollama
Real Release

[X] I have made a real release

read me was overwritten by release script, reposting

No worries, I have some other feedback i'm working on.

Here's my comments so far:
Thanks for the submission.
Should https://github.com/ahaggard2013/binaryninja-ollama/blob/main/ui.py#L28C43-L28C57 be updated to use <IP_ADDRESS> instead?
Also, please remove PySide6 in the requirements.txt as that is automatically provided by Binary Ninja if you first import binaryninjaui and then import PySide6. Otherwise you'll be getting whatever version of PySide6 Python installs which is likely to cause issues.
Alternatively, you could replace the UI code with interaction API calls so you don't have to write pyside at all.
Not important suggestion:
the documentation for functions is nice, but if you're going to do that you should really consider type hinting as it will help linters and IDEs make sure you code has less bugs in the future!

thanks, fixed the ip/requirements, porting to interaction calls and type hinting will take a a bit more effort, but will look into it!

Reopening this - please make a release with the requirements fixes

TL;DR your latest code has the change to requirements, but not the latest release actually cut. This actually caused a user who installed the plugin to have all UI plugins break unfortunately so we've removed it from the plugin manager until it's resolved.

whoops! I'm new to configuring releases, should be fixed now.

Thanks -- added back. Also, have you tried https://github.com/mrphrazer/reverser_ai ? I don't think I mentioned it before but it also uses an ollama model. Might be worth consolidating/merging any shared features, though Tim's plugin is GPLv2 so that could be an issue.

I didn't see that plugin! That's awesome, very similar. I originally only saw the openai one which sparked the effort. I will have to give it a try later, looks like it has some cool additional features.


UI - Issues when re entering chats with Private assistants.

Electron built with commit id - bc8130a1e935b97a9
Steps to reproduce the problem:

Create an assistant (you dont even have to add any tools but leave it private).
Chat with this assistant.
Leave the thread.
Visit the thread again.
Not able to load the thread anymore.

Tested with commit id a80d481cce90c
This issue is not seen anymore.


Add default blog user icon

This will add a default WP icon for the Blog User.

Isn't there a core file we could use?

Isn't there a core file we could use or what about the MP.jpg? https://github.com/Automattic/wordpress-activitypub/blob/master/assets/img/mp.jpg

My brain said "nothing in Core" but that isn't quite true, there are a couple of WP icons here but they are very small.
As for re-using mystery-person, I guess I thought that a Blog User isn't a person? Plus I want to market WP in the fediverse a bit.

What about https://github.com/WordPress/WordPress/blob/master/wp-includes/images/w-logo-blue-white-bg.png ?? Do we use it bigger than 80x80?
If we use our own, it should have a white background, otherwise it might look crappy on other networks. Had this problem already.

80x80 is very small and will look bad. but sure we can add a white bg and make it a bit smaller

No, it's not about making it smaller, I was only thinking about re-using the core logos. If we use our own, we can keep the size, but should make the background white.

Ah right gotcha. I've downsized the WP logo and added a white bg. Also upsized the Mystery Person to be a bit less blurry

Nice!


Make a BFD monitor task

Subtasks:

[x] #86
[x] #126

Håvard has indicated dissatisfaction with the current BFD monitor in Zino 1.  He should be consulted to design a better implementation for Zino 2.0

A juniper implementation has been made (#86), Cisco is in the works

Both subtasks have been closed, also closing this tracking issue.


Is the result still reliable after doing scvelo's differential kinetics

Hi,
If I have a dataset with cells with distinct cell states and lineages and run differential kinetics as scvelo suggested, will the result of cellrank still be reliable?
Thank you!
Bset

Hi @BW15061999, sorry for the very slow response to this, I hope it's still relevant. As long as you trust the velocity results (which you should check by looking at e.g. individual gene fits), this should be no issue for CellRank


nav button carousel z-index obscures dropdowns

Demo at https://play.tailwindcss.com/SHnMBFayGk
The other carousels work fine.
If I place a navbar with dropdown menus
https://daisyui.com/components/navbar/#responsive-dropdown-menu-on-small-screen-center-menu-on-large-screen
(at a desktop breakpoint) just above a carousel with next/prev buttons
https://daisyui.com/components/carousel/#carousel-with-nextprev-buttons
the dropdown menu items are obscured behind the carousel. Note that this works fine at the mobile breakpoint.
Problem also exists for a Card just below the NavBar menu.
I also had the same problem, when trying Tailwind Elements's carousel.
FWIW, I use Astro.build

@bingalls Did you ever find a solution for this? I am having the exact same issue and I also use Astro

@bruddlee  I did not find a solution; this is not an Astro problem. It looks to be a CSS z-index problem.
Dropdowns also break for other DaisyUI components, Heros, as I recall.
A quick hack would be to keep your drop-down menus short, and insert (well behaved) content between your navbar menus, and such troublesome DaisyUI components.
Also, it helps to set the background-color for the transparent :hover menu items

The ul that contains the sub-menus has a z-20 in the mobile version but not on the desktop.

 should add z-20 so it would look like this

I think this was fixed already. let me know if you have any questions.


include dynamic instrumentation only on arm64

What does this PR do?
Only include the Dynamic Instrumentation on arm64 architecture
Motivation
Smaller binary on unsupported architectures
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Should the DI team be added as codeowners to some files changed here

They are going to have a large PR integrating their code into system-probe, so we can ensure we make those changes then.

/merge


Output window font

It would be nice to have  away to configure the font and its size in the output window.

+1

This would be very useful.

This would be great to have this feature, as I'm working on a 2K screen the output is too small to read. Thanks dev.

Patches would be accepted for this.

I just did it in the atom css file
.atom-runner pre {     font-size: 1.5em; }

That's not helpful in my use case, I want to be able to resize the don't by using the usual resize font keys dynamically...


Create ReconstructedCellRelease schema

Create ReconstructedCellRelease schema used In morphology release pipeline:

hasPart of type nsg:ReconstructedCell

i want to work on this issue . provide more info?

i want to work on this issue . provide more info?


Add new example of ADC with RTIC using SysTick as monotonic

Summary
[describe your changes here]
Checklist

[x] CHANGELOG.md for the BSP or HAL updated
[x] All new or modified code is well documented, especially public items
[x] No new warnings or clippy suggestions have been introduced (see CI or check locally)

If Adding a new Board

[x] Board CI added to crates.json
[x] Board is properly following "Tier 2" conventions, unless otherwise decided to be "Tier 1"

Pinging @ceigel. Did you want to pick this back up? An RTIC example for the feather_m0 would be nice to have.

@bradleyharden sorry for the delay. I addressed the comments. I haven't tested it on hardware with the new changes. I will do that in the following days.

@bradleyharden I tested this on hardware. The PR is ready to be merged.

@ceigel, Not sure if you're still interested in working on this, but I'll be happy to merge this if you want to bring the example up to speed with the current master.