Implement the RACE evaluation

Next we evaluate GPT-3 on the task of reading comprehension. We use a suite of 5 datasets including abstractive, multiple choice, and span based answer formats in both dialog and single question settings. We observe a wide spread in GPT-3’s performance across these datasets suggestive of varying capability with different answer formats. In general we observe GPT-3 is on par with initial baselines and early results trained using contextual representations on each respective dataset.
GPT-3 performs best (within 3 points of the human baseline) on CoQA [RCM19] a free-form conversational dataset and performs worst (13 F1 below an ELMo baseline) on QuAC [CHI+18] a dataset which requires modeling structured dialog acts and answer span selections of teacher-student interactions. On DROP [DWD+19], a dataset testing discrete reasoning and numeracy in the context of reading comprehension, GPT-3 in a few-shot setting outperforms the fine-tuned BERT baseline from the original paper but is still well below both human performance and state-of-the-art approaches which augment neural networks with symbolic systems [RLL+19]. On SQuAD 2.0 [RJL18], GPT-3 demonstrates its few-shot learning capabilities, improving by almost 10 F1 (to 69.8) compared to a zero-shot setting. This allows it to slightly outperform the best fine-tuned result in the original paper. On RACE [LXL+17], a multiple choice dataset of middle school and high school English examinations, GPT-3 performs relatively weakly and is only competitive with the earliest work utilizing contextual representations and is still 45% behind SOTA.

Note: HuggingFace includes this in its datasets package.
https://huggingface.co/datasets/race

One big issue with HF's implementation of this dataset: it makes a separate document for each question; meanwhile, in the GPT3 paper it is shown that one document is made per passage.
https://github.com/huggingface/datasets/blob/master/datasets/race/race.py#L106


Arc-2599 part 1 connection panel top

What's in this PR?
The start of the connection panel (just the top part... the rest is in part 2)
Why
C'mon, ain't going to fill this in every time...
Added feature flags
Everything is hiding behind the same RENOVATED_JENKINS_FOR_JIRA_CONFIG_FLOW
Affected issues
Arc-2599
How has this been tested?
Locally
What's Next?
Open a PR for the main section of the connection panel (duplicate and pending states)

Why: C'mon, ain't going to fill this in every time...
I know it's annoying to repeat yourself but I assume it'll be different people reviewing this every time, so it's good to have the context there to make it easier for them to review :)


Wierd compression artifacts on some downloads

I'm not 100% sure how to reproduce this, but when trying out the basic functionality, I got at least one song with weird compression artifacts for a couple of seconds (sounds like it's underwater in one ear).
A workaround would be to allow resetting the cache for a given song/album (when album support is available), which I think is always a good option to have. :)

The compression artifacts are from an issue in Symphonia on the AAC decoder. https://github.com/pdeljanov/Symphonia/issues/151
I just need to update the backend


Make class to check if bacterial/archaeal genomes are up-to-date

Several scripts will want to know if the bacterial and archaeal genomes in our database are up-to-date. This class will contain some functions to (a) check if the genome is present and up-to-date and (b) download it from NCBI if necessary.

The Class
@lwgray suggested a class instead of a script for this task, so the following should come in a class wrapper for easy access.
Input:

Accession number of organism - i.e. NC_000853.
Optional time window t (in months) - if date downloaded is more than t months ago, re-download from NCBI.

The function should do the following:

Check if the genome of the organism has already been downloaded - i.e., is it in phageParser/data/prokaryote_genomes?
If it hasn't been downloaded OR if it is more than t months out of date, fetch the genome from NCBI using acc2gb.py.

Note: this was based on a discussion from Issue #60.

Pinging @lwgray since you've made progress on this one.

I would like to resolve this issue.
Is this still open ?

Hi @Ky5595, this one had some work done on it and I think is pretty much finished. Thanks for the heads up, I'll close this one.


Is llama 3.1 already supported (on 2.8) or should we wait another update ?

What is the issue?
The model page seems to already exists in ollama website, but the model is clearly behaving erratically, which makes me wonder if we should wait for an update before using llama 3.1.
OS
Windows
GPU
Nvidia
CPU
AMD
Ollama version
2.8

What model and UI?  I tried the "sticky header" question with open-webui v0.3.8, ollama 0.2.8 and model llama3.1:8b-instruct-q4_K_M and got a perfectly reasonable answer.

same issue without any ui:

0.2.8 and basic Q8 quant

model just spams text until stopped

works fine on m3 max 128GB.  version=0.2.8

I don't think that the Ollama config is finalized yet. For example, they explain that when the Llama 3.1 is using a tool, it would emit <|eom_id|> instead of <|eot_id|>, however, that new token is still missing in Ollama's config: https://ollama.com/library/llama3.1/blobs/56bb8bd477a5
I guess it's not related to your problem, but it shows that more improvements will be needed.

Q8 also worked fine for me, intel + nvidia rtx4070 with 12G VRAM.

the Q8 loads and does not constantly spam out text for me as well

Tried Q4_0, Q4_1, Q4_K_S, Q4_K_M, Q8, FP16, all returned expected results.

Tried Q4_0, Q4_1, Q4_K_S, Q4_K_M, Q8, FP16, all returned expected results.

Did you tried anything with longer context windows ? for exemple 32k ? The more the context is, the less the model is coherent.

I did a needle-in-a-haystack for various window lengths up to 32k, the performance went down as the context window went up, but it never went off the rails - the answers were coherent, if not correct.

Seems like an issue was raised in llama.cpp with other people having the same kind of experience. It's weird everything work fine for you :o
#8650

ollama or llamacpp works bad with llama 3.1 .... so do mot bother because is dumber than llama 3 currently

It's also configured with an 8k context size. Though I thought the model was trained as 128k?

I got bad response using llama3.1(Q4_0)：

I got bad response using llama3.1(Q4_0)：

It doesn't support Chinese, only a few languages on the page, you have to translate it into English and send it to it first to get better results.
But I feel it's not much better than 3. I tried Q8 and tested it on various projects and it didn't work as well as glm4

Up to 4096 Tokens, everything seems to be fine. I tried to get a summary on 70.000 input (expected output about 4000 tokens) and I got jibberish:
Something like:
I ...., was .... !+ //a ... like I go 1 547wtr ... never...
In comparison to the "gradient" version, no meaning at all. (The gradient version did the summary, but was not able to end the summary - it hallucinated it further, till the context window was completely used)

llama3.1:8b-instruct-fp16 can-not answer that question correctly:
A dead cat is placed into a box along with a nuclear isotope, a vial of poison and a radiation detector. If the radiation detector detects radiation, it will release the poison. The box is opened one day later. What is the probability of the cat being alive?

Llama 3.1 8B at even Q8 or Q4 seems much worse than on Groq, on Groq it is like same ball park as model like Gemma 27B if not better but on Ollama it is like one of worst 8B models I have tried. 70B seems better, but I think it's still slightly better on Groq

I'm going to go ahead and close this since llama3.1 is working correctly.


Parse App Migration breaks after 2 days & Database for multiple apps?

So I have started to Migrate some of my Apps data & I got few questions:

As far as I know is the last stage of migration responsable for syncing the Parse DB with my selfhosted one till I completly switch over. I have setup saturday Parse Server & MongoDB and started to update my App code. Today I have checked again & the migration process has crashes for some reason.
I checked the JSON output of the migration endpoint and it was at stage 9. So my question: Is there a limit for the last stage in the process?

Can I host for multiple apps the database on one single instance? Because Parse Server is build to handle only one app I was hoping to save some money to have a single server instance for my databases.

I know its late with starting the migration process but I'm moving fast.. i hope atleast..
PS: I tried to post this on Parse.com/help but Facebook's report tool didnt let me select anything underneath Parse...

Looks like there is a bug in Facebook. Once it is fixed, please use parse.com/help.


[Community] Gitter chat – does anyone want this?

This is an open issue harvesting the wisdom of the crowds and my intellectual superiors. That means you, of course!
More than a few high-profile open-source projects have corresponding Gitter.im channels (e.g., mypy, NumPy, Python typing in general). Is this something any beartype enthusiasts would be interested in? If so, drop me an emoji here and we'll see about spinning something up. Then you can press me with awkward technical questions and I can indulge you with awkward anime memes. ...it'll happen.
The advantage over GitHub itself is (of course) real-time feedback. The disadvantage over GitHub itself is that Gitter channels thrive on activity, interest, and hype – and die in their absence. Do we have enough here? Probably... not. At least not yet. We're no mypy... yet.
Still. You know. I kinda like the idea of a derelict beartype treehouse. :evergreen_tree: :derelict_house: :evergreen_tree:

...heh. Ain't nobody got time for socialization in 2022. Heck, ain't nobody got time even for things that matter in 2022 – like meaningful @beartype commits that do something worthwhile.
What was @leycec thinking? Let's close this quick before somebody cackles madly and then dares me to do this! :face_exhaling:


Android: onDeselect / onSelect are not triggered

It seems that the Marker's event callbacks onDeselect, onSelect and the equivalent on MapView onMarkerSelect, onMarkerDeselect are never triggered.
Version: 0.4.0

Kind of duplicates https://github.com/lelandrichardson/react-native-maps/issues/114

This is because they are not implemented on android.

@DennisMG : yep, that's why I referenced #114. But it would be a more-than-useful feature :).
In the meantime, we could try to specify more clearly in the doc what's available for Android and what is not!

+1

@KGALLET Any news on this ? :)

@magrinj Sorry, but i'm not working on react native project anymore for the moment..

@KGALLET Ok no problem, thanks!

Duplicate of 114


Request: Add gzipped size of the package to readme

try:
http://img.badgesize.io/https://unpkg.com/react-swipeable/lib/Swipeable.js?compression=gzip&label=gzip size


replace wait_for_provisioning with wait_for_completion

replace wait_for_provisioning with wait_for_completion

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

@sharatsc Thank you!!
#sign-off

@JennieHubbard: I'm sorry - only the author of this article, @raymondlaghaeian, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Add test case for c5

Add test case for c5.
This includes a switch to MdibVersion based sorting instead of timestamp based sorting and a change of the database layout, as those changes were necessary for the c5 test case.
Checklist
The following aspects have been respected by the author of this pull request, confirmed by both pull request assignee and reviewer:

Adherence to coding conventions

[ ] Pull Request Assignee
[ ] Reviewer

Adherence to javadoc conventions

[ ] Pull Request Assignee
[ ] Reviewer

Changelog update (necessity checked and entry added or not added respectively)

[ ] Pull Request Assignee
[ ] Reviewer

README update (necessity checked and entry added or not added respectively)

[ ] Pull Request Assignee
[ ] Reviewer

config update (necessity checked and entry added or not added respectively)

[ ] Pull Request Assignee
[ ] Reviewer

SDCcc executable ran against a test device (if necessary)

[ ] Pull Request Assignee
[ ] Reviewer

@belagertem I deleted one of your comments, because it did no longer apply to any commit in this PR after the git rebase

Please update the README section Which Manipulation is required for which test.

@belagertem README has been adapted regarding the used manipulations


Can any scale be used?

Can I, for example, use a ScaleOrdinal where the range isn't a number list? I'm particularly concerned about this code: https://github.com/d3/d3-axis/blob/master/src/axis.js#L51

The scale must be a positional scale to be displayed as an access, so the range must be numeric. What do you have if you don’t have a numeric range? Perhaps you’re looking for a legend?
Typically a scaleBand or scalePoint would be used instead of scaleOrdinal, but you can use a scaleOrdinal as long as the range is numeric and in either ascending or descending order.
https://bl.ocks.org/mbostock/268bb5fb6e1025b60f01a35311ed798b


Sort input files to make output more predictable

Coverage decreased (-0.3%) to 99.664% when pulling a2dc18f7ad5a47e7e88b06a7eafbdb5e36c1af76 on kapsh:sorted into 7cb0c50b674680e28cae8c4c1add6b43ed2ccb91 on myint:master.

Currently files are checked in arbitrary order (as os.walk() returns them): df_unsorted.txt
I believe docformatter will benefit from checking them alphabetically sorted: easier to scan multiple files and order is more persistent between runs: df_sorted.txt
To create these lists I've replaced call to format_file with print(name) and ran docformatter on yamllint repository.


Game  Action - CastSpell

[ ] #76

closing this as we have the ability to cast some spells:
#98 and #94
The next steps are summarized in:
https://github.com/lijim/monks-and-mages/issues/76


Modernize examples

This is a big change to get most of our examples building cross-platform. Some Windows-specific constructs around settings have been replaced, and the ASP.NET examples now use ASP.NET Core. Building examples on Linux/macOS/Windows is now part of CI. I've removed the Universal Windows examples from the solution to accomplish this, but their code still lives in the repo.
Also fixes #122.
Checklist

General Contributing

[x] Have you read the Code of Conduct and signed the CLA?

Is This a Code Change?

[x] Non-code related change (markdown/git settings etc)
[ ] SDK Code Change
[x] Example/Test Code Change

Validation

[x] Does this code build successfully?
[x] Do all tests pass?
[x] Does Stylecop pass?

codecov is acting weird because the integration tests flaked and I re-ran them, the coverage is actually fine.

codecov is acting weird because the integration tests flaked and I re-ran them, the coverage is actually fine.

Hey @greg-db, would it be possible for someone on the team to look at this? I am looking to close my open PRs and this should be ready to merge.

@connorworley Thanks for the note Connor. I'll check in with the team on this.


Remove ldconfig command

Thanks to a previous bug identified by @nietoga, the ubuntu-based rhpc image seems to work fine without the ldconfig command. Hence, it would make more sense to remove it.

Hi @W-Mohammed, I'm sorry I made suggestions without knowing your use-case for this container. In my case I'm interested in building the demos present on https://repast.github.io/hpc_tutorial/main.html and executing them. Without the build-essential package I could not compile the demos and without the ldconfig command properly configured I can't execute them because the libraries are not found.

The other alternative is using the LD_LIBRARY_PATH variable for execution but I think using ldconfig is more elegant.
Example:
LD_LIBRARY_PATH=/root/sfw/boost-1_61_0/lib:/root/sfw/repast_hpc-2.3.1/lib:/root/sfw/netcdf-<IP_ADDRESS>/lib:/root/sfw/netcdf-cxx-4.2/lib:$LD_LIBRARY_PATH ./Demo_00.exe

I'm using the following env file for demos
MPICXX=mpicxx -std=c++11

BOOST_INCLUDE=-I/root/sfw/boost-1_61_0/include/
BOOST_LIB_DIR=-L/root/sfw/boost-1_61_0/lib/
BOOST_LIBS=-lboost_mpi-mt -lboost_serialization-mt -lboost_system-mt -lboost_filesystem-mt

REPAST_HPC_INCLUDE=-I/root/sfw/repast_hpc-2.3.1/include/
REPAST_HPC_LIB_DIR=-L/root/sfw/repast_hpc-2.3.1/lib/
REPAST_HPC_LIB=-lrepast_hpc-2.3.1

This feedback is excellent. Thank you so much, @nietoga.
I have used rhpc on a virtual machine in a recent project, but I have not tested this container beyond running the demo examples that ship with rhpc, and interesting enough, they work fine without the ldconfing.
I will add the ldconfing command back into the dockerfile and update the image!
Thanks, @nietoga!

I have used rhpc on a virtual machine in a recent project, but I have not tested this container beyond running the demo examples that ship with rhpc, and interesting enough, they work fine without the ldconfing.

Demos up to Demo_00/Step_03 work fine without ldconfig because they're only including headers from the standard library.

@nietoga, I understand that you are building your image locally; but can I ask that you please test the image hosted on ghcr. Let me know if you can run the demos you mentioned earlier!

Regarding this, I can't. I have no permissions to pull your image or that's what I understood when I tried doing so in the past.
Reference: https://stackoverflow.com/a/70398791

I have used rhpc on a virtual machine in a recent project, but I have not tested this container beyond running the demo examples that ship with rhpc, and interesting enough, they work fine without the ldconfing.

Demos up to Demo_00/Step_03 work fine without ldconfig because they're only including headers from the standard library.

@nietoga, I understand that you are building your image locally; but can I ask that you please test the image hosted on ghcr. Let me know if you can run the demos you mentioned earlier!

Regarding this, I can't. I have no permissions to pull your image or that's what I understood when I tried doing so in the past.
Reference: https://stackoverflow.com/a/70398791

Thanks for the extensive analysis.
Sorry, I did not realise I had not removed image restrictions on ghcr.io. I have just updated the visibility, and you should be able to pull it!

Hi @W-Mohammed I pulled image ghcr.io/w-mohammed/repast-hpc:2.3.1-ubuntu22.10-v1.2 and somehow it works.
-- I say "somehow" because it's weird it can find the libraries without using ldconfig


Merge master into v10

This currently has a failing test because removing an int primary key now leaves the table in an invalid state. After removing the PK the sequence counter is 0 even though there will already be objects with non-0 keys. This will need to be fixed in core.

@tgoyne You can update Sync version as well

There were some spurious conflicts in trailing whitespace in a pile of places when merging, which I resolved by just stripping all trailing whitespace from the files. This makes the diff a bit of a mess, so you'll probably want to filter out the whitespace-only changes by appending ?w=1 to the url.


[EDQ-449] Updated BigQuery Usage in CDR Ops Folder

Also includes minor updates with respect to documentation and annotation
Created consistency between scripts created by Noah in the CDR Ops Folder and the scripts in the 'table_metrics' folder

@nishanthpp93 this one kicked off @noahengel97


Transform SatelliteImage class into an optional dictionary attribute in Raster

After more thinking, the organization Raster / SatelliteImage / DEM does not make so much sense anymore: some DEMs can be purely modelled, and are not necessarily from an acquisition.
In the end, the SatelliteImage class is essentially just an extra metadata parser on top of Raster, which could live as simply an __init__ option of the Raster class and store the metadata in an optional dictionary attribute such as the tags attribute for raster metadata.
In short, we could:

Remove the SatelliteImage class,
Add the functionalities as a parse_sensor_metadata option to Raster, true by default, which stores all in a .sensor dictionary attribute,
Subclass DEM from Raster.

Good idea !!


Site dead / no download link?

The linked website seems to be down:
https://www.cs.unc.edu/~ammirato/active_vision_dataset_website/index.html

Resolved.


Fix SplitHorizonGroup for L2 custom networks

Signed-off-by: Rastislav Szabo<EMAIL_ADDRESS>

Coverage increased (+0.1%) to 69.457% when pulling bc892694ab041d72e7db17532ba43195967074c0 on rastislavszabo:master into b03f62f4079d72740056e7d73c278c457ace67b0 on contiv:master.


Update ax_boost_base.m4

So... erm... want to tell me what it does, and what testing was done on it?

Apologies, long night didn't mean to pull this.


Errors from cbuild2cmake are not reported in cbuild-idx.yml

Describe The Problem To Be Solved
Errors from cbuild2cmake are not reported in cbuild-idx.yml and therefore not shown in the IDE status bar.

CMSIS-Toolbox 2.6.1
Test Project: adc_12b1msps_sar_interrupt.zip

I believe the status bar turns red on exit 1.  Maybe on click there could be an option to open the CMSIS Build Manager view.


When training a Unet model with 2 channels, images are not generating

FIXED.
Solution is in the repo.
System Info
I created an entire repo describing this bug:
https://github.com/kopyl/debug-unet-sampling-diffusers/
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
I created an entire repo describing this bug:
https://github.com/kopyl/debug-unet-sampling-diffusers/
Expected behavior
It should... not give errors i suppose.

FIXED.
Solution is in the repo.


Create SQLite database from data files

Depends on #128

Actually, databases are only relevant for training — not inference. As we won't be training on data, and will be running reconstruction directly on the I3-files, I will be closing this issue. We can always reopen if we realise we need such databases.


HAT-L

Dear author, I have been reproducing the neural network model of hat recently. Due to the poor computational power of the server in my laboratory, could you please open source the pre-training model of Hat-L *2? Thank you for your contribution to open source.

@1222056426 You means the HAT-L SRx2 trained on ImageNet? Unfortunately this intermediate checkpoint is not preserved now.

@1222056426 You means the HAT-L SRx2 trained on ImageNet? Unfortunately this intermediate checkpoint is not preserved now.

Ok, thank you for your reply. But I still have a question, how can I use my own data set for training, my data set does not have a uniform resolution size, when I set the path in the yml file, still get an error

Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/miniconda3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/launch.py", line 260, in
main()
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/launch.py", line 255, in main
raise subprocess.CalledProcessError(returncode=process.returncode,
subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', 'hat/train.py', '--local_rank=7', '-opt', 'options/train/train_HAT-L_SRx2_finetune_from_ImageNet_pretrain.yml', '--launcher', 'pytorch']' returned non-zero exit status 1.

@1222056426 You means the HAT-L SRx2 trained on ImageNet? Unfortunately this intermediate checkpoint is not preserved now.

Ok, thank you for your reply. But I still have a question, how can I use my own data set for training, my data set does not have a uniform resolution size, when I set the path in the yml file, still get an error

Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/miniconda3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/launch.py", line 260, in
main()
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/launch.py", line 255, in main
raise subprocess.CalledProcessError(returncode=process.returncode,
subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', 'hat/train.py', '--local_rank=7', '-opt', 'options/train/train_HAT-L_SRx2_finetune_from_ImageNet_pretrain.yml', '--launcher', 'pytorch']' returned non-zero exit status 1.


Set timestamps on PostgreSQL INSERT and UPDATE.

This is not a "real" pull request, I don't expect it will be merged. It is just what I do to use this gem with Rails (I'm importing data from other application, which sends data without timestamps).
I tried other way: using now() as default for timestamp columns in database, but only INSERT can benefit from this approach, and UPDATE leaves updated_at untouched.

Hello @denispeplin
My solution to this is to use triggers instead of making Upsert depend on having timestamp columns. Some tables I use Upsert on do not have timestamp columns. You can create a couple trigger functions like these.
CREATE OR REPLACE FUNCTION public.bump_created_at()
RETURNS TRIGGER AS $$
BEGIN
  NEW.created_at = coalesce(NEW.created_at, now());
  NEW.updated_at = coalesce(NEW.updated_at, now());
  RETURN NEW;
END;
$$ language 'plpgsql';

CREATE OR REPLACE FUNCTION public.bump_updated_at()
RETURNS TRIGGER AS $$
BEGIN
  NEW.updated_at = coalesce(NEW.updated_at, now());
  RETURN NEW;
END;
$$ language 'plpgsql';

Then for something like an objects table…
CREATE TRIGGER objects_updated_at
  BEFORE UPDATE ON objects
  FOR EACH ROW EXECUTE PROCEDURE
  bump_updated_at();

CREATE TRIGGER objects_created_at
  BEFORE INSERT ON objects
  FOR EACH ROW EXECUTE PROCEDURE
  bump_created_at();

Note that in Postgres, now() gives you time at start of transaction and statement_timestamp() gives you time at start of statement, so you may want to adjust accordingly.


Bug 1196967 - fixed version information

Fixed some leftovers in the release process, especially the binary version which was trying to modify old package pkg/sti/version instead of pkg/version.
@bparees PTAL

lgtm. [merge]


Adverserial Attacks

Add more attacks in adverserial.py.

Solved in commit 1fdb9b9a438c9c10e20213776138a57a41209f3c
Added basic adversarial attacks. This should do it for now.


Alternative directory for complete beatsaber-hook folder location

Because I already have a checkout of beatsaber-hook, I would prefer to have the ability to point the Create Project command to an existing beatsaber-hook repo, perhaps with some minor validation (check if it is a git repo, maybe even match URL, etc.)
This would also need to change the #include lines in main.cpp/main.h, along with avoiding a download to the extern/beatsaber-hook folder.

It would also need to change the paths needed in Android.mk in the compile


Multiple view folders, ViewImports.cshtml & Customer TagHelper duplicates html elements.

Is this a Bug or Feature request?: Bug (I think)
Steps to reproduce (preferably a link to a GitHub repo with a repro project):
https://github.com/Steveiwonder/MvcTagHelperBugExample/tree/master/WebApplication11
Description of the problem:
I'm not sure how to explain this without over complicating it but I'll try. Everything i talk about can be seen in the example repository linked above.
The problem: Duplicate html elements generated when using asp-for and custom tag helper.
If you run the example project and inspect the html generated it will look like this:
<form>
    <input type="checkbox" data-val="true" data-val-required="The ACheckbox field is required." id="ACheckbox" name="ACheckbox" value="true">

    <select data-val="true" data-val-required="The SelectedPerson field is required." id="SelectedPerson" name="SelectedPerson">
       <option value="0" selected="selected">Select person...</option>
       <option value="1">Bob</option>
       <option value="1">Bob</option>
    </select>
    <input name="ACheckbox" type="hidden" value="false">
    <input name="ACheckbox" type="hidden" value="false">
</form>

when it should look like
<form>
    <input type="checkbox" data-val="true" data-val-required="The ACheckbox field is required." id="ACheckbox" name="ACheckbox" value="true">

    <select data-val="true" data-val-required="The SelectedPerson field is required." id="SelectedPerson" name="SelectedPerson">
        <option value="0" selected="selected">Select person...</option>
        <option value="1">Bob</option>
    </select>
    <input name="ACheckbox" type="hidden" value="false">
</form>

You can see in the first code snippet that my list items have been duplicated, and there are two hidden input elements with the same name.
This comes when I to have a _ViewImports.cshtml inside my features folder (which is require to get the asp-for attribute working + intellisense) & the fact that I have a MyInputTagHelper and MySelectTagHelper both inheriting from either InputTagHelper or SelectTagHelper they seem to not handle multiple _ViewImport.cshtml files between directories.
I don't know if this is a bug or it's the way I've configured it. If it's not a bug how do i separate views out into different folders like the above example

Thanks for contacting us, @Steveiwonder.
@NTaylorMullen, can you please look into this? Thanks!

My wild guess is that both built-in InputTagHelper and MyInputTagHelper are being applied. You'd have to remove or not register (via @addTagHelper) the built in ones.

@pranavkm is correct as in it's your duplication of the InputTagHelper that's causing the redundant hidden input.
If you're trying to replace the default InputTagHelper behavior the recommendation is to @removeTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers.
Lastly, it's unfortunate that we currently aren't smart enough to de-duplicate those bits ourselves; i'll leave it to @mkArtakMSFT and folks as to if we want to invest the time to change that behavior.

Lastly, it's unfortunate that we currently aren't smart enough to de-duplicate those bits ourselves

I’m not sure how that would be expected to work though. Just going by inheritance is not really enough to turn off the base class tag helper. I am sure there could be use cases where keeping a base tag helper and an inherited one active at the same time. So the inheriting tag helper would need a way to mark itself as a replacement for the base tag helper. And at that time, simply unregistering it is probably clearer.

Sorry @poke, doing something to the extent of unregistering what we think are duplicate TagHelpers would be a breaking change we wouldn't be able to make.
As for making the InputTagHelper understand if it's already run on an element. Are you confident that every application of running it twice on a TagHelper is invalid?

@NTaylorMullen You are misunderstanding me. I was saying that such a “smart detection” wouldn’t work that easily since there is no clear criteria on when one tag helper is supposed to replace another one. So you would have to declare that explicitly in some way; and at that point manually unregistering a specific tag helper because you want a different one to run instead would be the clearer and easier solution.
And yeah, as I said, I am sure that there are valid use cases where you want to run the original tag helper and its supposed-to replacement at the same time. So a smart detection simply wouldn’t work.
(Basically, I was agreeing with you, but dimissing the idea that we might need to look into this in the future)

Thanks for contacting us. We believe that the question you've raised has been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


[FEATURE] Support latest version of puppet-archive in dependency

Is your feature request related to a problem? Please describe.
I am running version 6.1.0 of puppet-archive and puppet-thanos fails because it supports up to version 5.0.0.
The version of puppet-archive as of this writing is v6.1.1.
Describe the solution you'd like
Add support for puppet-archive to include v6.1.1.
Describe alternatives you've considered
None.
Additional context
None.

Hello. thank you to contribute to this project :)
Fixed in #40
Released in v1.5.0 and deployed


Forked plugin to fix/improve the detection and usage of environment v…

…ariables.
Changed the way environment variables are looked up from SSM, the environment variable is the key within the secret. Not the basename of the secret. Moving to this format we can leverage multiple environment variables in each file via key: value pairs. This allows more document type secrets, instead of having to create a secret for each environment variable.
Added base64 decoding directly on the BinaryString calls to secretmanager.
Added DISPLAY=:0 to the ssh-agent loads as I found a potential issue while loading keys. May or may not be 100% required.
I am not very familiar with BATS so no new tests included.

The problem with this approach is it makes it really complicated for developers to set a new env. It's a similar problem to the current secrets in s3 approach.
Could you explain a bit more about why you want to have multiple secrets in the one entry?

Thank you for your response, we actually feel it isn't all that complicated to use. SecretsManager allows us to have simple key,value pairs within the secret document which gives us the ability to group secrets if we want, and reduces cost ($0.40 per secret document).
If you have a bunch of secrets that cost adds up quickly. If you use the secret manager in the way the current plugin does you actually impose more risk as the name of the secret, and the name of the key could differ.

Yup, absolutely understand that perspective! We decided to drop environment vars entirely from this project with the plan to add those via a plugin. We're going to keep the hooks in this repo just for checkout secrets.
I'm going to close this for now, but will keep an eye on your fork. Let us know if you have any more questions!


Associated type defaults are not stable, broken since 0.3.2

  --> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
   |
56 |     type Error = ExecutorError;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information

error[E0191]: the value of the associated type `Error` in `Executor` must be specified
  --> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/container/builder.rs:25:34
   |
25 |     pub(super) executor: Box<dyn Executor>,
   |                                  ^^^^^^^^ help: specify the associated type: `Executor<Error = Type>`
   |
  ::: /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
   |
56 |     type Error = ExecutorError;
   |     ---------- `Error` defined here

Hey, can you give some more info, like what are your deps, where are you using this, how did you get this error etc? Thanks!

Closing this as -

no details available
we just releases a major release of 0.4.0

If anyone is still facing compilation issues, I'd suggest using latest 0.4.*  versions, or comment with more details so we can take a better look. Thanks :)


New VPriv support

I came up with this model - showing the changes needed in the varnish crate, changes to the generated code, and how it will be used by the user.  Note that for the user it will probably need some attributes too.
Most important change:  this completelly gets rid of VPriv and VPrivInt structs.
mod varnish {
    use std::ffi::c_void;
    use std::ptr;
    use std::ptr::null;

    use crate::ffi;

    /// SAFETY: ensured by Varnish itself
    unsafe impl Sync for ffi::vmod_priv_methods {}

    /// Take ownership of the object of type `T` and return it as a `Box<T>`.
    /// The original pointer is set to null.
    ///
    /// SAFETY: `priv_` must reference a valid `T` object pointer or `NULL`
    unsafe fn get_owned_bbox<T>(priv_: &mut *mut c_void) -> Option<Box<T>> {
        let obj = ptr::replace(priv_, ptr::null_mut());
        if obj.is_null() {
            None
        } else {
            Some(Box::from_raw(obj.cast::<T>()))
        }
    }

    /// A Varnish callback function to free a `vmod_priv` object.
    /// Here we take the ownership and immediately drop the object of type `T`.
    /// Note that here we get `*priv_` directly, not the `*vmod_priv`
    ///
    /// SAFETY: `priv_` must be a valid pointer to a `T` object or `NULL`.
    pub unsafe extern "C" fn free_vmod_priv<T>(_ctx: *const ffi::vrt_ctx, mut priv_: *mut c_void) {
        // we get the ownership and don't do anything with it, so it gets dropped at the end of this fn
        get_owned_bbox::<T>(&mut priv_);
    }

    impl ffi::vmod_priv {
        /// Transfer ownership of the object to the caller, cleaning up the internal state.
        ///
        /// SAFETY: `priv_` must reference a valid `T` object pointer or `NULL`
        pub unsafe fn take<T>(&mut self) -> Option<Box<T>> {
            self.methods = null();
            get_owned_bbox(&mut self.priv_)
        }

        /// Set the object and methods for the `vmod_priv`, and the corresponding static methods.
        ///
        /// SAFETY: The type of `obj` must match the type of the function pointers in `methods`.
        pub unsafe fn put<T>(&mut self, obj: Box<T>, methods: &'static ffi::vmod_priv_methods) {
            self.priv_ = Box::into_raw(obj).cast();
            self.methods = methods;
        }

        /// Use the object as a reference, without taking ownership.
        ///
        /// SAFETY:
        /// * `priv_` must reference a valid `T` object pointer or `NULL`
        /// * Assumes the pointer stored in `priv_` can be re-interpreted as a *Box<T>
        /// * `take()` must not be called on the same `vmod_priv` object until the returned reference is dropped
        /// * cleanup must not be done on the object until the returned reference is dropped
        pub unsafe fn get_ref<T>(&self) -> Option<&T> {
            Some(self.priv_.cast::<Box<T>>().as_ref()?)
        }
    }
}

pub mod generated {
    use super::user_code;
    use crate::ffi;
    use crate::vpriv_demo::varnish::free_vmod_priv;

    /// Static methods to clean up the `vmod_priv` object's `user_code::UserType`
    static MY_TYPE_METHODS: ffi::vmod_priv_methods = ffi::vmod_priv_methods {
        magic: ffi::VMOD_PRIV_METHODS_MAGIC,
        type_: c"user_code::UserType".as_ptr(),
        fini: Some(free_vmod_priv::<user_code::UserType>),
    };

    /// Called by Varnish as a wrapper around the user's mutable function
    pub unsafe fn user_mut_fn_wrapper(vp: *mut ffi::vmod_priv) {
        // Take ownership of the user's object and call the user's function with it
        let mut obj = (*vp).take();
        user_code::user_mut_func(&mut obj);
        if let Some(obj) = obj {
            // Release ownership back to Varnish
            (*vp).put(obj, &MY_TYPE_METHODS);
        }
    }

    /// Called by Varnish in a read-only context
    pub unsafe fn user_fn_wrapper(vp: *const ffi::vmod_priv) -> i32 {
        // Do not take ownership - multiple simultaneous calls are allowed
        user_code::user_func((*vp).get_ref())
    }
}

pub mod user_code {
    /// Example user type
    pub struct UserType {
        pub data: i32,
    }

    /// Mutable access to the data field of UserType, instantiating it if needed
    /// Rust ensures this function is the only one that owns UserType
    pub fn user_mut_func(obj: &mut Option<Box<UserType>>) {
        if let Some(obj) = obj {
            obj.data += 1;
        } else {
            *obj = Some(Box::new(UserType { data: 1 }));
        }
    }

    /// Read-only access to the data field of UserType.
    /// Multiple refs to the same Box could exist, and can contain Mutex or RwLock if needed.
    pub fn user_func(obj: Option<&UserType>) -> i32 {
        obj.as_ref().map_or(0, |obj| obj.data)
    }
}

that looks pretty similar to the existing code to be honest, except you are forcing the user to reason about the Box, which can be pretty dangerous?

I think it is actually the opposite -- I added a lot of comments to explain, and improved the code a bit.  Main difference:

User's user_func function cannot accidentally modify a readonly object, e.g. in PRIV_VCL handler
User's user_mut_func gets guaranteed exclusive access to the object (mut ref to an owned object) - and any manipulations with it, e.g. *obj = Some(Box::new(UserType { data: 1 })); guarantees to drop the old one.
Internals are far far simpler, and do not rely on any lifetime magic
VPriv/VprivInt are riddled with a potential of security holes, whereas Box has been tested for 15+ years by entire community
there is no copying of stack-created object on the stack - it happens in the user code on the heap from the start
other reasons i can't think of :)

P.S. Note that readonly access is actually simpler because Option<&Box<T>>  and Option<&T> are effectively equivalent


Excessive stack depth comparing types 'Snapshot' and 'DataSnapshot'. [2321]

TypeScript Version:  2.1.5
Code
interface DataSnapshot {
  child(path: string): DataSnapshot;
}

interface Snapshot<T> extends DataSnapshot {
  child<U extends keyof T>(path: U): Snapshot<T[U]>;
}

Expected behavior:
Should compile.
Actual behavior:
Gives error:

Excessive stack depth comparing types 'Snapshot' and 'DataSnapshot'. [2321]

If the definition of DataSnapshot#child is changed to child(path:string): any; , then no error occurs.

@ahejlsberg thoughts?


When we use test_slide to test, but can't get the result like  glasses in Fig. 7.

When we tested with test_slide, we couldn't get the glasses results shown in Figure 7 in your paper.
Can you give some advice?

It can be seen that it is impossible to generate dark glasses

First, I'm not the author of the paper. I'm doing research in face editing so I implemented AttGAN in PyTorch.
To be honest, the model does not perform well on all images. As you can see in my custom results, some faces look not good.
The glasses are not quite visible in your images. My suggestion is that you can try with a larger test value rather than just 1. For example, test with --test_int_max 1.5, you will probably get better glasses. On the other hand, you mentioned that you'd like to generate sunglasses. The pretrained model and the implemented code does not support it because the labels in CelebA are like with glasses / without glasses. This code generates a face with desired attributes, but we are not able to constraint the style of each attribute. If you want to control the style, you have to implement the Mutual Information Maximization as the paper describes. I have no plan to do it so far.

Thank you very much!  Maybe you can look at this work for face editing!
https://github.com/quolc/neural-collage

This work is pretty cool! I'll read it. Thank you for the suggestion!

I hope you can use pytorch to reproduce it, thank you.


Triggered builds with retried steps don't update parent

Scenario:

Build A triggers build B on another pipeline
Build B has one failing job, causes build A to have a failing state
Failing job is retried and passes, causing build B to now have a passing state
Build A remains in a failing state

(Note: The reference to build B on the build A page also does not go into the "in progress" state when the job on build B is being retried)

Ah yes! I've seen this issue before. The trigger step hasn't actually been fully shipped yet, and this is one of the last outstanding issues for it. When we announce it properly we'll make sure to have this problem fix.
Thanks for letting us know! I'll close this issue for now :)


pi1_val vs ssid

In all the tmtc icd docs we reference ssid so I think when you leave IDB module we should use SSID instead or as well.

in FITS file SSID is used


PCI2 needs to load props to the mesh

Discovered CR2 allows embedded prop object in the file, these are used, for example, to load in hair (Judy Casual for example) or other parts. This was causing a crash when loading Maya Dolls because the parser was picking up morph targets for the prop teeth, but the geometry isn't loaded, the morphs are throwing index errors.

Might also be the enhancement to handle alternateGeometry

For example, Vehicles/Skid_Steer_Loader.crz contains:

prop Skid_Steer_Lights:2
        {
        storageOffset 0 0 0
        objFileGeom 0 0 :Runtime:Geometries:EDW:VP:Skid_Steer:Skid_Steer_Lights.obj
        }

I believe "storageOffset" is the X, Y, Z location of the origin of the prop.
Later on in the file there is another prop tab with settings and materials.
I'm not sure if it would be better to load these as their own objects or append them to the base mesh?


Incorrect disk size quoting leads to invalid literal for float()

Got trace while trying to deploy Ceph Nautilus (community 14.2.4) using stable-4.0 branch:
  cmd:
  - ceph-volume
  - --cluster
  - ceph
  - lvm
  - batch
  - --bluestore
  - --yes
  - /dev/sda1
  - --report
  - --format=json
  msg: non-zero return code
  rc: 1
  stderr: |-
    Traceback (most recent call last):
      File "/usr/sbin/ceph-volume", line 9, in <module>
        load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')()
      File "/usr/lib/python2.7/site-packages/ceph_volume/main.py", line 38, in __init__
        self.main(self.argv)
      File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 59, in newfunc
        return f(*a, **kw)
      File "/usr/lib/python2.7/site-packages/ceph_volume/main.py", line 149, in main
        terminal.dispatch(self.mapper, subcommand_args)
      File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, in dispatch
        instance.main()
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/main.py", line 40, in main
        terminal.dispatch(self.mapper, self.argv)
      File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, in dispatch
        instance.main()
      File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 16, in is_root
        return func(*a, **kw)
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/batch.py", line 320, in main
        self._get_strategy()
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/batch.py", line 303, in _get_strategy
        self.strategy = strategy.with_auto_devices(self.args, unused_devices)
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/bluestore.py", line 25, in with_auto_devices
        return cls(args, devices)
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/bluestore.py", line 20, in __init__
        self.validate_compute()
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/strategies.py", line 30, in validate_compute
        self.validate()
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/bluestore.py", line 61, in validate
        self.data_devs, osds_per_device=self.osds_per_device
      File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/validators.py", line 12, in minimum_device_size
        device_size = disk.Size(b=device.lvm_size.b)
      File "/usr/lib/python2.7/site-packages/ceph_volume/util/device.py", line 300, in lvm_size
        lvm_size = disk.Size(gb=size.gb.as_int()) - disk.Size(gb=1)
      File "/usr/lib/python2.7/site-packages/ceph_volume/util/disk.py", line 672, in __getattr__
        return formatter(float(self._b) / factor)
    ValueError: invalid literal for float(): 1.08 TB

Looks like 1.08 TB is parsed as float.

If it's an issue with ceph-volume then you should open an issue on the Ceph tracker [1]
Also why are you using /dev/sda1 ? it should be the raw devices instead like /dev/sda
[1] https://tracker.ceph.com/projects/ceph-volume

Also why are you using /dev/sda1 ? it should be the raw devices instead like /dev/sda

It is a test environment having one disk.


doc: release-notes: Note xtools toolchain variant deprecation

Add a note about the deprecation of the xtools toolchain variant.
(xtools toolchain variant was deprecated in https://github.com/zephyrproject-rtos/zephyr/pull/51334).

@stephanosio not that although this has been assigned to me I don't seem to have merge permissions.

@stephanosio not that although this has been assigned to me I don't seem to have merge permissions.

Only release team members (current and past release managers) are supposed to have merge rights.


Capture video and/or stream

Hi there
Currently I'm doing some testing stuff with vlc.dotnet. In the past i've used vlc directly to do some video streaming plus capturing the shown videostream to harddisk. As far as i've seen its possible to capture a screenshot while playing a video. is it possible to capture a running video to harddisk while watching it?

Could I clarify that i understand your issue.
You said that in the past you have managed to use vlc directly to stream and capture to harddisk.
And your question is I presume trying to determine if it is possible using vlc.dotnet to do the same thing.
Is my assumption correct?
I am new to vlc.dotnet and I am trying to achieve what I presume your are trying to achieve. I have just started my testing and I must admit that the lack of documentation and examples is really frustrating. Maybe we could collaborate to achieve this goal. Let me know if you are interested.

Thats exactly what I inteded to say.
the point is that im new to vlcdotnet AND programming in general thus i may not be able to help alot in this situation :/

Please try opening VLC from command line and play with that option :
--sout="#duplicate{dst=std{access=file,mux=ts,dst='test.avi'},dst=display}"
Once you're satisfied with the result, take the sample code in this repository and add this as an argument. That should do the same.


Release cert-manager 1.16

Preview: https://deploy-preview-1520--cert-manager.netlify.app/
Not to be merged until cert-manager 1.16.0 is released and when all the cert-manager 1.16 release notes have been merged to the release-next branch.
/hold

Merging now.
/approve
/lgtm

/unhold


chromaprint bugs may cause nowplaying to crash

rocessor.cpp:148: virtual void chromaprint::AudioProcessor::Consume(const int16_t*, int): Assertion `length % m_num_channels == 0' failed.
Aborted (core dumped)

See https://github.com/acoustid/chromaprint/issues/90 as to the source of the crash. Until this gets fixed, it may be required to run the acoustid code in a separate process.

fixed by #223


python310Packages.rstcheck: 6.1.1 -> 6.1.2

Diff: https://github.com/rstcheck/rstcheck/compare/refs/tags/v6.1.1...v6.1.2
Changelog: https://github.com/rstcheck/rstcheck/blob/v6.1.2/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 221074 run on x86_64-linux 1

2 packages built:

rstcheck (python310Packages.rstcheck)
python311Packages.rstcheck


Merge pull request #3 from AustinNWUD/utilities_for_schema_changes

Added utility functions to be used to lock and unlock feature services with merged views as needed

Clean up


Correct usage of "associated to"

Setting this as a draft to get feedback as it will change tidbits in many files.
If it is more convenient to do it later, it can wait.

Hi ! This project doesn't usually accept pull requests on the main branch.
If this wasn't intentionnal, you can change the base branch of this PR to devel
(No need to close it for that). Best, a bot.

Let's do it later then ... It will imply more work for 3x.


How to design inline TOC

How to design inline TOC
How can i design a float=left or right DIV

Your question is highly unprecise..


Debian 10 Buster release?

Debian 10 will be released this week, on 6th of July. When will it be available at Scaleway?

Yes when ?

I think it will be announced soon: https://hub.docker.com/r/scaleway/debian/tags


New release?

Hey @nolanlawson, running into the missing inherits when using a modular pouch 5.4 build. Think this could get a release that can be picked up for the next pouchdb?

That's really weird – it looks like that's covered in this line. Do you have steps to reproduce?

Oh shoot yeah, it wasn't published. Crap. OK, will do, but it will also require a new pouchdb release as well.

1.0.1 published

Thanks @nolanlawson


polish login form styling

better styling for LoginPanel.
note: simplest thing to keep authN and session management working properly is to keep it so that the LoginPanel component is always present in the App, so that user loading works no matter what URI a user visits first.  if we wanted to do something with a login modal, we'd want to be sure to load the component in the DOM no matter what and just set display state as needed.
stretch goal.  would want input from @astridu if we get to this.

Will re-open if @astridu feels necessary.


how to visualize the image or the video?

Dear authors, really impressive approach and great results! Thank you for publishing your work.  Could you please offer the code to visualize the image or the video? Thank you in advance!

I have sent you the visualization code via email. Thus, I'll close this issue.

Dear @qianyuzqy , Could you also send me the code for visualisation.

Hi @Sairam13001 ,
I'm sorry for not getting back to you sooner. I have been infected with the Swine Flu virus and feel terrible now.
You could tell me your email address and I will send you the visualization code as soon as possible.

It's okay @qianyuzqy, I figured it out. Thank you so much for your reply. I hope you get well soon. Take care.

Hi @Sairam13001 ,
I'm sorry for not getting back to you sooner. I have been infected with the Swine Flu virus and feel terrible now.
You could tell me your email address and I will send you the visualization code as soon as possible.

Hi, I hope you get better as soon as possible. I would be grateful if you could send it to me as well.
<EMAIL_ADDRESS>

It's okay @qianyuzqy, I figured it out. Thank you so much for your reply. I hope you get well soon. Take care.

Hai, Can you tell me how to visualize the image? I have got the code given by the author, but I got an error in running it.

Hi @fisal-ITS, Do you want to visualise the model predictions?
In TransVoD_lite, as we are setting the number of queries as 100, we get 100 predictions on each image right? Do you want to visualise all these predictions or the prediction with the highest score? Please let me know .

Hi @Sairam13001 thank you for the reply. I need to know the prediction with the highest score only. Actually, i tried to visualize predicted object on image just like fig 10 in the paper. Can you help me out?

In engine_single.py in train_one_epoch:
outputs = model(samples) # outputs is a dictionary containing 'pred_logits', 'pred_boxes', 'aux_outputs'
Below, I am writing a sample code to visualize bboxes with score greater than a threshold (this can be modified as per your requirement):
image =
for i in range(outputs['pred_logits'].shape[0]):      img_id = targets[i]['image_id']      image = read image using cv2 from your data folder using the img_id or image_name (this depends on how you have                     created your json file)      for j in range(outputs['pred_logits'].shape[1]):          if (outputs['pred_logits'][i][j][1] > 0):              bbox = outputs['pred_boxes'][i][j] 	     bbox_xyxy = box_cxcywh_to_xyxy(bbox * torch.tensor([w,h,w,h], dtype=torch.float32).to(device)) 	     start_pt = (int(bbox_xyxy[0]), int(bbox_xyxy[1])) 	     end_pt = (int(bbox_xyxy[2]), int(bbox_xyxy[3])) 	     image = cv2.rectangle(image, start_pt, end_pt, pred_bbox_color, 2)              cv2.imwrite(path_to_save_imgs+img_name, image)
I hope this helps. Let me know if you need more details.

Hi @Sairam13001 , thank you for your reply. I have tried using your way of visualization. But it didn't produce the right result. Can you give us more details ?
Perhaps there is information from my work for additional information needed I will provide it.

I have sent you the visualization code via email. Thus, I'll close this issue.

Hi Could you send the code for me too? or uploading it here?

Dear authors, really impressive approach and great results! Thank you for publishing your work. Could you please offer the code to visualize the image or the video? Thank you in advance!

Can you send me a copy of the visualization code? email<EMAIL_ADDRESS>

I have sent you the visualization code via email. Thus, I'll close this issue.

Can you send me a copy of the visualization code? email<EMAIL_ADDRESS>


feat(mito2): WAL replay

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR adds WAL replay support to mito2.
Checklist

[ ]  I have written the necessary rustdoc comments.
[X]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@evenyag PTAL. I added support for updating last entry id during replay and added test that asserts if last_entry_id and committed_sequence are correct after replay.


1Password is a WebExtension now

The site lists 1Password but doesn't provide any details. The extension has migrated to a WebExtension and ships that version to stable right now, see https://discussions.agilebits.com/discussion/comment/383905/#Comment_383905 and the subsequent comments.

Thanks, updated. Wasn't updated automatically because it wasn't being pulled from AMO.


Doesn't appear to be a way to close a currently playing channel

This is a feature that is being worked on now and will be implemented on version two


Guest Inviter Role has already been shipped

The guest inviter role is already available for Teams. The docs would need to be updated.
Thanks and best regards

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

ID: 2b05e642-c4e5-f1b5-5315-d3ef1690a0cd
Version Independent ID: 01b7e0b5-3e50-3de0-e3e9-aeeeda43da12
Content: Authorize guest access in Microsoft Teams - Microsoft Teams
Content Source: Teams/Teams-dependencies.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@sabrinahota  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @sabrinahota, thank you for your feedback and help us to improve docs.microsoft.com.
This note was updated 1 year ago when the guest inviter role support was added.
Before:
> [!NOTE
> Currently, Teams doesn't support the guest inviter role. At a minimum, the **Members can invite** toggle must be set to **Yes** for guest access to work in Teams.

Now:
> [!IMPORTANT]
> Currently, Teams doesn't support the guest inviter role, so even if you set **Guests can invite** to **Yes**, guests can't invite other guests in Teams.

Could you as a guest invite another guest to a Team?

@SharS maybe you can kindly confirm that guest inviter role is still not supported for guest users. Thanks!

@sabrinahota guest inviter role is supported even for guests, you'll see the update in the article in a couple of days.
@scanum this issue can be closed.

@sabrinahota  Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

Just wanted to quickly thank you for updating it!


Adding Spain holidays

I only added the minimun list obliged by Law a national level in Spain (including two optional [without type "official"]).
I have added three new names to constants file and their english translation. My english is not enough fluid for translate all the names to my language.

Hi @marioquartz,
thanks for the PR, great work!
Just one remark: Three wise men is already available from the ChristianHolidaysTrait as getEpiphany - could you use that instead?
Having English translations only is really enough, but if you're interested, you could also translate only a few of the holidays to Spanish. Just copy the English file to a Spanish one, translate everything you like and remove everything else. Users can then load both English and Spanish files and set English as fallback.

I change Three Wise Men for Epiphany. In Spain the other name is more obscure, but is Ok. Im gonna think about the translation.

Thanks @marioquartz!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_a5ekuxjaiz/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_a5ekuxjaiz/clone/recipe/meta.yaml:30: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found


Devhub: Show PR author in fuzzer table

Show the PR author in the fuzzer table.
(Easier than trying to remember which PR numbers are mine!)

Ingenious!


CentOS Stream release 8 - unsupported distribution

Hello,
I would switch CentOS 8 to Oracle linux newest version. I was download centos2ol.sh script and when i run it i have that comunication:
[root@centos-v3 /]# sudo bash centos2ol.sh Checking for required packages... Checking your distribution... You appear to be running an unsupported distribution. For assistance, please open an issue via GitHub: https://github.com/oracle/centos2ol/.

It sounds like you are running Centos 8 Stream. As explained in the README, this is not a supported distribution.


Updated documentation for working with truffle config

Purpose

The documentation I previously followed seemed slightly out of date, the networking field wasn't displayed and I had to refer to Truffle documentation to proceed.
Does this introduce a breaking change?

[ ] Yes
[x ] No

Pull Request Type
What kind of change does this Pull Request introduce?
Updated content for working with truffle on the current most recent version

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ x] Documentation content changes
[ ] Other... Please describe:

The devkit samples have been moved to another repo


Operation of time slider handle

Bug description
When the handle of the time slider is dragged to a new position, the user cannot drag it on to a further position without letting the handle go and then re-grabbing it.
Steps to reproduce

Paste this JSON into the tool and click 'Draw'.
Click and hold down your mouse/pointing device to grab the time slider handle.
Drag the slider handle one step to the left, and maintain the grab action on the handle (keeping mouse button or equivalent pressed).
Try to drag the handle one more step to the left. (You won't be able to.)
To drag the handle one more step to the left, release the handle and grab it again before moving it.

Expected behaviour
Ideally the user would be able to drag the handle through multiple points on the time slider with a down-click -> move --> release action on their pointing device. (The diagram refreshing along the way.)
If this is too challenging to implement then some indication that the slider handle is no long under control would help the user.

@codemacabre - how much work would it be to address this?

@kd-ods I don't think it'd be too tricky. I think it's probably a case of adjusting the focus to remain on the slider during mouse events.

Thanks, Myles. I'll add it to the backlog.

Ah - you did that already! Thanks :-)


Do not set Coding.display from hl7 CWE.2 text

Describe the bug
Coding.display should not be set from CWE.2
To Reproduce"
AL1|1|DA|00000741^OXYCODONE||HYPOTENSION
should result in
"code": {
	"coding": [
		{
			"code": "00000741"
		}
	],
	"text": "OXYCODONE"
},

not
"code": {
	"coding": [
		{
			"code": "00000741"
			"display": "OXYCODONE"
		}
	],
	"text": "OXYCODONE"
},

Expected behavior
In FHIR, coding.display needs to match coding.code, and should come from the coding system, not the text from the HL7 message.  The text from the HL7 message (CWE.2) should be put in FHIR's CodeableConcept.text

In Release 1.0.9


Large User Testcase

closes #105

I want someone to pick this back up and refactor some of the code. I think this is close to done. The test case works right now but does not validate a magic sync worked with random data set for a variety of users.
TODO

Generate random data for m users and then set them for each users
Complete a magic_sync with some priority and validate that it actually works in the intended way
Remove binaries from tests that we don't intend to use
Maybe merge the decompile_angr into a single test file, since it's only one function. That or we should just make a new file called utils or common like angr-management tests does in their repo

I'll work on this.

I'll work on this.

You are the GOAT!

I'll get this done next week for sure!

@Atipriya that would be epic! But also there is probably a more pressing feature for BinSync that involves a certain research project you've done that you should ping me about next week :)


day view on mobile device throws events off the day if they have the same times

i have 2 events with the same time.  on a mobile phone on day view, it displays the first event correctly.  the second is far below where it should be.  it pushes every other event lower too.  so low in fact that they are off the time scale.  ideas?

+1

I am facing the same issue also, please leme know if there is a solution to this.
<EMAIL_ADDRESS>

I am experiencing the same issue. I have pulled daily events from five different google calendars and displayed them all, and when events overlap with each over (more than 4, which fits on my screen) they display off the page, somewhere at the bottom. With my limited knowledge, it seems that they have the correct margin from the top, they just don't overlap, and kick to a new row. I am banging my head against a wall, trying to reverse engineer the code, to display in a more scale-able format, so there isn't as much wasted space, but It is getting too complicated for my knowledge.

The issue is the max-width property.  max-width keeps the text from stretching the block further, but we need the width to change based on the screen size.  However, it would still need a min-width and break down once there were very large numbers of event blocks at the same time.

I have solved my issue by, (not the best solution, but it works for me) creating an array that keeps track of columns. By setting the #cal-day-box .day-event position to absolute, all of my events line up correctly, but overlap with each other. When processing each event, the event currently being parsed will loop through the columns array, checking if the start time is greater than the currently value. If it is, it replaces that element of the array with the end time. If it does not, it will search the rest of the columns array, to see if it can find a place to sit. If it cannot find a position to replace, it will push to the end of the array, making a new column. The index for the column that an event resides in, is multiplied by 200 (fixed width for each day event size) and it offsets each event nicely. Obviously this code has the potential to cause holes that could be filled with other events depending on order and start and end time, but it prevents events from being relative to each other, and not formatting correctly. In addition, I made the events scroll horizontally, so I would not run into this issue of # of events conflicting with screen size.

hi Dot1q, can you post the event code that you used? i do think this is the best solotion at the moment

sjaakmarelis,
I could post that code, but it was a heavily modified version of this project, designed to pull gcal events via javascript API. Because it did a bulk pull, it handled the _loadEvents function differently and is not compatible with the original branch. However, between the time you commented and now, I have found another alternative, as my company is moving away from Google calendar, towards a php mysql driven solution. This required me to revert pretty much back to the original code (with some minor UI tweaks). Here is a result.

As for the code, I have slightly more modified version of this. This code was found on stack overflow and is not mine in any way. What I did do was crudely modify it to work for me.
If my memory recalls right, I only had to edit the day.html file. Below is my modified version. It is really messy, as I have only gotten a working example going as of right now, and I haven't had time to clean it up yet.
code at pastebin, because the preview looked bad
I am hoping that will work for you. My modified code should be only a few tweaks to calendar.js and apps.js and I trimmed/added some features. If that doesn't work, let me know and I can try to recreate it from a fresh clone!


TypeError: Cannot read property 'apply' of undefined

I tried to build my project with ng build
but I get this error:
`95% emittingX:\NewClalWeb\base-project\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:70
callback.apply(null, data);
^
TypeError: Cannot read property 'apply' of undefined
at X:\NewClalWeb\base-project\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:70:14

at _combinedTickCallback (internal/process/next_tick.js:131:7)

at process._tickCallback (internal/process/next_tick.js:180:9)`

I show a suggest to change angular cli version in package.json
but it still throw this error...
I tried a few trying of version (my version is @angular/cli: "1.6.8" )
Any help?!

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


feat(jsonschema-form): address field

Pull Request Test Coverage Report for Build 125849498

19 of 38 (50.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 70.071%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/jsonschema-form/src/components/AddressField.js
14
33
42.42%

Totals

Change from base Build 124792511:
-0.2%

Covered Lines:
1331

Relevant Lines:
1697

💛  - Coveralls


How to use an existing buffer

Hi, I have used your app to listen to some radios and works great. Now I have developed a small app that provides a buffer in a loop with some aac audio data in chunks of about 1600 bytes coming from an decoded HLS stream. The buffer has this format:  uint8 * data.
I can play the data using Adafruit VS1053 library with this code
if(vs_player.readyForData())
vs_player.playData(data,read);
but the sound is hashed and sometimes some bits are skipped.
I thought that using a circular buffer like esp32 Stream vs1053 might be better but I don't see how to feed the data to the stream.
I see that the main function stream.connectTohost is used to create a stream from a website, how can I instead feed by data buffer to the stream and get it played from vs1053?
Thanks for your help.

Hi lidense.

how can I instead feed by data buffer to the stream and get it played from vs1053?

Not that easy I think. This library is intended purely as a (internet) stream client.
All internal functions depend on a WiFiClient pointer to function.
Something like you suggest would require a separate codepath in the loop to function.
And probably several helper functions.

If that is all your app is doing then you could maybe use just the VS1053 library and use the
VS1053 playChunk() function.
It says that the function blocks, but that is only true if you dont use data_request() as a good to go signal.
This library uses playChunk() exactly in that way.
While data_request() is true, send 32 bytes until data is gone.
https://github.com/CelliesProjects/ESP32_VS1053_Stream/blob/master/src/ESP32_VS1053_Stream.cpp#L584-L596
If you dont mind blocking use it to send the whole buffer:
void playChunk(uint8_t *data, size_t len);

OK thanks for your answer, I will try.
Regards
Dave
----- Mail original -----
De: "Cellie" @.>
À: "CelliesProjects/ESP32_VS1053_Stream" @.>
Cc: "lidense" @.>, "Author" @.>
Envoyé: Jeudi 14 Décembre 2023 16:24:57
Objet: Re: [CelliesProjects/ESP32_VS1053_Stream] How to use an existing buffer (Issue #22)
If that is all your app is doing then you could maybe use just the VS1053 library and use the
VS1053 playChunk() function.
It says that the function blocks, but that is only true if you dont use data_request() as a good to go signal.
This library uses playChunk() exactly in that way.
While data_request() is true, send 32 bytes until data is gone.
https://github.com/CelliesProjects/ESP32_VS1053_Stream/blob/master/src/ESP32_VS1053_Stream.cpp#L584-L596
If you dont mind blocking use it to send the whole buffer:
void playChunk(uint8_t *data, size_t len);
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you authored the thread. Message ID: <CelliesProjects/ESP32_VS1053_Stream/issues/22/1856052665 @ github . com>


How about a doc for keras model in general? e.g. model.summary()

https://keras.io/models/about-keras-models/
This page seems manually created rather than collected from the source file. Maybe we could add a bit more on this page? E.g.,
print_summary(model, line_length=None, positions=None, print_fn=print):

The arguments can be explained along with summary().

The print_summary() method is part of the Keras utilities (see layer_utils.py), so it would be expected to be documented on the utils documentation page page, and not the Keras models page.
However, it is not included on that page because it is not imported in the utils/init.py. This only imports select utilities. These are the ones that are documented on the utils documentation page (see, for example, convert_all_kernels_in_model() on the documentation page, which is imported on line 20 of utils/init.py).
If it were, the arguments would be extracted automatically from the Python docstrings, as they are for convert_all_kernels_in_model().

This means your question is really why print_summary() is not included in utils/__init__.py - and I don't know the answer to that question.

print_summary() is, yes, layer utils, but I guess what people use more frequently is model.summary() and that's what I wanted to say.

the model.summary() method is defined in keras/engine/topology.py, line 2689, also not included in the documentation. The model.summary() documentation is included in about-keras-models.md in the documentation, which is not automatically generated and does not include any information about its parameters or arguments.

Exactly.


Services should be re-discovered once onServiceChanged is called

In API 31, onServiceChanged was added to BluetoothGattCallback, which Kable currently does not override and handle.
When this callback is called, Kable needs to rediscover services and turn on notifications/indications again. I am currently experiencing an issue where none of the previously set observers work as Android silently clears up all of the existing notification/indication registrations when this occurs - see L1141 in bta_gattc_act.cc.
I'm not sure if rediscovering services and re-enabling notifications/indications is sufficient in this scenario for everything to work properly, but I can confirm that manually calling BluetoothGatt#setCharacteristicNotification fixes my issue.
As for reproducing the issue, it should occur when the server changes one (or more) of its services while you're already connected to it and subscribed to some characteristics.

Thanks for reporting this! I'll try to find time soon to work on it.
The device you're experiencing this issue with, and testing with, does it happen to be a publicly available device? As I don't believe any of the devices I currently have perform a peripheral since service change that would trigger this.
If there isn't a publicly available device to test against, I'll probably end up just calling setNotification as you suggested.

Unfortunately, I am not using a publicly available device. It's probably possible to mock such behaviour on Android, but I haven't had the time to try.
BTW, I think calling BluetoothGatt#discoverServices also needs to happen; it's not relevant in my scenario since all of the services and characteristics I was subscribed to are still there, but I think that someone else could run into issues there.


Make Flow installation easy

Let us make the flow installation, as easy as other famous python packages (e.g. TensorFlow, or PyTorch) with as few commands as possible (e.g. pip install flow)

I am using macos 10.14.5 (Mojava) and as of now running scripts/setup_sumo_osx.sh installs SUMO 1.1 which is as far as I can tell is not compatible with flow:
gsavarela@macbook ~/W/p/flow> vim scripts/setup_sumo_osx.sh gsavarela@macbook ~/W/p/flow> which sumo /Users/gsavarela/sumo_binaries/bin/sumo gsavarela@macbook ~/W/p/flow> rm -rfd /Users/gsavarela/sumo_binaries/ gsavarela@macbook ~/W/p/flow> scripts/setup_sumo_osx.sh Installing system dependencies for SUMO Warning: swig 4.0.0 is already installed and up-to-date To reinstall 4.0.0, run brew reinstall swigWarning: sdl 1.2.15_1 is already installed and up-to-date To reinstall 1.2.15_1, runbrew reinstall sdlWarning: sdl_image 1.2.12_7 is already installed and up-to-date To reinstall 1.2.12_7, runbrew reinstall sdl_imageWarning: sdl_mixer 1.2.12_3 is already installed and up-to-date To reinstall 1.2.12_3, runbrew reinstall sdl_mixerWarning: sdl_ttf 2.0.11_1 is already installed and up-to-date To reinstall 2.0.11_1, runbrew reinstall sdl_ttfWarning: portmidi 217_2 is already installed and up-to-date To reinstall 217_2, runbrew reinstall portmidi`
==> brew cask install Caskroom/cask/xquartz
Warning: Cask 'xquartz' is already installed.
To re-install xquartz, run:
brew cask reinstall xquartz
Warning: autoconf 2.69 is already installed and up-to-date
To reinstall 2.69, run brew reinstall autoconf
Warning: automake 1.16.1_1 is already installed and up-to-date
To reinstall 1.16.1_1, run brew reinstall automake
Warning: pkg-config 0.29.2 is already installed and up-to-date
To reinstall 0.29.2, run brew reinstall pkg-config
Warning: libtool 2.4.6_1 is already installed and up-to-date
To reinstall 2.4.6_1, run brew reinstall libtool
Warning: gdal 2.4.1_1 is already installed and up-to-date
To reinstall 2.4.1_1, run brew reinstall gdal
Warning: proj 6.1.0 is already installed and up-to-date
To reinstall 6.1.0, run brew reinstall proj
Warning: xerces-c 3.2.2 is already installed and up-to-date
To reinstall 3.2.2, run brew reinstall xerces-c
Warning: fox 1.6.56_1 is already installed and up-to-date
To reinstall 1.6.56_1, run brew reinstall fox
Installing sumo binaries
~/sumo_binaries/bin ~/Work/py/flow
--2019-07-09 09:11:06--  https://akreidieh.s3.amazonaws.com/sumo/flow-0.3.1/binaries-mac.tar.xz
Resolving akreidieh.s3.amazonaws.com (akreidieh.s3.amazonaws.com)... <IP_ADDRESS>
Connecting to akreidieh.s3.amazonaws.com (akreidieh.s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6065016 (5.8M) [application/x-xz]
Saving to: ‘binaries-mac.tar.xz’
binaries-mac.tar.xz                                                 100%[===================================================================================================================================================================>]   5.78M  1.66MB/s    in 3.5s
2019-07-09 09:11:11 (1.66 MB/s) - ‘binaries-mac.tar.xz’ saved [6065016/6065016]
~/Work/py/flow
Add the following to your ~/.bashrc:
export SUMO_HOME="$HOME/sumo_binaries/bin"
export PATH="$SUMO_HOME:$PATH"
gsavarela@macbook ~/W/p/flow> which sumo
/Users/gsavarela/sumo_binaries/bin/sumo
gsavarela@macbook ~/W/p/flow> sumo --version
Eclipse SUMO Version 1.1.0
Build features: x86_64-apple-darwin18.6.0 GDAL GUI Python
Copyright (C) 2001-2018 German Aerospace Center (DLR) and others; http://sumo.dlr.de
Eclipse SUMO Version 1.1.0 is part of SUMO.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
gsavarela@macbook ~/W/p/flow>`

this is a duplication of #192, so closing


Error on compiling go source with CGO_ENABLED=1

What version of Go are you using (go version)?
Go 1.8.3 (but 1.9 exhibits same behavior).
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
I'm compili go source code inside buildroot on host machine X86_64 versus a target architecture ARM.
What did you do?
I compile go with this command:
cd /media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/src && GOROOT_BOOTSTRAP=/media/angelo/WD/data/BUILDROOT/br_qemu_arm/host/lib/go-1.4.3 GOROOT_FINAL=/media/angelo/WD/data/BUILDROOT/br_qemu_arm/host/lib/go GOROOT="/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3" GOBIN="/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/bin" GOARCH=arm GOARM=5 GOOS=linux CGO_ENABLED=1 CC=/usr/bin/gcc CC_FOR_TARGET=/usr/bin/gcc CXX_FOR_TARGET=/usr/bin/gcc ./make.bash
What did you expect to see?
The go executable and companion software compiled correctly.
What did you see instead?
[...]
##### Building packages and commands for linux/arm.
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
unicode
unicode/utf8
math
container/list
container/ring
crypto/subtle
crypto/internal/cipherhw
internal/nettrace
runtime/cgo
vendor/golang_org/x/crypto/curve25519
encoding
sync
unicode/utf16
# runtime/cgo
gcc: error: unrecognized command line option '-marm'
image/color
vendor/golang_org/x/crypto/poly1305
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
runtime/race
cmd/compile/internal/test
cmd/vet/internal/whitelist
syscall
io
internal/singleflight
image/color/palette
hash
crypto/cipher
runtime/trace
bytes
strings
hash/adler32
hash/crc32
crypto/hmac
hash/crc64
hash/fnv
strconv
math/rand
math/cmplx
bufio
text/tabwriter
vendor/golang_org/x/text/transform
path
html
reflect
crypto
crypto/aes
crypto/rc4
encoding/base64
encoding/ascii85
encoding/base32
crypto/sha512
crypto/md5
crypto/sha1
crypto/sha256
image
internal/syscall/unix
time
image/internal/imageutil
image/draw
image/jpeg
os
os/signal
fmt
encoding/binary
sort
regexp/syntax
path/filepath
compress/bzip2
container/heap
encoding/pem
runtime/debug
cmd/internal/sys
crypto/des
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
vendor/golang_org/x/crypto/chacha20poly1305
io/ioutil
cmd/internal/dwarf
flag
log
debug/dwarf
compress/flate
debug/gosym
debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp
cmd/internal/obj
archive/tar
compress/zlib
archive/zip
compress/gzip
compress/lzw
context
math/big
debug/elf
debug/macho
debug/pe
encoding/hex
database/sql/driver
encoding/csv
encoding/gob
cmd/internal/goobj
encoding/json
encoding/xml
database/sql
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/idna
vendor/golang_org/x/text/unicode/norm
cmd/internal/objfile
vendor/golang_org/x/text/width
crypto/dsa
crypto/elliptic
encoding/asn1
cmd/addr2line
crypto/rand
mime
mime/quotedprintable
crypto/rsa
crypto/ecdsa
crypto/x509/pkix
net/http/internal
net/url
go/token
text/template/parse
os/exec
text/scanner
image/gif
go/scanner
go/constant
image/png
index/suffixarray
internal/pprof/profile
testing
internal/trace
go/ast
net/internal/socktest
testing/iotest
testing/quick
text/template
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
internal/testenv
cmd/internal/obj/s390x
go/parser
go/printer
runtime/pprof/internal/protopprof
cmd/internal/obj/x86
runtime/pprof
go/doc
html/template
testing/internal/testdeps
cmd/asm/internal/flags
go/types
cmd/asm/internal/lex
go/format
cmd/internal/bio
go/build
cmd/cgo
cmd/compile/internal/syntax
cmd/internal/gcprog
cmd/internal/browser
cmd/dist
cmd/fix
cmd/gofmt
cmd/asm/internal/arch
cmd/compile/internal/ssa
cmd/asm/internal/asm
cmd/cover
cmd/doc
cmd/link/internal/ld
cmd/asm
cmd/nm
cmd/objdump
cmd/pack
cmd/pprof/internal/plugin
go/internal/gccgoimporter
go/internal/gcimporter
cmd/api
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/tempfile
cmd/pprof/internal/symbolizer
go/importer
cmd/pprof/internal/symbolz
cmd/vet/internal/cfg
cmd/vet
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/amd64
cmd/link/internal/mips
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/link
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile
package/pkg-generic.mk:234: recipe for target '/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/.stamp_built' failed
make[1]: *** [/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/.stamp_built] Error 2

There's an error somewhere, but I cannot find it simply looking at the build output. Can you provide some advice to debug this problem and eventually helping to fix it and submit (if submittable)?
Thanks!

You cannot build a cross compiling toolchain like that. To a first approximation change GOOS and/or GOARCH and forcing CGO_ENABLED=1 are mutually exclusive.
What is the problem you are trying to solve?

On 3 Oct 2017, at 21:39, Angelo Compagnucci<EMAIL_ADDRESS>wrote:
What version of Go are you using (go version)?
Go 1.8.3 (but 1.9 exhibits same behavior).
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
I'm compili go source code inside buildroot on host machine X86_64 versus a target architecture ARM.
What did you do?
I compile go with this command:
cd /media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/src && GOROOT_BOOTSTRAP=/media/angelo/WD/data/BUILDROOT/br_qemu_arm/host/lib/go-1.4.3 GOROOT_FINAL=/media/angelo/WD/data/BUILDROOT/br_qemu_arm/host/lib/go GOROOT="/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3" GOBIN="/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/bin" GOARCH=arm GOARM=5 GOOS=linux CGO_ENABLED=1 CC=/usr/bin/gcc CC_FOR_TARGET=/usr/bin/gcc CXX_FOR_TARGET=/usr/bin/gcc ./make.bash
What did you expect to see?
The go executable and companion software compiled correctly.
What did you see instead?
Building packages and commands for linux/arm.
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
unicode
unicode/utf8
math
container/list
container/ring
crypto/subtle
crypto/internal/cipherhw
internal/nettrace
runtime/cgo
vendor/golang_org/x/crypto/curve25519
encoding
sync
unicode/utf16
runtime/cgo
gcc: error: unrecognized command line option '-marm'
image/color
vendor/golang_org/x/crypto/poly1305
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
runtime/race
cmd/compile/internal/test
cmd/vet/internal/whitelist
syscall
io
internal/singleflight
image/color/palette
hash
crypto/cipher
runtime/trace
bytes
strings
hash/adler32
hash/crc32
crypto/hmac
hash/crc64
hash/fnv
strconv
math/rand
math/cmplx
bufio
text/tabwriter
vendor/golang_org/x/text/transform
path
html
reflect
crypto
crypto/aes
crypto/rc4
encoding/base64
encoding/ascii85
encoding/base32
crypto/sha512
crypto/md5
crypto/sha1
crypto/sha256
image
internal/syscall/unix
time
image/internal/imageutil
image/draw
image/jpeg
os
os/signal
fmt
encoding/binary
sort
regexp/syntax
path/filepath
compress/bzip2
container/heap
encoding/pem
runtime/debug
cmd/internal/sys
crypto/des
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
vendor/golang_org/x/crypto/chacha20poly1305
io/ioutil
cmd/internal/dwarf
flag
log
debug/dwarf
compress/flate
debug/gosym
debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp
cmd/internal/obj
archive/tar
compress/zlib
archive/zip
compress/gzip
compress/lzw
context
math/big
debug/elf
debug/macho
debug/pe
encoding/hex
database/sql/driver
encoding/csv
encoding/gob
cmd/internal/goobj
encoding/json
encoding/xml
database/sql
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/idna
vendor/golang_org/x/text/unicode/norm
cmd/internal/objfile
vendor/golang_org/x/text/width
crypto/dsa
crypto/elliptic
encoding/asn1
cmd/addr2line
crypto/rand
mime
mime/quotedprintable
crypto/rsa
crypto/ecdsa
crypto/x509/pkix
net/http/internal
net/url
go/token
text/template/parse
os/exec
text/scanner
image/gif
go/scanner
go/constant
image/png
index/suffixarray
internal/pprof/profile
testing
internal/trace
go/ast
net/internal/socktest
testing/iotest
testing/quick
text/template
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
internal/testenv
cmd/internal/obj/s390x
go/parser
go/printer
runtime/pprof/internal/protopprof
cmd/internal/obj/x86
runtime/pprof
go/doc
html/template
testing/internal/testdeps
cmd/asm/internal/flags
go/types
cmd/asm/internal/lex
go/format
cmd/internal/bio
go/build
cmd/cgo
cmd/compile/internal/syntax
cmd/internal/gcprog
cmd/internal/browser
cmd/dist
cmd/fix
cmd/gofmt
cmd/asm/internal/arch
cmd/compile/internal/ssa
cmd/asm/internal/asm
cmd/cover
cmd/doc
cmd/link/internal/ld
cmd/asm
cmd/nm
cmd/objdump
cmd/pack
cmd/pprof/internal/plugin
go/internal/gccgoimporter
go/internal/gcimporter
cmd/api
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/tempfile
cmd/pprof/internal/symbolizer
go/importer
cmd/pprof/internal/symbolz
cmd/vet/internal/cfg
cmd/vet
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/amd64
cmd/link/internal/mips
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/link
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile
package/pkg-generic.mk:234: recipe for target '/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/.stamp_built' failed
make[1]: *** [/media/angelo/WD/data/BUILDROOT/br_qemu_arm/build/host-go-1.8.3/.stamp_built] Error 2
There's an error somewhere, but I cannot find it simply looking at the build output. Can you provide some advice to debug this problem and eventually helping to fix it and submit (if submittable)?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for the reply @davecheney .
In buildroot we have the need to build packages for a target architecture that can be different from the host one. So we are trying to compile a go compiler that will produce go binaries for the target architecture.
I actually had a suspect something was not working like expected when I had the error "no buildable Go source files in ..." and I noticed that the go files were all files whit embedded C and in need of cgo.
So I thought that something was wrong with the compilation of the go binary and tools and noticed that CGO_ENABLED was set to 0.
So in the end, to crosscompile a package with embedded C I should use CGO for the target architecture or am I wrong?

In order to build a Go cross-compiler with cgo enabled, you need to provide C cross-compilers to your target.  You set CC_FOR_TARGET to /usr/bin/gcc, but that is very unlikely to be a cross-compiler.  You need a compiler that runs on your x86_64 host and generates code for ARM.
Closing this issue because I don't see anything to fix in Go.  For further questions please use a forum; see https://golang.org/wiki/Questions.  Thanks.


Remove contributors automation

This is already out of date, we clearly are not updating it.  OTOH, the GitHub "contributors"
sidebar has improved to the point where it provides a better alternative, with no maintenance
required.

Codecov Report

Merging #1109 (f5a7fae) into master (9c58b54) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1109   +/-   ##
=======================================
  Coverage   47.03%   47.03%
=======================================
  Files         174      174
  Lines       13997    13997
=======================================
  Hits         6584     6584
- Misses       6563     6564    +1
+ Partials      850      849    -1

Impacted Files
Coverage Δ

pyramid/tier_fs.go
59.73% <0.00%> (-2.69%)
:arrow_down:

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (+3.70%)
:arrow_up:

catalog/mvcc/cataloger_create_entry.go
100.00% <0.00%> (+5.26%)
: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 9c58b54...f5a7fae. Read the comment docs.

Thanks!  Pulling...


Missing Funding Docs links for Events & Infrastructure portals

Affected Portal:
Events, Infrastructure
Description:
Currently under categories, we have this help text: Need guidance? See Funding Docs.
Right now, for DevHub, we link correctly to the funding guidelines. But we're missing this page for Infrastructure & Events.
User Type:
Specify: All Users
Reproduction Steps

Create a new proposal
Try clicking on "Funding Docs" link under Categories
See wrong doc ....

Expected behavior
Need to update these docs with the appropriate content. Maria is working on the copy for Events. Trentin is working on the copy for Infrastructure.
Priority
High (P1) – Unexpected error or behavior
Environment Details
Not applicable

You can assign to me. I will add to my task list. This is not complete yet.

Thank you @trechriron, added you.

Repurposing this ticket just for the Events Committee. Updated the acceptance criteria and it's ready to be picked up.
@trechriron FYI – the Infra Committee Guidelines currently points to this page, which was last updated in June:
https://github.com/near/Infrastructure-Working-Group/wiki/Funding-Process-‐-Company
Let me know if we need to update this page, and if so – please feel free to create a new GitHub ticket to track it.


在选项中点击导出数据后提示报错Error invoking remote method 'EXPORT_UIGF_JSON': TypeError: Cannot read properties of undefined (reading 'has')

I have the same error. It does not matter if "readable" is checked or unchecked:

The error occurs atleast for Versions v0.10.1, v.0.10.2 and v0.11.4. I did not test v0.11.2 and v0.11.3.
Reverting back to v0.10.0 solves the problem and json export works without problems again.

我这边新版本0.11.4倒是可以用了，真是奇怪啊

Both Versions v0.11.5 and v0.11.6 seem to have fixed the json export for me. I successfully exported my wishes with both versions as xlsx (always worked) and json. And both checking and unchecking readable worked.


add protected method to allow injection of cert by overriding

fixes #1628

Pull Request Test Coverage Report for Build 109965

2 of 9 (22.22%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.07%) to 83.837%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder/src/botFrameworkHttpClient.ts
2
9
22.22%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-streaming/src/webSocket/webSocketTransport.ts
2
80.65%

libraries/botframework-streaming/src/webSocket/webSocketServer.ts
7
66.67%

Totals

Change from base Build 109838:
-0.07%

Covered Lines:
9219

Relevant Lines:
10597

💛  - Coveralls


Which language code standard do we use?

I have been looking for a while which language code standard we use. I assume that we use ISO 639-1?
I hope that I don't waste anyone their time by asking this but I couldn't find it in the documentation.

To a further extent, I'm also wondering which Alphabet code we are using? (from the example: ru-Cyrl)

Which element are you asking about? StringWithOptionalLang,MultilineStringWithOptionalLang and HTTPWithOptionalLang are explained here: https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd. All of them refer to xs:language type.

Lennert, is this clear now or do you expect further explanations?

There was an idea to require ISO 639-1 (see this issue), but it was rejected (the same issue). As I remember, we don't specify anything more than the tag documentation.
Actually, in our implementation we also send ISO 639-1 codes (without any extensions) and when receiving, we compare the beginning of the answer with ISO 639-1. I think that for practical use it is enough.

Okay this is clear for me, thanks for the responses :)