Add /identifier/redirect endpoint

This PR adds a new /identifier/redirect endpoint that takes a query parameter iri and uses it to look up in the SPARQL backend a statement containing ?iri foaf:homepage ?url. If a value for ?url is found, it returns a redirect response redirecting to the ?url value.
Tests previously under tests/curies have been moved to tests/identifier and the new tests for the /identifier/redirect endpoint have been added to the new location as well.
Note, this PR merges into existing PR https://github.com/RDFLib/prez/pull/143.

What's the motivation / use case here? Is it intended the prez FE app will use this? does this change what is expected of users to provide in their data for prez to function?

The use case is to have a redirect response generated from the data in the database in the form of ?iri foaf:homepage ?url.
For example, a persistent IRI such as http://data.bgs.ac.uk/id/dataHolding/13603129 is forwarded to Prez as a query parameter at /identifier/redirect and Prez just performs a look up in the database and returns a redirect response or 404 if no matches found.

This redirect functionality is the same as other redirect services such as W3ID and the AGLDWG PID service. The difference here is that the redirect mapping is defined in the database using foaf:homepage.

I understand how it works I'm more getting at why is it needed, what is the motivation to add this functionality to prez where it didn't exist before. What sort of resources would you expect to have a foaf homepage, would you be programmatically adding this for e.g. external vocabs? Is there a current use case with a project that would describe why it is needed.

The example I provided above is a BGS persistent IRI redirecting to the metadata record in GeoNetwork. Primary motivation to have functionality like this is for cases where organisations issue their own persistent identifiers where they need a mechanism to perform the redirect from the persistent identifier to the actual web resource. Rather than implementing the redirect mapping in a config specific to NGINX or Apache HTTP, having it in Prez means the mapping is a piece of data in the SPARQL store. At least in the BGS case, this is their preferred solution.

Thanks yes that clarifies it - could you add that snippet (or similar) to one of the readmes please

@recalcitrantsupplant I've added a description of redirects to the README.md and as a separate enhancement, I've updated the code to forward on headers from the request. This will allow clients to perform content negotiation. Tests updated as well.


Python: Microsoft Guidance Integration

Motivation and Context
The idea behind this PR is to integrate Guidance (https://github.com/microsoft/guidance) into SemanticKernel
Currently creating a draft PR to gather feedbacks on the integration. The format would be a bit different to enable both SK skills and Guidance format in the same template (see below).
Description
My goal was to enable both SK and guidance format into the same prompt to leverage the strength of the two formats/features.
Guidance handlebars format would enhance the base SK format.
First , guidance was added as a new connector with a separate PromptTemplateEngine.
Example of kernel initialization ->
import semantic_kernel as sk
import semantic_kernel.connectors.ai.guidance as sk_guidance

kernel = sk.Kernel(prompt_template_engine=GuidanceTemplateEngine())

kernel.add_text_completion_service(
        service_id="guidance-service",
        service=sk_guidance.GuidanceAOAITextCompletion(
            model_id="text-davinci-003",
            deployment_name="[Name]",
            endpoint="[Endpoint]",
            api_key="[Key]",
        ),
    )

The kernel needs to be created with prompt_template_engine=GuidanceTemplateEngine() to support Handlebars format.
The template format is essentially the same except for variable rendering.  To pass the variable rendering to guidance, variables need to be preceded with a percent (%) sign (maybe another char would be better ?). Otherwise the rendering of the variable can be done by SK.  A special char is needed so SK template engine does not evaluate the expression as a function and fails because it doesn't exist.
E.g :
my {{%book}}

The book variable rendering will be done by guidance. GuidanceTemplateEngine will remove the percent sign and pass my {{book}} to guidance.
my {{$book}}

The variable will be rendered by SK template engine first and the rendered value will be passed to guidance.
Full prompt example ->
 sk_prompt = """The following is a character profile for an RPG game in JSON format.
{
    "description": "{{%description}}",
    "name": "{{gen 'name'}}",
    "age": {{gen 'age' stop=','}},
    "armor": "{{#select 'armor'}}leather{{or}}chainmail{{or}}plate{{/select}}",
    "weapon": "{{select 'weapon' options=valid_weapons}}",
    "class": "{{gen 'class'}}",
    "biography": "{{gen 'biography'}}",
    "mantra": "{{gen 'mantra'}}",
    "strength": {{gen 'strength' stop=','}},
    "items": [{{#geneach 'items' num_iterations=3}}
        "{{gen 'this'}}",{{/geneach}}
    ]
}"""
valid_weapons = ["sword", "axe", "mace", "spear", "bow", "crossbow"]

context = kernel.create_new_context()
sk_function = kernel.create_semantic_function(sk_prompt)
context.variables.set("description", "A quick and nimble fighter.")
context.variables.set("valid_weapons", valid_weapons)
output = sk_function.invoke(context=context)

Output =>
{
    "description": "A quick and nimble fighter.",
    "name": "Fighter",
    "age":  25,
    "armor": "leather",
    "weapon": "sword",
    "class": "warrior",
    "biography": "The Fighter is a brave and courageous warrior who has been trained in the art of combat since a young age. He is a master of swordsmanship and is always ready for a fight.",
    "mantra": "I will fight for what is right!",
    "strength":  10,
    "items": [
        "sword",
        "shield",
        "potion",
    ]
}

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

@slundberg @marcotcr would love if you two could take a look and give @JTremb some feedback!

One of the nice things about Guidance is its ability to return multiple outputs for a single program. Right now, the TextCompletionClientBase class's complete_async only allows returning a single text value. Would it make sense to update Semantic Kernel so that a dictionary can be returned back?

Can we make the Guidance prompt template engine into a seperate Python library that developers can use together with the Semantic Kernel? That way we can measure it's usage and use this as a signal to develop a strategy to support .Net and Java?

@markwallace-microsoft  Absolutely,  I can make this PR a separate project. Would you suggest having one project for the Guidance integration or a more generic "experimental python extension" project that could contains different extensions ?

Thanks for your PR and contribution. For now, we are closing old drafts. Please re-open as appropriate.

So did this go in or not?


Not working with Broadlink RM4 mini

When I add the device and try to lean any code:
[BroadlinkRM]  [35m[INFO] [0m Learn Code initializing (undefined)
[BroadlinkRM]  [31m[ERROR] [0m Learn Code (Couldn't learn code, device not found)
The device code is 62be

im having the same issue with Broadlink RM Mini 4 C. i tried these few things but didnt work.
in https://github.com/lprhodes/broadlinkjs-rm/blob/master/index.js, i have added
rmDeviceTypes[parseInt(0x62be, 16)] = "Broadlink RM Mini 4 C”;
the error of [Info] We've discovered an unknown Broadlink device.... disappears but the error like deltazerok persists:
[5/1/2020, 15:29:13] [Broadlink RM] Learn getSwitchState: undefined
[5/1/2020, 15:29:14] [Broadlink RM] [INFO] Learn Code initializing (undefined)
[5/1/2020, 15:29:14] [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found)

i have added the hosts in my homebridge config:
{
    "bridge": {
        "name": "Homebridge xxxx",
        "username": "0E:Ax:xx:xx:xx:xx",
        "port": 5xxxx,
        "pin": "xxx-xx-xxx"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
                "platform":"BroadlinkRM",
                "name":"Broadlink RM",
                "hideScanFrequencyButton": true,
                "hideLearnButton": false,
                "hideWelcomeMessage": false,
                "hosts": [
                                {
                                "address": "192.168.x.xx",
                                "mac": "24:dx:xx:xx:xx:xx",
                                "isRFSupported": false
                                }
                        ],
                "accessories":[]
        }
    ]
}

i also attempted auto discovery by removing the hosts but the issue still persists.
Running on a lite raspbian for raspberrypi zero w
thanks

try Defensor7 fork of the plugin.

try Defensor7 fork of the plugin.

I try defensor 7 but still error
[Broadlink RM] [ERROR] Air Conditioner sendData (no device found)

try Defensor7 fork of the plugin.

I try defensor 7 but still error
[Broadlink RM] [ERROR] Air Conditioner sendData (no device found)

I have finally managed to remove it from the cloud. I removed the hub deform the app, did a factory reset (AP mode) and included again the product (Rm4cmini) to my local network via Broadlink app. BUT important is to stop the procedure when the App is asking for adding the product to “my home”. BUT Learn code still not working(((

@utester123123bb I followed the same approach you took and have same issue. finally got the device discovered but when the learn switch is on and I press my remote to get the learn code nothing happens (no code gets logged and no error appears either).

Having a problem with this device as well. By partially setting up the device (stopping when asked to set up a room), it is semi-discoverable:
[Broadlink RM] [INFO] Discovered undefined (62bc)
Learn IR function partially works. The device will show indicator light and stop on firing an IR device, but it times out. Sometimes I get an error:
[Broadlink RM] Learn IR getSwitchState: undefined

Having the same issue. I'd be happy to help debugging/reverse engineering this device if somebody could give me a starting point...

@apauly which fork are you using? It seems this one has been abandoned again so you're probably best to move to one that is being supported/updated with this compatibility.


Bug with gffread when converting gff3 to gtf

I detected a bug in gffread when converting gff3 to gtf using Cufflinks v.2.2.1 on Linux.
The gff3 file called all.gff3 can be downloaded from here:
ftp://ftp.plantbiology.msu.edu/pub/data/Eukaryotic_Projects/o_sativa/annotation_dbs/pseudomolecules/version_7.0/all.dir/
This file was converted to gtf using gffread:
$ gffread all.gff3 -T -o all.gtf
Check the exon coordinates of transcript LOC_Os06g46770.3 in gff3 file:
$ grep LOC_Os06g46770.3 all.gff3 | grep exon
Chr6    MSU_osa1r7    exon    28401731    28401808    .    +    .    ID=LOC_Os06g46770.3:exon_1;Parent=LOC_Os06g46770.3
Chr6    MSU_osa1r7    exon    28402585    28403489    .    +    .    ID=LOC_Os06g46770.3:exon_2;Parent=LOC_Os06g46770.3
Chr6    MSU_osa1r7    exon    28403718    28404585    .    +    .    ID=LOC_Os06g46770.3:exon_3;Parent=LOC_Os06g46770.3
Then check the same in a new gtf file:
$ grep LOC_Os06g46770.3 all.gtf | grep exon
Chr6    MSU_osa1r7    exon    28401731    28401808    .    +    .    transcript_id "LOC_Os06g46770.3"; gene_id "LOC_Os06g46770"; gene_name "LOC_Os06g46770";
Chr6    MSU_osa1r7    exon    28402585    28404585    .    +    .    transcript_id "LOC_Os06g46770.3"; gene_id "LOC_Os06g46770"; gene_name "LOC_Os06g46770";
Chr6    MSU_osa1r7    exon    28403718    28404585    .    +    .    transcript_id "LOC_Os06g46770.3"; gene_id "LOC_Os06g46770"; gene_name "LOC_Os06g46770";
As you can see now the coordinates of exon2 and exon3 are wrong, they have the same end point.

Indeed, that output is wrong, but to be fair, the CDS and 3'UTR features of this mRNA seem wrong as well (or at least very unusual) in that file - no wonder the parser got confused. If you show all the features for that mRNA this is what you get (simplified and reordered by me for clarity):
Chr6	MSU_osa1r7	mRNA	28401731	28404585	.	+	.	ID=LOC_Os06g46770.3
Chr6	MSU_osa1r7	5UTR	28401731	28401808	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	exon	28401731	28401808	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	exon	28402585	28403489	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	CDS	28402585	28403261	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	3UTR	28403262	28403489	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	CDS	28403490	28404186	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	exon	28403718	28404585	.	+	.	Parent=LOC_Os06g46770.3
Chr6	MSU_osa1r7	3UTR	28404187	28404585	.	+	.	Parent=LOC_Os06g46770.3
The 2nd CDS there just seems to just follow the 1st 3' UTR (?) and then covers the intron between 2nd and 3rd exons and it then extends into the 3rd exon.. And that is then unusually followed by the 2nd 3' UTR (?). So we have this unusual chain of adjacent features bridging exons 2 and 3:
CDS+3'UTR+CDS+3'UTR
The parser simply extended the overlapped exons to accommodate these unusual features but did not merge them into a single exon.. Not sure what to do with that - perhaps those two CDS+3' UTR pairs are just variants of the same basic transcript (i.e. different isoforms)? But then they should've been correctly defined as such in the GFF3 file, with a different mRNA ID etc.

Right, there is mistake with the annotation file. I did not detect it because I was only interested in exon coordinates without 5UTR, CDS and 3UTR. Perhaps it would be great if such "wrong" genes are skipped and a warning is reported.

Fixing this would really require adding more GTF/GFF sanity checking and validation than we are willing to invest in for the forseeable future.


Windows Specific Issue and work-around: Chapter 17: flags2_common.py

First of all - a well written and complete book for intermediate to advanced Python users. It covers a lot of territory and for the most part will work as is on a variety of systems. I did find one bug in chapter 17 that prevents you from moving through the last part of the chapter. The error is in flags2_common.py on Windows 8-10: Not sure if this effects other systems too. The code provided is this...
def main(download_many, default_concur_req, max_concur_req):

    args, cc_list = process_args(default_concur_req)

    actual_req = min(args.max_req, max_concur_req, len(cc_list))

    initial_report(cc_list, actual_req, args.server)

    base_url = SERVERS[args.server]

    t0 = time.time()

    counter = download_many(cc_list, base_url, args.verbose, actual_req)

    assert sum(counter.values()) == len(cc_list), \

        'some downloads are unaccounted for'

    final_report(cc_list, counter, t0)

For windows, this will throw an error: This code works better...
def main(download_many, default_concur_req, max_concur_req):

    args, cc_list = process_args(default_concur_req)

    actual_req = min(args.max_req, max_concur_req, len(cc_list))

    initial_report(cc_list, actual_req, args.server)

    base_url = SERVERS[args.server]

    t0 = time.time()

    counter = download_many(cc_list, base_url, args.verbose, actual_req)

    assert sum(counter.values()) == len(cc_list), 'some downloads are unaccounted for'

    final_report(cc_list, counter, t0)

Let me know if you need clarification.

What is the error you get.  The only thing different here is that you've removed the line wrap on the assert statement which a) shouldn't be a problem or throw an error and b) puts the line longer than 80 characters which is a violation of PEP 8 as seen here:
https://www.python.org/dev/peps/pep-0008/#maximum-line-length

Oddly enough, a syntax error, reproducing it minus personal information which I've substituted - we get this. This is a workaround - not a fix. 80 width on an editor may be an issue, since this is 82 characters.
I'll close if something here is trivial and being overlooked, but it seemed off...
Error:
`Traceback (most recent call last):
File "flags2_threadpool.py", line 49, in
from flags2_common import main, HTTPStatus  # <2>
File "C:\countries\flags2_common.py", line 294
^

SyntaxError: invalid syntax`
so... say I'm running flags2_threadpool.py: Then you change flag2s_common.py to my version, which is 2 characters in violation of PEP 8, therefor not a fix, but a workaround...
`PS C:\countries> py -3 flags2_threadpool.py
LOCAL site: http://localhost:8001/flags
Searching for 20 flags: from BD to VN
20 concurrent connections will be used.
100%|######################################################################################################################| 20/20 [00:01<00:00, 12.67it/s]
20 flags downloaded.
Elapsed time: 1.62s`
Is this a space case error on my part, or a legit one? I'm having trouble finding a documented version of something similar, so it may be human error of course, somehow, but it seemed like an interpreter problem or something else, so I thought I'd see what the community thought.
Using visual studio 2015 enterprise. The error didn't make sense to me but it's thrown and won't allow flags2_* scripts to run unless you take away the wrap and one line it. I said a work-around because it does violate the principle outlined in PEP 8, but allows you to continue moving if you're encountering an error too - I've since finished the book and didn't have any other problem cases. It didn't make sense to me, but it was the only way the script works as is. Violating a PEP by 2 characters.
Any suggestions?


Merchant plant to battery forecast input sums inappropriately

Describe the bug
If you provide a price of $20/MWh to just the energy market in the merchant plant, the battery will receive a price for that timestep of $20/MWh. If you provide that same price to all 5 markets, those values will be summed, and the battery will assume it's receiving $100/MWh. While the percentage price differences remain the same between steps, the magnitude matters when comparing to the cost of cycle degradation.
To Reproduce
Steps to reproduce the behavior:

Run the attached SAM file: aligned price series.zip
Compare the "power price for battery dispatch" between the all energy market case and the all markets case.

Expected behavior
If we're only going to provide one price signal to battery dispatch, it should be scaled appropriately to the number of markets active. Discuss whether we can use a simple average or a weighted average, and if this needs to factor into the solution for https://github.com/NREL/SAM/issues/181

Easiest valid approach: weighted average. This has potential issues with cleared capacity as a MW value, where the battery might not decide to dispatch & fail to meet the cleared capacity. See if 181 can address this or if we need to do something else.
Battery price computation in a difference cmod: break this out of the battery code since it potentially contributes to financial model modularity.


Document Edge deployments with Turso

Similar to how we have instructions for Neon, PlanetScale on CF and Vercel.

Instructions for using Turso with Prisma OR exist in their docs: https://docs.turso.tech/sdk/ts/orm/prisma#prisma-turso


RFC: Add Filter functionality for Listbox component

Which scope/s are relevant/related to the feature request?
Don't know / other
Information
Add filter functionality for Listbox component like the one provided by primeng.
https://primeng.org/dropdown#filter
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

Hey there! What exactly are you looking for. We are actually using listbox to power the select primitive, but I am curious what your use case is and what functionality you expect on top of the CDK listbox

Hey there! What exactly are you looking for. We are actually using listbox to power the select primitive, but I am curious what your use case is and what functionality you expect on top of the CDK listbox

hello! Basically I edited the RFC... because yesterday I realized that Listbox is already created and maybe adding filtering functionality would be something useful from a user perspective as a new feature for the listbox component. I try to find out a way to get my hands dirty on this project so if this proposal does not fit the needs...it would be really appreciate it if you could suggest me something else to cope with


docker buildx requires --provenance=false for now

This is an issue in docker buildx 0.10:
https://github.com/docker/buildx/issues/1519

@xermicus as your away we're merging this without your approval, let us know if you have any concerns when you get back.


Is there any way to start editing a cell as soon as it is navigated to?

And to be able to replace the contents of the edited cell with what the user types, without having to click to select the existing contents first?

@bfkeinberg sorry that it's impossible on current react-botstrap-table.


Improve initial debug port connection for multidrop

Use the debug port targetsel value in the ARM debug_port_setup sequence,
so that we can actually connect.

I tested it with my probe which only works with the jtag to dormant to swd.
It works if I force the has_dormant to true. Otherwise it has the default behavior.
Also, I expect later on, the swd_sequence() will actually return the data. (Provided is_output is false)

It works if I force the has_dormant to true. Otherwise it has the current non-working behavior.

If you're working with a RP2040, just using probe-rs info will only work if you've used other commands before. Directly after a power reset, the debug port is in dormant mode, so it will not respond to any commands. So the selection alert and activation code is necessary to enable SWD, and then a write to TARGETSEL is necessary to select a concrete debug port.
Once this is done, subsequent info commands will just work, because a debug port is already selected.
With this PR, you can run probe-rs info --target-sel 0x01002927 so that it will work directly  after reset.
What kind of debug probe you're using should not matter.

Yes indeed. The most common use case (probe-rs run --chip rp2040 path/to/binary) now works out of box just fine.

Tested this with a J-Link, the output I got is:
ARM Chip:
Debug Port: Version 2, MINDP, Designer: Raspberry Pi Trading Ltd, Part: 0x1002, Revision: 0x0

I can't reproduce this, the J-Link output looks exactly the same for me. What kind of J-Link are you using, and with what arguments?

J-Link EDU
 INFO probe_rs::probe::jlink: J-Link: Firmware version: J-Link V10 compiled Jan 30 2023 11:28:07
 INFO probe_rs::probe::jlink: J-Link: Hardware version: J-Link 10.10.0

❯ probe-rs info --protocol swd --target-sel 0x01002927
Probing target via SWD

ARM Chip:
Debug Port: Version 2, MINDP, Designer: Raspberry Pi Trading Ltd, Part: 0x1002, Revision: 0x0

Error while reading RISC-V info: Debug Probe Error

Very weird. Can you upload a log (with RUST_LOG=probe_rs=trace) somewhere?

I just tried again to capture logs and it's suddenly working, but only once per power cycle:
❯ probe-rs info  --protocol swd --target-sel 0x01002927
Probing target via SWD

ARM Chip:
Debug Port: Version 2, MINDP, Designer: Raspberry Pi Trading Ltd, Part: 0x1002, Revision: 0x0
└── 0 MemoryAP
    └── ROM Table (Class 1)
        ├── Cortex-M0 SCS   (Generic IP component)
        │   └── CPUID
        │       ├── IMPLEMENTER: ARM Ltd
        │       ├── VARIANT: 0
        │       ├── PARTNO: 3168
        │       └── REVISION: 1
        ├── Cortex-M0 DWT   (Generic IP component)
        └── Cortex-M0 BPU   (Generic IP component)

Debugging RISC-V targets over SWD is not supported. For these targets, JTAG is the only supported protocol. RISC-V specific information cannot be printed.
Debugging Xtensa targets over SWD is not supported. For these targets, JTAG is the only supported protocol. Xtensa specific information cannot be printed.

❯ probe-rs info  --protocol swd --target-sel 0x01002927
Probing target via SWD

Error showing ARM chip information: An ARM specific error occurred.

Caused by:
    0: An ARM specific error occurred.
    1: Failed to connect to the debug port. Please check the debug cable and target power. If SWD multi-drop is used, ensure the correct TARGETSEL value is used.
Debugging RISC-V targets over SWD is not supported. For these targets, JTAG is the only supported protocol. RISC-V specific information cannot be printed.
Debugging Xtensa targets over SWD is not supported. For these targets, JTAG is the only supported protocol. Xtensa specific information cannot be printed.

https://gist.github.com/bugadani/5edf064d824672d8a6685210da4781f9

@bugadani Are you sure the log is from a failing case? It seems to look exactly the same for me when everything works...

I don't exactly remember what I uploaded but I think it was a back-to-back run, one log showing a success and the other a failure. But I see it has a bunch of nusb noise you may not care about so I can redo.

I didn't try (I was waiting for your input in case the second log in my link was useful) but if I'm the only one blocking this, let's move ahead instead and we'll fix my issue if it comes up again.

I didn't try (I was waiting for your input in case the second log in my link was useful) but if I'm the only one blocking this, let's move ahead instead and we'll fix my issue if it comes up again.

Oh, I didn't see that there were two files in that gist. The UI is not exactly clear about it.
I'll look at the second log later.

I've looked at the second log, and I think I fixed that issue in cb3e920f1f29baa9b8de7235b4d463585bf0a43c.
I tried reading from CTRL/STAT after connecting, but that sometimes returns a FAULT response. The docs say this should never happen, but apparently it does...
Writing to ABORT first to clear any errors, and then reading from CTRL/STAT, seems to work more reliably.
Not sure if you want to test it again.

Thanks, I just did and it works well.

I tried reading from CTRL/STAT after connecting, but that sometimes returns a FAULT response. The docs say this should never happen, but apparently it does...

I think that actually fixes another issue!!

As a side effect, now I can't connect to an ARM MCU with JTAG. The setup is an FTDI 2232H (esp-prog) wired to an STM32F429ZITx.
Rev 150d53d0
probe-rs read b32 0x0 3 --chip stm32f429zitx --protocol jtag
20030000 20030000 20030000

incorrect, but at least does something
Rev 7fb56bf4
probe-rs read b32 0x0 3 --chip stm32f429zitx --protocol jtag
Error: Connecting to the chip was unsuccessful.

Caused by:
    0: An ARM specific error occurred.
    1: An ARM specific error occurred.
    2: Failed to connect to the debug port. Please check the debug cable and target power. If SWD multi-drop is used, ensure the correct TARGETSEL value is used.


Propagate transaction ID instead of span ID when not sampling

addresses elastic/apm#16

Codecov Report

Merging #311 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #311   +/-   ##
=========================================
  Coverage     72.29%   72.29%
- Complexity     1183     1184    +1
=========================================
  Files           131      131
  Lines          4472     4472
  Branches        453      454    +1
=========================================
  Hits           3233     3233
  Misses         1029     1029
  Partials        210      210

Impacted Files
Coverage Δ
Complexity Δ

.../co/elastic/apm/impl/transaction/TraceContext.java
92.21% <100%> (ø)
56 <0> (+1)
:arrow_up:

Continue to review full report at Codecov.

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


Incorrect song_ids on track 28713

Track 28713 (Good Times, Bad Times from Encode 4/13/94) has song_ids containing both the id for Good TImes, Bad Times and the id for Rift.  It's definitely not a Good TImes, Bad Times > Rift track or anything like nor can I hear a tease for Rift.  Seems like error in the data.

Fixed, thanks for the heads up


NEW FEATURE: modsecurity should detect more PII information

ModSecurity currently detects credit card numbers, social security numbers, and Brazilian social number. It would be a big help if ModSecurity could also include more PII's as well such as Aadhar card number (India), PAN card number (India), Driving License Number, UPI (India), Passport Number, Cheque Number, Income Tax Return Number, Email Id, Vehicle Registration Numbers, mobile numbers.

You can write your own extension (operator) to ModSecurity for that, it's not very complex (once you wrote your first one 😉).
And, for most of these, there's no need for a custom operator, a simple regex fits the bill. A custom operator is needed, for instance, to check the Luhn check digit of a credit card, but there's nothing to check for an email address on top of the regex itself.


如何更改提示的代码路径？

Product and Version [VS/VSCode]: 1.36.1
OS Version [macOS/Windows]:windows 10.0.17134
IntelliCode Extension Version:  1.1.8
Target Platform or Language [e.g. Node.js]:python
Steps to Reproduce / Scenario:
如图，我只想路径从OnmyojiScripts开始，而不是从它的上两级Onmyoji.Onmyoji_behavior.OnmyojiScripts开始，应该如何配置？

Product：VSCODE

Hi YupegLV.
The issue you're showing doesn't appear to be related to IntelliCode. You may want to ensure you're using the Microsoft python language server first. If that's the case and you see issues please refer to the language server issues page.

I'll close this issue as it appears to be unrelated to IntelliCode. Please give us more comments if you'd like additional help. Thanks!


I can't download pre-trained models

Sorry for bothering you. I can't download pre-trained models.  I got the following information.What I should do?
amax:~/Desktop/rotationnet$ wget https://data.airc.aist.go.jp/kanezaki.asako/pretrained_models/rotationnet_modelnet10_case2_ori2.caffemodel
--2019-04-08 16:54:23--  https://data.airc.aist.go.jp/kanezaki.asako/pretrained_models/rotationnet_modelnet10_case2_ori2.caffemodel
Resolving data.airc.aist.go.jp (data.airc.aist.go.jp)... <IP_ADDRESS>
Connecting to data.airc.aist.go.jp (data.airc.aist.go.jp)|<IP_ADDRESS>|:443... failed: No route to host.

Our server is under maintenance now. Sorry for the inconvenience.
I temporarily uploaded the pre-trained models here:
https://www.dropbox.com/s/6q0apvlhq59qko8/rotationnet_modelnet10_case2_ori2.caffemodel?dl=0
https://www.dropbox.com/s/8e03p1rj6e26y1c/rotationnet_modelnet40_case2_ori4.caffemodel?dl=0

Our server is under maintenance now. Sorry for the inconvenience.
I temporarily uploaded the pre-trained models here:
https://www.dropbox.com/s/6q0apvlhq59qko8/rotationnet_modelnet10_case2_ori2.caffemodel?dl=0
https://www.dropbox.com/s/8e03p1rj6e26y1c/rotationnet_modelnet40_case2_ori4.caffemodel?dl=0

Thanks for your reply.


x/pkgsite: retract request for github.com/prometheus/prometheus

We would like to retract pre-go-mod releases.
What is the path of the package that you would like to have removed?
github.com/prometheus/prometheus
Are you the owner of this package?
yes
What is the reason that you could not retract this package instead?
I tried:
tag v1.99.0-retract (which also retracts itself): https://github.com/prometheus/prometheus/commit/fd8d9653dbca79c411b770322868ffcdbd23d7ee
tag v2.35.0-retract (which also retracts itself):
https://github.com/prometheus/prometheus/commit/edcf27b34dc219fd9457ba316ee08c749878207c
Somehow this does not seem to work. I do not understand what's wrong. it also seems that the self-retraction of the v1.99.0-retract package does not work at all.
The version we want our users to see as "latest" is v0.35.0-rc1. That tag has a proper retract list:
https://github.com/prometheus/prometheus/blob/5b80eaa3ca27beb3a831c460edaf53ac4e47c610/go.mod
How can we achieve that?

Hi @roidelapluie , I haven't looked at the details here, but are you are only placing your retract directives in versions with pre-release tags?
For example, v1.99.0-retract, v2.35.0-retract, and v0.35.0-rc1 are all semver pre-release tags:

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version.

If you have only tried with pre-release tags so far, that might explain at least part of the issue.
From https://go.dev/ref/mod#go-mod-file-retract :

To retract a version, a module author should add a retract directive to go.mod, then publish a new version containing that directive. The new version must be higher than other release or pre-release versions; that is, the @latest version query should resolve to the new version before retractions are considered.

And also from the go mod ref, here is an explanation of what @latest means (including latest will not resolve to a pre-release tag once a non-pre-release tag is available, which makes sense as desirable behavior I think):

The string latest, which selects the highest available release version. If there are no release versions, latest selects the highest pre-release version. If there no tagged versions, latest selects a pseudo-version for the commit at the tip of the repository’s default branch.

Thanks. I will try with a proper tag, thanks!

Thank you! That fixed the issue!!!! Awesome!


Build a Java App with CockroachDB and JDBC Doc Update

Re: Build a Java App with CockroachDB and JDBC
Issue Description
we are using int data type to represent monetary data type here where in our docs, we suggest to use decimal and the associated BigDecimal Java data type to represent money.
Suggested Resolution
convert this application to use decimal data type instead of int for handling monetary data types, similar to this example.

@ianjevans, you've been working on these docs, so assigning to you.


This isn't a real thing

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
Whozeewhatzit is misbehaving
Steps to reproduce
Use the doohickey
Actual behavior
The thingamajigger breaks
Expected behavior
The whatchamacallit works
Environment
That thingy

Screenshots and Logs
No response

The thingamabob is working :D


[SP-2880] Backport of PDI-15158 - Wrong Japanese translation of type in Group by step - Japanese (6.1 Suite)

-backported

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/denormaliser/messages/messages_ja_JP.properties
  engine/src/org/pentaho/di/trans/steps/groupby/messages/messages_ja_JP.properties

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.ftpsget.FTPSConnection

Branch Change: -1.56%:small_red_triangle_down:
Complexity Change: -1.37%:small_red_triangle_down:
Instruction Change: -.23%:small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -1.64%:small_red_triangle_down:
Line Change: -1.97%:small_red_triangle_down:

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper

Branch Change: -1.64%:small_red_triangle_down:
Complexity Change: -.69%:small_red_triangle_down:
Instruction Change: -2.43%:small_red_triangle_down:
Line Change: -2.95%:small_red_triangle_down:

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Branch Change: -1.28%:small_red_triangle_down:
Complexity Change: -.79%:small_red_triangle_down:
Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change:  + 3.33%
Complexity Change:  + 1.85%
Instruction Change:  + .28%

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -.53%:small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.step.BaseStep

Branch Change:  + .30%
Complexity Change:  + .18%
Instruction Change:  + .13%
Line Change:  + .08%

@mdamour1976 please review

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/denormaliser/messages/messages_ja_JP.properties
  engine/src/org/pentaho/di/trans/steps/groupby/messages/messages_ja_JP.properties

Newly Fixed Tests:
org.pentaho.di.trans.TransTest.transWithNoStepsIsNotEndless:
:red_circle: java.lang.Exception
java.lang.Exception: test timed out after 1000 milliseconds
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2595)
	at java.lang.Class.getConstructor0(Class.java:2895)
	at java.lang.Class.getDeclaredConstructor(Class.java:2066)
	at org.mockito.cglib.core.ReflectUtils.getConstructor(ReflectUtils.java:245)
	at org.mockito.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:221)
	at org.mockito.cglib.reflect.FastClass$Genera

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -1.64%:small_red_triangle_down:
Line Change: -1.97%:small_red_triangle_down:

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper

Branch Change:  + 1.64%
Complexity Change:  + .69%
Instruction Change:  + 2.43%
Line Change:  + 2.95%

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change:  + 1.18%
Complexity Change:  + 1.35%
Instruction Change:  + .18%
Line Change:  + .53%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

@mdamour1976 @pedrofvteixeira please review


fix(USA Hyundai): HyundaiBlueLinkAPIUSA.get_location

Fixes #43 - read vehicle ID from the right place.
I haven't been able to figure out how to get tests to run, so there aren't any tests or anything, but I can verify that this works (for me, at least) and lets me read data from my car.

Thank you for the contribution!


Npm/upgrade

Codecov Report

Merging #477 (8c80d88) into main (3317799) will decrease coverage by 0.88%.
The diff coverage is n/a.

:exclamation: Current head 8c80d88 differs from pull request most recent head b058149. Consider uploading reports for the commit b058149 to get more accurate results

@@            Coverage Diff             @@
##             main     #477      +/-   ##
==========================================
- Coverage   42.72%   41.83%   -0.89%
==========================================
  Files         149      155       +6
  Lines       11206    11972     +766
  Branches     3219     3372     +153
==========================================
+ Hits         4788     5009     +221
- Misses       3392     3856     +464
- Partials     3026     3107      +81

Flag
Coverage Δ

integration-aries-vcx
42.66% <ø> (-0.06%)
:arrow_down:

unittests-agency-client
26.47% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

agency_client/src/agency_client.rs
9.09% <0.00%> (-90.91%)
:arrow_down:

agency_client/src/get_message.rs
19.11% <0.00%> (-17.33%)
:arrow_down:

agency_client/src/agent_utils.rs
27.27% <0.00%> (-5.54%)
:arrow_down:

agency_client/src/httpclient.rs
13.04% <0.00%> (-4.61%)
:arrow_down:

aries_vcx/src/utils/test_logger.rs
6.97% <0.00%> (-3.74%)
:arrow_down:

agency_client/src/update_message.rs
30.98% <0.00%> (-1.63%)
:arrow_down:

agency_client/src/payload.rs
0.00% <0.00%> (ø)

agency_client/src/agency_settings.rs
35.52% <0.00%> (ø)

agency_client/src/utils/test_utils.rs
86.36% <0.00%> (ø)

agency_client/src/utils/error_utils.rs
0.00% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


Casting is not respected when using different case in templates

Affected Version: 4.x
Description
PHP methods and DataObject properties are case insensitive.
If you get some method or property case insensitively in a template, it will render the correct value but will fall back to the default casting.
Steps to Reproduce
In a page class:
class Page extends SiteTree
{
    public function MyHtmlField()
    {
        return 'strongboi';
    }
}

In a template:

Correct casting

$MyHtmlField

Incorrect casting

$myHtmlField

Acceptance Criteria

[ ] The correct casting is applied when you access some property or method with a different case than is defined in PHP code.

PRs

https://github.com/silverstripe/silverstripe-framework/pull/10470

Could this be caused by the mechanism when it's trying to get an existing method, perhaps in a case-sensitive way, and if it doesn't exist it tries to prepend get there and then the casting is not applied because the method name doesn't match with the get prefix?

I think the attached PR illustrates the cause pretty well - basically ViewableData::castingHelper() is using isset() to see if the field name is in its casting config - but isset() is case sensitive so of course the following will return false:
$config = [
    'MyField' => 'Text',
];
isset('myField', $config);

Of course. I missed the link to the PR which I've just approved.

PR merged


glfw_test.c issue on Mac

Hi there,
I've been recently testing out gl3w and I was trying to compile&run provided examples.
While compiling the test.c which uses glut worked correctly, the glfw_test.c results in a segfault.
I've tried to track the issue with gdb and the code seems to be failing in parse_version function, specifically a call to glGetIntegerv, complaining about unknown type.
I was wondering if someone else has encountered such issue?
I am running a mac os 10.11.6, and my compilation command is:
clang -framework Cocoa -framework IOKit -framework OpenGL  src/glfw_test.c src/gl3w.c -Iinclude -lglfw3 -ldl -ggdb -o test_gl3w
Thanks!

Sorry I didn't (and don't) have access to a Mac to test/debug this code.
If you add the following line:
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);

to main just before glfwCreateWindow, does it fix the error?

Huh, that made it work - any clue why that was necessary? Would be very interested to learn.

 Yes, unfortunately MacOS only provides forward-compatible profiles.
I would have thought that without that hint context creation would fail completely, but the segfault indicates that something else is happening.
@skaslev I suggest we add the FORWARD_COMPAT hint to the example code, and also investigate why the segfault occurs instead of exiting with an error.


Webmin 1.790 brings very slow dashboard refresh

I made the update of Webmin today, and all works. But the dashboard loading (each time, not only the first time) is suddenly very slow (30+ seconds) on all the servers and virtual machines i test it. I think to downgrade Webmin to check if it solves the issue, but i don't like that at all.

In my case (on CentOS 7), it is so slow the nginx proxy produces a 504 Gateway Timeout after 60 seconds. I had to downgrade to webmin 1.780 to be able to use it again.
As there's no error message in /var/webmin/miniserv.log/.error, I'm not sure if it's a theme or webmin issue.

Hi,
Yes, I have already reported it. You can replace web-lib-funcs.pl from the old version to make it work.

This is the change that makes things slow:
https://github.com/webmin/webmin/commit/7eec607f863a17c257b0bb449ca2722116b1646d#diff-386f498865bcbec736fad4fb80306aba

I made a new test under ubuntu 15.10 in a virtualbox on Windows 10 ... all works. Not sure to understand why.
I reinstalled Webmin 1.780 on my others servers (not vm), waiting for a better solution.

Let's wait and see what Webmin dev says. Theme didn't have any changrs in the code recently.

Another temporary solution is to disable Authentic Theme updates

It will be fixed in Webmin 1.791 very soon.

I can confirm that 1.791 works fine again on both my servers (CentOS 7).

hello, I'm on CentOS 7...
why can't see other than 1.782 ? thanks

Reload packages cache and you should see it. ;)

already done before... nothing

You probably have only Virtualmin repo on. It's updated with some delays usually. Go to http://download.webmin.com/download/yum and download it from console using wget http://download.webmin.com/download/yum/webmin-1.791-1.noarch.rpm, then install it with yum update webmin-1.791-1.noarch.rpm. Other than that you could wait for Virtualmin repo to be updated.

lol delays, delays....always delays :-D
with PHP FPM it takes forever... PHP FPM... a must have for any server since YEARS :-D how long have to wait for that? please insist with Jamie & co... it's not a "little" matter

This is why I recommend using Fedora Server. Bleeding-edge and easily updated from version-to-version, using dnf (ex. yum).

well, about Webmin update is not so important if not critical... but about fpm yes for sure... ;-) hope they can add support for that really soon...

I'll let them know! ;)

1.791 is still much slower than previous versions on my Linux box.

Probably you have stuck cache. Reload Webmin, if doesn't help, reboot the server.
It was really fixed.


build: build for netify

You should register Netlify and config like https://github.com/pcottle/learnGitBranching/discussions/932
You can config domain https://learngitbranching.js.org/ for Netlify instead of Github page or make gh-pages branch is a sub-folder (https://stackoverflow.com/a/36782614/6250402)

Awesome, I just set everything up for build previews. Let's start with that (and hopefully that will help catch breakages like the marked dependency update) and then maybe if I get brave enough, I'll have gh-pages deploy automatically.
My hesitation there is that sometimes I like updating the production version less often than merging PRs (so I don't have to worry about breakage as much)

Woohoo!
#934

https://deploy-preview-934--xenodochial-hugle-b9ec84.netlify.app/


Annotation classes

This branch is a culmination of a deep rewrite of AtJSON, making Annotations classes instead of JS objects.
Previously, annotations were ephemeral, and were loosely defined in sources and renderers. With changes made here, annotations will have an explicit class where they can be documented, altered, and define extension points.
Bold annotations are one of the most basic for text editing. Creating a bold annotation looked like:
doc.addAnnotation({
   type: 'bold',
   start: 0,
   end: 5
});

Now, adding a bold annotation is done using a class + a vendor prefixed version of it. To add support for Bold annotations in our rich text editor, Offset, the following class would be made:
import { InlineAnnotation } from '@atjson/document';

class Bold extends InlineAnnotation {
  static vendorPrefix = 'offset';
  static type = 'bold';
}

And we would add it to our document by adding the following JSON:
doc.addAnnotation({
  type: '-offset-bold',
  start: 0,
  end: 5,
  attributes: {}
});

Note that the vendor prefix is prepended (like a CSS vendor prefix) to the beginning of the type of the annotation. This is to help to be clear with distinguishing between various types of annotations that exist on multiple sources, and stop them from clobbering one another. In addition, attributes is now a required field on the Annotation JSON.

The JS objects in the opening line is tripping me up. How do you feel about something more along the lines of:
"This branch is a culmination of a deep rewrite of AtJSON to represent Annotation objects using class instances instead of object literals."


No Dashboard Content / Graphs with v0.16.x

Describe the bug
No data provided on dashboard after migration, although the data is visible under results
To Reproduce
Steps to reproduce the behavior:

Update to v0.16.1
Run Migrate in the results section
Migration is reported as successful
Results table visible
Graph missing

Expected behavior
The dashboard should show a graph related to the available test results in the database.
Environment (please complete the following information):

OS: Debian GNU/Linux 11 (bullseye)
Architecture: amd64
Database: PostgreSQL
Browser: 6.5.3206.63 (Stable channel) (64-Bit)
Version: v0.16.1-v0.16.3

Screenshots

Logs
Nothing peculiar in the log, no visible error messages.
Additional context
This occurs with v0.16.1 and v0.16.3. Could not try with v0.16.2 because I could not pull it.
EDIT: Probably did pull v0.16.2, but the version info contained v0.16.1.

Lost all my prior results with 0.16.3 too using MariaDB

Thanks for chiming in, @AlliedMineral. Unfortunately, it did not help in my case, but it was a reasonable suggestion.

Just noticed that all the relevant results' states show failed, even though they certainly have not. Maybe that prevents them from being shown in the graph.

Regarding the failed status, are you guys running postgres? #1177 seems to be the root cause of this issue.

Tonight I'm going to create a maintenance job that you can trigger from the cli, this will check for the existence of download and upload values in the table and will correct the status to completed.

#1197 will be in the next release later tonight. If this doesn't fix the status issue tag me and we'll reopen the issue.

Tonight I'm going to create a maintenance job that you can trigger from the cli, this will check for the existence of download and upload values in the table and will correct the status to completed.

@alexjustesen, are you referring to this: app:fix-result-statuses? If so, I tried to run it, but the following is all I got:

Am I possibly doing something wrong? 🤔

And that worked a treat, thank you! 😀 Was I simply being an idiot? Just asking because that prefix wasn't mentioned anywhere in the docs, but maybe it's really common knowledge.

I rewrote the page yesterday and completely forgot to include the prefix. I am indeed the moron here.

Meh, no worries. You're putting out so many fires at breakneck speed, I have no idea how you manage to keep it all together in the first place. All is well, I really appreciate your help.

Meh, no worries. You're putting out so many fires at breakneck speed, I have no idea how you manage to keep it all together in the first place. All is well, I really appreciate your help.

Me either man, I've got a full time job, freelance clients, a saas I'm launching in April and married with kid. I need 30h days.

I hear you on those 30h days. No kids, but self-employed with impatient clients and trying to juggle it all like a madman. 🙈


adding fab2.0

Fixes #1253

updated fab2.0
updated docs
reverted component names for card(realized this'll help us and devs have less renames)

@prateekbh A few things for applitools:

Please add Firefox, it's still very wide used
Please set the Desktop resolution to 1920x1080, because that's most common today
Please set the IPhone to safari, because chrome already included

@cromefire all good but about pt 3
all browsers are anyways safari on iphone so how does it matter

Well I don't know what that "Chrome emulation" means then, what does it do?

@cromefire Applitools say browser to be safari 11, i guess we're good here.

Will add Firefox in upcoming PRs


Bump for another Checkstyle config tweak in the TeraConfig project

Found another minor error, at least reported by the very latest IntelliJ's updated Checkstyle plugin. Unsure if it would encounter errors on older IntelliJs or via command line, would be good to get confirmation from somebody else before merging.
See https://github.com/MovingBlocks/TeraConfig/pull/8

Uh oh, something went wrong with the build. Need to check on that

Closing as merged by #3835


Loading a file contained in the root library from within a private library fails.

🛑  This "bug report" was ill-conceived. What follows below is a succinct description of a need. But (as detailed in this part of the Slack conversation) there's no bug here.
What steps did you take:
$ tree .
.
├── _ytt_lib
│   └── lib
│       └── config.yaml
├── config.yaml
└── helpers.lib.yml

config.yaml
#@ load("@ytt:library", "library")
#@ load("@ytt:template", "template")

--- #@ template.replace(library.get("lib").eval())

helpers.lib.yaml
#@ def foo():
fooy: 42
#@ end

`_ytt_lib/lib/config.yaml
#@ load("/helpers.lib.yml", "foo")

x: #@ foo()

What happened:
The helpers.lib.yaml was not visible to the lib library:
$ ytt -f .
ytt: Error:
- library.eval: Evaluating library 'lib':
    in <toplevel>
      config.yaml:4 | --- #@ template.replace(library.get("lib").eval())

    reason:
     - cannot load /helpers.lib.yml: Expected to find file 'helpers.lib.yml' (hint: only files included via -f flag are available)
         in <toplevel>
           _ytt_lib/lib/config.yaml:1 | #@ load("/helpers.lib.yml", "foo")

What did you expect:
$ ytt -f .
x:
  fooy: 42

Anything else you would like to add:
Reported: #carvel ~ 2022-09-13
Environment:

ytt version (use ytt --version): v0.24.0+
OS (e.g. from /etc/os-release):

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

Closing this "bug report" in favor of capturing the need in a more constructive format.


Functional test for new list flow and some tweaks.

Task list flow changed. This commit address the changes, add's some missing scenarios, add's some new steps and rejigs some existing steps.
-Search >30 results can't be exported
-Export message in relation to >30 results in saved search
-Check for list item status "Can't start yet', 'Completed' 'Contract awarded to ', 'The work has been cancelled', 'No suitable services found'
-Tweaked export scenario
-Tweaked download scenario
-Removed commented lines that are no longer required

@katstevens Thanks for taking a look at this, I'm taking over this PR as @andrewchong has left DM, so I'll do those tweaks.
Note that these tests are designed for the tasklist stuff that @galund was working on before he left, so they won't work against master until digitalmarketplace-buyer-frontend#809 has been merged.


Enter invalid date "423432/324324/324324" and press enter still the date picker picks some invalid date

If I enter invalid date which some random numbers like "423432/324324/324324" and press enter still the date picker auto selects some date.
To Reproduce
Steps to reproduce the behavior:
1.Go to https://reactdatepicker.com/
2.enter some random numbers on date picker input ex: '"423432/324324/324324"
3. Date picker auto selects date to 01/01/42343
Expected behavior
It should clear the invalid date
Screenshots

If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Test the input with the date-fns solution (which is integrated in react-datepicker)
isValid(input);
https://date-fns.org/v1.9.0/docs/isValid
If you you get "false" returned, substitute input with an empty string.

Test the input with the date-fns solution (which is integrated in react-datepicker)
isValid(input);
https://date-fns.org/v1.9.0/docs/isValid
If you you get "false" returned, substitute input with an empty string.

How to test input when losing focus.
I use strictParsing, date picker force to last valid value if input get weird value

How to test input when losing focus.
I use strictParsing, date picker force to last valid value if input get weird value

I believe returning the previous valid value is the right way to go if you lost focus.
However, if you want to return an empty input field when losing focus, I would suggest doing the isValid(input) check on blur.

@AlanJereb  In that invalid case, I wanna show an error message and force ether typing with valid input format or delete all character.
onBlur not prevent Datepicker falling to the previous value


[Confidential Ledger] Bug fix for waiting for commit

Description
Fixes a bug in begin_wait_for_commit in both sync and async clients. Azure Confidential Ledger generally has client IP-based stickiness so that users observe session consistency. Occasionally this affinity is lost unexpectedly, which can lead to errors when waiting for a commit (write is made to Node A but the read is on Node B, which doesn't know about the write yet). This can be disruptive, so we introduce a small change to retry some 404 errors.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

To make sure I understand correctly, it looks to me in addition to fixing the bug, you are also adding support for credential_scopes & authentication_policy?

To make sure I understand correctly, it looks to me in addition to fixing the bug, you are also adding support for credential_scopes & authentication_policy?

And if this is true, we may use version number 1.2.0 rather than 1.1.1.


feat: new ui for enhanced context

MOVED TO PR/1706
https://github.com/sourcegraph/cody/pull/1706
CLOSE: https://github.com/sourcegraph/cody/issues/1525
This PR replaces the current Context File widget with a new UI widget for displaying context files used for a chat question as shown in @toolmantim 's figma design:

Also add a new source field to Context File for identifying purpose, which only supports 'embeddings' currently.
Updated all the context message building functions to include context source.
Added 'keyword' as source to results returned by keyword search.
Added 'filename' as source to results returned by filename search.
Related tests are also updated.
Test plan

Ask Cody a question, e.g. What's the entry file for the cody vs code extension?
Enhanced context will be displayed as following:

Run a command, e.g. Explain, that use editor context and not enhanced context (e.g. embeddings or local keyword search), the editor context will not show up as enhanced context (displayed with sprinkles in the front):

Before

MOVED TO PR/1706 https://github.com/sourcegraph/cody/pull/1706


Issue with get_ticker() / hasMore variable

Printed the response in the get_ticker() function. It checked for "hasMore" false and dies. The tickerId is still there in the list. Stock is SPLK as example

Started to see this issue.{'categoryId': 0, 'categoryName': '综合', 'hasMore': False, 'list': [{'tickerId': 913255699, 'exchangeId': 96, 'type': 2, 'secType': [61], 'regionId': 6, 'regionCode': 'US', 'currencyId': 247, 'name': 'Splunk', 'symbol': 'SPLK', 'disSymbol': 'SPLK', 'disExchangeCode': 'NASDAQ', 'exchangeCode': 'NSQ', 'listStatus': 1, 'template': 'stock', 'derivativeSupport': 1}]}
def get_ticker(self, stock=''):
'''
Lookup ticker_id
'''
ticker_id = 0
if stock and isinstance(stock, str):
response = requests.get(self._urls.stock_id(stock))
result = response.json()
if result['hasMore'] == False:
raise ValueError('TickerId could not be found for stock {}'.format(stock))
elif result['list']:
for item in result['list']: # implies multiple tickers, but only assigns last one?
ticker_id = item['tickerId']
else:
raise ValueError('Stock symbol is required')
return ticker_id

I think my post is a duplicate of this...
https://github.com/tedchou12/webull/issues/66

implies multiple tickers, but only assigns last one?
Yes! That is right.
This is because webull seems to respond in a list to search for tickers.

discussed in #83
Fix would solve this problem


Flux Rift

When i consume all the energy of a Flux Rift whit a Void Siphon, the rift keep invisible in miniature, but whit hitbox, and this can damage all the mobs walking on it

That should mean, that they still exist, but there are so small, that the textures don't apply. If the siphon still consumes the Rift for a longer time, then it could be a bug.


Update Go Cloud SQL proxy dialer example usage links

Change Description
The links for the examples were broken, I changed their target path to up-to-date one.

I fixed I think, same author and committer now. The one I intended to from the beginning.
Thank you both for your work on this repo!


Allocate thread IDs for wasi_thread_spawn sequentially

TID returned by wasi_thread_spawn must be non-zero and upper three bits must always be zero: https://github.com/WebAssembly/wasi-threads?tab=readme-ov-file#design-choice-thread-ids
Current implementation didn't fulfill this requirements, only clearing the top bit from random value. This breaks wasi-libc mutexes when random TID is larger than 0x1FFFFFFF.
Additionally, from birthday paradox probability of collision in allowed TID range nears 50% after spawning 27000 threads. This is large but not totally impossible, thus replace random generation with sequential allocation.

This PR makes 0x1FFFFFFF the last TID that will be returned, but it is incorrect on wasm-libc because it reserves that for main thread ID. But wasi-threads proposal as written allows for this, so I'm not sure whether assume that's wasm-libc problem or limit it there 0x1FFFFFFE.


v1.0.0

The goal is to have a smooth user experience for the launch
Must have

[ ] #99
[ ] #84
[ ] #89
[ ] #87
[ ] #36
[ ] #45
TBD

To consider

[ ] #38 - if close to completion, then take this
[ ] #19  - if it's done quickly

Just added #89

Added #99. This is necessary for Vercel to host the new UI. As a result, this issue is mandatory to solve for deployment.


[FLINK-28751][Table SQL/Runtime] Optimize the performance of the json…

… functions
What is the purpose of the change
This PR is meant to improve the performance of the built in json functions. The default LRUCache used in the JsonPath CacheProvider heavily use the lock which bring the bad performance.
Brief change log

Create a new JsonPathCache and set it to the CacheProvider when load the class

Verifying this change
The functionality is covered by the existing tests. I have not written a performance test for it, If needed, I will add one. I manually test the case with the production job, which will have 2~4 times performance improvement.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Do you have any benchmark between the two implementations?

I have not written a benchmark test for it now, I only run a production test which seen 2~4 times improved. Do you mean add an extra test for it in the flink-benchmark project?

@wuchong I wrote a test with

4 threads
400 cache item

The result shows below:
Benchmark                 Mode  Cnt      Score      Error   Units
GuavaCacheBenchmark.get  thrpt   30  19020.666 ± 1071.722  ops/ms
GuavaCacheBenchmark.put  thrpt   30  17082.930 ± 1999.378  ops/ms

Benchmark               Mode  Cnt     Score    Error   Units
LRUCacheBenchmark.get  thrpt   30  2849.523 ± 61.411  ops/ms
LRUCacheBenchmark.put  thrpt   30  2607.657 ± 53.794  ops/ms

The results show that the new cache will bring 6~7 times throughputs

ping @wuchong

@wuchong any further comments ?

@flinkbot run azure

Rebase and force pushed


Test Issue created at Sat, 03 Jul 2021 12:51:19 GMT

Test issue body  Sat, 03 Jul 2021 12:51:19 GMT

Comment on issue at Sat, 03 Jul 2021 12:51:21 GMT


Missing license

Please add a license — and thanks for a great tool 🙂

apologies for the delay -- just added the MIT license.


Make idlharness account for changes in Regex handling

See WebIDL commit: https://github.com/heycam/webidl/commit/bbb2bde6063b5df9c0823fbbc261864e01e03574.

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/7177; please continue all discussion there.


Patch UniswapV3Oracle

Added using cartesian product to case with connector

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

26 of 26 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.6%) to 75.648%

Files with Coverage Reduction
New Missed Lines
%

contracts/oracles/UniswapV3Oracle.sol
2
95.18%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
327

Relevant Lines:
397

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

18 of 18 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.6%) to 75.648%

Files with Coverage Reduction
New Missed Lines
%

contracts/oracles/UniswapV3Oracle.sol
2
95.18%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
327

Relevant Lines:
397

💛  - Coveralls


Prefer user types over built in types

Example:
My program is very special; ints are 5 bytes, and unsigned.  I can define that very easily:
mySpecialInt = Type.int(5, False)
bv.define_user_type("int", mySpecialInt)

But when I select an argument, press Y, and type int, it gets replaced with a int32_t.
This makes me sad.
If I do:
old = current_function.function_type
current_function.function_type = types.Type.function(old.return_value, [mySpecialInt], old.calling_convention, old.has_variable_arguments, old.stack_adjustment)

The argument does get overwritten with my custom int class, but in this case displays it as uint40_t, which I think is less than ideal (possibly related to #1666, of which I think I disagree with the outcome of).
Perhaps this should be separated into two issues; one for the type-entry box not understanding int to be my user-defined typedef overriding the built-in int, and another for not displaying the type as what I entered and instead mapping it to the base type.
Edit: The solution to the display problem is to define the type as mySpecialInt = Type.int(5, False, "int"), so this issue is only for the remaining UI bug.

Still repros on 4.1


How do I get all the VALID tickers for Yahoo Finance?

I keep getting errors on some tickers, and Is there a quick way to see all the tickers they support?
Is there a function to call?   Or a page to go to?
thanks
john

@kabonker I have same question, currently using symbols scraped from EODData . You can select the exchange you want and pull all tickers from each page of the alphabet (all of this is selectable from URL so easily scrapable). I haven't run the whole list yet but will post it once I do. Can post scraper code to GitHub in meantime and update this comment with link.

I created a list of about 4000 tickers.. but would be cool if we just had a list in this library that is some how synced with yahoo finance, so everyone doesn't have to do it manually themselves.

Agreed, need to compile the list first. May not be publicly available anywhere on Yahoo finance site though so brute force is only solution. BTW can you post your list?

@kabonker is this the source you used?
http://www.nasdaqtrader.com/trader.aspx?id=symboldirdefs

@kabonker I found out this website which has all the tickers [last updated 2017]. So you can use that.
This Excel spreadsheet was updated in September 2017.  It is broken down into eight sheets, one each for:

stocks (106332 tickers)
ETFs (21196tickers)
futures (9294 tickers)
indices (80017 tickers)
mutual funds (24926 tickers)
currency pairs (4019 tickers)

That’s 245784 ticker symbols in total.

Dude that is awesome...    Scotty we will need more power!!!!   https://youtu.be/QYqXSlPmMJs?t=10

FYI this file says "2017".. been 3 years. Must be missing a ton of companies. Anyone have an updated list?

I am interested in this one as well. One other problem is that I get a lot of tickers as not existing/delisted/deleted. This is obviously an issue. If a ticker was live in 2017 but the company has been delisted since then and therefore the ticker is not valid then there is no consistent way of creating accurate historic stock universes for backtesting. To make this a bit dramatic, Enron would not appear in any of the universes because it doesn't exist today however if you were doing live trading you would have obviously included it at the time (and taken the hit if you were long). In a technical jargon, the survivorship bias is massive. I guess this is why it pays to have professional grade data. That said, this is better than nothing for small projects.

Does someone know a python-module that can obtain the ticker list?

Maybe someone can just write a simple program going through the alphabet
for 4 chars  and make a list of all the successful calls, then write it
out..
that would be nice.   Could just run it once a quarter..   like COIN would
be new.   Then spit out the full list and the incremental so we know the
new ones..
On Wed, Apr 28, 2021 at 5:21 AM DimitriBolt @.***>
wrote:

Does someone know a python-module that can obtain the ticker list?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ranaroussi/yfinance/issues/402#issuecomment-828299421,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKKMVJIVOIFIIH5E3A4A5Y3TK7HRPANCNFSM4POMVK4A
.

Information from https://finviz.com/screener.ashx?ft=4 and package from https://pypi.org/project/pyfinviz/.
See the code below. (You can add more than 10 pages if you want all the tickers...)
Have a nice day! :)
`from pyfinviz.screener import Screener
page = 10
screener = Screener(view_option=Screener.ViewOption.VALUATION,
pages=[x for x in range(1, page)])
list_ticker = []
for i in range(0, page):
if i == 1:
pass
else:
for j in range(len(screener.data_frames[i])):
list_ticker.append(screener.data_frames[i].Ticker[j])
list(list_ticker)
print(list_ticker)`

How many should there be?  I can scrape 10,000 when looking for ALL tickers, just not sure if I got them all because they claim to have 90,000+

Hey everyone, any updates on retrieving all tickers from Yahoo finance. Also does anyone know any good APIs for retrieving FX options data. Thanks

https://github.com/mlapenna7/yh_symbol_universe

You can use the screeners available at the Yahoo finance site: https://finance.yahoo.com/screener/
For example this screener gives you all ETFs traded in the US https://finance.yahoo.com/screener/unsaved/5719e91c-77b9-42ff-987b-d99bcf5c9c8d (3429 on 2022-12-29)

How about https://api.nasdaq.com/api/screener/stocks?tableonly=true&download=true


German Store short description is too long

I was updating the Store page with the German translation, but it is too long. Currently  it's 341 characters, but maximum is 300.

Here you go
#74

This was merged and can be closed.


Error running the grpc-server-streaming sample

Pack - Tools build on 18/04/2018
Oracle JDK - "1.8.0_161"
Windows 7
Description:
Error running the grpc-server-streaming sample
ballerina: initiating service(s) in 'grpc-server-streaming.bal'
error: error, message: method name should be prefixed with service name and separated with '/'. Expected service name: 'HelloWorld'. Actual fully qualifed method name: 'HelloWorld\lotsOfReplies'.
        at ballerina.grpc:register(<native>)

Also, mention the steps to run the sample and expected output in the sample description

This is working as expected. Please reopen if the problem is still there.


Source Only and SN training

nuScenes->KITTI domain adaptation:
I trained Source Only (secondiou_old_anchor.yaml) and SN (secondiou_old_anchor_sn.yaml) on the nuScenes dataset, and then found that the test performances on the KITTI dataset were abnormal. （I used 1/2 of the nuScenes training set data,  and the batchsize is 8）
Source Only：(AP-R40)    50epch
Easy         Mod.       Hard
BEV        18.33      15.48        15.34
3D          1.39         1.10         1.12

SN ：(AP-R40)                  50epch
Easy         Mod.       Hard
BEV        17.90        14.20      14.31
3D          12.03         9.51        9.21

Has anyone encountered a similar situation, or what caused it?

I have also encountered the same issue, not only with source only and sn but also with ROS. My configuration is 1 * RTX4090, and I have found
# source only
bev  AP:10.0899, 8.0913, 9.1928
3d   AP:1.1020, 0.8122, 0.9163
# ros
bev  AP:41.8606, 29.9103, 29.7847
3d   AP:19.3675, 14.3215, 13.9450

I haven't meet this problem before. Can you eval the provided pretrained model normally?

I haven't meet this problem before. Can you eval the provided pretrained model normally?

Yes, the provided pretrained models are no problem. Even fine-tuning the ROS model by self-training using the provided pretrained model works fine. However, I encountered the aforementioned issue when training ROS and source only models from scratch.

Would you like to try to increase the batch size in the pretraining stage as our default setting?

Would you like to try to increase the batch size in the pretraining stage as our default setting?

Thank you for your enthusiastic reply. Due to the limited GPU memory, my current batchsize can only be set to a maximum of 8. If possible, I will try a larger batchsize in the future. Thank you so much!

I increased the batch_size and, by selecting the best model, ultimately obtained similar results. Thank you very much for your patient explanation.

I increased the batch_size and, by selecting the best model, ultimately obtained similar results. Thank you very much for your patient explanation.

Excuse me, how many batchsize did you use to get the above result.

I increased the batch_size and, by selecting the best model, ultimately obtained similar results. Thank you very much for your patient explanation.

Excuse me, how many batchsize did you use to get the above result.

the default value, 16

Great! I will close this issue. Feel free to re-open if you have further question.

Great! I will close this issue. Feel free to re-open if you have further question.

Hello, although I obtained similar results, it's still slightly off. Regarding this, I have some further questions to ask. In the GETTING_STARTED documentation, I found the following sentence: "Notice that you need to select the best model as your Pre-train model because the performance of the adapted model is really unstable when the target domain is KITTI." How should I choose the best model? Is it manually selected among the 30 evaluated models? When selecting, do I only consider AP_3d? Because sometimes the $AP_{3d}$ value is biggest, but the $AP_{BEV}$ value is very small.
Additionally, for the self-training models of ST3D, should I choose the last model? It seems that the results of the self-training models also have significant fluctuations.

Yes. I select with evaluating all 30 ckpts on $AP_{3D}$.
In ST3D, you also need to do so especially for target dataset is KITTI, but not need for other target dataset.
In ST3D++, this issue is largely mitigated, so you can also just choose the last ckpt.

I increased the batch_size and, by selecting the best model, ultimately obtained similar results. Thank you very much for your patient explanation.

Excuse me, how many batchsize did you use to get the above result.

the default value, 16

Hello, I used two 3090s to train the model, and the batch size was set to 16. The performance of the model trained in the source domain (nuscenes) is normal, which is close to the result you gave, but the self-training performance of the target domain (kitti) is very poor, and the 3D AP on Mod. is only less than 40. Is it convenient to add the WeChat account number (ycb2468) to communicate?

I increased the batch_size and, by selecting the best model, ultimately obtained similar results. Thank you very much for your patient explanation.

Excuse me, how many batchsize did you use to get the above result.

the default value, 16

Hello, I used two 3090s to train the model, and the batch size was set to 16. The performance of the model trained in the source domain (nuscenes) is normal, which is close to the result you gave, but the self-training performance of the target domain (kitti) is very poor, and the 3D AP on Mod. is only less than 40. Is it convenient to add the WeChat number (ycb2468) to communicate?

I tried the nuscence >> kitti with PV-RCNN, the datasets for nu is v1.0-mini, I followed the sugguestions and used default batch_size 16, 50 epochs. However, the results are:
pvrcnn_old_anchor_sn.yaml
bev  AP:10.9448, 12.4171, 12.5784
3d   AP:4.5455, 4.5455, 9.0909
I am wondering if the version v1.0-mini of nuscence datasets affact the final results?

The results of v1.0 mini doesn't have any relationship with the performance on v1.0-trainval.


Create package.json

name: {{Structure}}
version: {{0.1.0}}
description: {{Structure is custom designed by ODU as per PSD CubeSat design specification}}
license: {{MIT}}
author: {{Bhagatji Jimesh<EMAIL_ADDRESS>& contributors}}
dependencies: {{dependencies}}
components: {{components}}
parts: {{1}}
functions: {{To rigidly hold all the subsystem}}
tools: {{tools}}
precautions: {{precautions}}
assemblySteps: {{assemblySteps}}

name: {{Structure}}
version: {{0.1.0}}
description: {{Structure is custom designed by ODU as per PSD CubeSat design specification}}
license: {{MIT}}
author: {{Bhagatji Jimesh<EMAIL_ADDRESS>& contributors}}
dependencies: {{dependencies}}
components: {{components}}
parts: {{1}}
functions: {{To rigidly hold all the subsystem}}
tools: {{tools}}
precautions: {{precautions}}
assemblySteps: {{assemblySteps}}

this content should go in https://github.com/ODU-CGA-CubeSat/mission-conops/pull/125/files#diff-6bc4a161f2acfbf33ede528719a86fa1c2780a70259d28f6797b44848bd64ea6R1


Fails to start

Unable to start on my local system because of the error below
adminMongo listening on host: http://<IP_ADDRESS>:1234
GET / 302 14.174 ms - 66
GET /app/ 302 2.691 ms - 76
/Users/tawheedraheem/node_modules/junk/index.js:24
exports.is = filename => exports.re.test(filename);
                      ^^
SyntaxError: Unexpected token =>
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.exports.get_backups (/Users/tawheedraheem/routes/common.js:41:16)
    at /Users/tawheedraheem/routes/index.js:143:16
    at /Users/tawheedraheem/routes/common.js:35:9

npm ERR! Darwin 15.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.5
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the admin-mongo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs admin-mongo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls admin-mongo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

Version of node was old and I also that the issue was already opened here


chore(webpack): avoid to load Clean plugin with npm run start

Fix an annoying issue where files in dist folder are deleted each time you run webpack dev server. (ie: npm run start).

Coverage remained the same at 71.981% when pulling be93e163be03350b528553a8fda378617f160ae9 on kslimani:fix-webpack-dev into b57d9eb03bb4a259baef87ce6708dfc19b05212d on clappr:master.


Added external delegate support to CMAKE build of benchmark tool.  Fixed CMAKE build of benchmark tool for aarch64

@googlebot I signed it!

@googlebot I fixed it.


Remove Smart Albums

How can I disable the smart albums? I only want the albums I create to show up on my home page.
I tried removing a few things in the album.php file and the view.js file but it seems I have removed all albums. I just want to get rid of the smart albums.
Thanks!

Sorry, but I can't provide any help for custom modifications. Smart Albums are a hard-coded part of Lychee. Removing them requires several changes. More: https://github.com/electerious/Lychee/issues/265


MacOS app shows a blank white screen that can’t be interacted with.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.42-0
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs Reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @garrettmknight
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1727792321283919
Action Performed:

Use the app as normal
Navigate elsewhere and do some other stuff….
Look at the app

Expected Result:
App loads and performs as normal
Actual Result:
App is blank and white
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
whiteout-logs-2024-10-01 12_54_57.569.txt
https://github.com/user-attachments/assets/425395f7-b2cf-4f83-98ea-be51c1b2d78f
second-whiteout-logs-2024-10-01 14_14_15.061.txt
onyx-state.txt
Add any screenshot/video evidence

View all open jobs on GitHub

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Hasn't happened to me today 🤞

@garrettmknight yeah yesterday I was trying to reproduce that and didn't happen to me, I also tried few previous versions and also didn't happened.

I was unable to reproduce this.

Happening to me now, happened once yesterday too, Version 9.0.51-3 .  I'm gonna snag this from ya @abekkala

Hmm tricky one! I can't repro so far, but do we have a sense of roughly how long it takes for the white screen to show up?

Navigate elsewhere and do some other stuff….

Also, I assume this step means the app is minimised and other apps are being used?

a sense of roughly how long it takes for the white screen to show up?

iirc it showed up as fully white very soon after I opened my computer in the morn.  I can't remember taking any actions beforehand.
My wifi/internet has been particuarly shitty the past week or so (cut's out frequently on my computer at home but not my partner's ¯_(ツ)_/¯  )

I'm not getting it either, but let me know if you want me to try to test anything @mallenexpensify

@kubabutkiewicz Are there any extra logs that would help you debug this? (Assuming someone gets it to happen again!)

@jjcoffee Only logs which I have are those in the issue unfortunately

@garrettmknight , I think we should close this for now.  If anyone is able to reproduce, please comment/reopen and we'll dive back in.  Sound good?

The app freezing could be partially related cuz I just had the app freeze (reported here) then go full white screen.  Logs:
logs-2024-12-06 22_16_17.323.txt

Likely unrelated but.. I'm stuck here now. Logged in, clicked a few chats > Preferences > tried to switch back to Classic for testing > froze

Hmm still not reproducible for me. I'm guessing you only see the white screen on the desktop app still? (Asking because of the web screenshot).

Issue not reproducible during KI retests. (First week)

Dropping to weekly to continue to retest.

@mallenexpensify also assigning you to close if you don't experience again!

Issue not reproducible during KI retests. (Second week)

Gonna close, haven't seen for a while


⚠ Bofrost.de has degraded performance

In 5aab9c9, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 873 ms

Resolved: Bofrost.de performance has improved in e068c81 after 13 minutes.


Dynamic query rule support for vttablet

A few changes in this patch:

QueryRuleSources top level framework to manage dynamic query rule sources

Pluggable machanism for new dynamic query rule implementations
Complete decouple of query rule management and query service

File based and Zookeeper based dynamic custom rule support
Unit and site tests for dynamic query rule machanisms

Looks like this CL has diverged. Can you merge from master & resolve conflicts?

Master merged. The merge didn't affect the existing patch.
2015-01-02 21:34 GMT-08:00 sougou<EMAIL_ADDRESS>
Looks like this CL has diverged. Can you merge from master & resolve
conflicts?
—
Reply to this email directly or view it on GitHub
https://github.com/youtube/vitess/pull/265#issuecomment-68584256.

@sougou
As discussed, polling is now disabled for file based custom rule, and the function buildQueryRule  is now exported as "BuildQueryRule" to support file formats other than JSON

LGTM


Add support for pdf thumbnails

this is only for generating a thumb from the first page, will add support for multiple pages soon


How to set destination while using uploadManyFiles in TransferManager

I have a local directory and I want to upload its contents to cloud storage, but when using transferManager.uploadManyFiles with either the directory name, or array of files, the destination of the file in cloud storage is taken from the local file path.
local directory structure:
.
└── data
    └── avatars
        └── <image files>

here's my code
import { Storage, TransferManager } from "@google-cloud/storage";

const storage = new Storage();
const transferManager = new TransferManager(storage.bucket("bucket-name"));

const res = await transferManager.uploadManyFiles("data/avatars", {
  prefix: "avatars",
  passthroughOptions: {
    destination: "", // ???
  },
  skipIfExists: true,
});

when uploaded with following code, it becomes
.
└── avatars
    └── data
        └── avatars
            └── <image files>

the prefix property works, but I want to upload files directly to avatars/
there seem to be a passthroughOptions that can take a destination, but when using uploadManyFiles we don't know the exact file names, so can't make the full path
Shouldn't it be that while using prefix, property, the local file path shouldn't be considered?

For a temporary fix, I edited library source to ignore local paths when prefix is supplied, it works, I'd still like to know the intended way of doing so

Hi @arnav-kr thanks for the question. The original intent was to mirror the same directory structure from local to storage. Obviously as you bumped into this can be improved. Currently destination isn't directly settable in uploadMany
https://github.com/googleapis/nodejs-storage/blob/18eef67892af6c7311a12d4c22579e240149eb02/src/transfer-manager.ts#L95-L100.
We can probably add some additional options to offer a greater degree of flexibility such as not mirroring the entire path structure and only using prefix. I can take a look at making these improvements in the near future.

Probably in options, something like a destinationBuilder would make it more flexible, than specifing a string, as this way we can get the filename and process accodingly
...
destinationBuilder: (path, additionalParams) => {
  let dest;
  // perform operation on path
  return dest;
}
...

Thanks ❤

Can you add an example code for that feature? Unit tests is not understandable for that case

@xephtar can you please open a new issue as a feature request so we can better track it.


Update maintainers list

Dave's name and e-mail was written different
in other repo's, resulting him to be listed
twice in the global maintainers list :)
ping @dave-tucker @aduermael PTAL :smile:

thanks @thaJeztah!


asdf install awscli is assuming current working directory is $HOME

Describe the bug
I got this error when install awscli, here is the command and error:
jenkins@c236aff3753b:/$ asdf install awscli 2.7.24
checkdir:  cannot create extraction directory: ./AWSCLIV2
           Permission denied
asdf-awscli: Could not extract /home/jenkins/.asdf/installs/awscli/2.7.24/awscli-2.7.24.zip
asdf-awscli: An error ocurred while installing awscli 2.7.24.

Steps to reproduce
# install plugin.
asdf plugin add awscli
# go to a directory that the current user doesn't have permission.
cd /
# install awscli and error happen.
asdf install awscli 2.7.24

Expected behavior
We should not use current directory for extracting temporary files.

Hit by this same bug. Workaround is to cd ~ but I'd like to avoid that...


PULL_REQUEST_TEMPLATE: Update with new task list items

I suggest we update the task list with a few items and clarify already existing. This list is updated to reflect review comments I often have to do (here and in SqlServerDsc), so I'm hoping this helps contributors from getting one less review comment from reviewers. 😄
I suggest we update with this new task list in PULL_REQUEST_TEMPLATE.md. Not all of these should be checked for each PR, and it already says in a comment in the PULL_REQUEST_TEMPLATE.md; 'Change to [x] for each task in the task list that applies to this PR'.

[ ] Added an entry under the Unreleased section in CHANGELOG.md?
[ ] Resource documentation added/updated in README.md?
[ ] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based help?
[ ] Comment-based help added/updated?
[ ] Localization strings added/updated?
[ ] Examples appropriately added/updated?
[ ] Unit tests added/updated? See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where applicable)? See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to Style Guidelines? See DSC Resource Style Guidelines and Best Practices.

This has been fixed with updating to the latest pipeline files from the project Sampler.


Testing utils for integration

I'm wondering if we can move the utils in the tests folder into a test_utils module so that other applications can use it to build their own integration tests? There might be more than just what's in tests/util.py to move though.

Hi @shyamd,
It would be possible to expose the tests/util.py as a separate module, however, I am curious about your use case which involves leveraging the methods of the file. Can you provide some more details and any suggestions you may have?

Hi @srprash
I'm writing some middleware for starlette for AWS X-Ray that I planned on contributing to this SDK when I'm happy with it. I relied on the tools in testing/utils.py to construct the unit tests for my middleware, so I just copied them over to a file in my project for now. Anyone else writing integrations for AWS X-ray would probably want to run CI on their code and having these tools directly exposed say as part of aws_xray_sdk.testing. Additionally having these tools as part of the SDK provides a framework for testing and documentation on testing that should be emphasized.

Hi @shyamd,
That's awesome that you're writing a new middleware for the SDK! I like the idea of having a testing utility module.
Feel free to post a PR for it and I'll be happy to discuss how we can standardize the module for everyone's use. :)


Just transported to 7.0, how do I fix this problem?

Describe your problem here.

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

did you update lib versions?


⚠ Processors has degraded performance

In 4c4b949, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 52 ms

Resolved: Processors performance has improved in 865759e.


Why not check in _version.py?

Just curious.  I found it a bit difficult to figure out what the current version was from browsing via github

_version.py is autogenerated from (git) tags every time setup.py is run using http://vcversioner.readthedocs.org/en/latest/. Unfortunately it looks like I forgot to push the tag for 2.5.0 (thanks git) -- what I had in mind for this though is that you'd be able to tell from the Releases tab on GitHub.
Does that make sense?

hmmm, I guess that's fine

Would possibly adding a current release badge / shield / whatever they're called help?

Badge added.

<3
On Jun 5, 2015 4:26 PM, "Julian Berman"<EMAIL_ADDRESS>wrote:

Badge added.
—
Reply to this email directly or view it on GitHub
https://github.com/Julian/jsonschema/issues/229#issuecomment-109481237.


Subscription generated types are wrong

Describe the bug
When generating types from a subscription the types expect something inconsistent with what async iterator returns
Take the below example
Schema
const typeDefs = gql`
  type Subscription {
    postAdded: Post
  }

  type Query {
    posts: [Post]
  }

  type Mutation {
    addPost(author: String, comment: String): Post
  }

  type Post {
    author: String
    comment: String
  }

Resolver
const POST_ADDED = 'POST_ADDED';

const resolvers = {
  Subscription: {
    postAdded: {
      // Additional event labels can be passed to asyncIterator creation
      subscribe: () => pubsub.asyncIterator([POST_ADDED]),
    },
  },
  Query: {
    posts(root: any, args: any, context: any) {
      return postController.posts();
    },
  },
  Mutation: {
    addPost(root: any, args: any, context: any) {
      pubsub.publish(POST_ADDED, { postAdded: args });
      return postController.addPost(args);
    },
  },
};

Pubsub publish expects that there will be a wrapper, postAdded in the above example that is needed to publish
The generated types do not include this wrapper and make subscription resolvers type incorrect
The expectation is that this wrapper will be included in generated types
Current workaround
If you type the first generic to Subscription in your resolver things work
export namespace SubscriptionResolvers {
  export interface Resolvers<Context = ContextGen, TypeParent = {}> {
    postAdded?: PostAddedResolver<
      Subscription | null,
      TypeParent,
      Context
    >;
  }

  export type PostAddedResolver<
    R = Subscription | null,
    Parent = {},
    Context = ContextGen
  > = SubscriptionResolver<R, Parent, Context, PostAddedArgs>;
  export interface PostAddedArgs {}
}

OS: MacOs
Codegen: ^0.14.1
Node: v10.15.1

Fixed in 1.0.4


Focus terminal after dragging a folder from explorer to terminal

 Current Installed VS Code Details
Version: 1.44.2 (user setup)
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T16:36:23.138Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17763
Steps to Reproduce

Open VS code
Open a Folder having nested folders in it
Open the Powershell terminal
Now Type "cd" and drag a folder to change the current directory
Now see the cursor is not in the PowerShell window and if  you hit enter command would not execute

Expected Behavior
After dragging a folder to PowerShell terminal cursor should be in the PowerShell terminal

Other Configuration
Does this issue occur when all extensions are disabled?: Yes
 Screenshot

 Submitted By<EMAIL_ADDRESS>

@Tyriar Can I take this?

@ChrisPapp sounds good, thanks 😃

Thanks, everyone!!