bugfix: fix flakiness in TestFullReconstructFromLights

The main root cause was in timeout duration.
Discovery takes 7-10 seconds.
 reconstruct_test.go:160: discovery done after: 7.190291886
Syncing blocks ~15
sync/sync.go:197	finished syncing	{"from": 19, "to": 58, "elapsed time": 15.208134365}
So, sometimes the 30 Seconds timeout was not enough to discover full node, sync headers and reconstruct 20 headers.
   reconstruct_test.go:181: fill blocks finished
   reconstruct_test.go:170: retreiving header with height 1
   reconstruct_test.go:174: retreiving header with height 1 finished in 0.000001
   reconstruct_test.go:170: retreiving header with height 2
   reconstruct_test.go:174: retreiving header with height 2 finished in 0.000000
   reconstruct_test.go:170: retreiving header with height 3
   reconstruct_test.go:170: retreiving header with height 4
   reconstruct_test.go:170: retreiving header with height 5
   reconstruct_test.go:170: retreiving header with height 6
   reconstruct_test.go:170: retreiving header with height 7
   reconstruct_test.go:170: retreiving header with height 8
   reconstruct_test.go:170: retreiving header with height 9
   reconstruct_test.go:170: retreiving header with height 10
   reconstruct_test.go:170: retreiving header with height 11
   reconstruct_test.go:170: retreiving header with height 12
   reconstruct_test.go:174: retreiving header with height 3 finished in 6.850856
   reconstruct_test.go:174: retreiving header with height 11 finished in 7.600257
   reconstruct_test.go:170: retreiving header with height 13
   reconstruct_test.go:174: retreiving header with height 5 finished in 11.732598
   reconstruct_test.go:174: retreiving header with height 8 finished in 11.904563
   reconstruct_test.go:170: retreiving header with height 14
   reconstruct_test.go:174: retreiving header with height 14 finished in 0.000004
   reconstruct_test.go:174: retreiving header with height 7 finished in 13.274618
   reconstruct_test.go:170: retreiving header with height 15
   reconstruct_test.go:174: retreiving header with height 15 finished in 0.000004
   reconstruct_test.go:170: retreiving header with height 16
   reconstruct_test.go:174: retreiving header with height 16 finished in 0.000005
   reconstruct_test.go:174: retreiving header with height 12 finished in 11.199466
   reconstruct_test.go:174: retreiving header with height 10 finished in 16.013471
   reconstruct_test.go:170: retreiving header with height 17
   reconstruct_test.go:174: retreiving header with height 17 finished in 0.000004
   reconstruct_test.go:174: retreiving header with height 6 finished in 16.747109
   reconstruct_test.go:174: retreiving header with height 4 finished in 16.903462
   reconstruct_test.go:174: retreiving header with height 9 finished in 17.053828
   reconstruct_test.go:174: retreiving header with height 13 finished in 6.086634
   reconstruct_test.go:170: retreiving header with height 18
   reconstruct_test.go:174: retreiving header with height 18 finished in 0.000004

Codecov Report

Merging #1171 (9d2b42c) into main (cec6a2d) will decrease coverage by 0.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1171      +/-   ##
==========================================
- Coverage   60.83%   60.40%   -0.43%
==========================================
  Files         158      161       +3
  Lines        9623     9746     +123
==========================================
+ Hits         5854     5887      +33
- Misses       3238     3325      +87
- Partials      531      534       +3

Impacted Files
Coverage Δ

header/interface.go
100.00% <100.00%> (ø)

header/sync/sync_head.go
81.66% <100.00%> (+0.63%)
:arrow_up:

header/verify.go
83.33% <100.00%> (+1.11%)
:arrow_up:

ipld/nmt_adder.go
68.00% <0.00%> (-24.00%)
:arrow_down:

das/worker.go
92.98% <0.00%> (-7.02%)
:arrow_down:

header/core/exchange.go
77.77% <0.00%> (-5.56%)
:arrow_down:

core/fetcher.go
57.14% <0.00%> (-5.36%)
:arrow_down:

nodebuilder/settings.go
40.00% <0.00%> (-4.45%)
:arrow_down:

ipld/retriever.go
91.97% <0.00%> (-1.61%)
:arrow_down:

nodebuilder/fraud/module.go
85.71% <0.00%> (ø)

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


LICENSE file missing

README.md has a "License: MIT" badge, but links to a non-existent LICENSE file, and there are no other mentions of the license.  To add greater clarity for users, an explicit LICENSE file should be added.

Fixed, thanks :)


Create .gitignore file

Ignore common files like __pycache__, Mac's .DS_Store, and files generated when using the solution in the default directory.

Complete


Describe how CoC committee gets updated

A lightweight process to adding new members.

I propose that it be a volunteer candidate be a simple présentation in solid team with a vote at next or current meeting without the candidate be present at the vote.

I'll try to elaborate:
Are you suggesting that the candidate is invited to a part of a Solid Team meeting where they can present themselves in which their identity is not disclosed in the minutes (in case there is an objection); candidate leaves the meeting; Solid Team discusses; and if no objections, candidate (or Solid Team) follows-up with a PR?
Also want to note that (based on previous discussion IIRC [citation needed]), membership in CoCC doesn't entail/require membership in Solid Team and vice versa. That's how we approached it at least in the past. IIRC, this was partly so that CoCC can operate independently as a neutral party.

Yes.
But the presentation can be in person or via a kind of curriculum vitae in
relation to the CoCC membership .
Ok to not disclose the name in the minutes in case of rebuffal
Le ven. 20 oct. 2023, 10:00, Sarven Capadisli @.***> a
écrit :

I'll try to elaborate:
Are you suggesting that the candidate is invited to a part of a Solid Team
meeting where they can present themselves in which their identity is not
disclosed in the minutes (in case there is an objection); candidate leaves
the meeting; Solid Team discusses; and if no objections, candidate (or
Solid Team) follows-up with a PR?
Also want to note that (based on previous discussion IIRC [citation
needed]), membership in CoCC doesn't entail/require membership in Solid
Team and vice versa. That's how we approached it at least in the past.
IIRC, this was partly so that CoCC can operate independently as a neutral
party.
—
Reply to this email directly, view it on GitHub
https://github.com/solid/process/issues/330#issuecomment-1772264920, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ5TZW4CT2UDMQ4UYVSCB3YAIVQBAVCNFSM6AAAAAA6HRVNFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSGI3DIOJSGA
.
You are receiving this because you commented.Message ID:
@.***>

Considering the context, it may be appropriate to ensure that CoCC operates independently. It needs to have equal representation as possible without being elected or represented by anyone/entity in particular.
People will get accepted unless there are objections. Objections could be based on the person themselves or other concerns. Such as: we have enough people for the tasks already, etc.
CoCC would be the appropriate team to propose/process candidates. If CoCC approves a candidate internally, the remainder of the process should be in public where they PR themselves to be added to the CoCC, which would give the wider community a chance to respond as well - serving as a double check or catch any oversight.

Its OK for me


Add Position information to the BLangNodes of the BLangNodeTransformer

Purpose

Add Positions information to the BLangNodes

Fixes #22969 - Add Positions information to the BLangNodes
Fixes #22968 - Write Unit Tests for the BLangNodeTransformer
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing in-favor of https://github.com/ballerina-platform/ballerina-lang/pull/23042


--url URL & --credential USER:PASS option to skip authentication prompt.

It's handy for automated script (like one in Jenkins) if authentication prompt for entering URL, user, pass is can be skippable.
Password could be safely passed via environmental variables, so I wrote a hint in README.

@mkristian can you review this MR?

@laysakura makes all totally sense to be less dependent on console prompt - thanks.

@laysakura FYI pushed a new release to rubygems.org

thanks 😂


Wrong information given when creating bridge network fails due to conflict

In bridge.go it looks like the wrong parameters are provided for the format string, resulting in a misleading error message.
I think this is what it is intended to be:
@@ -568,21 +567,21 @@ func (d *driver) createNetwork(config *networkConfiguration) error {

        defer osl.InitOSContext()()

        networkList := d.getNetworks()
        for _, nw := range networkList {
                nw.Lock()
                nwConfig := nw.config
                nw.Unlock()
                if err := nwConfig.Conflicts(config); err != nil {
                        return types.ForbiddenErrorf("cannot create network %s (%s): conflicts with network %s (%s): %s",
-                               nwConfig.BridgeName, config.ID, nw.id, nw.config.BridgeName, err.Error())
+                               config.ID, config.BridgeName, nwConfig.ID, nwConfig.BridgeName, err.Error())
                }
        }

Thanks @campbellr, your analysis is correct.

@campbellr the problem still exists https://github.com/docker/libnetwork/blob/master/drivers/bridge/bridge.go#L581 , can you push a PR to fix it?

Sorry, I forgot about this after upgrading to 0.10
I throw a PR up shortly.


On opening webchat, it says : 'Looks like I’m all mixed up. Let’s try asking again, but maybe rephrase your request?'

Create a new core bot.
Use Rocket menu to hook up LUIS and QnA
Run bot
Open Webchat
DO NOT TYPE ANYTHING YET

Notice that webchat's first message shows the following message 'Looks like I’m all mixed up. Let’s try asking again, but maybe rephrase your request?
Expected:
Webchat shows the Conversational Core bot's welcome card (visual adaptive card, with indicators on what it can do)

@mareekuh I couldn't repro this. are you still running into the error? If not, can we close the bug (or convert to discussion)?

Closing it as we are unable to repro.


Add GHA

Probably needs a few tries.  Always does.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b78691e). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 781823d differs from pull request most recent head 2f02d04. Consider uploading reports for the commit 2f02d04 to get more accurate results

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         1
  Lines           ?       113
  Branches        ?         0
========================================
  Hits            ?       113
  Misses          ?         0
  Partials        ?         0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Glitch / blanking while 'checking for uncommitted changes'

The app is unusable for me due to blanking of the center pane while update is running (every few seconds)
The center pane goes blank (white) for about 2 seconds and left shows the loading animation and 'checking for uncommitted changes'. It is doing this so often that the app becomes unusable (and may be a risk for epileptics from all the flashing!)
I really like the app otherwise - maybe a temporary 'pause update' could be added to the UI next to the update button? Or an option to adjust the auto update time (if it is not event based?). My repo is really small but maybe that would be generally useful for others too with larger repos where updates might be slower or more cpu intensive.
I tried:

building from source (release) - I'm on Linux (debian bullseye)
The flatpak version (worse UI issues - freezes completely)
Also tried the latest GitAhead version but it has the exact same behaviour

The app is unusable for me - building release from source (I also tried the latest GitAhead version and have exact same issue).
I'm running on Linux (debian bullseye based).
The center pane goes blank (white) for about 2 seconds and left shows the loading animation and 'checking for uncommitted changes'. It is doing this so often that the app is unusable (and may be a risk for epileptics from all the flashing!).
I really like the app otherwise - maybe a temporary 'pause update' could be added to the UI next to the update button? Or an option to adjust the auto update time (if it is not event based?). My repo is really small but maybe that would be generally useful for others too with larger repos where updates might be slower / cpu intensive.

Hi @device-host it should not update every few seconds, only if you have local changes. So that is not the usual behavior.
Which version of flatpak do you have on linux?

Just to be clear the flatpak version doesn't work at all for me (the UI doesn't respond to clicks) so I built from source and the issue described here occurs on release build (and old versions like GitAhead). I mention flatpak because I tried it as a solution - I have the 'old-stable' Flatpak 1.10.7 from the debian repo.
I did some further investigation and found that If i create a repo on another drive the issue stops (no 'checking for uncommitted changes' loop so could my issue be some software triggering a file event every few seconds? I've confirmed no files are actually changing so could it be fired by some other software also scanning the files for changes?

I did some further investigation and found that If i create a repo on another drive the issue stops (no 'checking for uncommitted changes' loop) so could my issue be some other software scanning the same files and triggering a file event that disturbs GittyUp every few seconds? I've confirmed no files are actually changing so I'm trying to see what's happening with commands like 'lsof +D'

Sounds like, but it is strange that it changes the file so that the indexer triggers a new change

I don't think we will implement something here, because in normal cases it makes no sense to stop indexing because then you might get confused why it does not update. I think the best you ask in a Xilinx forum what is it and if it can be turned off.


Is anyone able to run the complete pipeline?

I am facing difficulties in running the code. I am not sure about which code I must run first and exactly where should I set the path for dataset?

Sure

you should run the brain_pipeline.py to generate training images and labels, then you can run the SegmentationModels.py to train the model.

how we will get know that our training is complete ? and where we can find out our labeled data?

On my repository i wrote a different cnn inspired to that code.. for simplicity i've cut out some features..you can give it a look maybe can help you:
link

Can you please help me to run your code successfully?? i am facing error line 227, in  save_patient_slices(patients, 'reg')line 195, in save_patient_slices    a.save_patient(type_modality, patient_num)line 147, in save_patient    for slice_ix in progress(range(176)):line 553, in update    % (self.min_value, self.max_value))ValueError: Value out of range, should be between 0 and 176
however i have created these"reg, norm, n4" folder in prior basis.
On Monday, July 31, 2017 12:30 AM, Cesare<EMAIL_ADDRESS>wrote:

On my repository i wrote a different cnn inspired to that code.. for simplicity i've cut out some features..you can give it a look maybe can help you:
link—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@Jiyya I got the same error, were you able to solve it?

Can anyone help me to solve this problem?
i am running BRATas dataset but this only make slices for first 38 patients
how i can get slices for complete data set?

Am facing difficulties to run this code of brain tumor segmentation there. Can anyone have errorless code? Please thanks
<EMAIL_ADDRESS>

Can anyone help me to solve this problem?
i am running BRATas dataset but this only make slices for first 38 patients
how i can get slices for complete data set?

The reason behind this error is a few inputs did not having ground truth value. So If you removed those inputs from input data it will work fine.


mark roxterm as broken

Motivation for this change
roxterm segfaults (#19579), and Debian just gave up on the package in the wake of the same problem. I want to avoid people booting into partially broken setups like I did due to it being unfixed but not marked as broken.
Things done
(Those are not really applicable, as it should NOT build anymore, but I did test that it does not build. ;-))
error: Package ‘roxterm-2.9.4’ in ‘/home/aristid/nixpkgs/pkgs/applications/misc/roxterm/default.nix:55’ is marked as broken, refusing to evaluate.
a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build` or any other Nix command you can add
  { allowBroken = true; }
to ~/.nixpkgs/config.nix.

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

/cc maintainer @cdepillabout.


[CameraX] Option to choose ResolutionStrategy

Use case
As per #141766 the Resolution strategy for CameraX is set to ResolutionStrategy.fallbackRuleClosestLowerThenHigher which is (apparently) the default behaviour.
In some cases this might not be a problem - however, in practice I have found it sometimes has such a large effect that the Camera becomes unusable.
We have created a barcode scanner using the google ml_kit which then detects the barcode in the image stream, on some devices the resolution fallback is so much lower that the image is completely unusable for image recognition and the barcodes completely fail to read.
For example on my Google Pixel 7 - the "lower" resolution can still detect barcodes successfully. On my Xiaomi Pad 5 it cannot read barcodes at all with the lower resolution which the CameraX plugin falls back to.
I do not want to force a higher resolution preset on ALL devices - as this also comes with a performance hit.
I do not have the same problem with the default camera_android package, however there is java crash which occurs occasionally with that package which is also supposedly solved with CameraX.
I had filed this as an issue before which was marked as a dupe of the above case, but we need a solution for this as it's something that makes the CameraX unusable in this application at this time. The case has been closed with updated documentation - but that doesn't solve the problem.
Proposal
I would propose adding an optional parameter to the CameraController to allow the user to override the resolution strategy default.
The options should be at least somewhat consistent with the available options within the CameraX specification: https://developer.android.com/reference/androidx/camera/core/resolutionselector/ResolutionStrategy
e.g.
CameraController(
CameraDescription description,
this.resolutionPreset, {
this.enableAudio = true,
this.imageFormatGroup,
this.resolutionStrategy
})

For example on my Google Pixel 7 - the "lower" resolution can still detect barcodes successfully. On my Xiaomi Pad 5 it cannot read barcodes at all with the lower resolution which the CameraX plugin falls back to.

@elliotrtd What is the target resolution that you are using to reproduce this situation?

What is the target resolution that you are using to reproduce this situation?

@camsim99 You can refer to #144363 which was my issue report which contains some steps to reproduce it and some additional information.

@elliotrtd thank you for the clarification! I think this is a valid proposal, so I will leave this as is for now, but your other bug is a valid bug that I have looked into, so I will re-open it and follow up there.

Note from triage: We think the correct way to do this would be to implement something similar to in_app_purcahse_android where you would get an android specific dart api that would have additional methods not available on other platforms.


update qtls to v0.7.2

This version makes sure that the server first checks the ALPN, and only exports Handshake secrets after the application protocol was chosen.

Codecov Report

Merging #2386 into master will increase coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2386      +/-   ##
==========================================
+ Coverage   85.91%   86.23%   +0.31%
==========================================
  Files         119      119
  Lines        8853     9140     +287
==========================================
+ Hits         7606     7881     +275
- Misses        931      944      +13
+ Partials      316      315       -1

Impacted Files
Coverage Δ

server.go
84.09% <0%> (-0.65%)
:arrow_down:

session.go
73.1% <0%> (-0.02%)
:arrow_down:

http3/server.go
70.44% <0%> (+5.81%)
:arrow_up:

packet_packer.go
89.37% <0%> (+7.82%)
: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 75f14a2...75c2d9f. Read the comment docs.


color changed

I have successfully changed the color of the links.
Issue resolved: #170

@arushi2610 please check.

Try to use the colors in our theme.

@arushi2610 please check now

Hey @arushi2610  Please merge this file

@arushi2610  Please look into this.

@arushi2610   Its in pending state since 2 days. Please merge this.

Merged the PR, great work!


Data Table - Programmatically selection

I have the need to show already selected rows.
To accomplish this, the "hacky" way seems to be to get the TdDataTableComponent instance and set the "value" member.
 @ViewChild(TdDataTableComponent)
  tableComponent: TdDataTableComponent;

 ...
   setAlreadySelectedItems(items: Object[]) {
          this.tableComponent.value = items;
   }

Is there a better way to do this?

You can leverage [(ngModel)] to pre-select the rows the same way.

I have a question how I can reset the rows selected.
Thanks.

@maalquin You can still leverage [(ngModel)] for that as well.  Whatever you set for the array in ngModel is what is going to be selected in the rows.

@emoralesb05
Please post an example in plunkr or any other editor online i want the checkbox to be checked when i set the values to the ngmodel .

Do make sure that you implement "compareWith" method to compare your rows by some property, otherwise UI may not select your programmatically selected rows correctly

I've an example https://plnkr.co/edit/VC7oPf?p=preview   my Question is how access to DataTable because in my example I added one method for verify if selectedRow array is filled however it doesn't.
Thanks.

If still having an issue please ask question in gitter channel


RTOS on Linux / POSIX

RTOS on Linux / POSIX
Timeline: Mid November
Description
Our firmware architecture is built on platform abstraction, meaning we can compile any project to run on any platform. This has huge benefits for debugging and development (see this article) but is not fully implemented.
We have no way to build a FreeRTOS project for the CLI or SIL (raspi) platform, so we cannot test any project involving FreeRTOS. This is a huge problem since most of our EV5 projects run on FreeRTOS.
There are two ways which this project can be solved.
First Solution: Port FreeRTOS
This is the ideal solution but might not be possible.
Run FreeRTOS directly on Linux / Windows. This is the ideal solution because:

Using the same RTOS as we do on stm32 will allow us to remove the shared::os layer and allow us to use all of the FreeRTOS features.
We can expect other platforms to behave more like stm32 than if we use a different RTOS.

This may be impossible because FreeRTOS is fundamentally a real-time operating system that relies on thread preemption. This may not be available on a regular operating system.
Second Solution: Custom Implementation
If FreeRTOS is not possible, we will emulate its functions using regular threads (tasks become threads, etc). Write an mcal::cli::os directory which implements the shared::os abstract classes using POSIX threads. Make a demo project showing that you can start tasks, synchronize with semaphores, and lock resources with mutexes.
Decision
Research whether the first solution is possible. If you can't find anything, or if it would only work for linux and not windows, then proceed with the second solution.

I just want to add one note about Linux, it has a new PREEMPT_RT patch that was just merged with the latest kernel version like 2 weeks ago. It adds soft realtime capability, maybe have a look there.

Make a demo project showing that you can start tasks, synchronize with semaphores, and lock resources with mutexes.

Expanding on this, here are some sample projects which would demonstrate a working OS layer:
Demo 1 - Periodic Tasks (easier)
Create three tasks which print Task 1/2/3 to the screen every 1, 2 or 3 seconds. Each task has an independent delay which doesn't block the other tasks. Something like
void Task1() {
    while (true) {
        print "Task1" + "time="current_time
        delay(1000 ms)
    }
}
// repeat for 2 and 3

Sample output:

time
output

1
Task1

2
Task1, Task2

3
Task1, Task3

4
Task1, Task2

5
Task1

6
Task1, Task2, Task3

Demo 2 - Synchronized User Input (harder)
(Do this after Demo 1)
Two buttons (simulated by keypresses) independently control two indicators (simulated by printing to the screen). Each button-led pair should run in a separate task.
Once this is working, simulate a "critical section" for each task: Use a mutex which only allows a single led to be on at any given time, so pressing one button will do nothing if the other is already pressed, and vice versa.


Bargain Connections throwing an error on finishing a day - as it shows end game stats

So this is on the first day of 2nd quota. It caused the run to end there as the ship was stuck on "Wait for ship to land".
My UI also disappeared as in the second screenshot - and shows LethalThings in the middle - not sure why.

It should be fixed and live in next release.


Don't write pip-compile output to file by default

What's the problem this feature will solve?
pip-compile CLI behavior is unexpected. Simply typing pip-compile with the expectation of getting usage is unexpectedly destructive, resulting in an overwrite of requirements.txt. The -o option seems unnecessary, where the standard idiom would be to output to stdout and to allow the user to direct the output as desired. This is further complicated by the fact that the output is both printed and written to file by default. At the very least, the file-write should be an option, not the default.
Describe the solution you'd like
pip-compile with no options or parameters should return a usage message
pip-compile requirements.in should send it's output to stdout for redirection and piping and should not be destructive unless options are provided that indicate an expectation of destructive behavior.

One difficulty is that pip-compile requirements.in > requirements.txt will always truncate the requirements.txt before pip-compile gets a chance to open it, just due to how shell redirection works.
❯ echo "some requirements" > requirements.txt
❯ cat requirements.txt > requirements.txt
❯ cat requirements.txt

❯

The framing of --dry-run as the default behavior makes sense to me. Alternatively, requiring the user to specify the name of the output file. The problem is that the default behavior of destroying the user's requirements file is unexpected. If I had to specify the name of the output file, then I'd think that yeah this is probably going to do something to that file.

The problem is that the default behavior of destroying the user's requirements file is unexpected.

Do you have an example of a lockfile generator which doesn't write to a file, even when the output file is not explicitly specified?
Here are the examples I could think of in the same class as pip-compile:

Language
Lockfile Generator
Writes Lockfile by Default?

Rust
cargo generate-lockfile or cargo update
YES

NodeJS
npm install
YES

NodeJS
yarn install
YES

Ruby
bundle install or bundle update
YES

Python
poetry update
YES

Python
pipenv lock
YES

Python
pip-compile
YES

I may misunderstand about any of those, though, as I don't regularly use them.

Calling a requirements.txt file a "lock" file is a bit of a stretch. I have yet to work on a project where requirements.txt was not written by hand. This is my first experience with a tool that manages requirements.txt for me. The examples you site mostly seem to have actual .lock files which are not hand-edited.

If you're using pip-compile, then you shouldn't be hand-editing requirements.txt (most of the time).


Cannot log in to docker hub

Log in to docker hub and get access to repository
Login hangs and never completes
Mac OS Mojave 10.14.6, Docker for Mac, Kitematic
Steps to reproduce the behavior

Open Kitematic
.Enter log in credentials
`3. Wait for completion of login

This solved my login issue.
https://github.com/docker/kitematic/issues/4214

Have you try to usehttps://github.com/docker/kitematic/issues/5308?

No, 4214 fixed it.

then close the issue

closed


Remove Group property from Get-TargetResource

This removes the Group property from the Get-TargetResource function because it isn't defined in the schema and it is causing Get-DscConfiguration to fail.
This is in reference to issue #41.

Hi @PrahlM93, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi @PrahlM93 - good catch, I think you are correct that this is likely the source of the probem, I removed the key/value per your suggesiton and it does apepar to work.
However, I also see it in Test-ResourceProperty has $Group as well, could you please remove it from there also?
Thanks!

@tysonjhayes
Thanks for the tip, I looked into it but it seems that removing it causes these lines to fail in Set-TargetResource:
# Effectively renaming DisplayGroup to Group
    if ($DisplayGroup) {
        $null = $PSBoundParameters.Add('Group', $DisplayGroup)
    }
    $null = $PSBoundParameters.Remove('DisplayGroup')

I'm not quite sure why DisplayGroup becomes Group, but in my opinion it might as well be kept as DisplayGroup since that is what the original parameter is called. I'd like your thoughts before further modifying it.

Hi @PrahlM93 ,
I think @tysonjhayes has included a fix for this in PR #43.
I added a note in PR #43 as to why this slightly odd treatment of Group/DisplayGroup occurs. I think it should be possible to rework the code slightly to include both a Group and DisplayGroup parameter - which is really what there should be. But I'll for feedback from @tysonjhayes to see what he thinks.
Thanks for working on this :+1:

@PlagueHO Thank you for pointing that out. You can go ahead and close/decline this PR since @tysonjhayes incorporated this fix in #43.


Add the ability to specify labels as a dict of labelname->labelvalue.

This is useful for code that knows some of the labels in different places.
An example use case is a helper I'm trying to write that would work as such:
c = Counter('http_exceptions_total', 'help', ['method', 'exception_type'])
def handle_request(request):
with count_exceptions_by_type(c, {'method': request.method}):
do_something(request)
This helper only knows about the exception_type label and only passes
the other labels through.

per CONTRIBUTING.md, ping @brian-brazil :)


Clarification of synthesized members

Hello,
in the section "Members of a record type" the text reads as "Members are synthesized unless a member with a "matching" signature is declared in the record body...". I would appreciate a clarification what is exactly meant by this:

If one of the mentioned members has a matching signature only this member is not generated.
If one of the mentioned members has a matching signature none of the mentioned members is generated. (comparable to the handling of constructors and assignement in c++ classes).

Thank you.

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

ID: 9aba70b5-ee1a-90fd-b3ed-3384cd9f6512
Version Independent ID: ab712864-bbc0-e4f9-cb32-15e12cd82c65
Content: Records - C# 9.0 draft specifications
Content Source: proposals/csharp-9.0/records.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

Thanks @Robin-G
The spec should be updated here. The first bullet in your description accurately reflects the behavior.
Moving to dotnet/csharplang for the fix.


track Spotify play history similar to Now Playing?

[x] don't increment the same track's listen count if the elapsed time is less than its track length. Rather than calculating this ourselves, https://developer.spotify.com/documentation/android/tutorials/android-media-notifications provides us timeSent which we can use as part of the primary key when inserting
[x] don't increment the current track if nothing is playing. Even if nothing is playing, our broadcast receiver will have Spotify's last played track
[ ] would be nice to have broadcast listener start from home screen, or in background, so that no matter what screen user is on, it will keep recording. see now playing
[x] instead of counting how many times the user listened to a track, track it chronologically similar to Spotify's Recently played. later, we can group by track_id if we want that info

SQLDelight seems to generate this upsert function with a Long type if I used number_of_listens = :numberOfListens + 1,, whereas number_of_listens = number_of_listens + 1, will make it an Int, which is what I want.
upsert {
  UPDATE spotify_history
  SET artist_name = :artistName,
    album_name = :albumName,
    track_name = :trackName,
    track_length = :trackLength,
    number_of_listens = number_of_listens + 1,
    last_listened = :lastListened
  WHERE track_id = :trackId;

  INSERT OR IGNORE INTO spotify_history
  VALUES (
    :trackId,
    :artistName,
    :albumName,
    :trackName,
    :trackLength,
    :numberOfListens,
    :lastListened
  );
}

The table for reference:
CREATE TABLE IF NOT EXISTS spotify_history (
  `track_id` TEXT PRIMARY KEY NOT NULL,
  `artist_name` TEXT,
  `album_name` TEXT,
  `track_name` TEXT,
  `track_length` INTEGER AS Int,
  `number_of_listens` INTEGER AS Int NOT NULL,
  `last_listened` INTEGER AS Instant NOT NULL
);

An interesting observation while working with sql and lazy Compose is we will often use the primary key as the id.
eg.  id = "$trackId$lastListened",


Fixes 2239: fix various 500 errors caused by bad params

Summary
There are a few different endpoints where bad params can cause 500 errors. This should fix most if not all of those endpoints.

GET /repositories/{bad-uuid}/snapshots/
GET /tasks/baduuid
POST /rpms/names/ with body  { uuids: ["John Doe"] }
GET tasks/?offset=10&limit=10&status=%00

Note number 4 in particular, where the status is %00. That affects other endpoints params too like /repositories/?status=  or /repositories/%00/snapshots.
Testing steps

Test the endpoints listed with the params listed. You should get no 500 errors.
You can try similar inputs on other similar endpoints to see if anything was missed.

https://issues.redhat.com/browse/HMS-2239

Hi, please rebase.


Common build failures

there have been a spate of build failures over the last few days
All seen to have a common failure point

Documenting bumpalo v3.13.0

I am just pulling out one example of of the panic so we can reason about it..
For the moment here is my only comment, as I see more I will add to the issue.
nightly is failing....
The github workflow has been improved greatly, with lots of extra stages ...
The visibility, the extra checking .. is maybe telling us ,, maybe to file an issue in a downstream crate.
I don't have an opinion yet...
Documenting bumpalo v3.13.0
thread 'rustc' panicked at src/librustdoc/passes/lint/redundant_explicit_links.rs:107:41:
byte index 1 is not a char boundary; it is inside '…' (bytes 0..3) of `…alloc_with(|| x)`
stack backtrace:
   0:     0x7f5efa75b0fc - std::backtrace_rs::backtrace::libunwind::trace::h05dcd57d35354e09
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f5efa75b0fc - std::backtrace_rs::backtrace::trace_unsynchronized::h760cef756255b640
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f5efa75b0fc - std::sys_common::backtrace::_print_fmt::h96ee9c0f36e8a7ef
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x7f5efa75b0fc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h79540d81556adb82
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f5efa7c13bc - core::fmt::rt::Argument::fmt::h29465cb5b004890a
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/core/src/fmt/rt.rs:138:9
   5:     0x7f5efa7c13bc - core::fmt::write::hdd9d58a2540bd20b
                               at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/core/src/fmt/mod.rs:1094:21
   6:     0x7f5efa74db2e - std::io::Write::write_fmt::h198a947e286d709f
note: compiler flags: --crate-type lib

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
error: could not document `bumpalo`

Caused by:
  process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name bumpalo /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.13.0/src/lib.rs --cap-lints allow -o /home/runner/work/leptos/leptos/leptos_macro/example/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=02a943d1362b8fab -L dependency=/home/runner/work/leptos/leptos/leptos_macro/example/target/debug/deps --crate-version 3.13.0` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.
Error: Process completed with exit code 1.

My understanding is that this is an ICE on latest Rust nightly while compiling bumpalo at some point during our workflow.
(I haven't taken any other action on it other than running CI locally on whatever version I've got installed, which passes.)

This seems to have resolved itself somewhere between the compiler and bumpalo, and is no longer causing errors in CI.


What terminal are you using in the screenshot or is it just an edited image ?

rxvt unicode

@nerdypepper do you mind telling me which tool you used to get the current terminal screenshot? looks clean.


[UserGuide.adoc] Edit UserGuide to complement ClinicIO

Updated UserGuide to replace instances of "AddressBook/Address Book" to "ClinicIO/Clinic Database" to suit ClinicIO.
Resolved #54

Pull Request Test Coverage Report for Build 129

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.153%

Totals

Change from base Build 123:
0.0%

Covered Lines:
1611

Relevant Lines:
1807

💛  - Coveralls


[OGRE] Fix Overlay optional component build.

The OGRE-Overlay component is not actually enabled and built in vcpkg port, because it cannot find Freetype in the search space. This patch is to update the Freetype searching logic respectively and it will trigger the Overlay to be built.

x64-windows-static Error: It doesn't look like to do with the change. Perhaps the build break is expected?
Components\Bites\include\moc_OgreApplicationContextQt.cpp(59): warning C4273: 'OgreBites::ApplicationContextQt::qt_static_metacall': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/beda755b0a-ff9def3c9d.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'qt_static_metacall'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(66): warning C4273: 'staticMetaObject': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/beda755b0a-ff9def3c9d.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'public: static QMetaObject const OgreBites::ApplicationContextQt::staticMetaObject'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(66): error C2491: 'OgreBites::ApplicationContextQt::staticMetaObject': definition of dllimport static data member not allowed
Components\Bites\include\moc_OgreApplicationContextQt.cpp(77): warning C4273: 'OgreBites::ApplicationContextQt::metaObject': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/beda755b0a-ff9def3c9d.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'metaObject'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(82): warning C4273: 'OgreBites::ApplicationContextQt::qt_metacast': inconsistent dll linkage
D:\buildtrees\ogre\x64-windows-static-dbg\Components\Bites\include\../../../../src/beda755b0a-ff9def3c9d.clean/Components/Bites/include/OgreApplicationContextQt.h(32): note: see previous definition of 'qt_metacast'
Components\Bites\include\moc_OgreApplicationContextQt.cpp(92): warning C4273: 'OgreBites::ApplicationContextQt::qt_metacall': inconsistent dll linkage

Thanks for your PR. Optional component ogre-Bites build depends on ogre-Overlay, I think this PR is duplicated with PR #12773.

@LilyWangL Looks like you are tackling the same problem. I am closing mine and in favor of yours.


Client side functions

Implemented write_handshake, read_auth_method, write_request, read_request_status. For them, added a new struct (SocksV5Response) and a few type aliases. I reused some error types from the server-side functions, but if you want, I can make new ones.
Added documentation and basic tests for the new functions.
Replaced usages of BigEndian with NetworkEndian, which is 1) equivalent and 2) what the spec uses.
Fixed a typo (double space) in an error message.

Beyond the tests in this PR, I also used these new functions to implement a chained proxy (the proxy1 server in "client -> proxy1 -> proxy2 -> target"), and it seems to work.
You'll notice some copy-paste in this PR; I didn't want to spend time on refactoring without first hearing your thoughts on it all.

Great!
This, I think, is a good place to release a new version :)

I've published 0.3.1 with these changes.


datasets

this is my directory of datasets :

It's right????

hi  have  you donwload PSDB and Shinpuhkan dataset? I have email the authors, but they don't reply me.

Hello, Do you know how to compute the rank1 and mAP? could you give me the code which compute the rank1 and mAP, My mail is<EMAIL_ADDRESS>Thank you very much! @hacker-wei

hello！can you send me the 3DPESdataset?I can't find it,thank you very much! My mail is<EMAIL_ADDRESS>


Minimum Spherical video player...

Whats the minimum GearVRf code for a spherical video player?
This sample generates audio only - it seems there are some issues regarding mesh / sphere?
@Override
    public void onInit( GVRContext gvrContext ) {

        mGVRContext = gvrContext;

        GVRScene scene = mGVRContext.getMainScene();

        // set camera background color
        scene.getMainCameraRig().getLeftCamera().setBackgroundColor( 0.0f, 0.0f, 0.0f, 1.0f );
        scene.getMainCameraRig().getRightCamera().setBackgroundColor( 0.0f, 0.0f, 0.0f, 1.0f );

        // set up camerarig position (default)
        scene.getMainCameraRig().getOwnerObject().getTransform().setPosition( 0.0f, 0.0f, 0.0f );

        // create sphere / mesh
        GVRSphereSceneObject sphere = new GVRSphereSceneObject( mGVRContext );
        GVRMesh mesh = sphere.getRenderData().getMesh();

        // retrieve first file from default oculus video folder
        String downloadsPath = Environment.getExternalStoragePublicDirectory( "Oculus/360Videos/" ).toString();
        File f = new File( downloadsPath );
        File file[] = f.listFiles();

        Uri videoURI = Uri.fromFile( file[ 0 ] );

        // create mediaplayer instance
        MediaPlayer mediaPlayer = MediaPlayer.create( mGVRContext.getContext(), videoURI );
        mediaPlayer.setLooping( true );
        mediaPlayer.start();

        // create video scene
        GVRVideoSceneObject video = new GVRVideoSceneObject( mGVRContext, mesh, mediaPlayer, GVRVideoType.MONO );
        video.setName( "video" );

        // apply video to scene
        scene.addSceneObject( video );
    }

you're pretty close.  by default, GVRSphereSceneObject() orients its triangles to be visible from outside the sphere.  there's a flag to have the triangles face inward.  new GVRSphereSceneObject(mGVRContext, false);
a few other minor corrections in your sample code:
you don't need to call getOwnerObject() for the MainCameraRig, just call getTransform()
you also don't need to bother to set the background color since you'll be inside the sphere.

and fwiw, i tested with one of the videos from here:  https://theta360.com/en/gallery/videos.html
i don't know what format(s) the videos in the Oculus/360Videos/ directory are in or if they're encrypted.  the theta360 videos seem to be equirectangular and wrap around a sphere trivially.

so that others don't go through the same pain you did, i created a minimal 360 video sample based on your code.  it's up as a pull-request: https://github.com/Samsung/GearVRf/pull/320

Thanks! Is there a working project for Android Studio using latest GVRf and Mobile SDK?

I thought we used to have instructions on how to use our binaries with Android Studio on our build instructions page, but I'm not seeing them now.  We'll have to write some up and update it.

Please find the latest information from our release links: https://github.com/Samsung/GearVRf/releases/tag/2.3
To use Android Studio, you can replace libs/ in the gvr-video-staticlib-androidstuido.zip sample with the latest gvrf library files and OVR library files as instructed in there.

Hi @ChrisCheil , do you have what you need?

yep, works fine thanks for your support!


/ClaimsList Doesn't Work in Latest Version

Once I saw the plugin had been updated I updated it on my server too. But now /claimslist doesn't work. updated to 1.3.6. I'm using Spigot 1.12.2.
To be more exact, /claimslist works but doesn't show the claim names: https://gyazo.com/5d3a1bbd037bcee154a686978342677f
Edit: I just downgraded to version 1.2.6 and it still isn't showing claim names in /claimsList. I even tried naming a claim again and it said it successfully named the claim but when I did /claimsList it did not show any named claims.. Please fix.
Edit 2: names.data file if needed: https://pastebin.com/B4AU3jvr

Check commands.yml, maybe you mapped the command elsewhere? Server start log would help too.

It's not due to commands.yml: https://pastebin.com/JznGEHJZ
Plus it worked fine with an older version of the plugin but when I deleted that jar and uploaded the new 1, it stopped working. I didn't change anything else. Then when I deleted the new jar and uploaded an older 1 I just downloaded from github, it still didn't work which made me confused.
latest.log when using v1.2.9 of plugin: https://pastebin.com/NtJApfDs
latest.log when using v1.3.6 from this link: https://pastebin.com/06ersiKt
Example of naming a claim and viewing /claimslist using v1.3.6:
https://gyazo.com/a5c8038cff9f0adaaed13d31f58aed04

There is a dumcord link on my requests page, and the #robomwm channel in there is bridged to IRC, where I can be best reached.
As for your error, it's because you are using an older version of GP. You need to use the dev build of GriefPrevention that's listed in the v1.1.1 release of ClaimlistClassifier if you still wish to use GP on 1.12.2.

Ok, read back and I do see that you did respond, but I never received feedback on any of the features I implemented, which was the response I was looking for; hence why I did not recall a response as per the posts you screenshotted. https://www.spigotmc.org/threads/requests-for-robomwm.293977/page-10#post-3016028
Were the features I implemented working as intended??

Recapped here with proposal https://www.spigotmc.org/threads/requests-for-robomwm.293977/page-13#post-3170429

Ah okay thanks, I responded on Spigot:
https://www.spigotmc.org/threads/requests-for-robomwm.293977/page-14#post-3170848


fix: dynamic wheres can have a mixed parameter

fixes https://github.com/nunomaduro/larastan/issues/475
I'm not sure if I've implemented this properly, but the test passes.
Basically the parameter should be a mixed type, instead of just array when dynamicWhere is invoked via the  ForwardsCalls trait on the model

Can you also add a test case for multiple arguments?

@canvural I believe I did, lemme know if you had something else in mind
Sent with GitHawk

Oh, sorry. Now I see it. I guess Github showed me the old changes.
Now I also see the tests are at Models/Relation Oh, sorry. Now I see it. I guess Github showed my the old changes.
Now I also see the tests are at Models/Relations I don't think this is the right place. Maybe we can put it in the Methods/Builder cause its related to query builder and dynamic wheres.

@canvural done


new_user.py:23: Перенести классы в отдельные файлы 54

The puzzle 899-1f5dab30 from #899 has to be resolved:
https://github.com/blablatdinov/quranbot-aiogram/blob/0406a18eed63432dcf225ca0709ce99837dfbf33/src/srv/users/new_user.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 09-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

All classes moved #899


Shell navigation crashes if another navigation is in progress

In #291 ShellNavigationManager was updated to use the same singleton renderer instead of creating a new one on each navigation. That change leads to issue - if I invoke multiple navigations in short period of time, or if I put navigation to component's OnInitialyzedAsync method, navigation will crash due to rendering exception:
InvalidOperationException: There is an ongoing rendering in progress.

So apparently that singleton change should be reverted.

I'm still curious though, where we should dispose created renderers.
I think it would make sense to do that when Page is removed from NavigationStack (as disposing the renderer seems to Dispose all rendered components as well).
Would it make place to handle that in ShellNavigationManager? Or some other place?

I'm still curious though, where we should dispose created renderers.
I think it would make sense to do that when Page is removed from NavigationStack (as disposing the renderer seems to Dispose all rendered components as well).
Would it make place to handle that in ShellNavigationManager? Or some other place?

Hmm... maybe it's OK to have a singleton renderer but we just need to protect access to it?
If we do need to create multiple renderers then I guess wherever we create them we need to ensure they are disposed. If creating them is done as part of ShellNavigationManager, then that component needs to dispose them as well (or make sure that disposal is hooked up).

Hmm... maybe it's OK to have a singleton renderer but we just need to protect access to it?
If we do need to create multiple renderers then I guess wherever we create them we need to ensure they are disposed. If creating them is done as part of ShellNavigationManager, then that component needs to dispose them as well (or make sure that disposal is hooked up).

Hmm... maybe it's OK to have a singleton renderer but we just need to protect access to it?

Not sure if we can do that properly, considering that rendering process includes component's async methods. So if even if we serialize access somehow, that could cause that some hanged request in OnInitialyzedAsync will block app navigation, which doesn't sound great.

Hmm... maybe it's OK to have a singleton renderer but we just need to protect access to it?

Not sure if we can do that properly, considering that rendering process includes component's async methods. So if even if we serialize access somehow, that could cause that some hanged request in OnInitialyzedAsync will block app navigation, which doesn't sound great.


[trees] source figure

trees/figure_man/labelling_of_tree.png has no source - are we sure we may use this?

Perhaps you can find the source? Or reproduce it easily? If this is a lot of work then we should talk.

Perhaps you can find the source? Or reproduce it easily? If this is a lot of work then we should talk.

I already did resolve this in the branch tree-redo.

I already did resolve this in the branch tree-redo.

@ludwig-max Can we close it? I reproduced it :)

@ludwig-max Can we close it? I reproduced it :)


Teams Meeting Delegation with Exchange On-Prem in GCCH

I am a SEE that specializes in GCC-H. I have confirmed with the Product Group that Teams meeting delegation isn't supported for Exchange On-Prem in GCCH. Please contact me directly if you need any clarification or supporting ICMs that confirmed this detail.

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

ID: 8456689d-6f04-fa5e-4f51-f413cb0b9d89
Version Independent ID: e9b85126-0db7-4378-ad44-514e52f9fde1
Content: How Exchange and Microsoft Teams interact - Microsoft Teams
Content Source: Teams/Exchange-Teams-interact.md
Service: msteams
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Requesting that we document the limitation on this document.

Thanks Bill!  PR created; revision will publish live this afternoon.  Closing issue.


Finder is having trouble copying to /keybase/public

https://www.dropbox.com/s/u4jfyu4jbmy8pd9/Screenshot 2016-02-19 17.33.42.png?dl=0
/keybase/private works fine.

Log id 6bac81d630ce53bf0acb031c

Hi @RyanSinger: looks like you're trying to write /keybase/public/bitcoin.pdf directly.  In KBFS, subdirectories under public (and private) need to be named by the users with access to those folders.  So I think you should be writing to /keybase/public/ryan_singer/bitcoin.pdf.  Looks like that's what you did on the private side.

You are correct.


Interested in building out the web app?

Is there interest in building out the web app?

We already have a web app boilerplate written as a custom template in create react app, which we plan to introduce soon. Initializing it will be a part of the setup step.


feat: add local support

There are still many place that the code style not consistent, considering running prettier may fix them.

There are still many place that the code style not consistent, considering running prettier may fix them.

好哒，是我菜菜了（x

正在重写 mapping 以及 scraper 。
在重写的 mapping 中计划直接支持 file 、cache 、database 三种方式。
export namespace Mapping {
  export type Storage = 'file' | 'cache' | 'database'
...

在 scraper 中预留了获取图像 meta 信息的方法，但未实现

Sure.
And I see there are 4-spaces-indent and 2-spaces-indent mixed up in this PR, try to make them consistent with 2-space-indent manually or automatically with prettier or something.

And I see there are 4-spaces-indent and 2-spaces-indent mixed up in this PR, try to make them consistent with 2-space-indent manually or automatically with prettier or something.

是的，因为我的 vscode 默认设置是 4 空格缩进，我会统一成 2 空格缩进的（x

cache 在目前的版本不适合使用情况，就没有做了（


[INFRA] Add license header

Closes #36

Note for myself: the angular way of managing license https://github.com/angular/components/pull/5133/files


Pure K8S Alpha Release Plan

Alpha release for k8s based PAI.
Plan Items

Service Deployment

[ ] framework controller #3435
[ ] scheduler
[x] choose service list #3432
[ ] choose launcher type

Authentication (Azure Active Directory)

[x] login
[x] access control

Exporter

[ ] replace yarn-exporter

Rest Server

[ ] RESTful API compatibility #3206
[ ] job compatibility #3358
[ ] group in vc management #3458

Runtime

[ ] Job Error Spec, Collection and Handling #3428

Webportal

[x] incompatible task role name
[x] cannot copy token
[ ] remove Hadoop related metrics

Details about AAD in #3378.
Besides, I think we need to add deployment about controller and scheduler

Need replace metrics from hadoop, like:

dashboard

hardware

Currently, default taskRole name contains capital letters and underline, which is illegel for k8s.

Job keep retry and cannot be stopped.

@yqwang-ms can you take a look at the "job keeps retrying" issue?

Job keep retry and cannot be stopped.

@yqwang-ms can you take a look at the "job keeps retrying" issue?

This is caused by someone else's test, not related to the code, the whole bed is down.

All nodes becomes unknown, so controller and scheduler in statefulset is down.
I have manually restarted them, but all worker nodes are still down.
Need to investigate why all worker nodes in 15 and 16 beds are down.

Seems kubelet are removed in all worker nodes. (probably caused by someone cleaned the k8s cluster)
Even no kubelet history in <IP_ADDRESS> (15 bed worker)
core@paigcr-a-gpu-1115:~$ sudo docker ps -a
CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS                      PORTS               NAMES
71a06c62c9d5        hello-world                          "/hello"                 3 months ago        Exited (0) 3 months ago                         quizzical_kare
9882be1aa427        hello-world                          "/hello"                 3 months ago        Exited (0) 3 months ago                         nervous_einstein
b14e8b513c45        openpai.azurecr.io/dls/load_client   "python /load_client…"   6 months ago        Exited (137) 3 months ago                       ecstatic_leavitt
6fd11bd7983e        openpai.azurecr.io/dls/load_client   "python /load_client…"   6 months ago        Exited (137) 3 months ago                       zen_kapitsa
a54f9aa4fa7f        openpai.azurecr.io/dls/load_client   "python /load_client…"   6 months ago        Exited (137) 3 months ago                       agitated_khorana
c2ce59b04a8f        openpai.azurecr.io/dls/load_client   "python /load_client…"   6 months ago        Exited (137) 3 months ago                       jovial_boyd
adfca1e60e7e        openpai.azurecr.io/dls/load_client   "python /load_client…"   6 months ago        Exited (137) 3 months ago                       nostalgic_lovelace
d94900c2a098        openpai.azurecr.io/dls/load_client   "python /load_client…"   11 months ago       Exited (137) 3 months ago                       condescending_swirles
d38a16902aef        openpai.azurecr.io/dls/load_client   "python /load_client…"   11 months ago       Exited (137) 3 months ago                       fervent_dijkstra
0e1991722258        827fd3415f7f                         "/bin/bash"              11 months ago       Exited (0) 11 months ago                        wonderful_heisenberg
0bd2ec5f51dc        827fd3415f7f                         "/bin/bash"              11 months ago       Exited (0) 11 months ago                        dreamy_curran
cc2496d1fdad        827fd3415f7f                         "/bin/bash"              11 months ago       Exited (0) 11 months ago                        optimistic_euler
c5a9ebfc72a5        openpai.azurecr.io/dls/load_client   "python /load_client…"   11 months ago       Exited (137) 3 months ago                       admiring_davinci

Synced with Hanyu, seems it is caused by his paictl operations.
Let's redeploy 15 and 16.

15 is recovered.


rpm & repository for Fedora Linux

see #269 for further discussion on this

You could maintain the package and have it in the main Fedora repository:
https://fedoraproject.org/wiki/Packaging:Guidelines

For a relatively standalone application like this, a COPR repo would likely be a better fit than the main Fedora package repos: https://developer.fedoraproject.org/deployment/copr/about.html

I just packaged vscode. Can you help me test it? @fnkr
https://copr.fedoraproject.org/coprs/mosquito/vscode/

There seems to be a problem when trying to enable your copr on F23 using dnf, it looks here:
https://copr.fedoraproject.org/coprs/mosquite/vscode/repo/fedora-23/
this should probably be
https://copr.fedoraproject.org/coprs/mosquito/vscode/repo/fedora-23/
Notice 'mosquito' is apparently spelled wrongly as 'mosquite'.

Adding the repo file manually works fine though, installs without any apparent issues.

@1dot75cm Tested on F21 and F23, looking good so far.

Thanks test. @bgse
In fact, I refuse to 'Shift' key. My little finger is very fragile. :)))))))))

Hi, @bgse
I try to stripping electron from vscode package. But the vscode do not support electron 0.36.x. It return following error.
RPM spec: http://copr-dist-git.fedorainfracloud.org/cgit/mosquito/test/vscode.git/tree/vscode.spec?id=17ce85d650470e023ff37e7412d62c5aa222b304
RPM:  https://copr.fedorainfracloud.org/coprs/mosquito/test/build/163492/
Version 0.10.11
Commit 8b7f21e10bf69745bde4330a337e9501972e983b
Shell 0.36.8
Renderer 47.0.2526.110
Node 5.1.1
$ dnf install https://copr-be.cloud.fedoraproject.org/results/mosquito/test/fedora-23-x86_64/00163492-vscode/vscode-0.10.11-1.fc23.x86_64.rpm
$ export ELECTRON_ENABLE_LOGGING=1
$ export ELECTRON_ENABLE_STACK_DUMPING=1
$ electron /usr/lib64/vscode
[6978:0227/175217:INFO:CONSOLE(133360)] "IRequestService.makeRequest: Url is required.: Error: IRequestService.makeRequest: Url is required.
    at RequestService.makeRequest (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:137627:23)
    at GalleryService.queryCache (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121102:40)
    at GalleryService.query (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121057:30)
    at ExtensionTipsService._getAvailableExtensions (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92773:41)
    at ExtensionTipsService._init (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92735:46)
    at new ExtensionTipsService (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92705:18)
    at create (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:5252:14)
    at file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61565:45
    at AccessLock.runUnlocked (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61393:24)
    at ServicesMap.createInstance (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61564:31)", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (133360)
......
[6978:0227/175219:INFO:CONSOLE(109401)] "%c[Plugin Host]", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (109401)

I think, we needs to solve this problem for Linux platform. However, the PR is marked as cla-not-required. @bpasero

@1dot75cm The cla-not-required label just means the contributor does not need to sign a license agreement, for example when it is a small change, in the case of @bpasero because he's Microsoft.
I'm sure it's pretty high up on the agenda though.

Just now, I try to update electron to 0.36.10. It seems to work fine. How to conduct a comprehensive test? @bgse
Version 0.10.10
Commit 97d4ad1c55a82369f65078406ed770e8a34055fc
Date 2016-03-07T21:55:23.885Z
Shell 0.36.10
Renderer 47.0.2526.110
Node 5.1.1

FYI an official rpm file is going to be provided with the March release https://github.com/Microsoft/vscode/issues/3595, the repository will likely come later.

@1dot75cm I've tried updating to the latest F23 build, but didn't get far, dnf skipped the package due to dependency issues. Might be able to investigate more towards the weekend.

Signing the repo pushed to May.

Still waiting on signing.

@Tyriar Any news on this? Also, I'm wondering if there are plans to also have the coming daily insiders builds in repo, this would be a huge benefit for those of us who like to live on the wild side ;-)

@bgse I know what you mean, I've been on daily builds for months and I'm always behind because of no auto updating.
There is some progress that will be made this month, but it won't be happening in v1.3.0, see https://github.com/Microsoft/vscode/issues/2973#issuecomment-224149317 for more details.

As I see  from rpm postinst script (I uncommented code)
if [ "code" != "code-oss" ]; then
       if [ -d "/etc/yum.repos.d" ]; then
               REPO_FILE=/etc/yum.repos.d/code.repo
               rm -f $REPO_FILE
               echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://vscode-update.azurewebsites.net/api/rpm/stable/x86_64/rpm" > $REPO_FILE
       fi
fi

you gonna change user's repo configuration unconditionally on every package install/update. I have custom repo naming scheme and this kind of "service" from google-chrome was driving me nuts for a long time until I finally learned about a "magic" variable, which disabled this behaviour.
It's a bit sad that you gonna adopt this bad practice to change user's configuration in postinst script without asking him/her and it would be really nice if you'll adopt community approved method to provide repo for user which keeps in user's hands control over his/her configs.
A good example of such practice is described in Fedora wiki (https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F)

@iavael thanks for your comments, at the very least we'll also adopt the magic variable and document it on the installation page. Once it's all working we will also provide documentation on adding the repository/key manually so you don't even need to touch the deb if you don't want to. A disclaimer could also be added to the deb's description if touching yum.repos.d/sources.list.d is a concern for many people.
If you're interested, here are some discussions we've had around the topic of individual distro repositories #7412

Can I suggest something like this instead?
if [ "code" != "code-oss" ]; then
       if [ -d "/etc/yum.repos.d" ]; then
               REPO_FILE=/etc/yum.repos.d/code.repo
               if [ -f "$REPO_FILE" ] ; then
                   REPO_FILE="$REPO_FILE.rpmnew"
                   echo "Creating $REPO_FILE" 1>&2
               fi
               echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://vscode-update.azurewebsites.net/api/rpm/stable/x86_64/rpm" > $REPO_FILE
       fi
fi

This a way more follows the standard platform practices.

This a way more follows the standard platform practices.
It doesn't. You won't meet any package with such package script in native Fedora/CentOS/RHEL repos (moreover, it's FORBIDDEN) or in RpmFusion or any other 3rdparty repo running by sane maintainer who is familiar with how things should be done properly.

REPO_FILE="$REPO_FILE.rpmnew"
don't touch .rpmnew or .rpmsave files in package scripts. They are managed by rpm itself.

And, for example, I have repo config in /etc/yum.repos.d/vendor-microsoft.repo. Why do you want to come and automagic ruin order in MY config files?

It doesn't. You won't meet any package with such package script in native Fedora/CentOS/RHEL repos (moreover, it's FORBIDDEN) or in RpmFusion or any other 3rdparty repo running by sane maintainer who is familiar with how things should be done properly.

Well, I tried to be constructive, and we are not talking about pushing this package to any official repo anyway. I thought we are talking only about package on https://code.visualstudio.com/ . And yes, I said, that I would be more happy with just distributin .repo file on the site and having a proper repository somewhere. See https://get.adobe.com/flashplayer/download/?installer=FP_11.2_for_other_Linux_64-bit_(YUM)&standalone=1

@mcepl Sorry, if my words looked rough, I'm not very good in english. And some of you ideas (e.g. moving code.repo.rpmnew to code.repo unconditionally) were strange and could make user experience even worser than just writing repo file in package script directly.

@iavael don't worry about rough (I am a Czech myself, so English is my second/third language as well). I just though that my idea was less brutal than yours proposal in https://github.com/Microsoft/vscode/issues/229#issuecomment-225062801 . However, more and more I am looking at VS Code less I like it, so I don't care that much anyway.

It should also support openSUSE, Chrome on Linux does this.

Update: SQL Server for Linux is now being shipped on the new Microsoft Linux repositories that we've been waiting on. I should have access soon to start integrating it into our build process :tada:
See https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-ubuntu and https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-red-hat for an idea of what's going to be available.

I have some more information on the system now, unlike with .deb files, .rpm signing is not fully automated yet. As such we will not be able to ship .rpm to Insiders builds until that is automated (I was told the ETA is mid-2017). We will probably manually sign for stable builds though as there are only 2-3 in a typical month, expect this to come around the same time as .deb packages start shipping to stable.

Please also don't forget about openSUSE/zypper support.

A yum repo is now available for stable only, insiders needs to wait until our signing story is automated. Here are the key links:

Repository: https://packages.microsoft.com/yumrepos/vscode
Repository key: https://packages.microsoft.com/keys/microsoft.asc

This is how you can install using yum:
# Install key
wget -O- -q https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
sudo rpm --import microsoft.asc
# Install repo
sudo sh -c 'echo -e "[code]\nname=Code - OSS\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc > /etc/yum.repos.d/vscode.repo'
# Update yum's cache
yum check-update
# Install
sudo yum install code

Please test it out and let me know if you run into any issues.
Follow ups

I created https://github.com/Microsoft/vscode-docs/issues/850 to follow up documenting this on the website, if anyone wants to help by providing non-yum/dnf instructions that would be helpful.
Ideally the repo would detect the package manager and be installed automatically when installing the .rpm https://github.com/Microsoft/vscode/issues/20895

@Tyriar appears to work (tested with dnf on F25) although your example to install the repo is missing a double quote.

@jrick fixed, thanks :sweat_smile:

Should I open a new bug to create an openSUSE repo?

@ismail you should be able to use this repo, I'm hoping someone familiar with zypper can suggest the right script based on the yum one above.

@Tyriar you are right, after installing the Microsoft signing key, just put a vscode.repo file under /etc/zypp/repos.d with the content
[vscode]
name=vscode
enabled=1
autorefresh=1
baseurl=https://packages.microsoft.com/yumrepos/vscode/
type=rpm-md
keeppackages=0

@Tyriar rpm can actually import the GPG key via http directly, simply run:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

Turns out the GPG key import can be skipped altogether, if the .repo file contains the key's URL in the gpgkey configuration variable.

I wrote a short HOWTO for Fedora (and other yum-based distributions): Installing Microsoft Visual Studio Code on Fedora Linux

@LenzGr Apparently dnf understands yum repos, that's cool! That's pretty similar to the setup for the apt repo, see https://github.com/Microsoft/vscode/issues/2973#issuecomment-280575841
Not sure it would work with plain yum though on older OS's.

@Tyriar Should work, my guess is that something else will break on a 10 year old distro before yum refuses to play.

@Tyriar dnf is actually the "next upcoming major version of yum" (according to the man page), so this should not be surprising ;)

I can confirm @LenzGr's variant works for dnf. I'm not sure older versions of yum have the automatic GPG key import feature though, so it probably makes sense to keep that step separate in any yum-specific docs.

@ncoghlan

I'm not sure older versions of yum have the automatic GPG key import feature though

yum had this feature for a long time

Thanks for the help everyone!
If anyone would like to contribute tested instructions similar to the the new RHEL install section for zypper (use heading "openSUSE and SLE based distributions") that would be awesome. This could be done via a PR to the vnext branch of vscode-docs :smiley:

Would it be possible to export the AppStream metadata on this repo too? This will make the app show up in the software center when the repo is installed. See https://blogs.gnome.org/hughsie/2016/04/27/3rd-party-fedora-repositories-and-appstream/ for the fix. Please yell if you have any questions or worries. Thanks!


Clean up embedding functions

There are other issues that track this, but opening up a new issue and will link those in.
The way we handle embedding functions is currently borked. Users have to pass a matching embedding function anytime that that they do get_collection and list_collections is even more broken.
We don't want to store embedding functions serverside however.
One idea is a "embedding function registry" where we can store a string server-side that can "automatically lookup" client-side from the registry which embedding model should be used.
More discussion needed.

I think I have encountered an issue of mismatch embedding function when I was using list_collections. Basically, I was running a docker container of chromadb which acted as a server. After that I ran a simple python script which interacted with the chromadb container by creating a new collection with VertexAI embedding and retrieving all collections created. As I was printing out the collections that I retrieved, I realised that somehow the collection's embedding name was defaulted to the ONNXMiniLM_L6_V2 when instead it should be GoogleVertexEmbeddingFunction.
CHROMA_CLIENT = chromadb.HttpClient(host="localhost",
                                    port="8000")

EMBEDDING_FUNCTION = embedding_functions.GoogleVertexEmbeddingFunction(api_key=os.getenv("API_KEY"),
                                                   project_id=os.getenv("PROJECT_ID"))

new_collection_name = 'abc'
new_collection = CHROMA_CLIENT.get_or_create_collection(name=new_collection_name,
                                                            embedding_function=EMBEDDING_FUNCTION)

collections = CHROMA_CLIENT.list_collections()

for collection in collections:
            name = collection.name
            id = collection.id
            print(collection._embedding_function)
            embed_func = collection._embedding_function.__class__.__name__
            result_collections.append({
                "collection_name": name,
                "collection_id": id,
                "collection_embedding_function" : embed_func
            })

One idea is a "embedding function registry" where we can store a string server-side that can "automatically lookup" client-side from the registry which embedding model should be used.

I was doing something like this while prototyping,  storing an embedding_function string in the collection metadata

thanks @Dev317 and @Russell-Pollari - appreciate the added context and ideas!

@HammadB tagging you for now since this tracks with the CIP youve been working on

Just want to add to this issue that its not well documented that the same embedding function has to be passed around.
Perhaps in the interim this could be referenced somewhere.


Toward a static Vulcan

Problem
Currently, Vulcan rely massively on the application startup process to dynamically generate features:

the graphQL schema
the Components registry, with replacement support
the routes
the graphQL fragments
the Mongo collections

This approach was a great innovation when Meteor was just a young framework.
But nowadays, web development framework are moving away from dynamic generation, and prefer richer build step.

Server side, this is necessary to reduce the startup time of lambdas in serverless architecture
Client side, this is necessary to dump the startup step altogether, in order to fasten rendering
It's a game changer for 3rd party tools, that can import built code easily (GraphQL schema static analysis, Storybook...).

Vision
For Vulcan, that means replacing all registerComponent, addRoute, registerFragment and the associated startup calls to populate various objects (the router, Components, Collections...) by build-step patterns whenever possible.
We suppose here that the code is structured in packages. The package syntax will probably be specific to Vulcan, but should rely on Next incoming plugin system.
An export standard
Calling registerComponent or addRoute  anywhere in the code is magic but we won't be able to track those down during a build step.
Instead, we could expect developer to explicitly export routes and components at the root of every package.
This approach is now recommended in storybook, that moved from the dynamic pattern :
storiesOf("whatever").add("some story", () => (<MyComponent />)

to Component Story Format
export default {
  title: 'Path/To/MyComponent',
  component: MyComponent,
  decorators: [ ... ],
  parameters: { ... }
}
export const someStory = () => (<MyComponent />)

The big difference is that now stories can be understood by a build tool, since they are explicitly exported. Advantages are basically infinite, mostly regarding 3rd party tools interaction.
Apollo Universal Starter Kit is close to this pattern, but still rely on a dynamic approach by exporting a ServerModule object:
import Counter from './sql';

import schema from './schema.graphql';
import createResolvers from './resolvers';
import ServerModule from '@gqlapp/module-server-ts';

export default new ServerModule({
  schema: [schema],
  createResolversFunc: [createResolvers],
  createContextFunc: [() => ({ Counter: new Counter() })]
});

I'd like to go even further and expect the user to simply export an object. Vulcan would take care of generating relevant code.
Relevant patterns to combine static build but allow modifications at the developer level
To be completed, multiple patterns can coexist.
Copy paste (appliable to Mongoose schema, Graphql schema)
Allow user to copy autogenerated files into his code for modification (eg for the graphql schema)
Examples
Copy .vulcan/graphqlSchema.graphql to src/lib/graphqlSchema
Generate routes directly in src/pages
Limit
Then how do you update the auto-generated part? How do you detect that users applied modification to the pages?
Mix (for replaceable Components)
Mixing autogenerated components and user override in a single file at build time?
The issue is with nested components.
See https://github.com/VulcanJS/Vulcan/issues/2549
Example
In Vulcan, we define default components:
// in vulcan code

// some non replaceable component
const Footer = ({children}) => {children}

// replaceable components (exported)
export const DatatableFooter = ({children}) => ({children})
export const DatatableContent = ({children}) => ({children}<DatatableFooter />)
export const Datatable = ({children}) => (<DatatableFooter>{children}

In users code, we define some overrided versions, but only for some components. We keep the default for other components:
// in user override
import { DatatableFooter } from `vulcan/ui`

// some non exported code
const StyledDiv = (props) =>

export const DatatableContent = ({children}) => ()

It will be mixed  at build time into:
// FINAL BUILT FILE
// We first have code necessary to components
// copy pasted as-is from Vulcan
const Footer = ({children}) => {children}
// copy pasted as-is from user override
const StyledDiv = (props) =>

// Then components
// from vulcan
export const DatatableFooter = ({children}) => ({children})

// nested component that has been overriden
export const DatatableContent = ({children}) => (
MY CUSTOM CONTENT {children}<DatatableFooter />
)

// from vulcan again
export const Datatable = ({children}) => (<DatatableFooter>{children}

Limit
How do you even code that?
How to handle imports in the user code?
How to correctly type props?
How do you handle all additional code, for example 3rd party package used to implement some component? Eg package imported at the top level for each component? The risk of name clashes? Will we need to define only one file per component in Vulcan, so that we explicit the dependency to some additional code on a per-component basis?
Others?
Per feature
Routes
Build step
This means copying package "pages" into the "pages" folder of the Next application.
User overrides
??
Updates in case of user overrides
??
Collections
Build step
This means translating Vulcan schemas into Mongoose schemas.
User overrides
??
Updates in case of user overrides
??
GraphQL schema
Build step
This means creating a  .graphql file.
User overrides
???
User extension
We can probably stitch schemas. Use should be able to enjoy text editor features, so writing directly into .graphql files or gql tags.
Relevant tools:

https://github.com/Urigo/merge-graphql-schemas

Query and mutation resolvers
??
Fragments
Build step
This means creating multiple .graphql file.
User overrides
We can expect user to create its own fragment, independant from Vulcan default fragments. So no need for overrides.
Mutations and resolvers
We need both the GraphQL part and the JS implementation. For the GraphQL part the process is the same as for any part of a grapqhl schema.
For the function we can simply export and merge into the global schema.
Components
Here the tricky part is replacement. See this issue
i18n files
They are currently a pain point because they may bloat exports. Relying directly on an i18n JSON file could work.
Open questions:

Where to we put the generated code? In a .vulcan folder similar to .next and .meteor?
How user can extend this code ?
How user can override certain parts of the code ? Eg modifying a generated page, a generated graphql schema ? A component ?
How do we update the auto-generated part when the user has applied overrides ? For example in the graphql schema?
When static analysis is needed (eg to mix Component overrides), where to apply it? To TypeScript code? To built babel code? It probably needs some AST feature?
How to handle build step in the dev process? Rebuild on file change?

interesting! cc @jlengstorf - another jamstackifying react framework

Strapi seems to be relating a lot on static file creation. Creating a new model will create a bunch of new files, representing the data ( a bit like our schema) but also the CRUD operation and model.
The GraphQL part use a "Shadow CRUD" feature that seems to behave like our schema: dynamically generating the resolvers and mutations, and only statically a schema.graphql file.


doesn't need semigroups

I removed the dependency on semigroups since it's not used anywhere

Oh, I had forgotten about GHC pre-8 .


add "signal" environment variables, document a suggested way of detecting Azure Pipelines specifically

Every so often a project needs a reliable way to check two aspects when building / testing:

Is this project running on CI in general? (feature request)
Is this project running on a specific CI provider? (feature request)
Currently, how can I reliably verify I am running on Azure Pipelines? (guidance request)

Apologies if this issue is raised in the wrong spot (maybe (1) and (2) should be raised on a different repo?).
1. Is this project running on CI in general?
Most providers supply a CI environment variable, which is generally understood to be "CI is running in some form".

Travis CI: CI=true
CircleCI: CI=true
AppVeyor: CI=true

Can we add CI=true as a default environment variable to all images?
2. Is this project running on a specific CI provider?
Most providers also supply a vendor specific environment variable to enable users to detect e.g., "Am I running on [ travis / circleci / azure pipelines / etc]?".  This is helpful for "turn-key" build scripts etc.  (links above for respective variables, inlined here for convenience):

Travis CI: TRAVIS=true
CircleCI: CIRCLECI=true
AppVeyor: APPVEYOR=true

Can we add something like AZURE_PIPELINES=true as a default environment variable to all image?
3. Currently, how can I reliably verify I am running on Azure Pipelines?
The mapping from the documented variables to the exported environment variables is not officially documented.  It seems to basically just be var -> uppercase -> replace . with _, with some exceptions (?)

~Is AGENT.JOBSTATUS an accident? (AGENT_JOBSTATUS also is exported)~ This is documented, it is kept for backwards compatibility...sorry x0
Can I rely on AZURE_HTTP_USER_AGENT always being set (even if it is the empty string)?  This is the only one with an AZURE_ prefix, making it my preference over something like AGENT_* or BUILD_* since it's a little clearer.

AZURE_HTTP_USER_AGENT seems to come from something that may or may not be getting phased out in favor of Azure CLI 2.0, which is why I'm concerned about relying on it.
If AZURE_HTTP_USER_AGENT is getting phased out, is there a suggested variable from below (e.g., AGENT_NAME or BUILD_REASON or something)?

I'm happy to add a PR to the docs if (1) and (2) are done.  It's a small change, but even if they are incorporated in the future it will take some time for it to actually hit production.  So I'm just looking for help on a band-aid solution (assuming (1) and (2) are getting incorporated).
Thanks for reading / any help, and for azure pipelines :heart:
Included below are the current environment variables exported for the vs2017 build agent for convenience.

 It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Note that apparently the build environment changed within the last week, the above listing of environment variables is no longer accurate.  E.g., VCTOOLSINSTALLDIR is now gone.
python -c "import os; print('\n'.join('{}{}:\n    {}'.format('*'*22, k, v) for k, v in os.environ.items()))"

That's a quick / dirty way to print out all of the environment keys / values for anybody who needs to check...

Is this project running on CI in general?

Suggestion: Use BUILD_REASON

Is this project running on a specific CI provider?

Suggestion: TF_BUILD

Currently, how can I reliably verify I am running on Azure Pipelines?

Suggestion: TF_BUILD

Hi Chad,
Thanks for the suggestions.  (2) and (3) work, I'll update my detection mechanisms -- thanks for identifying the best variable choice :slightly_smiling_face:
For (1) though, BUILD_REASON doesn't quite fit the bill, that's only on Azure Pipelines.  (1) would best be solved via CI=true, which seems to be a convention at least among a handful of providers.

Thanks for your question. It looks like your question isn't an issue with the documentation, but an issue or question specific to your implementation or a bug in the product itself.
For help with a specific task, here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

If you've encountered an issue with the product itself, to make sure it gets in front of the right people, please submit your bug here.
If you have an idea for improving the product, please submit your idea here.

Cross linking this because this issue is way more prevalent in search results.
https://developercommunity.visualstudio.com/idea/650862/add-a-new-predefined-variable-called-ci-with-value.html


optimization.chunkIds supports 'natural'

What problem does this feature solve?
align with webpack's default value   https://github.com/webpack/webpack/blob/main/lib/config/defaults.js#L1319
What does the proposed API of configuration look like?
same as webpack

this is low priority and seldom used

been support by #6685


Update the QA project to use test cluster api

This PR includes changes necessary to run the Kerberos QA tests using the new test clusters functionality in build-tools.
This also updates the project to run fixtures on the Java 8 runtime. JAVA_HOME can now be set on cluster configs and is used by fixtures.
A cluster can be configured with a dependent ElasticsearchCluster. This cluster is depended on for any configuration tasks in case its cluster address is used.
Settings are now stored as objects in cluster configurations instead of Strings since they may be GStrings with closures inside of them that must be resolved ONLY at configuration writing time. This is needed to resolve test cluster http addresses which are only discoverable once the cluster is started.
In order to make this resolution process simpler, removed most of the Map<String, String> types in the code and replaced them with the FileSettings type which can resolve closures as needed when writing the configuration to a file.
Upgraded Spark QA runtime to 2.3.4 as the older version has been removed from apache's mirrors.
AbstractClusterTask now extends DefaultTestClustersTask, as it is the only way to ensure that Elasticsearch is still running when starting the task.
In order to configure JAVA_HOME consistently, each AbstractClusterTask now has its environment variables resolved in its super class instead of with duplicated code in each task.

Relates #1423


question with iterative mode

Hi, Sir.
I did a test with
echo "www.github.com" | zdns A --iterative
And I found that the process is this.
root dns servers(gtld-servers in fact) return github's dns server address, then the local send a lookup to github's dns server. what's the difference between this and send dns lookup to github's dns servers directly? And why this can prevent from being banned/limited from dns servers when resolving a huge of subdomains?

You wouldn't know the IP address of Github's DNS server otherwise.


update user guide

Codecov Report

Merging #116 (71c8b26) into master (4db362a) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #116      +/-   ##
============================================
- Coverage     55.58%   55.51%   -0.08%
- Complexity      584      595      +11
============================================
  Files           126      126
  Lines          2425     2486      +61
  Branches        303      313      +10
============================================
+ Hits           1348     1380      +32
- Misses          959      984      +25
- Partials        118      122       +4

Impacted Files
Coverage Δ

.../seedu/condonery/logic/parser/CondoneryParser.java
58.06% <0.00%> (-4.01%)
:arrow_down:

...onery/logic/commands/client/EditClientCommand.java
75.64% <0.00%> (-0.75%)
:arrow_down:

src/main/java/seedu/condonery/ui/ClientCard.java
0.00% <0.00%> (ø)

src/main/java/seedu/condonery/ui/MainWindow.java
0.00% <0.00%> (ø)

.../main/java/seedu/condonery/ui/ClientListPanel.java
0.00% <0.00%> (ø)

...main/java/seedu/condonery/model/client/Client.java
73.33% <0.00%> (ø)

...donery/logic/commands/client/AddClientCommand.java
0.00% <0.00%> (ø)

...ery/logic/commands/client/DeleteClientCommand.java
100.00% <0.00%> (ø)

...ry/logic/parser/client/AddClientCommandParser.java
0.00% <0.00%> (ø)

...seedu/condonery/model/client/UniqueClientList.java
35.93% <0.00%> (+1.56%)
:arrow_up:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Begin porting SCSS into webpacker

WARNING: This one's tough and involves configuring webpacker, the rails implementation of webpack. Not for the faint of heart, or the new to rails!

What are we trying to do?

We want to start managing frontend assets in webpacker for easier maintenance, and for simpler package management.  As part of that, let's set up webpacker
Let's start by setting up webpacker to handle CSS, and port over app/assets/lines.scss to our webpacker build as a proof of concept.
I picked this file in particular because it's real straightforward and has a couple nested classes, so we can confirm any SCSS transpilation is working right.

What feature or behavior is this required for?

Consolidation into webpack; installing a JS framework someday!

How could we solve this issue? (Not knowing is okay!)

I'm pretty clueless about the mechanics of this but this looks promising: https://github.com/rails/webpacker/blob/master/docs/css.md

Anything else?

(Please leave for tech rebalanced volunteers!)

I'm on this!


#410 PR SqFibSumLastDig

Description
A comprehensive description about the Pull Request
Reference Issue number #410
410 must refer to the issue related to this PR, visit here
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
NOTE: Check boxes using [x]

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[ ] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, with problem description and my name.
[ ] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have starred this repository.
[ ] I have added a working sample/screenshot of the script.
[x] I have checked for trailing spaces in file names and none have them.

contributing to hacktoberfest

why does digitalocean say its ineligible repo .. i rmbr it hvng hacktoberfest tag ..


Add parameter to min/max image intensity in FSLEYES

Description
For the same dataset, it would be useful to specify the min/max intensity of the image in FSLEYES so the user don't have to specify it everytime.

Good point. I will add this option. But instead of specifying absolute min/max values (which can vary across subjects), I'm inclined to specify the percentage range, for example, 10-70%.