text:
amyloid precursor protein metabolic process

https://www.ebi.ac.uk/QuickGO/term/GO:0042982
seems an odd term (isn't it just protein maturation?)
if it is required, shouldn't it be a child of this?
https://www.ebi.ac.uk/QuickGO/term/GO:0051604
@RLovering

The parent term 'GO:0019538 protein metabolic process' has some other odd child terms of similar nature, e.g. 'GO:0050757 thymidylate synthase biosynthetic process', 'GO:1901142 insulin metabolic process', 'GO:0045558 TRAIL receptor 1 biosynthetic process', etc., as well as 'GO:0051604 protein maturation', and others.
So even if I shuffle the amyloid terms around, this whole branch requires tidying up, which will likely turn into a mini-project.
@ukemi should I make the edits involving the amyloid protein, and close this ticket? Or should I add the label 'mini-project' to address the need for revision of other terms in this branch (and un-assign myself)?

Hi
@BarbaraCzub , to me the others seem OK here because they do not  explicitly mention a precursor. amyloid precursor protein metabolic implies maturation.
GO:0051604 protein maturation is correctly placed under here.
For the others  I'm not sure that they should exist:
thymidylate synthase biosynthetic process (has no annotations) @pgaudet  obsolete?
TRAIL receptor 1 biosynthetic process' (has no annotations)  @pgaudet  obsolete?
but is out of scope for this ticket.
So I think just adding the missing parent is good for now.
I can open a new ticket if @pgaudet  thinks oboletion is appropriate for those...

"Insulin  metabolic process" is OK for example, because it's useful and is split into processing, and catabolism. The processing part is already linked to maturation.

Hi @BarbaraCzub,
It would be best to address the specific issue in this ticket and close it. It we feel that there are other issues, we should open tickets to address those specifically.

'Amyloid precursor protein' (or APP) is a protein name (https://www.uniprot.org/uniprot/P05067#names_and_taxonomy). The name has the word precursor in it, because it had been initially identified as a precursor of amyloid-beta, before other roles of APP started being explored and identified.
Therefore, the GO term name 'amyloid precursor protein (P05067) metabolic process' does not technically differ from 'insulin (P01308) metabolic process'.
If 'amyloid precursor protein metabolic process' becomes a child of 'GO:0051604 protein maturation', then 'GO:0042987 amyloid precursor protein catabolic process' (exact synonym: 'amyloid precursor protein degradation') can no longer be a child of 'amyloid precursor protein metabolic process', can it?(Degradation and maturation should be mutually exclusive). @ValWood @ukemi Do you have any suggestions on how to address this?

@ValWood I agree that 'GO:0051604 protein maturation' is correctly placed under 'GO:0019538 protein metabolic process'.

Hi @ValWood, yes, at least my understanding is that it is a gene product description in this GO term name.

Hi @ukemi both our statements are in agreement. APP is a precursor of amyloid-beta, which contribute to formation of amyloid-beta fibrils, which ultimately deposit in the brain forming amyloid plaques/lesions. We're definitely keeping the metabolism term, we were just discussing its correct parentage (and then the consequences for the catabolism child term).

Although
GO:0042983   amyloid precursor protein biosynthetic process
is defined
The chemical reactions and pathways resulting in the formation of amyloid precursor protein (APP), the precursor of amyloid-beta, a glycoprotein associated with Alzheimer's disease.
which implies that this is the maturation term
because there are separate terms for
GO:0050435 amyloid-beta metabolic process
does
GO:0042983   amyloid precursor protein biosynthetic process
include anything other than processing?

"I thought it was referring to metabolism of the precursor!"
@ValWood APP (amyloid precursor protein) is the precursor...

'GO:0042983 amyloid precursor protein biosynthetic process' will include processing (in different cellular compartments, as the protein is being delivered to the cell surface) and likely also some post-translational modifications (I'd need to look this up).

It is certainly glycosylated.

Yes, it is a glycoprotein for sure.

But if we place 'amyloid precursor protein metabolic process' under 'protein maturation', then what happens to its child term 'amyloid precursor protein catabolic process'?

I think you have made a good argument that metabolism is more than just maturation.

Maybe not, anyway you can close for me, I'll just include the metabolism term...

I wonder if the right action here is amputation, citing the GO principle that GO terms refer to functions and processes, that are used to annotate specific proteins like amyloid precursor protein, insulin, etc. So terms for post- and co-translational modifications are fine, and terms that assign teleological purpose like "maturation" and "catabolism" are OK, but not terms for APP catabolism. See the discussion from, what, 10 years ago, that replaced an extensive array of protease terms like "trypsin activity" sith a limited set that distinguished proteases on the basis of reaction mechanism (serine, metallo, etc) and site of action on the target polypeptide )(endo, N-terminal, C-terminal). @mah11 am I remembering correctly?

re @deustp01

replaced an extensive array of protease terms ... am I remembering correctly?

It's certainly correct that we purged the peptidase activity branch of many terms of varying degrees of substrate specificity. In that case much of the rationale consisted of two poinsts: 1) that the obsolete terms did not reflect any mechanisms not covered by the smaller set we retained; and 2) it was so difficult to create and maintain adequate definitions for the substrate specificites (especially for the enzymes with broad specificity or loose target site requirements) that the experts even regretted attempting to include substrate-specific entries in EC, let alone GO MF.
I'll leave it to the current GO editors to decide how good a precedent that sets for metabolism terms in BP, but I have no objection to streamlining, especially now that we have the extensions available to specify protein substrates (which we didn't way back when).

Hmmm. No argument about the value of cleaning up and reorganizing terms for protein metabolism that are agnostic as to the identity of the protein metabolized, and then getting those terms accurately applied to APP. But it's harder to see the justification, in terms of GO logic and consistent granularity, for making protein-specific children even for especially interesting proteins.

I agree that the definition suggests that the term 'amyloid precursor protein biosynthetic process' actually refers to maturation of APP, as it mentions APP is a glycoprotein.
There are only 8 manual experimental annotations to 'positive/negative regulation of amyloid precursor protein biosynthetic process' (I found no direct annotations to 'amyloid precursor protein biosynthetic process').

I'll revise these annotations and make sure that they'll still be correct, if 'amyloid precursor protein biosynthetic process' is renamed as 'amyloid precursor protein maturation' (and the regulation child terms are renamed accordingly).
If the existing 8 annotations appear to be based on regulation of APP maturation (rather than biosynthesis of the APP peptide chain), then I'll rename 'amyloid precursor protein biosynthetic process' as 'amyloid precursor protein maturation', and I'll make it a child of 'protein maturation'.
@ukemi do you agree this is the right approach?
cc @RLovering


text:
ingter and intra membrane transfer

I think these might be the wrong way around:

so
intramembrane lipid transporter is
Enables the transport of a lipid from a region of a membrane to a different region on the same membrane.
this implies that the other branch (transfer activity) is intermembrane?
it is defined
Removes a sterol from a membrane or a monolayer lipid particle, transports it through the aqueous phase while protected in a hydrophobic pocket, and brings it to an acceptor membrane or lipid particle. PMID:20823909 PMID:24220498 PMID:25797198
I ask for confirmation becasue I  an annotating  OSH gene orthologs.
If this is correct, can we add "intermembrane transport/ transfer as synonyms"

Its probably obvius so I closed. It took me a while to figure it out but I had some internal confounding annotations)

OK. Let me know if we can clarify somehow.

source: gharchive/issue

authors: ValWood pgaudet

repo: geneontology/go-ontology

license_type: permissive

license_source: github-api


text:
Obsoletion notice: GO:0070940 dephosphorylation of RNA polymerase II C-terminal domain

Dear all,
The proposal has been made to obsolete GO:0070940 dephosphorylation of RNA polymerase II C-terminal domain. The reason for obsoletion is that this represents a molecular function represented as a biological process.
Annotations:
There are 15 experimental annotations to this term by
FlyBase - 2
TAIR - 1
SGD - 12
There are 2 InterPro2GO mappings to this term: InterPro:IPR039189 and InterPro:IPR039693
and 3 UniRules:  UniRule:UR001628777, UniRule:UR001419780 and UniRule:UR001253786
This term is not present in any subset.
Annotations can be viewed here: https://github.com/geneontology/go-annotation/issues/4428
Consider:  GO:0008420 RNA polymerase II CTD heptapeptide repeat phosphatase activity
Any comments can be  added to the issue:
Unless objections are received by  February 3rd, we will assume that you agree to this change.
Thanks,
The GO-Ontology Editors

Dear Pascale,
Thank you very much for this. I have removed GO:0070940 from both entries, which already had GO:0008420 link to them. This will be visible in the next release, InterPro 93.0.
Best wishes,
Sara


text:
Long term potentiation & long term depression

Dear all,
last week I have sent an email to Neurobiology Group
for asking suggestions about possible new terms.
I would like to insert terms for describing Long-term
potentiation (LTP) and Long-term depression.
Below you can find the email I have sent to the group.
Erika
>Dear all,
>I am annotating ionotropic gluatamate receptor and I
would like to insert terms about long term potentiation
(LTP) and long term depression (LTD).
>I know that there are these two terms that described
two form of synaptic plasticity.
>GO:0048169 regulation of long-term neuronal synaptic
plasticity: A process that modulates long-term neuronal
synaptic plasticity, the ability of neuronal synapses
to change long-term as circumstances require. Long-term
neuronal synaptic plasticity generally involves
increase or decrease in actual synapse numbers.
>GO:0048172 regulation of short-term neuronal synaptic
plasticity: A process that modulates short-term
neuronal synaptic plasticity, the ability of neuronal
synapses to change in the short-term as circumstances
require. Short-term neuronal synaptic plasticity
generally involves increasing or decreasing synaptic
sensitivity.
>So I can not understand if we should add new terms
about LTP and LTD or we could use GO:0048172
(regulation of short-term neuronal synaptic plasticity)
and GO:0048169 (regulation of long-term neuronal
synaptic plasticity) for LTP and for LTD
>This is a new topic for me so any help will be
appreciated.
>I have read that LTD is a weakening of a synapse that
lasts from hours to days. So I am not sure that short
term plasticity could be the correct term for LTD
because GO:0048172 (regulation of short-term neuronal
synaptic plasticity) describes changes in the short
time. LTD results from either strong synaptic
stimulation (as occurs in the cerebellum Purkinje
cells) to persistent weak synaptic stimulation (as in
the hippocampus).
>In addiction, LTD refers only to a weakening of a
synapse and not to an increasing of it.
>LTD is thought to result from changes in postsynaptic
receptor density, although changes in presynaptic
release may also play a role. Slow, weak stimulation of
CA1 neurons also brings about long-term changes in the
synapses, in this case, a reduction in the sensitivity.
It involves Glu binding to a different type of NMDA
receptor.
>Instead, long-term potentiation (LTP) is the
long-lasting strengthening of the connection between
two nerve cells. Experimentally, a series of short,
high-frequency electric stimulations to a nerve cell
synapse can strengthen, or potentiate, that synapse for
minutes to hours. In living cells, LTP occurs naturally
and can last from hours to days, months, and years. The
biological mechanisms of LTP, largely via the interplay
of protein kinases, phosphatases, and gene expression,
give rise to synaptic plasticity and provide the
foundation for a highly adaptable nervous system.
>Researches in Geneva, Switzerland have demonstrated
that formation of LTP in rat brains coincides with the
formation of additional synapses (at least one more)
between the presynaptic axon terminal and the dendrite
it synapses with. (Report by Toni, N., et al, Nature,
25 Nov 99). Presumably this, too, increases the
efficiency of synaptic transmission.
>I am confused because both LTP and LTD refer to
changes in the long term.
>So are they part of process of regulation of ONLY long
term synaptic plasticity regulation GO:0048169?
>Thanks very much
>Erika
Reported by: arike
Original Ticket: "geneontology/ontology-requests/3271":https://sourceforge.net/p/geneontology/ontology-requests/3271

thanks www.movied.org


text:
Revise GPAD inference approach

The latest version of the SPARQL+inference-driven GPAD export uses Jena rules to infer direct annotation relations (R, e.g. enables, involved in, etc.) between gene products (X) and GO term instances (Y). For each annotation relation, an inference explanation is computed to determine the asserted statements required for the inference. The current code simply collects all available evidence annotations from any of those asserted statements, and outputs an annotation X R Y for each evidence. This can result in some undesirable output, for example annotations using evidence across different papers.
We will refine the approach in the following ways:

For an annotation to be generated at all, every asserted relation required for the annotation relation (i.e. in the explanation) must have an attached evidence.
The evidence used for the annotation relation will be any evidence on an asserted relation (found in the explanation) which has the GO term instance as a subject or object.
Annotation extensions will only be included in the annotation if all asserted relations within the explanation of the extension relation have an evidence referencing the same paper as the primary evidence in the annotation.

The annotation extension criteria (3) can become complicated. For example:
[a MF] enabled_by [a GP] ;
    occurs_in [a CC1;
               part_of [a CC2;
                        part_of [a CC3]
                       ]
              ] .

We can infer the annotation:
[a GP] part_of [a CC1] .

Potential annotation extensions are part_of(CC2), part_of(CC3). Now for each extension relation, eg. [a CC1] part_of [a CC3], we have to compute the explanation and make sure all involved relations have evidence and that the evidence is from the same paper as the primary annotation evidence.

@cmungall @dosumis @vanaukenk @ukemi does this match your recollection of our conclusion?

Perfect!

Yes, @balhoff that is consistent with what we said this morning.  Thanks for the excellent summary!

This has been done for a while.

authors: balhoff ukemi vanaukenk

repo: geneontology/minerva

license_source: bigquery


text:
Add SORT Functionality for Non-Cached Variants Before Forwarding to VEP

To optimize performance of VEP Wrapper/VEP CLI, add special handling for incoming POST requests. Variants in POST request should first be checked against the mongo cache. Uncached variants should then be sorted (by chromosome and location) before forwarding the request to the VEP Wrapper REST API.
Additional handling such as limiting request size/ breaking up large requests should also be added.

small code change with some logging statements added in are in branch server-sort in my fork.
GN Server does NOT sort before sending to local VEP. It does sort before sending to the external VEP.  To switch between VEPs, comment/uncomment out gn_vep.region.url in the properties file.
Switching between VEPs affects which VariantAnnotationService is used (for local VEP it uses regionVariantAnnotationService).
regionVariantAnnotationService is initialized with cachedVariantRegionAnnotationFetcher which does not have the getChunks() method overridden to used the NatrualOrderComparator.
I have added this in an added logging to see that the sort is performed. Based on logging it appears the POST request is sorted before sending to VEP. The returned response in the swagger api for GN is retains the original order.
But I would like to confirm this in more detail either by logging on the GN VEP side (incoming requests) or tracking the response from GN VEP (and seeing it sorted).
I would also like to identify where exactly the "unsorting" happens before counting this card as done.

I had some issues starting up the GN server using the documentation provided -- on startup the GN server crashed because it was unable to connect to mongo due to mongo not being up yet (?). To bypass this I manually restarted the container with the GN server.

repo: genome-nexus/genome-nexus

license: mit


text:
Remove sample renaming

This PR modifies the detect_variants* pipelines to preserve the actual sample names in all vcf headers, instead of always renaming them to NORMAL/TUMOR. Most of the changes to each file are the addition of 2 new arguments, tumor_sample_name and normal_sample_name, and the needed connections. Along the way, I moved the scripts of several tools from docker images into the CWL file itself. For those tools that needed changes to support the new naming scheme, transcription into CWL and the actual change to preserve the names are two separate commits.

Not done reviewing it yet, but one thing that we need to check is whether all these tools handle sample names with special characters.  I don't think testing an exhaustive list of ascii chars is necessary, but I know for a fact that spaces, single quotes and backslashes all exist in sample names in our database

The latest 3 commits include some changes that should be able to handle most non-alphanumeric/underscore characters. In particular, 7531c3b changes one of the regexes used to extract the sample name from bam files. This is adapted from the general header regex described in section 1.3 of the SAM specification; this new regex should work with any properly formatted bam file, and is consistent with the logic used to extract the sample name elsewhere, such as mutect. While these changes may still not handle every possible case, as discussed at our last meeting, our pre-processing steps will usually set things up correctly. This should also ensure that our assumption that the SM tag embedded in input bams will match up with the input sample names.

source: gharchive/pull-request

authors: chrisamiller johnegarza

repo: genome/analysis-workflows

license: MIT


text:
Advanced search for status is rejected doesn't appear to work.

I'm guessing this has something to do with the default behavior of hiding rejected evidence items but nothing happens when I try to search for them.

Yeah. I noticed this too. I can still filter down to just rejected evidence items in the admin interface. But, on the public site, searching for "status is rejected" doesn't respond as expected.

The live server is returning a 500 error from searches for Rejected status. However, I'm unable to reproduce this on the latest server/client master - the search works fine.

So, it looks like this is only tangentially related to the advanced search. Here's what's happened:

Evidence Item 1126 was submitted with description: In 31enzalutamide-treated and 31 abiraterone-treated patients, detectable levels of AR-V7 was associated with resistance in these patients with castration resistant prostate cancer.

This submission caused the creation of a new variant: SPLICE VARIANT 7

This evidence item was rejected

Someone saw that this Variant had zero accepted evidence items and deleted it.

Now we have an evidence item that points to a variant which has been (soft) deleted.

Basically its breaking when it tries to traverse the evidence item -> variant -> gene relationship to create the links needed for navigation because the variant has been deleted.
What I would recommend is to disallow the deletion of variants that have any evidence items at all (even if they're all rejected) and then once we ship genome/civic-client#328 (should be the next release) those variants will just not display by default in the side navigation. The downside of this is the case where this is the only variant for a gene.
Another possible solution would be cascading deletion of a variant to the corresponding evidence items which would be easy but have the effect of "hiding" the rejected evidence item which may not be desirable?
For the time being I've soft-deleted the evidence item so that search is working again, and I can implement whatever longer term solution makes sense to you guys!

Sounds like this issue has been fixed, closing.

authors: acoffman jmcmichael kkrysiak obigriffith

repo: genome/civic-client


text:
nf-core-template-merge-3.0.0

Description of feature
Merge nf-core-template-merge-3.0.0

The pipeline was updated to nf-core-template-merge-3.0.2 #30

authors: LilyAnderssonLee sofstam

repo: genomic-medicine-sweden/meta-val


text:
master should be named main

should happen automatically on new repos but seems was missed on this one.

We'll do this when we move to Quarkiverse as @cescoffier has an easy way to do this, but because the repo is personal, I can't add admins (or at least that's what I think)

Upto you. But it's easy.
You just rename it in github and it will tell you you the git command to run locally - or simply just reclone. It requires no big magic.

authors: geoand maxandersen


text:
Added standalone CLIP tokenizer

Pasted from https://github.com/openai/CLIP/blob/main/clip/simple_tokenizer.py
Removed decoding code and not importing ftfy or regex.
Returning a 77-long list, adding start/end tokens, and truncating large prompts.

Thanks!

authors: fernand geohot

repo: geohot/tinygrad


text:
Feature: openURL using a proxy?

One of our next measurement campaigns will be in a region with a very small network bandwidth.
We are thinking about using a local proxy to cache all images requests from our servers.
Have you thought on adding a proxy parameter? Or should we do this on our library by a prepared request?

See PR #373 and the discussion.

authors: ReimarBauer cehbrecht

repo: geopython/OWSLib


text:
Published as rust-graph on crates.io

Shouldn't this be published as rust-geojson on crates.io, not rust-graph: https://crates.io/crates/rust-graph

Oh, it looks like it's published as both. I think you should remove the rust-graph package if possible, otherwise contact the crates.io maintainers to remove it. It's a name that really should be reserved for an actual graph library.

Just looks like @frewsxc used the rust-geojson .toml as a base and forgot to change the repository.
On Thu, Mar 5, 2015 at 2:21 PM, Gulshan Singh notifications@github.com
wrote:

Shouldn't this be published as rust-geojson on crates.io, not rust-graph: https://crates.io/crates/rust-graph
Reply to this email directly or view it on GitHub:
https://github.com/georust/rust-geojson/issues/28

On vacation currently. I'll address this when I get back

Yes, I accidentally published rust-graph with the rust-geojson project file
@gsingh93 I noticed you have a project called rust-graph, do you want it on crates.io? I no longer need it

I renamed my crate to rust_graph published that on crates.io, which I'm ok with. Thanks for the offer though.

@frewsxcv I received an email from @alexcrichton saying they don't low crates that differ by only a hyphen/underscore on crates.io, and that I should rename my crate to something else. Since my graph package is an actual graph package, could you rename or remove your crate?

@gsingh93 You can remove crates, but I'll add you as an admin to the rust_graph crate

done

feel free to remove me as an admin if you want complete domination

@gsingh93 oh if you're the owner of both crates, which would you prefer to have? (I don't mind deleting either). Thanks @frewsxcv for helping out!

@alexcrichton I think rust-graph is the more common convention so I guess I'll take that one. You can delete rust_graph (can package owners do this? I couldn't figure out how). And to either of you, how does one change the owners/admins of a package?

cargo owner --help

No I have to manually delete the crate (I'll take care of that). Thanks for the quick response!

repo: georust/rust-geojson


text:
2.5.1 - Subfolders data keys not accounting for parent content versus nested content with {{channelName}}

I just discovered this-- one of my channels has a number of threads that I was/am treating as subchannels.
When DDG encounters this, it will create a new directory for the thread by name (great!) but it will create that directory at the same level as its parent channel, removing the channel from the path.
You can see from the "Finished history" lines what the name and path to the thread is as far as Discord is concerned, and then you can see from the filenames that are saved, where they are going.

The most ideal solution I came up with in terms of retaining all current functionality while minimizing settings additions/changes was to add a "subfoldersFallback" setting which now exists alongside all "subfolders" in any context as of https://github.com/get-got/discord-downloader-go/commit/a92234b433d8e8792a964ad3bc7702999ec4b427
The functionality for thread + parent naming like you want already exists, you can use the keys {{forumName}} and {{threadName}} in the subfolders to achieve this, but then any non-thread content being handled will have those unparsed keys in the folders, since there is no thread/parent. I had designed it with the assumption that you would be specifically targeting nested sources like threads in a forum or specifically targeting a normal channel, not both simultaneously.
To remedy this with "subfoldersFallback", you should do something like this:
{
    "destination": "aaa",
    "subfolders":           [ "{{forumName}}", "{{threadName}}" ],
    "subfoldersFallback":   [ "{{channelName}}" ]
}

The fallback subfolder structure will be used if the initial structure encounters any unparsed data keys (remnant {{ and }}).
So in this case, it will always try to use the Parent & Thread names, but if they fail to parse, meaning it isn't a thread message being handled, it then falls back to just using the channel name.
If there is no fallback, it will leave the unparsed keys and handle everything just as it did prior to this change.

That sounds like a good solution-- for my needs, though a case anyone is likely to encounter is ad-hoc threads, where the thread gets created kind of at random, then this configuration has to be set up for it. For example, in the channel where this matters, I was getting clutter, so I just started the threads.
Is "forumName" the value for "channelName" when a thread is involved?
To me, the logical behavior would be to check if there's a thread, and if there is, just put it in the thread-named subfolder in the channel's folder. Another would be to do what it's doing now, creating a new top-level folder with the thread name, except prepend it with the channel name.

authors: get-got kauffy

repo: get-got/discord-downloader-go


text:
无法再Worker中运行

问题描述
无法在Worker中运行 ， 报错信息  failed because it threw an exception/error
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Method addObserver must be called on the main thread
源代码文件source
public class DataWorker extends Worker implements OnHttpListener{
private static final String PROGRESS = "PROGRESS";

private Context mContext;

public DataWorker(
        @NonNull Context context,
        @NonNull WorkerParameters parameters) {
    super(context, parameters);
    // Set initial progress to 0
    setProgressAsync(new Data.Builder().putInt(PROGRESS, 0).build());
    Log.i("xlog","DataWorker   构造函数" );
    mContext = context;
}

@NonNull
@Override
public Result doWork() {
    XLog.i("DataWorker do work start " );
    setProgressAsync(new Data.Builder().putInt(PROGRESS, 100).build());

    registerDev();

    return Result.success();
}

private void registerDev(){
    PostRequest postRequest = EasyHttp.post(new LifecycleAppFragment());
    postRequest.api(new RegisterDev().setDevSN(PhoneUtils.getDeviceSN(),"2Trash"));

    postRequest.request(new HttpCallback<HttpData<RegisterDev.VersionBean>>(this) {

        @Override
        public void onSucceed(HttpData<RegisterDev.VersionBean> result) {
            XLog.i("DataWorker onSucceed " + result);
        }
    });

}

@Override
public void onSucceed(Object o) {
    XLog.i("DataWorker onSucceed ");
}

@Override
public void onFail(Exception e) {
    XLog.i("DataWorker Exception "+e.toString() );
}

请回答
issue 是否有人曾提过类似的问题？【必答】无
框架文档是否有提及到此问题？【必答】：无

小伙子，该 issue 被打回，打回的原因如下：

没有严格按照 issue 模板填写问题

请重新提一个 issue 并纠正以上问题

repo: getActivity/EasyHttp


text:
使用短吐司不显示出来

问题描述【必填】
想要吐司5秒倒计时，使用短吐司结果只能吐司最后一秒，log日志上能打印出来；‘5 5 5 5 4 4 4 4 4 3 3 3 3 ....’
框架文档是否提及了该问题【必答】
否
是否已经查阅框架文档但还未能解决的【必答】
是
issue 列表中是否有人曾提过类似的问题【必答】
否
是否已经搜索过了 issue 列表但还未能解决的【必答】
否

已解决

repo: getActivity/Toaster


text:
Display project tasks when no asset tasks are found.

Problem
When browsing assets without tasks, no tasks are displayed. This is different from the Launcher, where it fetches the project tasks if no assets tasks are found.
Solution
Use project tasks in the Tasks model when no asset tasks are found.
This fixes both the Project Manager and Context Manager.

I tried using "io.find_one" but the environment doesn't seem to be set, so "parenthood" was the only other way I figure out how to get the project.

Didn't io.find_one ({"type": "project"}) work?
Anyhow, I am not saying current code is wrong. Was just wondering whether there was a reason to it.

Didn't io.find_one ({"type": "project"}) work?

You are right! That does work. Shows how much I know (nothing) :)

authors: BigRoy tokejepsen

repo: getavalon/core


text:
Trello on Ubuntu 20.04 - Browser is outdated

Describe the bug

After  login to Trello I got this message
Your browser is not supported.
Trello supports Chrome (latest), Firefox (latest), Safari 8 and above, and Internet Explorer 11/Edge.

Please upgrade to use Trello. Thanks!

Already have a newer browser? You can use it to open

https://trello.com/

To Reproduce

Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Desktop:

OS: [e.g. macOS, Windows 10 etc.] Ubuntu 20.04
Ferdi Version [e.g. 5.4.3] 5.5.0

Server Used: [e.g. https://api.getferdi.com]

Debug information: https://debug.getferdi.com/...
Additional context

Myself or @sampathBlam will take this up.

I can confirm that this happens in Windows as well after adding Trello service.
@danieltomasz : For the time being, can you try disabling the service and enabling it again? That worked for me in Windows. Meanwhile we shall try to debug the issue.

Thanks. it worked!

authors: danieltomasz mahadevans87 sampathBlam

repo: getferdi/ferdi


text:
gauge update should update all

Expected behavior
gauge update should update everything. Remove the -all flag.
In fact it is not update, it should be gauge upgrade.
gauge upgrade
Actual behavior
gauge update -all
Version
Gauge version: 0.9.0.nightly-2017-06-28

Plugins
-------
csharp (0.10.1)
html-report (4.0.1.nightly-2017-06-27)
java (0.6.5.nightly-2017-06-28)
ruby (0.4.1)
spectacle (0.1.2)
xml-report (0.2.0)

We do not have project level gauge plugins we will retain gauge update -all

repo: getgauge/gauge


text:
Grav installation via composer not compatible with PHP 8.1 ?

Hi,
I've just installed a new version of Ubuntu and tried to create a grav project with composer. It seems to fail because of PHP 8.1
composer create-project getgrav/grav ./

Creating a "getgrav/grav" project at "./"
Info from https://repo.packagist.org: #StandWithUkraine
Cannot use getgrav/grav's latest version 1.7.41.1 as it requires ext-curl * which is missing from your platform.
Installing getgrav/grav (1.0.8)
  - Downloading getgrav/grav (1.0.8)
  - Installing getgrav/grav (1.0.8): Extracting archive
Created project in /home/richard/code/goodeworkers/./
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - doctrine/cache is locked to version v1.6.0 and an update of this package was not requested.
    - doctrine/cache v1.6.0 requires php ~5.5|~7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 2
    - gregwar/image is locked to version v2.0.20 and an update of this package was not requested.
    - gregwar/image v2.0.20 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/8.1/cli/php.ini
    - /etc/php/8.1/cli/conf.d/10-opcache.ini
    - /etc/php/8.1/cli/conf.d/10-pdo.ini
    - /etc/php/8.1/cli/conf.d/20-calendar.ini
    - /etc/php/8.1/cli/conf.d/20-ctype.ini
    - /etc/php/8.1/cli/conf.d/20-exif.ini
    - /etc/php/8.1/cli/conf.d/20-ffi.ini
    - /etc/php/8.1/cli/conf.d/20-fileinfo.ini
    - /etc/php/8.1/cli/conf.d/20-ftp.ini
    - /etc/php/8.1/cli/conf.d/20-gettext.ini
    - /etc/php/8.1/cli/conf.d/20-iconv.ini
    - /etc/php/8.1/cli/conf.d/20-phar.ini
    - /etc/php/8.1/cli/conf.d/20-posix.ini
    - /etc/php/8.1/cli/conf.d/20-readline.ini
    - /etc/php/8.1/cli/conf.d/20-shmop.ini
    - /etc/php/8.1/cli/conf.d/20-sockets.ini
    - /etc/php/8.1/cli/conf.d/20-sysvmsg.ini
    - /etc/php/8.1/cli/conf.d/20-sysvsem.ini
    - /etc/php/8.1/cli/conf.d/20-sysvshm.ini
    - /etc/php/8.1/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.

please check your lock composer,

doctrine/cache is locked to version v1.6.0 and an update of this package was not requested.

in grav project doctrine ^1.10 by default.
clear your composer log and use composer v2 and it's not grav problem.

Hi :wave:  !
Thank you for your answer !
I have no composer.lock, it's a freshly installed OS. Just installed PHP and Composer (v2.5.7)

Hi 👋 !
Thank you for your answer !
I have no composer.lock, it's a freshly installed OS. Just installed PHP and Composer (v2.5.7)

can you try with PHP 7.4 ? just testing...  and report here.

@r2ck-me Just read the your log.
Your composer installs an ancient grav version.

Installing getgrav/grav (1.0.8)

Why?

Cannot use getgrav/grav's latest version 1.7.41.1 as it requires ext-curl * which is missing from your platform.

So the required php extentions are not enabled which are required by grav. See install guide for the required extentions.

authors: Rotzbua mdestafadilah r2ck-me

repo: getgrav/grav


text:
使用gridea写了100多篇文章同步github后，后续写的文章同步后就看不到了？

我的环境

名称
值

操作系统
win10

软件版本
0.9.3

主题名称
pure

期望行为
你期望会发生什么？后续写文章同步后能正常访问
当前行为
使用gridea 0.9.3版本软件从安装到写了105篇文章同步至github仓库上都能正常访问到所有内容。
后面又续写了2篇文章后，同步成功后，打开网站并没有更新内容，但是在github仓库查看文件，确实是更新了
可访问网站并没有什么变化，浏览器清楚缓存，数据，再访问依然如此。
更改分支同步成功后，访问也没有什么变化？
我的仓库：https://github.com/lovoupw/lovoupw.github.io
绑定域名：https://0520.eu.org
期待各位大神的帮助，谢谢

本地预览所有内容都能正常更新，百思不得其姐啊！

能详细描述一下吗？GitHub仓库构建您绑定的域名需要一定时间的，并不是及时的，需要等待一定的时间

能详细描述一下吗？GitHub仓库构建您绑定的域名需要一定时间的，并不是及时的，需要等待一定的时间

查看仓库的文件都有更新，但就是网站浏览没有变化

authors: dellevin lovoupw

repo: getgridea/gridea


text:
Draft: bug: fixed a bug where gallery items would only resize after scrolling

See issue #54
I haven't actually fixed it yet, my bad. I'll notify you when I have found a proper solution

I think this should work according to some prelimenary testing, but I don't know how to substitute online versions of go libraries with local ones. If you could give me some pointers on that, I will see if this fixed my issue.

repo: gethugothemes/hugo-modules


text:
[Feature Request] keep "Repeat on interval" running even when moving between request

Insomnia Version: 6.0.2
Operating System: Linux

Details
I need to fetch new authentication cookies periodically during the entire day. I can do that with "Repeat on interval" but that stops as soon as a move to another request.
I would like it to continue to run forever in the background, feeding new cookies into the cookie jar continuously.

This seems like a good idea. The "Repeat on Interval" wasn't a very well designed feature originally and could use some work.

I had a go at this, and was able to get it working - the request runs in intervals in the background as needed. I added an intervalID: IntervalID property to the request model, since storing interval info in the React component will carry over the interval to the next request too. The component property now mirrors the request model property on mounts and prop changes.
The issue is that if the app is shut down without stopping the interval, on app restart the component has no way to know or check that the interval ID stored in request model is not really an active interval, and thus mirrors a non-functioning interval ID, showing the Stop button.
@gschier Is there some way to null the intervalID of all requests when the app starts (or exits)? Or is there a better implementation?

authors: NilayMajorwar gschier wederbrand

repo: getinsomnia/insomnia


text:
Slow startup on MacOS

Insomnia Version: 5.14.9 (5.14.9.1895)
Operating System: macOS High Sierra (10.13.3)

Details
Since latest version (5.14.9) the app takes around 15-20 seconds to load, instead of usual 3-4 seconds. I haven't changed much around my system, didn't install anything new.
If you need more info please let me know.

I'm a Mac user with latest macOS 10.13.3 and Insomnia 5.14.9 (5.14.9.1895) with several Workspaces and dozens of Directories and the app starts normally within 5 seconds.
Maybe it's not Insomnia related issues?

Maybe, but I am not aware of anything that could cause it. Is there a profiler for Electron?

@ribice you can see the Chrome profiler in View > Toggle Devtools. Although I'm not sure if it's possible to start a profiler right when the app launches.

The only things I can think of that would slow down start time are having a lot of data in the app or possibly opening the app to a response that is large.
What time are you measuring, specifically? The time until the window shows or the time until the app is rendered within the window?

The window shows in ~5 secs. Then it takes another ~20 secs to render the app.
I have just few requests in Insomnia (2 workspaces with ~10 requests each).
Approximately 20+ days ago it would start in less than 5 secs.

That's really strange because nothing much has changed in a while. Do you see Insomnia using a lot of CPU on start?

Just checked, Insomnia Helper used around 60% of CPU during start time, then dropped to %1 once it started. Is that normal?

Checked mine and it got to 69% and took ~2 seconds to start on a low-end 13" 2016 Macbook Pro

I'm using exactly the same Macbook. Perhaps I could try reinstalling it?
I assume I need to export my workspaces prior to that?

Reinstalling won't delete your data. You could try doing that too though. Yes, you'll need to export your Workspaces first.
App data is stored in ~/Library/Application Support/Insomnia

FYI: It's still slow, haven't 'reinstalled' it.

authors: gschier ribice tianp


text:
[Question] how to use xpath on response body

Insomnia Version: 5.16.6
Operating System: Ubuntu 18.04 LTS

Details
I have a body response xml but I'm not able to filter using xpath, even using the line under the response (botton-right corner of insomnia windows) I got .
I checked the syntax of xpath with notepad++ and also with xpath command (on body saved by insomnia)
this is the line I want to get
$ cat get-admin-1528367171121.xml | grep Org | grep Pilota

I want to match the attibute 'name' and get the attribute 'href'
xpath: //OrganizationReference[@name="Pilota"]/@href
$ xpath -e '//OrganizationReference[@name="Pilota"]/@href' get-admin-1528367171121.xml
Found 1 nodes in get-admin-1528367171121.xml:
-- NODE --
href="https://host.mydomain/api/admin/org/486e3ea9-8633-4939-95fa-ca953225f9b7"
but even simpler filter do not work on insomnia, for example
xpath: //OrganizationReference
the body I'm working on is quite big
ls -l get-admin-1528367171121.xml
-rw-rw-r-- 1 carmine carmine 125070 giu  7 12:26 get-admin-1528367171121.xml
but even on small body I cannot filter based on xpath.
I was able to filter using the JSONpath (of course on json on response body)
thanks
carmine

Hey, thanks for the question. Can you post an example body to make it easy to reproduce?

this is an examples (less lines than the real ones)
get-admin.txt

Hmm, it looks like xmlns="http://www.vmware.com/vcloud/v1.5" is breaking it. After removing that, it works.

The XPath library Insomnia uses mentions how to handle namespaces but I wasn't able to get a query to work https://github.com/goto100/xpath#namespaces

do you mean you need a url to test it?

No, I was able to test it, I just wasn't able to get it working 😞

Lol, well at least I know why this exact use case isn't working for me either.
xml.txt
/OrgList/Org/@href should give me what I'm looking for but I'm getting empty results.  Improper XML from VMware or is this a bug in the XML interpreter in Insomnia?

Found a work around for me, might work for @carmineesposito73
(//@href)[2]

thanks @Kantankerus, it's useful but actually this does not help me, I need a filter to get one specific line (match a name and get href, for example)
//OrganizationReference[@name="Pilota"]/@href
to make a query using href a a variable.

@carmineesposito73 I had to come up with another workaround since calling element nodes by name seems to fail every time on this particular XML.  See if this works...
//*[@name='Pilota'/@href

@Kantankerus it works!!!! (I've added "]")
//*[@name='Pilota']/@href
thanks a lot

@gschier @Kantankerus
after few more tests I can say it's better use " instead of ', so:
//[@name="Pilota"]/@href
to avoid unexpected token in env variable definition
{
"org_href": "{% response 'body', 'req_63e53c90ca7e40bdb711f2ed575ecbb4', '//[@name=\"Pilota\"]/@href' %}"
}

authors: Kantankerus carmineesposito73 gschier


text:
Prod stacktraces are returned to client for unhandled 500 errors

E.g.
$ curl 2>/dev/null https://dev.getodk.cloud/v1/sessions \
    --header 'content-type: application/json' \
    --data '{"email":{},"password":{}}' | jq .
{
  "message": "Completely unhandled exception: Unexpected value expression.",
  "details": {
    "stack": [
      "TypeError: Unexpected value expression.",
      "at sql (/usr/odk/node_modules/slonik/dist/src/factories/createSqlTag.js:45:23)",
      "at equals (/usr/odk/lib/util/db.js:197:12)",
      "at _getSql (/usr/odk/lib/model/query/users.js:66:9)",
      "at /usr/odk/lib/model/query/users.js:74:12",
      "at Object.module.<computed> [as getByEmail] (/usr/odk/lib/model/container.js:30:33)",
      "at /usr/odk/lib/resources/sessions.js:24:18",
      "at /usr/odk/lib/http/endpoint.js:141:26",
      "at processTicksAndRejections (internal/process/task_queues.js:95:5)",
      "at async Object.transaction (/usr/odk/node_modules/slonik/dist/src/connectionMethods/transaction.js:22:24)",
      "at async Object.createConnection (/usr/odk/node_modules/slonik/dist/src/factories/createConnection.js:96:18)"
    ]
  }
}

Possibly written at: https://github.com/getodk/central-backend/blob/master/lib/http/endpoint.js#L202-L211

yeah i did do this intentionally.. better to have error information than not and it's an open source project anyway.

it's an open source project anyway

Servers running open source software still have secrets :upside_down_face:
Example: https://github.com/brianc/node-postgres/issues/1568

sure but a stack trace? things are hard enough to debug w community software ..

We don't surface the stack trace in Frontend, and in practice over the years, I don't think we've used the stack property much for debugging. The same errors are logged in the service container, and we often ask users for those logs, which can provide additional information. The risk here doesn't seem very high to me, but I do think that it's nonzero. Given that we can get the same information another way, I'd support removing the property.

https://github.com/brianc/node-postgres/issues/3145

authors: alxndrsn issa-tseng matthew-white

repo: getodk/central-backend


text:
rowStreamToOData(): reject unmatched repeatIds

Related https://github.com/getodk/central/issues/763

Can we add an integration test as well

Can we add an integration test as well

I found it hard to find existing tests involving repeatId, so I've added a PR to address that at #1312.
branch: master
$ git grep repeatId -- test/integration/
[ no results ]

branch: #1312
$ git grep repeatId -- test/integration/
test/integration/api/odata.js:            body['@odata.nextLink'].should.have.skiptoken({ repeatId: 'b6e93a81a53eed0566e65e472d4a4b9ae383ee6d' });
test/integration/api/odata.js:            body['@odata.nextLink'].should.have.skiptoken({ repeatId: '7ac5f4d4facbaa9657c21ff221b885241c284b6c' });
test/integration/api/odata.js:            body['@odata.nextLink'].should.have.skiptoken({ repeatId: '52eff9ea82550183880b9d64c20487642fa6e60c' });
test/integration/api/odata.js:            body['@odata.nextLink'].should.have.skiptoken({ repeatId: '52eff9ea82550183880b9d64c20487642fa6e60c' });
test/integration/api/odata.js:            body['@odata.nextLink'].should.have.skiptoken({ repeatId: '52eff9ea82550183880b9d64c20487642fa6e60c' });

authors: alxndrsn sadiqkhoja


text:
eslint: fix import resolution in oidc-dev/playwright-tests

Closes #977

@ktuite can you give this branch a try and see if the issue with make lint is resolved?

Still getting the errors :(
$ make test
node lib/bin/enforce-node-version.js
npx eslint --cache --max-warnings 0 .

/Users/ktuite/Desktop/code/odk/central-backend/oidc-dev/playwright-tests/playwright.config.js
  10:29  error  Unable to resolve path to module '@playwright/test'  import/no-unresolved

/Users/ktuite/Desktop/code/odk/central-backend/oidc-dev/playwright-tests/src/global-setup-teardown.js
  23:43  error  Unable to resolve path to module 'http-proxy-middleware'  import/no-unresolved

/Users/ktuite/Desktop/code/odk/central-backend/oidc-dev/playwright-tests/src/oidc-login.spec.js
  10:26  error  Unable to resolve path to module '@playwright/test'  import/no-unresolved

/Users/ktuite/Desktop/code/odk/central-backend/oidc-dev/playwright-tests/src/utils.js
  22:28  error  Unable to resolve path to module '@playwright/test'  import/no-unresolved

✖ 4 problems (4 errors, 0 warnings)

make: *** [lint] Error 1

@ktuite I think probably simplest just to disable it for now.  Can you give the PR another try now?

authors: alxndrsn ktuite


text:
fix: do not format markdown files

this causes problems with templated markdown files and results in an infinite back-and-forth DTSS-2081

What this PR does / why we need it

Jira ID
[XX-XX]

Notes for your reviewers

This is a breaking change technically

So the better solution to this is figuring out a way to render stencil templates and run all of our formatters (and linters, but thats somewhat unrelated to this problem). If formatting changes any of the templates it should result in a failure

We fixed this using prettierignore

authors: george-e-shaw-iv jaredallard

repo: getoutreach/devbase


text:
Added support for switching OS without flashing

As the title states.
I read your post on the select word macro and noticed that in order to swap between OS', which I regularly do, I would have to comment/uncomment the line #define MAC_HOTKEYS, compile, and flash the new firmware each time. To mitigate that I extended your process_select_word function to pass an additional boolean argument.
To use this you have to will have to define a function that returns the value of keymap_config.swap_lctl_lgui, or just pass the value itself, in your keymap.c. Switching between modes is easily handled by mapping the keycode CG_TOGG to a key and toggling when needed, without having to compile and flash new firmware each time.

Thank you for the contribution. This looks great! You're right that a dynamic condition is needed if switching between Mac and other OSs regularly.
In order to merge this, I need you to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/. You (or your employer) retain the copyright to your contribution. This simply gives permission to use and redistribute your contributions as part of the project. See https://cla.developers.google.com/ for your current agreements on file or to sign a new one.

authors: Eanilsen getreuer

repo: getreuer/qmk-keymap


text:
Various optimisations

Prevent leaking arguments
Replace regexp splitting and symbols changing by iteration through array

Cool. Thanks for the contribution.
I'm generally okay with this patch, and I think the code is cleaner afterwards anyways (by introducing wrap* helpers). When I get the opportunity I'll just poke at it a bit more to feel more confident that it doesn't change any behavior.

@chicoxyzzy – some quick feedback.
Besides performance, Raven.js tries to keep its filesize low. And if these optimizations work, we're exchanging file size for performance (by switching [].slice.call for inline arg copying). So, I need to be sure that 1) they are actually faster, and if so, 2) those optimizations are worth the added filesize.
Keeping that in mind, here's the changes I'd like made:

Revert the arg copying from addPlugin. This function is called at most once per-page (if at all), and thus will likely never be optimized. It also iterates at most through 1-3 plugins (today).

Similarly, _logDebug is Raven's internal logging tool, and it is only used if logging is enabled (debug: true). Furthermore, Raven emits very few log messages. You should revert the arg copying here as well.

That leaves one place – wrapTimeFn. I think, in this instance, the optimization is valid. We're wrapping a built-in method that could be called many, many times over the lifecycle of a page, and it ought to be as fast as possible. Keep the arg copying, but please add a comment explaining why this is done (e.g. link to the Bluebird article).

The other refactorings in this patch are fine. If you can make the changes above, I'll gladly merge.
cc @mattrobenolt

I've finally broke my PR :(
I'll try to fix it

Yeah, sorry ... I was heavily working on this code at the same time :(

Is it ok if I'll just create another one and close this?

recreated as #551

authors: benvinegar chicoxyzzy

repo: getsentry/raven-js


text:
Setting Origin on request headers causes sentry-electron to crash Electron

Many APIs will reject requests without an Origin header, or an Origin set to file://*. To mitigate this in Electron, it's common to add a dummy Origin header like this:
app.on('ready', () => {
  session.defaultSession.webRequest.onBeforeSendHeaders(
    (details: any, callback: any) => {
      details.requestHeaders.Origin = 'www.some-random-origin.com';
      callback({ cancel: false, requestHeaders: details.requestHeaders });
    }
  );
});

With the above, sentry-electron@0.17.1 will immediately crash on attempting to upload a minidump which will usually be during startup..
This regression is no doubt due to a recent change to electron-fetch:

v1.2.0

Using electron's defaultSession by default

Once I disabled adding this header, Sentry uploaded this crash which looks like this:

repo: getsentry/sentry-electron


text:
fix: Stop using Spectron to run e2e tests

[x] Removed e2e stuff from example app
[x] Added test app and fixtures
[x] Simplified the test context
[ ] Fix Linux tests

    ✓ Native crash in renderer process (10703ms)

It takes about 5s on my Mac still too. My guess is that the renderer crashed event is slow on Mac?


text:
How to send exceptions to sentry with post/get/delete/put  request data also?

I'm using This package for my laravel 5.8 .
I use the following code in report.php file.
public function report(Exception $exception)
    {
        if (app()->bound('sentry')){
            if($user = request()->user){
                app('sentry')->configureScope(function (Scope $scope) use ($user): void  {
                    $scope->setUser(["id" => $user->id, 'email' => $user->email, "name" => $user->name]);
                });
            }

            app('sentry')->captureException($exception);
        }

        parent::report($exception);
    }

The thing is I also want to send request data (doesn't matter if it's post/put/get/delete or whatever request) to sentry. but couldn't find docs for that . I couldn't find anything. could you provide me with docs or sample code how do I achieve that? I found tags_context but didn't help , because it's something else.
Thank you.

Hi @novaknole, this is a bit of a tricky one and something we don't have implemented (yet) with an easy to flip switch.
You can however put any data you like via the setExtra method on the scope.

However be very careful with this since you are very easily sending personally identifiable data to Sentry and possibly even secret values like passwords or authentication tokens. Something to keep in mind when doing this! There is some server side obfuscation but that might not catch all the secrets, so be mindful.

I also discussed this with the PHP team and it might be a nice (optional) addition to the Laravel (and base PHP) SDK to implement an easier way to do this so I marked this as a feature request, thanks!

I was searching other issues on this project and found many interesting thing.

how did this man make it possible? Image: http://joxi.net/GrqgnBRtQ8OY72 . here was his issue https://github.com/getsentry/sentry-laravel/issues/63

Hey @novaknole, sorry for my late reply.
You are correct on version 1.x on the base SDK (and thus 0.11.x of the laravel integration) the request body was sent with the request.
There is an open issue re-implementing the feature: getsentry/sentry-php#803 (open PR implementing it: getsentry/sentry-php#807)
I will close this issue since it's not a Laravel integration issue, you can follow the progress on the issue mentioned above! It will also become available for Laravel once it's completed.

So how do I get request bodies captures in sentry-laravel? Supposedly it's the default now in sentry-php that request bodies get logged to Sentry, but they aren't for me.

authors: amcsi novaknole stayallive

repo: getsentry/sentry-laravel


text:
Crons client reports are not working

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.39.0
Expected Result
We've recently enabled client reports for Crons, but they don't seem to be working in the Python SDK. It'd be valuable to know if check-ins are being dropped due to network issues or other causes, since our SDKs have a no-retry policy.
This works:
sentry_sdk.Hub.current.client.transport.record_lost_event("event_processor", data_category="monitor")

My hunch is that we're either sending the incorrect data category, or client reports for crons isn't implemented.

Hey @gaprl, yep, we were sending check_in as data_category. Will be fixed in the next release.

authors: gaprl sentrivana

repo: getsentry/sentry-python


text:
Remove installation guide's recommendation to use Bazel's bind().

https://github.com/gflags/gflags/issues/251

Thanks!

authors: samliu schuhschuh

repo: gflags/gflags


text:
[dx11][pre-ll] Partial updates of dynamic resources are broken

In D3D11, dynamic resources can only be mapped with either NO_OVERWRITE or DISCARD flags. The former only works on vertex/index buffer. The latter discards the previous contents, thus not supporting partial updates. This is what we do now, and it results in user data being dropped.
Problem-1: we do not detect/handle this properly. At the very least, we should return an error.
Problem-2: we need to re-evaluate the whole Dynamic usage (only for pre-ll branch). D3D11 doesn't actually allow partial updates to happen to GPU-visible resources (like GL does). You can only do this via staging resources, which can be mapped for writing, then copied to GPU-visible resources (basically, PBO path in GL).
cc @zakorgy @Bastacyclop

Thinking about this more, I think I got all the puzzle pieces. Core thing to realize was that the data buffer carried by Encoder is conceptually (and should be - factually) a PBO:

the encoder maps a PBO for the duration of command encoding
whenever the user issues update_buffer/update_texture:

we'll copy data data into the mapped region
we'll record the underlying copy_buffer/copy_buffer_to_texture call in the command buffer

This way, we don't rely on any discard mechanics in the backend, and we don't need a tricky Dynamic type usage at all. The only problem that comes to mind is that the Encoder doesn't know the size of the PBO it will need, and it doesn't have access to a factory for creating more of them or resizing. Thus, I believe the user will just need to specify the size of associated PBO when creating an encoder.
@msiglreith would you see any problems implementing this scheme in the gfx_render to work with LL?

That being said, we need an easier workaround for pre-ll branch. It's sad to have this broken on DX11.

would you see any problems implementing this scheme in the gfx_render to work with LL?

It's actually also a core issue https://github.com/gfx-rs/gfx/issues/1416#issuecomment-320630776. Depending on if we want support in buffer updates.
For render this sounds reasonable in combination with a small buffer for the whole encoder, but the current GraphicsEncoder in render is only a temporary wrapper/encoder. Therefore we would need some changes here to handle a persitent scratch buffer.

More in-depth investigation here - https://github.com/gpuweb/gpuweb/issues/28

@kvark I never liked the Dynamic usage that was not part of my initial proposal and only reintroduced for GL_DYNAMIC_STORAGE_BIT and D3D11_USAGE_DYNAMIC (the broken part). I remember we already discussed the PBO solution at the time and the buffer size was not the only problem. Maybe it had something to do with the unability to keep the Encoder Send with it ?
I think I would rather have some kind of UploadQueue (a step towards higher level abstractions as discussed for mapping overwrites) in render that is basically the PBO solution without bringing the latter inside the Encoder. It probably requires more fine-grained synchronisation but would reduce waste (multiple fences for a single buffer that can be used by multiple encoders), which shouldn't be a problem with LL (@msiglreith ?). For pre-LL it could just be a ring buffer of upload buffers with more waste.

Let's try to clarify the situation a bit more.
The proposed fix is to keep an Upload buffer inside the encoders, with a fixed size specified at creation.
I don't know what are the multithread constraints for D3D11 but with OpenGL we can't acquire (and release) the Upload mapping outside of the GL context thread.
With pre-LL this is a problem since we want encoders to be Send. I see two solutions:

Ensure that the mapping is always available/acquired when the Encoder  is available (i.e. outside submission).
Keep writing into an intermediary Vec before actually copying to an Upload buffer during submission.

The first solution requires less copies. Releasing the mapping before submission if necessary is not a problem, but we also need to ensure the mapping is available after submission which means eagerly synchronizing. This might not be a problem if this synchronisation is smart enough (e.g. we don't want to wait for a following draw command) and does not cost too much.
The second solution seems easier to implement and does not require an Upload buffer for each Encoder. This is the one I would pick for a simple pre-LL fixing.
We could completly remove the Dynamic usage or keep it if we don't want breaking changes, or to modify less backends. I also fear #1208 might complicate things for D3D11 texture updates.
With LL the encoders will be neither Sync nor Send so there should be no thread issue. However without Send there is little convenience provided by update commands IMO. So I would not even emulate them and instead provide better upload abstractions mentioned in the last comment.
@kvark What do you think about all this ?

@Bastacyclop Thank you for the analysis!
pre-LL
We could also consider solution 3) map-write-unmap directly in the Encoder::copy_* implementation.
Overall, I wouldn't worry too much about pre-LL fixing. We haven't promised a "Long Term Support" kind of service for it anyway. Yes, it sucks that one of the basic things on D3D11 doesn't work properly. If there is an easy-ish workaround, let's do it! Otherwise - I prefer to focus on post-LL, but will gladly review the patches and publish new versions.
post-LL

So I would not even emulate them and instead provide better upload abstractions mentioned in the last comment.

Getting Vulkan Portability is one of the strategic goals of LL. If we don't provide update_buffer in core, we'll have to emulate it on all platforms by the portability shim around gfx-rs. This would be less efficient on Vulkan than to call native update methods, so is undesirable.
As to how exactly D3D12/Metal backends are going to do it:

CommandPool implementation will manage a grow-able pool of Upload buffers
when encoder needs to update something, it requests the buffer space from the active command pool
buffer space returns to the pool upon resetting the command buffer

We could also consider solution 3) map-write-unmap directly in the Encoder::copy_* implementation.

This is not possible with OpenGL. I guess it is possible with D3D11 ?

@Bastacyclop yeah, our command buffers are backed by ID3D11DeviceContext, which can do Map/Unmap: https://msdn.microsoft.com/en-us/library/windows/desktop/ff476457(v=vs.85).aspx

authors: Bastacyclop kvark msiglreith

repo: gfx-rs/gfx


text:
Don't depend on spirv-cross in gfx-auxil

All backends depend on gfx-auxil, which drags spirv_cross unconditionally at the moment.

Hmm, actually Vulkan doesn't depend on gfx-auxil :/

What I was seeing is wgpu-native dragging spirv_cross via gfx-auxil on Linux...

See also - https://github.com/gfx-rs/gfx/issues/3063


text:
[GL] Work around 0-sized storage buffers

Fixes #1136
cc @stalkerg

@homu r+

:pushpin: Commit fc29cde has been approved by kvark

:zap: Test exempted - status

authors: homu kvark


text:
[GPC] Test Data

Summary
The precompiler would insert external test data as example rows.
Use cases
Many test data could be stored more effectively in CSV/XLS/JSON files and then loaded into the feature file.
Example
Take the following (example) feature file:
# src/search.feature
Feature: Search

  Scenario: Search
    Given the Search page is opened
    When the <filter> filter is selected
    And the <term> search term is entered
    And the Search button is clicked
    Then there should be <results_num> results
    And the first results should be <first_result>

    @load_csv(data/search.csv)
    Examples:
      | filter | term | results_num | first_result |

And take the following CSV file:
tdID,filter,term,results_num,first_result,second_result
1,community,Idea Pool,1,Idea Pool,NULL
2,event,Idea Pool,200,Handling package families - GherKing,TA Tool evaluation - Robot framework

Running the precompiler would result in the following feature files:
# dist/search.feature
Feature: Search

  Scenario: Search
    Given the Search page is opened
    When the <filter> filter is selected
    And the <term> search term is entered
    And the Search button is clicked
    Then there should be <results_num> results
    And the first results should be <first_result>

    @load_csv(data/search.csv)
    Examples:
      | filter    | term      | results_num | first_result                         |
      | community | Idea Pool | 1           | Idea Pool                            |
      | event     | Idea Pool | 200         | Handling package families - GherKing |

Options/Variants

Load CSV, XLS, and JSON
Keep/clean tag
Having one or separate tags per source type
Handling missing values (NULL, empty string) with default value

Additional context

@gherking/gherking, please review this issue and propose any change/improvement.

repo: gherking/gherking


text:
Check availability of upstream services periodically

If an upstream service is unavailable, upstream should not send request to that service.

UnprocessedRequestException will be thrown if upstream is unavailable and respond 503 Service Unavailable according to #81. So, checking availability is not need in now.

UnprocessedRequestException will be thrown if upstream is unavailable and respond 503 Service Unavailable according to #81. So, checking availability is not need in now.


text:
[Feature Request] Add  some api for register the external modules properties

Simple case I want to add in the suggestion list flags.xxx.yyyy from the module with id zzzz, but just for the effect change list  is there any way to do it from the api ?
If not is there you can insert something like this ?
let moduleIdOrSystemId = "zzzz"; // useful for help to understand what module or system use this ? e.g. flags.xxx.yyyy (zzzz)
let propertyKey = "flags.xxx.yyyy"; // the property key to suggest
let enabledOn = ["effect"]; // useful for let the other module developer tell you if  is just a property for active effect or a property for the item ecc.
game.modules.get("autocomplete-inline-properties").api.addProperty(propertyKey, moduleIdOrSystemId, enabledOn)

I think something like this could help developers a lot to create suggestions.
If this interests you , but you don't have time to devote to it I can try to prepare a PR

The way autocompletion entries are gathered for most systems, this doesn't make much sense. The entries are usually collected by recursively checking the actual data of the affected actor, so any flag that is in there is already being listed anyways. Granted, this does of course not work if the flag is not set (yet), or if you are editing effects on an unowned item (that's really a separate issue, though). But that's the current implementation, and just adding individual properties to that doesn't make a whole lot of sense, because it's a fundamentally different approach.
I'll think about whether something like this might still be useful, but to be honest, I don't think so. What's the actual use case you are thinking of, that's not already covered due to the actual data of the actor being used?


text:
repeat motion in visual selection doesn't work

tested using ]m motion

I was about to report this as well :smile: Glad to see you're using your own plugin. Hope this gets fixed soon!

I hope so as well, but I also have like a list of 20 other fixes to make. Contributions are more than welcome ;)


text:
Extremely large mouse size on Arch Linux

Here's my mouse in Ghostty:

And here's its size in other programs:

Dupe. This is a GTK bug fixed in the next release. Search for more details

authors: TroySigX mitchellh

repo: ghostty-org/ghostty


text:
Fix backscale

Fixed a bug that skipped some tests and added tests to make sure it did not happen again. The bug was that reselection of background intervals caused there to be zero background counts!

Current coverage is 73.71% (diff: 100%)

No coverage report found for master at 9f401b1.

Powered by Codecov. Last update 9f401b1...cb72a22

authors: codecov-io grburgess


text:
Update tte like

This branch addresses the following:
Adds general EventList class capable of producing a PHA type readable by the new OGIP plugins.
Updates the FermiGBMTTELike class to the new OGIP plugin.
Modifies the PHA class to be compliant with the above changes.
Adds a general PHAContainer class that can be used to build PHAs on the fly.
Updates the Response class to handle GBM response with no TLMIN key work (see #53 )
Adds a stats_tool file for simple things like Li and Ma significance
Moved plotting features from original ogip.py file to their appropriate places.
Enables multiple source selection in TTE files.
--
Examples have been updated accordingly

I need to check a bug!


text:
Document how uncss works and common workarounds/integrations

Given the constant stream of uncss issues about a few major topics, it's probably worth a few bits of usage documentation in the README:

uncss runs a web browser, parses the page, and inspects for used css classes
uncss cannot be run on non-html pages. this includes templates and other such things. for that, you should probably generate example html pages from your templates, and run uncss on those generated files (or alternately, run a live local dev server, and point uncss at that)
uncss does run javascript, but only whatever javascript is run on page load. it does (and cannot) not handle user interactions like button clicks or hovers. if you wish to protect that css, you must use css ignores, or generate a "special" version of your page that adds these selectors on page-load, specifically for detection (and preservation) by uncss

I've been thinking along similar lines, just never got time to open an issue/PR. I can try to do a PR for this, but don't know when I'll get time (some other pressing things ATM).

authors: RyanZim mikelambert

repo: giakki/uncss


text:
Gives Key Error issue while creating the tableset from pyspark dataframe

Hi I am trying to use the featuretoolsOnSpark on my server. In trial run i am implementing the example as shown in the repo. It throws KeyError on calling "ts.table_from_dataframe"
I imported the csv as spark dataframe and checked the schema ,
column names they are same, but it throws "KeyError".

I guess this bug come from this line column = column.encode("utf-8"), if you encode a column name which is str type, it would become a bytes type.
A str obejct is different with bytes object even they same characters.
I dont get why the column has to be encoded to bytes.

I'm have the same issue as described above. Did you guys figured out how to overcome this bug?

I'm having the same issue as described above. Did you guys figured out how to overcome this bug?

authors: AlonAzrael Igorcortez anshitm chenyan123456789

repo: giantcroc/featuretoolsOnSpark


text:
Add overview arch

What this PR does / why we need it

Towards https://github.com/giantswarm/giantswarm/issues/30570
Things to check/remember before submitting

If you made content changes

Run make dev to render and proofread content changes locally.
Bump last_review_date in the front matter header if you reviewed the entire page.

We have updated the arch diagram needs a bit of work (naming) and some design magic from Marat. From that point, we can start adding content to the page that describes the different parts. @JosephSalisbury is on it

Small nitpick for the diagram: The Chat in "Support Chat" has a different font.

ok still need to fix vale and add the missing links but I could address all comments :)

ok now I think all comments are handled. Please review, security section is updated

repo: giantswarm/docs


text:
Versioning of IAM permissions in relation to Workload cluster releases

User Story

As a customer I want to be able to manage any change to my IAM permissions from a repo, for example this one and rely on appropriate labels to indicate IAM role version's compatibility to each Workload cluster releases for AWS.

The current relation is only stated in form of release notes of the WC release and not easily back-traceable from the IAM repo's perspective.
If I want to remove IAM permissions from a certain workload cluster release on, this becomes much more manageable as I'm able to upgrade a cluster and then pull the new IAM permissions
Giant Swarm and customers can refer to a common versioning ensuring correct IAM policies

Example: We added more permissions for irsa operator in the IAM repo. The related changes came in release v17.1.0 where we state these IAM requirements only in the release notes of said release.
Details, Background
Please give all possible details, requirements, etc. Technical or not.
Blocked by / depends on
Please link issues/epics here which have to be solved before

I have multiple ideas how we can tackle this and make it easier for customers to figure out which permissions they would need for Vintage releases.

We can create a tag for each release, this would mean we're starting by using v19.0.0. Whenever we create a new release, we would tag the IAM repo.

We are creating subdirectories for each release for Vintage IAM permissions

Dir structure:
vintage /
  v19.0.0 /
     ...
  v19.1.0 /
     ...

We can create a branch for each release and reference to the corresponding branch instead of tagging or changing the directory strucuture.

Tagged the current releases > v18.3.0

authors: luca-rui njuettner

repo: giantswarm/roadmap


text:
Migrate apps from default-apps-azure to cluster-azure chart

Motivation
In order to match the target state of our defined release framework we need to remove the use of the default-apps charts from all providers. Only then can we realise the single entrypoint to apply changes to a cluster for customers and reduce complexity in how and where our apps are managed.
Todo

[ ] Move all relevant, provider specific apps from default-apps-azure into the cluster-azure chart
[ ] Prepare the tests for this change - the change might/will be a breaking change for the test environment
[ ] Remove all migrated apps from default-apps-azure so that they are only used from cluster-aws chart
[ ] Clearify with Team Phoenix how to roll out the change on all CAPA Installations

Outcome

The complexity of where and how apps are managed is reduced since we now have all provider specific apps in just the cluster-aws chart

I prepared almost everything on last Friday but I need to do a lot of testing now.

authors: njuettner yulianedyalkova


text:
oauth2-proxy  pods are crashlooping in goat

The pods display the following logs :
[2024/11/13 13:33:33] [provider.go:55] Performing OIDC Discovery...
[2024/11/13 13:33:33] [main.go:59] ERROR: Failed to initialise OAuth2 Proxy: error initialising provider: could not create provider data: error building OIDC ProviderVerifier: could not get verifier builder: error while discovery OIDC configuration: failed to discover OIDC configuration: error performing request: Get "https://dex.goat.gaws.gigantic.io/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate signed by unknown authority

This probably related to the fact that goat is a private installation.

Well damn, this is failing for 2 reasons:
1: we did not ignore unknown CAs in the app
2: the current app version does not support skip-verify flag https://github.com/oauth2-proxy/oauth2-proxy/issues/2802

App is correctly configured and released

authors: QuantumEnigmaa QuentinBisson


text:
Add Cilium Network Policies for aws-loadbalancer-controller-app and aws-pod-identity-webhook

In case of customers wanting to improve cluster security, the Cilium Cluster Wide Policy, blocking the IMDSv2 access can be added.
The policy itself can look like:
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: deny-egress-to-imds
spec:
  endpointSelector: {}
  egressDeny:
    - toCIDR:
        - "169.254.0.0/16"

However there are still two types of workloads on GS side that require adjustments, such that the cluster wide policy can be applied without exceptions:

aws-pod-identity-webhook-app:

│ W1205 12:39:01.575294       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
│ F1205 12:39:07.827554       1 main.go:130] Error getting instance identity document: EC2MetadataRequestError: failed to get EC2 instance identity document
│ caused by: RequestError: send request failed caused by: Get "http://169.254.169.254/latest/dynamic/instance-identity/document": context deadline exceeded (Client.Timeout exceeded while awaiting headers)                                                                                │

aws-loadbalancer-controller-app:

{"level":"info","ts":"2024-12-05T14:12:44Z","msg":"version","GitVersion":"v2.8.3","GitCommit":"a1418f94a060043cacb43cc8f0aeb7f4ac1eb94d","BuildDate":"2024-09-17T05:44:37+0000"}
{"level":"error","ts":"2024-12-05T14:12:57Z","logger":"setup","msg":"unable to initialize AWS cloud","error":"failed to introspect vpcID from EC2Metadata or Node name, specify --aws-vpc-id instead if EC2Metadata is unavailable: failed to fetch VPC ID from instance metadata: RequestError: send request failed\ncaused by: Get \"http://169.254.169.254/latest/meta-data/mac\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
Stream closed EOF for wario130-aws-load-balancer-controller/aws-load-balancer-controller-5c5d667c49-7n2ld (aws-load-balancer-controller)

We should cater and add explicitly Cilium Network Policies such that the Cluster Wide Policy does not affect mentioned workloads.
Acceptance criteria:

[ ] add Cilium Network Policy explicitly allowing access to EC2Metadata endpoint for aws-pod-identity-webhook-app
[ ] add Cilium Network Policy explicitly allowing access to EC2Metadata endpoint for aws-loadbalancer-controller-app

Related issues:

https://github.com/giantswarm/roadmap/issues/3796
https://github.com/giantswarm/roadmap/issues/3795

Update on the current situation:
Both apps have a network policy defined and in the clusters right now that allow connectivity to the metadata endpoint:

https://github.com/giantswarm/aws-pod-identity-webhook/blob/main/helm/aws-pod-identity-webhook/templates/networkpolicy.yaml
https://github.com/giantswarm/aws-load-balancer-controller-app/blob/main/helm/aws-load-balancer-controller/templates/networkpolicy.yaml

The problem here is that the CiliumClusterwideNetworkPolicy EgressDenyRule will deny all traffic even if allowed by any other network policy as per documentation:
EgressDeny is a list of EgressDenyRule which are enforced at egress. Any rule inserted here will by denied regardless of the allowed egress rules in the 'egress' field. If omitted or empty, this rule does not apply at egress.
In 1.16 there is a feature that might help us, but I have not been able to make it work which is EnableDefaultDeny:
EnableDefaultDeny determines whether this policy configures the subject endpoint(s) to have a default deny mode. If enabled, this causes all traffic not explicitly allowed by a network policy to be dropped. If not specified, the default is true for each traffic direction that has rules, and false otherwise. For example, if a policy only has Ingress or IngressDeny rules, then the default for ingress is true and egress is false. If multiple policies apply to an endpoint, that endpoint's default deny will be enabled if any policy requests it. This is useful for creating broad-based network policies that will not cause endpoints to enter default-deny mode.
Meanwhile I thought about simply disabling the credentials endpoint by doing something like the following block:
  - toEndpoints:
    - matchLabels:
        env: prod
    toPorts:
    - ports:
      - port: "80"
        protocol: TCP
      rules:
        http:
        - method: "GET"
          path: "/public"

This should reduce the attack as it would allow it to discover stuff of the node itself but deny any kind of privilege escalation.

authors: T-Kukawka paurosello


text:
Replace PROJECT with Yochu

I looked into #6, but couldn't find any differences to https://github.com/giantswarm/example-opensource-repo/blob/master/CONTRIBUTING.md - but I noticed we forgot to replace the projectname. So here we go.
ping @puja108 @JosephSalisbury

LGTM

authors: JosephSalisbury zeisss

repo: giantswarm/yochu


text:
🛑 create talks api.minghe.me/graphql is down

In 2d116fc, create talks api.minghe.me/graphql (https://api.minghe.me/graphql) was down:

HTTP code: 0
Response time: 0 ms

Resolved: create talks api.minghe.me/graphql is back up in 8b78429.

repo: gikiapp/status


text:
🛑 nextcloud.minghe.me is down

In 989141c, nextcloud.minghe.me (https://nextcloud.minghe.me) was down:

HTTP code: 530
Response time: 36 ms

Resolved: nextcloud.minghe.me is back up in c210ef3 after 13 minutes.


text:
Is there any way to read the widgets' name from a widgetblueprint.uasset

Hi, I am learning how UE4 serializes and want to make a plugin to compare two UMG blueprints. I notice umodel only counts widgets.  Can umodel also get the name by modifying LoadPackage? Thank you.

Hi. UModel is "model" viewer, it is not intended to read widgets neither now nor in the future.

Well. Maybe my english is poor. I have suffered from loading a uasset outside the project for a few days and your code teaches me a lot, so I wonder whether I can know how to read widgets from the code. And I would be grateful if you can provide some ideas. Thanks.

Well ... UI in UE4 is constructed either from C++ code (with use of Slate module), or with use of WidgetBlueprint. Blueprint asset consist mainly from "Construction Script" which is used to instantiate it at runtime when needed. I'm not aware of how Construction Script structured, how it is serialized and so on, so I can't help you with this.

Thank you so much. I think I should learn from the Engine source code to make it clear.


text:
How do you export soundwaves

Hi, I'm trying to work out how to export SoundWave files via Umodel, how do you do this? :)

Check readme.txt for the answer.


text:
[New Feature Request] Implement matrix simd_double3x3 and matrix multiplication

I have been looking at the simdLinux package to help me port some code so that it can run on Linux.
The package works great for the simd_double3 vector type, but I was hoping that a possible new feature might be to add support for vector-matrix calculations.
Example of specific use of simd_double3x3 to calculate the line-of-sight angle between 2 points on the Earth:
func calcElevationAngle(from: (p1: GeographicPoint, cp1: CartesianPoint), to: CartesianPoint) -> Double {
  let Δx = to.x - from.cp1.x
  let Δy = to.y - from.cp1.y
  let Δz = to.z - from.cp1.z

  let sinφ = sin(from.p1.location.φ)
  let cosφ = cos(from.p1.location.φ)
  let sinλ = sin(from.p1.location.λ)
  let cosλ = cos(from.p1.location.λ)

  let rotationMatrix = simd_double3x3(rows: [simd_double3(-sinλ, cosλ, 0),
                                             simd_double3(-sinφ*cosλ, -sinφ*sinλ, cosφ),
                                             simd_double3(cosφ*cosλ, cosφ*sinλ, sinφ)])
  let tranlatedVector = simd_double3(Δx, Δy, Δz)
  let rotatedVector = rotationMatrix * tranlatedVector

  return Double.pi/2 - acos(rotatedVector.z / sqrt(pow(rotatedVector.x, 2) + pow(rotatedVector.y, 2) + pow(rotatedVector.z, 2)))
}

Thank you for taking the time to read this request.
Kieran

Happy to see, that the package is useful to someone else.
Towards the end of the week, I can come up with an update.

Major rework done and initial implementation for matrix.
no real tests done

Thank you.
Can I suggest a minor improvement?
If the vector element accessors (x, y, z, w) can be declared public, it might be better.
A workaround, for now, would be to access the vector array directly.
func calcElevationAngle(from: (p1: GeographicPoint, cp1: CartesianPoint), to: CartesianPoint) -> Double {
  let Δx = to.x - from.cp1.x
  let Δy = to.y - from.cp1.y
  let Δz = to.z - from.cp1.z

  let sinφ = sin(from.p1.location.φ)
  let cosφ = cos(from.p1.location.φ)
  let sinλ = sin(from.p1.location.λ)
  let cosλ = cos(from.p1.location.λ)

  let rotationMatrix = simd_double3x3(rows: [simd_double3(-sinλ, cosλ, 0),
                                             simd_double3(-sinφ*cosλ, -sinφ*sinλ, cosφ),
                                             simd_double3(cosφ*cosλ, cosφ*sinλ, sinφ)])
  let tranlatedVector = simd_double3(Δx, Δy, Δz)
  let rotatedVector = rotationMatrix * tranlatedVector

  //return Double.pi/2 - acos(rotatedVector.z / sqrt(pow(rotatedVector.x, 2) + pow(rotatedVector.y, 2) + pow(rotatedVector.z, 2)))
  return Double.pi/2 - acos(rotatedVector.vector[2] / sqrt(pow(rotatedVector.vector[0], 2) + pow(rotatedVector.vector[1], 2) + pow(rotatedVector.vector[2], 2)))
}

Thanks for the feedback. The vector element accessors are now declared public.

Thank you.
Working like a dream now :)
A simple check for the OS for the imports, no other code change needed and works on macOS or Linux with no problems - nice.
#if os(Linux)
import simdLinux
#else
import simd
#endif


text:
Syntax highlight support for Markdown

The syntax highlight for Markdown files (.md) is rather weak, I had to switch to the VSCode default solarized dark theme (which has surprisingly good at markdown syntax highlight) whenever I edit a markdown file.
For other filetypes, I really love your theme!!
Keep it up, just wish it could be even more perfect!

@ianpan870102 Other than #1 what is weak about it... ? Just need to try and figure out what you're expecting, I'm guessing you're wanting better inline-code, list highlighting?

Dear ginfuru,
Thank you for the email!
I hope that the attached two screenshots can successfully elaborate the
syntax highlighting differences in VSCode-solarized-dark, and your
Better-Solarized dark (which seems to be quite 'grayed-out' in 80% of my
Markdown code).
Best,
Ian
Ed Heltzel notifications@github.com 於 2018年9月13日 週四 下午8:34寫道：

@ianpan870102 https://github.com/ianpan870102 Other than #1
https://github.com/ginfuru/vscode-better-solarized-dark/issues/1 what
is weak about it... ? Just need to try and figure out what you're
expecting, I'm guessing you're wanting better inline-code, list
highlighting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ginfuru/vscode-better-solarized-dark/issues/2#issuecomment-420990596,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ai_MNOxTEghFaf9VqKL6G8hsMCJnYGkqks5ualDsgaJpZM4WmeB5
.

@ianpan870102, would you mind showing the screenshots as part of the post? Attaching them to the email probably doesn't work.

@ianpan870102
What version of the ther theme are you using?

I'm using the latest version that comes with the VSCode built-in themes. Yes, I am showing the '.md' code -- not the preview -- because I'm discussing the syntax highlight.

This is what blockquotes looks like with Dank Mono

authors: ginfuru ianpan870102 linhtto

repo: ginfuru/vscode-better-solarized-dark


text:
mac 下面2.11.1 的darwin文件解压之后是个文档

应该如何使用呢，我记得2.8之前解压之后是个执行文件（.zip压缩格式)
最新的（.gz压缩格式)版本，mac下面显示是个文档，应该怎么使用呢？
可否讲解一下

解决了，用chmod 改变一下执行权限

repo: ginuerzh/gost


text:
Image Printing

Olá novamente, estou com um problema com a impressão da imagem agora. Estou tentando com essa função que você deixou como exemplo, mas não imprime e nem um erro aparece. Já tentei com imagem em diferentes tamanhos, formatos e diretórios.  O que posso estar errando?
Código:
this.print.listBluetoothDevices().then(result => {
      console.log(JSON.stringify(result));
      this.print.connect(result[0].address).then(result => {
        console.log(JSON.stringify(result));
      }).catch(err => {

      });
    }).catch(err => {

    });

      var image = new Image();
      image.src = 'flag.png';
      image.onload = function() {
        var canvas = document.createElement('canvas');
        canvas.height = 100;
        canvas.width = 100;
        var context = canvas.getContext('2d');
        context.drawImage(image, 0, 0);
        var imageData = canvas.toDataURL('image/jpeg').replace(/^data:image\/(png|jpg|jpeg);base64,/, "");
        this.print.printImage(
          imageData, //base64
          canvas.width,
          canvas.height,
          1
        ).then(result => {
          console.log(JSON.stringify(result));
          }).catch(err => {

          });
      };

    this.print.feedPaper(100).then(result => {
      console.log(JSON.stringify(result));
      this.print = result;
    }).catch(err => {

    });

Você não precisa conectar à impressora sempre que for executar um comando, a conexão é mantida.
Você continua usando de forma incorreta as promises, leia mais sobre isso.
Algum erro é retornado?

Se você tiver sempre somente uma impressora pareada com o dispositivo pode ser, senão seria interessante apresentar ao usuário todas as impressoras pareadas e permitir que o mesmo selecione a que deseja conectar...
http://www.syntaxsuccess.com/viewarticle/angular-promise-chaining-explained
Você sempre deve primeiro especificar o callback onload e após isso definir o src da imagem, uma vez que o src é definido a imagem já começa a ser carregada, se o carregamento terminar antes que o callback seja definido nada será executado...

Será sempre apenas uma impressora. Fiz o teste no construtor e ficou melhor mesmo.
Vou tentar implementar esse método amanhã de manhã, já havia tentando algo parecido, com esse mesmo método de promise chaining, se não me engano estava recebendo erro pela minha utilzação do this.
Na verdade eu fiz dessa maneira porque foi como está no seu exemplo principal. Eu tentei colocar o callback antes, mas  infelizmente continua sem imprimir nada. Um erro que está aparecendo e eu esqueci de mencionar é um que ocorre na primeira vez que faço a build, quando faço a build pela segunda vez o erro some:

typescript: src/pages/home/home.ts, line: 35
Property 'print' does not exist on type 'HTMLElement'.

Ops, falha minha, já corrigi o exemplo. Obrigado!
Então, certifique-se de que a imagem está sendo carregada corretamente, ele chega a chamar o evento onload? Se sequer chama este evento tente identificar se algum problema pode estar acontecendo ao carregar a imagem, utilize o evento onerror...

authors: giorgiofellipe leonardofmed


text:
Improve Google PageSpeed Score

These insights show some things we can improve upon.  If you run the test twice, you'll see that we do improve quite a bit due to caching: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fschoolofsustainability.asu.edu

This should be in the Web Standards Theme!
Closing! And moving!

repo: gios-asu/deprecated-sos-wordpress-theme


text:
Import from Excel

When an excel file is detected, let the user choose the excel worksheet(s) to import and upload each as a file in the list.

why not importing all non-empty sheets right away? Otherwise, we need upload the file, read the worksheets via the server, let the user chooser which ones, upload it again and upload it.

I'd be fine with importing all non-empty sheets for now and seeing how it goes. I agree it would be much more straightforward to implement.

I don't see any big issues with doing that.  The POST request will just return a list of datasets.  Should be pretty straightforward to implement.

authors: jbeezley jeffbaumes sgratzl

repo: girder/metabulo


text:
Feature/revert resize and reload#47

Outline 📝

Fix URL https://twitter.com/intent/tweet to https://twitter.com/intent/post
Revert reload button

Related issue 🚥
#47
Test 💯
No added.

for 0.7.0

repo: girigiribauer/fly-free


text:
Upgrade dictionary

Fix err bug --> [1:] to [1 :]
Fix cant find uppercase word bug --> in if camelcase else ...
Fix uppercase letters can't find in dict bug --> lidx ridx not use tolower() compare
dictionary can have XX_XX words now --> \a to \k,
\a only (A-Z,a-z) so use \k (a-z,A-Z,48-57,_,.,-,>), \k is customized for programmers :)

Fixed by https://github.com/girishji/vimcomplete/commit/85490ce5ea70266736f022d224f738c1458cca8e

I did the following enhancement after getting inspiration from https://github.com/vim-scripts/Pydiction. I think this addresses your concerns.
https://github.com/girishji/vimcomplete/commit/85490ce5ea70266736f022d224f738c1458cca8e

authors: Angluca girishji

repo: girishji/vimcomplete


text:
Data Science with Python : Temporal Difference Learning

Welcome to 'DSWP' Team, good to see you here
This issue will helps readers in gaining all the guidance that one needs to know about Temporal Difference Learning. Tutorial to Temporal Difference Learning and how it's applied using sample code.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Machine Learning
Mentors Assigned : Aishani Singh / Jivitesh Jain
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

Can I take up this task, ma'am?
Batch: 13
Serial: 438
Name: Priyanshu

/assign

I'll like to work on documentation giving a clear, concise explanation of the concept with some illustrative examples

You can proceed. @pragmatic-philosopher09

Issue is assigned to @pragmatic-philosopher09 for documentation

/assign

Name: Hrugved Kolhe
Batch: 10
Sr. No.:- 330
GitHub Profile
[x]  Documentation
Approach: Introduction, properly commented code, images wherever required, proved conclusion

This issue is already assigned for other for documentation. if you're interested you can take it for audio / video contribution. @hrugved06

There was no assignee for the issue so I picked it up.
The person who was assigned removed himself from the assignee position @prathimacode-hub can you please confirm it

Ok, you can proceed working on it for documentation. @hrugved06

@prathimacode-hub , Mam
I am M. Ashish Reddy. I would like to do video on this issue.
Batch number: 5
serial number:174.
Approach: A detailed explanation with examples and real life uses

Issue assigned to @ashish-reddy-20-08 for video contribution

repo: girlscript/winter-of-contributing


text:
Java 11.2: Overloading Vararg Methods

Description
Add audio, documentation, and video regarding the Overloading Vararg Methods.

Location of File to be added
The files should be added inside the Overloading Vararg Methods  folder which is inside the Varargs  folder present in the   Java  main folder.  The documentation file can be in the .md/.py/.ipynb format. Audio should be in .mp3 format and to be submitted through a Google drive link. Video can be in any format and should be submitted through a Google Drive link.
Note:

You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time.
Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns.
You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned.
Issues will be assigned on a first come first serve basis.

Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

\assign Document

/assign document

@Harsh-Chaudhary7 You have been assigned Documentation.


text:
ML 2.6: Logistic Regression (A)

Description
Welcome to 'ML' Team, good to see you here
This issue will helps readers in acquiring all the knowledge that one needs to know about Logistic Regression.
To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", this issue is only for Audio content.
Domain : Machine Learning
Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the Machine Learning/Machine_Learning/Supervised_Machine_Learning Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[ ] Audio

All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Audio
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Hello,
I am from ML Batch 1
Please assign me to this issue.
I want to work on it.
Thank you

Thank you for assigning me
I will try to give my PR request  in 4-5 days.


text:
added glassmorphism [Fixes issue #3563]

Description 📜
Added documentation on glassmorphism.
Fixes #3563

Type of change 📝

[X] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[X] UI/UX

Checklist ✅

[X] I follow Contributing Guidelines & 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'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Debasmita-01

Please review my PR and plaese add 'hacktober fest' and 'hacktober-added' labels also. @Debasmita-01


text:
Updating Codebase With ES6

In this PR I have done the following:
-refactor code using es6 👨💻  syntax :
-change all functions to use arrow 🏹  functions 🧶
-use luxon library 📦  to generate the date and time ⏲  for the site 🧶
the above is in the pull request I would love to here 👂 from you my code reviewer  and your thoughts on my work 👍

After the recent Code Review, I have adjusted to what I was asked such as:
-remove unnecessary comments in the scripts

repo: gisachris/AwesomeBooks


text:
Filter - Not

In gitlab by @sfalquier on Apr 28, 2017, 11:09
negative filter by prefixing with "-"

In gitlab by @sylvaingaudan on Apr 28, 2017, 13:46
changed milestone to %4

In gitlab by @sylvaingaudan on Apr 28, 2017, 13:53
added ~1918909 label

In gitlab by @sylvaingaudan on Jul 12, 2017, 13:43
removed milestone

In gitlab by @sylvaingaudan on May 5, 2017, 11:10
added ~1918908 and removed ~1918909 labels

In gitlab by @sylvaingaudan on Aug 10, 2017, 08:30
removed ~2424200 label

In gitlab by @sylvaingaudan on Sep 11, 2017, 11:48
changed milestone to %13

In gitlab by @sfalquier on Sep 15, 2017, 11:00
removed milestone

In gitlab by @sylvaingaudan on Jan 2, 2018, 10:41
Not applicable anymore.

In gitlab by @sylvaingaudan on Jan 2, 2018, 10:41
closed

repo: gisaia/ARLAS-server