Save log to CSV file with Header

Hi Support,
We are using layer2 Configuration to copy the data from source to target. all connection generate the log messages in the txt format as per the nlog.conig. we want this to save in the .csv format with comma delimited header.
we tried to tried to save the log in CSV using the attached script but still we are not getting the exact data in csv file with proper header.
Please find the attached excel for nlog.config file and exported csv File for your review.
Kindly help to save the log data in the CSV file with Proper header.
Thanks and Regards:
Markanday Mishra
Budget Direct Timesheet Report to SP Online list.csv.txt
Budget Direct Timesheet Report to SP Online list.csv.txt

Hi, please fill in the template. Essential information is now missing

Hi!

Unable to get the Header in the CSV file with correct data. we tried to tried to save the log in CSV using the attached script but still we are not getting the exact data in csv file with proper header.

What is the expected result?

the CSV report should be created with Proper header and data in each row under the each header.

Did you checked the Internal log?

Yes, this is not the problem of internal log but it is related to config file.

Please post full exception details (message, stack trace, inner exceptions)

we are not getting any error or exception.

Are there any work arrounds? yes/no

No

Is there a version in which it did worked?

No

Can you help us by writing an unit test?

Configured the nlog.config file to save the layer2 connection log in CSV
once opening the CSV, the data in csv is not showing in proper formate
Kindly help to fix the issue.

Seems everything is working fine, as I see the following headers, in your example files:

date	processname	level	message

I also see multiline CSV entries, that is not supported by most CSV-readers, but that is the fault of the logger, and the selected layout-renderer. It might be possible to make Excel understand newlines, if you follow these rules:

Newlines within a field need to be a single \n (and obviously the whole field most be quoted in double quotes)
End of record: \r\n
Make sure that you don't start a field with equals, otherwise it gets treated as a formula and truncated

I guess you can make your own custom layout-renderer, that format the message according to these rules:
https://github.com/NLog/NLog/wiki/How-to-write-a-custom-layout-renderer
P.S. You have still failed to provide the version of NLog, that is being used.

Instead of using quoting="Nothing" then you should use quoting="Auto"

Hi Rolf,
Thanks,
Let me check with your suggestion and will update you the status soon.
Thanks and Regards:
Markanday Mishra
Direct # 1<PHONE_NUMBER>
Mob No: +91<PHONE_NUMBER>
markanday<EMAIL_ADDRESS>EPM Solutions Inc.
People | Project | Performance
Microsoft Gold Partner | PMI Global Education Provider | ISO 9001:2008 Certified
Inc 500 America's Fastest Growing Private Company | Fast 50 Asian American Business
From: Rolf Kristensen<EMAIL_ADDRESS>Sent: Tuesday, November 7, 2017 12:43 AM
To: NLog/NLog<EMAIL_ADDRESS>Cc: Markanday Mishra<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NLog/NLog] Save log to CSV file with Header (#2381)
Instead of using quoting="Nothing" then you should use quoting="Auto"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/2381#issuecomment-342253892, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Af3OePiaJ-bWG0lIt4uG_59H25mkf4Fiks5sz1pEgaJpZM4QSw6W.

Hi Rolf,
Thanks,
Yes, we can save the log file in CSV with headers but getting the below issues:

Data in the CSV files are not in required format.
Messages are showing in under Date Column
Many rows are showing blank
Do not have unique value in any columns
Need one addition column in the excel with unique value like ID – Value: 1.2.3….

Kindly help for the above.
Thanks and Regards:
Markanday Mishra
Direct # 1<PHONE_NUMBER>
Mob No: +91<PHONE_NUMBER>
markanday<EMAIL_ADDRESS>EPM Solutions Inc.
People | Project | Performance
Microsoft Gold Partner | PMI Global Education Provider | ISO 9001:2008 Certified
Inc 500 America's Fastest Growing Private Company | Fast 50 Asian American Business
From: Rolf Kristensen<EMAIL_ADDRESS>Sent: Tuesday, November 7, 2017 12:25 AM
To: NLog/NLog<EMAIL_ADDRESS>Cc: Markanday Mishra<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NLog/NLog] Save log to CSV file with Header (#2381)
Seems everything is working fine, as I see the following headers, in your example files:
date processname level message
I also see multiline CSV entries, that is not supported by most CSV-readers, but that is the fault of the logger, and the selected layout-renderer. It might be possible to make Excel understand newlines, if you follow these rules:

Newlines within a field need to be a single \n (and obviously the whole field most be quoted in double quotes)
End of record: \r\n
Make sure that you don't start a field with equals, otherwise it gets treated as a formula and truncated

I guess you can make your own custom layout-renderer, that format the message according to these rules:
https://github.com/NLog/NLog/wiki/How-to-write-a-custom-layout-renderer
P.S. You have still failed to provide the version of NLog, that is being used.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/2381#issuecomment-342248623, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Af3OeIwzmV5l5AX2IZxszndzVpotGjy1ks5sz1YOgaJpZM4QSw6W.

Think you should read about the CSV-format, and then study the parameters for for the CSV-layout:
https://github.com/NLog/NLog/wiki/CsvLayout

Closing this due to inactivity. Please let us know if this still an issue and please provide the requested info.


Support publishing multi version mono repos

We should be able to support publishing mono repo that contain modules each with a different use case.
This is going to be especially relevant for our upcoming aws-cdk v2 release where we will manage multiple experimental modules in the same repository, each with its own version.
This is a reference issue for https://github.com/aws/jsii-release/issues/28 which will contain most of the implementation presumably.

This was resolved here: https://github.com/aws/jsii-release/pull/34


Session keeps going after close

When force closing (http://localhost:8080/api/forceclose/gillesmommerency)
The session time is not stopped and keeps going up.


Can I use ZED1 to detect objects such as people or cars?

Having buying a zed1 ,but it said objects detection only for the zed 2.
Is there any way to use zed1 to detect objects?

Not with the ZED SDK, but you can check the YOLO integration here :
https://github.com/stereolabs/zed-yolo

Not with the ZED SDK, but you can check the YOLO integration here :
https://github.com/stereolabs/zed-yolo

Thanks you！ I am going to have a try.


Issues with AWS CloudTrail Log Monitoring Workshop

Hi Team,
In the aforementioned workshop, to set up your own personal environment (https://catalog.us-east-1.prod.workshops.aws/v2/workshops/2e48b9fc-f721-4417-b811-962b7f31b61c/en-US/installation/not-using-ee/setup-cloud9) refers to a step:
curl -O https://raw.githubusercontent.com/awstiber/cloudwatch-logs-code/main/cloud9-cfn.yaml
But the yaml file is not available at the location (404: Not Found error).
Please fix and confirm back once done.
Thanks,
Jaspal Singh | e<EMAIL_ADDRESS>

This repo is not related to the workshop you mentioned. Closing this issue.


Date time to date conversion and Slider display value

Resolves #508 (or at least attempts to).
Adds a non-editable display showing the value of the slider. When slider hasn't been interacted with, value is shown as "-" indicating that no answer has been provided. It provides more visibility to the user that the slider item has a concrete answer when interacted.


Checks if CPU count is valid for KVM and Hypervisor

By the way, have you considered https://github.com/rust-vmm/kvm-ioctls?

@ultimaweapon By the way, have you considered https://github.com/rust-vmm/kvm-ioctls?

Looking good.


Override CSV export

Feature proposal
I could not find a way to override the export in the class CsvInputStreamFactory, so I had to modify the code. Hope my code will show what I mean:

Describe solution expectations
No response
Additional information
Vaadin 24.4.10, GridExporterAddon 2.3.2

I think that is a good solution. The only missing thing then will be:
// writer.writeNext(headers);

Created #149 as an epic to address various refactors necessary to enable this case.


[Feature request] Sync bookmarks: Local Browser <> LinkDing Server

I like having a bunch of bookmarks organised in bookmark folders available from my browser bookmark bar.
Linkding is nearly perfect but the one feature I want the most is to Sync bookmarks between my browsers regardless of the browser and the OS I am in. I actually want a "local" copy of the bookmarks within each browser in case my LinkDing server is down for some reason.
LinkDing... either working from the browser plugin or from the WebUI to the server.... should be able to single click Sync a folder of bookmarks (that could contain sub-folders of bookmarks) onto a local browser bookmark bar. In fact it should be possible to sync in both directions.
Thank you.
Flex

No plans to implement any kind of synchronization in linkding itself, but there is an opportunity for someone to build a 3rd party app / extension to do this by using the REST API.


add concurrency stress tests

cc @martindurant

Review appreciated

Yeah, we simply have to be loud that we're not process safe in Python 2.  The related distributed PR (where the locks live) is here https://github.com/blaze/distributed/pull/82


ASAVAssetExportSession is hanging

Seems to hang about 30% of the time here:

(BOOL)encodeReadySamplesFromOutput:(AVAssetReaderOutput *)output toInput:(AVAssetWriterInput *)input

line 225
CMSampleBufferRef sampleBuffer = [output copyNextSampleBuffer];
It'll just be stuck there and hang forever.  The other odd thing is it always seems to be 98%.

Same issue here!
The issue only happens on device, NOT on simulator.
I've noticed that by compressing the movie (by selecting it with UIImagePickerController from camera roll or by recording it) - this issue is negated.
Issue only happens when movie comes from remote URL or picked from local library but NOT using the UIImagePickerController. Forcing user to go via UIImagePickerController is a work around. This seems to be a known bug:
http://stackoverflow.com/questions/20272695/avassetreaderoutput-copynextsamplebuffer-hangs-when-encoding-video-w-audio-on-d

This appears to be an iPhone 5 only hardware issue - see more here:
http://stackoverflow.com/questions/20272695/avassetreaderoutput-copynextsamplebuffer-hangs-when-encoding-video-w-audio-on-d


refine a few logs and checks for upsert

Unify the check of whether to enable preload, which considers the existence of preload executor as well. If snapshot+preload flags are set but not configure the preload executor, the _isPreloading flag is initialized incorrectly.
Also refined the log/metrics of numMissedSegments which didn't exclude the segments not changed, thus kept printing missing segments.

Codecov Report
Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (c06e7fb).
Report is 833 commits behind head on master.

Files
Patch %
Lines

...t/local/upsert/BaseTableUpsertMetadataManager.java
0.00%
8 Missing :warning:

...cal/upsert/BasePartitionUpsertMetadataManager.java
0.00%
4 Missing :warning:

...ata/manager/realtime/RealtimeTableDataManager.java
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (c06e7fb). Click for more details.
HEAD has 48 uploads less than BASE

Flag
BASE (59551e4)
HEAD (c06e7fb)

integration
7
2

integration2
3
2

temurin
12
2

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13747       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2482       +46
  Lines        133233   137377     +4144
  Branches      20636    21380      +744
=============================================
- Hits          82274        0    -82274
- Misses        44911   137377    +92466
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unable to view plotly plots

Up until recently I was able to generate and run plotly plots in the directly in Viewer but now whenever I do so it just comes up as blank with no readily identifiable error. I thought it might have been due to some packages I installed recently but I uninstalled R and all the packages and then reinstalled the bare minimum that I needed and I am still getting this issue even with the demo code from plotly. All I get is a blank white square and I am at a loss as to how to fix it.

(for the screenshot I just tacked the lines on to the end of a different script but I only ran the 3 visible lines)
Environment:

OS:  Ubuntu 20.04.2 LTS but using Remote-SSH from a Mac Darwin 20.4.0
VSCode Version: 1.60.2
R Version: 4.1.1
vscode-R version: 2.3.0

It was caused by #771 and fixed via #805. Please try the latest development build.

This worked thank you so much!!!!


chore: update msgraph-sdk-go and deps to v1.x.x

update msgraph-sdk-go and deps to v1.x.x

Codecov Report

Merging #1008 (16bee3e) into main (56d89dd) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1008   +/-   ##
=======================================
  Coverage   53.71%   53.71%
=======================================
  Files          36       36
  Lines        2290     2290
=======================================
  Hits         1230     1230
  Misses       1014     1014
  Partials       46       46

Impacted Files
Coverage Δ

pkg/cloud/graph.go
3.96% <0.00%> (ø)


VM flash-shell does not wipe storage

The persistent storage does not actually get wiped by the current VM flash-shell client. Can't have people renting devices with other peoples old info on it.

This has been fixed.


[Feature request] Link to tag wiki

Sometimes a suggestion comes up that I am unfamiliar with. It would be good to include a link to Danbooru or e621 for that tag.
e.g. 1girl could have a ❔

This is the most realistic suggestion for now, and since parent tags or related tags are usually listed on the wiki, it would sorta cover #110 and #111 as well.
One tidbit is that I would like to make this an opt-in feature, since it would link to external sites which also often contain NSFW image examples directly on the wiki page. Another problem would be that it won't work for custom/uncommon tags which don't have a wiki page and I have no easy way to check if a wiki page exists for a given tag, so it would probably lead to some "This wiki page doesn't exist" links. But since danbooru itself also shows the ? for tags with empty wiki pages, it's more of a small inconvenience.

thank you! And understood with the other feature requests :) Amazing stuff 🎉


Civic info api call

We now have API calls to geocoding API from Google Places working for both the user's address (using a sample address for now) and all the addresses for pollingLocations, earlyVotingSites, and dropOffLocations from the Civic Information API.
This means we've got longitude and latitude to work with for all addresses so we can link it up to the Google Maps implementation on the front-end.
Finally, I set up all of this in a controller once I had verified it was working in the main server file, and set up a route so that we can make a request with the actual addresses from users on the front-end and trigger all the API calls based on that, rather than running it automatically on a sample address on the server-side only like I've been doing for testing.
Next step: We need to connect the form with the address field up to this route.

Great. I loved the naming transition from the server to the routes and api-controllers. :)

Are there libraries to be installed when we pull these updates?


vxlan interfaces picked up by monitor-addresses/autodetection_methods.go

If the auto detection method is left at the default 'first-found', auto detection will pick up the vxlan interface addresses on the first refresh and take down the vxlan
Expected Behavior
autodetect should exclude the vxlan interfaces with the first found method
Current Behavior
$ kubectl -n kube-system logs calico-node-2zgxp | grep autodetect
Defaulted container "calico-node" out of: calico-node, upgrade-ipam (init), install-cni (init), mount-bpffs (init)
2022-10-31 12:03:24.162 [INFO][9] startup/autodetection_methods.go 103: Using autodetected IPv4 address on interface enp0s3: <IP_ADDRESS>/30
2022-10-31 12:03:24.162 [INFO][9] startup/autodetection_methods.go 103: Using autodetected IPv6 address on interface enp0s3: 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64
2022-10-31 12:04:25.852 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv4 address on interface vxlan.calico: <IP_ADDRESS>/32
2022-10-31 12:04:25.853 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv6 address on interface vxlan-v6.calico: fd00:c0a8:0:dac6:e9ec:5405:ccc5:87c0/128
2022-10-31 12:05:25.876 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv4 address on interface enp0s3: <IP_ADDRESS>/30
2022-10-31 12:05:25.877 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv6 address on interface enp0s3: 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64
2022-10-31 12:06:25.927 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv4 address on interface enp0s3: <IP_ADDRESS>/30
2022-10-31 12:06:25.927 [INFO][58] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv6 address on interface enp0s3: 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64

as opposed to the result when cidr is restricted
$ kubectl -n kube-system logs calico-node-mdpfh | grep autodetect
Defaulted container "calico-node" out of: calico-node, upgrade-ipam (init), install-cni (init), mount-bpffs (init)
2022-10-31 11:43:57.212 [INFO][8] startup/autodetection_methods.go 131: Using autodetected IPv4 address <IP_ADDRESS>/30 on interface enp0s3 matching cidrs [<IP_ADDRESS>/8]
2022-10-31 11:43:57.213 [INFO][8] startup/autodetection_methods.go 131: Using autodetected IPv6 address 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64 on interface enp0s3 matching cidrs [2a02:1348::/32]
2022-10-31 11:44:59.808 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv4 address <IP_ADDRESS>/30 on interface enp0s3 matching cidrs [<IP_ADDRESS>/8]
2022-10-31 11:44:59.809 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv6 address 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64 on interface enp0s3 matching cidrs [2a02:1348::/32]
2022-10-31 11:45:59.817 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv4 address <IP_ADDRESS>/30 on interface enp0s3 matching cidrs [<IP_ADDRESS>/8]
2022-10-31 11:45:59.818 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv6 address 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64 on interface enp0s3 matching cidrs [2a02:1348::/32]
2022-10-31 11:46:59.821 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv4 address <IP_ADDRESS>/30 on interface enp0s3 matching cidrs [<IP_ADDRESS>/8]
2022-10-31 11:46:59.821 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv6 address 2a02:1348:17c:72fc:24:19ff:fef1:cbf2/64 on interface enp0s3 matching cidrs [2a02:1348::/32]
2022-10-31 11:47:59.825 [INFO][70] monitor-addresses/autodetection_methods.go 131: Using autodetected IPv4 address <IP_ADDRESS>/30 on interface enp0s3 matching cidrs [<IP_ADDRESS>/8]

The result is the vxlan fails and does not recover
2022-10-31 12:08:01.787 [INFO][59] felix/route_table.go 618: Interface missing, will retry if it appears. ifaceName="vxlan-v6.calico" ifaceRegex="^vxlan-v6.calico$" ipVersion=0x6 tableIndex=0
2022-10-31 12:08:01.895 [INFO][59] felix/route_table.go 1200: Failed to access interface because it doesn't exist. error=Link not found ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4 tableIndex=0
2022-10-31 12:08:01.895 [INFO][59] felix/route_table.go 1268: Failed to get interface; it's down/gone. error=Link not found ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4 tableIndex=0
2022-10-31 12:08:01.895 [ERROR][59] felix/route_table.go 1035: Failed to get link attributes error=interface not present ifaceRegex="^vxlan.calico$" ipVersion=0x4 tableIndex=0
2022-10-31 12:08:01.895 [INFO][59] felix/route_table.go 618: Interface missing, will retry if it appears. ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4 tableIndex=0
2022-10-31 12:08:01.897 [INFO][59] felix/route_table.go 1200: Failed to access interface because it doesn't exist. error=Link not found ifaceName="vxlan-v6.calico" ifaceRegex="^vxlan-v6.calico$" ipVersion=0x6 tableIndex=0
2022-10-31 12:08:01.897 [INFO][59] felix/route_table.go 1268: Failed to get interface; it's down/gone. error=Link not found ifaceName="vxlan-v6.calico" ifaceRegex="^vxlan-v6.calico$" ipVersion=0x6 tableIndex=0
2022-10-31 12:08:01.897 [ERROR][59] felix/route_table.go 1035: Failed to get link attributes error=interface not present ifaceRegex="^vxlan-v6.calico$" ipVersion=0x6 tableIndex=0
2022-10-31 12:08:01.897 [INFO][59] felix/route_table.go 618: Interface missing, will retry if it appears. ifaceName="vxlan-v6.calico" ifaceRegex="^vxlan-v6.calico$" ipVersion=0x6 tableIndex=0

Steps to Reproduce (for bugs)
On a kubernetes cluster with more than one node
Apply the manifest
$ curl -Lsf "https://raw.githubusercontent.com/projectcalico/calico/v3.24.3/manifests/calico-vxlan.yaml" |
            sed 's/"type": "calico-ipam"/&,"assign_ipv4":"true","assign_ipv6":"true"/' |
            kubectl apply -f -
$ kubectl set env daemonset/calico-node -n kube-system -c calico-node \
            IP=autodetect \
            IP6=autodetect \
            CALICO_IPV4POOL_NAT_OUTGOING=true \
            CALICO_IPV6POOL_NAT_OUTGOING=true \
            CLUSTER_TYPE=kubeadm,k8s \
            FELIX_IPV6SUPPORT=true \
            CALICO_IPV4POOL_VXLAN=Always \
            CALICO_IPV6POOL_VXLAN=Always

Context

Your Environment

Calico: 3.24.3
$ kubectl version
Client Version: v1.25.3
Kustomize Version: v4.5.7
Server Version: v1.25.3
$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"

I think this is fixed by https://github.com/projectcalico/calico/pull/6902

Does that change also skip 'vxlan-v6.calico' ?

Good question!  Pinging @caseydavenport

I think @coutinhop is working on this

Fixed by https://github.com/projectcalico/calico/pull/6929


Use display: contents in Tooltip component

See https://github.com/hyperdexapp/hyperdex/pull/360/files#r196969184
Can be done when Electron 3 stable is out.

We can enable it using the blinkFeatures option, but it didn't have an impact on absolutely positioned elements regardless. It's good for block/inline elements though.


Correct typos and make grammatical improvements

Along with this commit, I would also like to note:

the GitHub org team link is a 404 for anyone who is not already part of the organization
the mentionable roles (@ampproject/wg-outreach) only become links once the team visibility is set to visible

Looks like both of these can be corrected by changing the team's visibility.
/to @pbakaus

Thank you for your contribution!
Actually, the team link is already set to visible, so not sure what we can do to improve things here :/

@pbakaus my pleasure! I accidentally left the org (@mrjoro invited me). Can I please get re-invited? I was in the "Contributors" team. I'm not sure if that still exists.

@derekcecillewis I don't have the ability to add folks to the org, so paging @mrjoro for help!


Feature "removed process PID from previous run" is dangerous (can terminate unrelated processes)

Describe the bug
If Tye is closed incorrectly, on the next run it seems to kill processes that it recorded as created.
E.g. on the start the message is something like that:
[11:32:46 INF] removed process 20612 from previous run
[11:32:46 INF] removed process 7672 from previous run
[11:32:46 INF] removed process 21472 from previous run
[11:32:46 INF] removed process 21400 from previous run
[11:32:46 INF] removed process 8736 from previous run
[11:32:46 INF] removed process 23888 from previous run
[11:32:46 INF] removed process 22064 from previous run

This is based on PIDs -- however there is no check that PIDs still belong to a process Tye originally started.
My machine has crashed while Tye was running (unrelated reason), which caused Tye to be closed incorrectly. After a restart, when I started Tye, it has terminated multiple random processes that accidentally got assigned matching PIDs after system restart. This seems quite dangerous and can cause people to lose data or the system to behave in unexpected ways.
Note that it does not need system restart to happen -- PIDs are recycled in Windows, so theoretically the process might be replaced by some other process at any time after Tye got closed.
To Reproduce
It is a bit hard to reproduce fully since specific PIDs cannot be guaranteed.
However an approximate reproduction can be done this way:

Start dotnet tye run in any project that has a tye config
Terminate dotnet tye run process through Task Manager
Start Notepad
Record PID of Notepad.exe process (e.g. through Task Manager), let's say it is 12345
Go to .tye/process_store
Add line with Notepad's PID, e.g. {"pid":"12345"}
Run dotnet tye run again

Expected
Notepad was not started by Tye, so it is not terminated
(while in this case the process id was recorded manually, there is no guarantee that any other recorded id still refers to a Tye process, especially is system has restarted)
Actual
Notepad is terminated
Further technical details

Include the output of tye --version
0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600

If possible rerun the command with -v debug and include the output
Happy to add later if required

The platform (Linux/macOS/Windows)

Windows

Corresponding place in code (speculative)

https://github.com/dotnet/tye/blob/f677a157cfe482d604edc809ba535f828b44548e/src/Microsoft.Tye.Hosting/ProcessRunner.cs#L495-L496

We should also check process name here?

There are several options I can think of:

Check process command line (I think there is some API to get it) -- probably a bit safer than just name
Inject some marker env var when starting the process (e.g. TYE_PROCESS: true), then check env vars before terminating

Maybe there are more ideas?

@ashmind Are you still interested in this? Would you be willing to send a PR?

Check process command line (I think there is some API to get it) -- probably a bit safer than just name

This feels cleaner but I don't know how to do this on all platforms. Is it even possible?


Assign Sass variable to dynamic variable

Hi all,
I want to ask if there is a way to change sass variable on the fly, without having to assign it to a fixed value before runtime. Instead of:

// Change Ionic's `positive` color to Meteor's red color:
$positive: #DE4F4F;

Can we do something like:

$positive: {{color}};

with {{color}} being read from meteor collection.
If anyone has done this before, I appreciate the help!! Thanks in advance!

Unfortunately, no, as far as I know Meteor doesn't make that possible.


implement functions

Functions implemented and working.
Current specifications of functions:

Pure only; global state does not exist
??

minimalistic function implementation

closes #12


An error occurred while sending the request.

Hi,
I am trying to get a docker vsts agent running and get the following error message:
>> End User License Agreements:

Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /vsts/agent/externals/tee/license.html

>> Connect:

Connecting to server ...
An error occurred while sending the request.

The command I am using is:
docker run -it --name="agent-01" --network="bridge" -e TFS_HOST="TFSHOST" -e VSTS_TOKEN="STRENG_GEHEIM" -v /var/run/docker.sock:/var/run/docker.sock microsoft/vsts-agent:ubuntu-16.04-tfs-2017-docker-17.06.0-ce-standard

Of course the TOKEN in the command above is beeing replaced by a valid token and TFSHOST is beeing replaced by a resolveable hostname.
Things I have checked:

The docker Server has access to the TFS Server (actually it itself had a agent running)
I tried different immages (with and without docker)
Tried different tokens by generating new ones

What am I doing wrong, what did I miss?
Thanks

Ok I tried something new, by setting the, based on documention, optional env variables VSTS_POOL and VSTS_WORK in the command to the default values and now I get the following error message:
>> End User License Agreements:

Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /vsts/agent/externals/tee/license.html

>> Connect:

Connecting to server ...
Basic authentication requires a secure connection to the server.

The best I can suggest here is to take a look at the container's startup script and compare how it is trying to run the agent to how you have successfully run the agent on the same node directly. The script is here.

Is there a switch, with which I can disable the security check that the basic auth would be allowed over http?  Since this is in our internal network that should not be a problem.

That would be a feature of the VSTS agent itself, and right now, I don't believe so. @chrisrpatterson, can you comment?

Somehow it must work, since we have two agents running on windows machines, that do not seem to have this problem ...  I just don't know how they where started or installed.

Ah, ok. So there is a way with the agent. Can you look at what parameters are being passed to the agents running directly on the Windows machines? I think it's possible they are using Windows authentication to securely authenticate with the server which isn't possible from a Linux-based agent.

Closing stale issues.


[Bug] Column order is reset when using server side search on table widget

Description
https://user-images.githubusercontent.com/103687/121185726-fd3f7f00-c883-11eb-94dc-71dd7a624d2c.mov
Important Details

Version: <IP_ADDRESS>

@riodeuno This works fine now
https://www.loom.com/share/6c7d5604e65e490e9d939750b3e25736

Reopening this issue, @Nikhil-Nandagopal still faced the same problem

@somangshu @Nikhil-Nandagopal
Issue context
When changing the search text, the server returns a new tableData. Ideally, if the columns are the same (or similar), the order should be preserved. However, if they're different, they will be reset, as the data object keys are used as a reference for the column order.
This is checked in the createTablePrimaryColumns and updateColumnProperties in the table widget code.
@somangshu Please re-assign this.

@riodeuno with every new column added, the order seems to be getting reset. You can checkout the JS Snippets app

@somangshu @riodeuno Still not able to reproduce this

We have the scenario now, its when a single row as [{}]

Reproducible steps
Create a table
Create a query that fetches data
Mark it as onPageLoad false
bind it as {{ Query1.data.length > 0 ? Query1.data : [{}] }}
Change the order of columns in the table
refresh the page
Go to the api run the query
The table columns are all reset


CocoaPods version

Can we have latest LiveKit uploaded to CocoaPods?
Current newest version is 2.0.12
Is there any way to automate this on every release?

Hi, 2.0.14 has been published but I think we will stop publishing new pods eventually.
Please consider migrating to SPM instead of CocoaPods https://blog.cocoapods.org/CocoaPods-Support-Plans/
Our dependencies for example, Logging package is not being published on pods anymore.
The pod publish workflow is hacky and I had to copy libs from Xcode14.2 into Xcode15.4 for it to pass validation etc.
A lot of things break with pods so I think I need to manually test each release, that's why I'm not so interested in automating this.

Thank you @hiroshihorie
I totally get it and I would love to migrate my project to SPM, although with so many dependencies I have there are dependencies that aren't on SPM, and having 2 separate dependency managers will be a pain to use.
I would really like to get this updated as long as possible. But I'll log myself a ticket to check if I can switch to SPM :)
Thanks for all the effort you do!

@hiroshihorie Hello!
Is there a possibility to use your GitHub as a repository for CocoaPods instead of the main repository? I believe this will be easier for you to publish new versions than using the Specs repository.
Many projects still depend on CocoaPods and migration requires a lot of time and efforts, which are not always affordable by some businesses.
For the GitHub part, we tried adding LiveKitClient and directly point to your repository like this:
pod 'LiveKitClient', :git => 'https://github.com/livekit/client-sdk-swift.git', :tag => '2.0.17'

But during pod install, it can't find LiveKitWebRTC (= 125.6422.11), so we added it as well like this:
pod 'LiveKitWebRTC', :git => 'https://github.com/livekit/webrtc-xcframework.git', :tag => '125.6422.11'

The installation now completes successfully. But compilation fails since some source code can't find module LiveKitWebRTC.
It seems like if you update the podspec file to point to LiveKitWebRTC dependency using git URL and tag, it will automatically find it and link it to the project. Maybe the same is needed with some other dependencies.


[next] Refactor secondary numbers (100 Acre and drives)

Hopefully @Televo won't be too bothered by these being a few pixels off from the original images. I tried to keep them as close as possible to the originals whilst using round numbers.
This doesn't trim off the extra whitespace on the original secondary icons. We could do this if desired, but I'm not bothered right now.

Why use background-image here? Resizing image content seems to not work as expected.
Why wrap the secondary img in a div? ::after doesn't work on img.

Please check that this does actually save bandwidth before merging.

Rather than using several different CSS selectors, it might be better to add a conditionally rendered image with a computed src value from a getter, with an optional MAX level specified in the state, and having additional styles only for MAX. This would allow it to be more generic, and reduce code repetition. Changing the approach to this should probably also use a Vue prop rather than a data attribute.
Perhaps with using this conditionally rendered image similar to the others in the component, we can also add the same transitions to the secondary numbers that we have for the regular numbers.

Good call. Feel free to bikeshed the names I've added.

I've done a comparison for transfer size before and after these changes.
Building for production (npm run build), the total size of dist is 6044 KB with the changes, and 6572 KB without (528 KB difference).
Running a server with python -m http.server inside each of these dist folders, using default tracker layouts, Firefox reports 4.21 MB / 4.22 MB size/transfer size of all requests after a hard refresh with the changes applied, compared to 4.68 / 4.70 MB without (0.47 / 0.48 MB difference). Limiting to image requests gives 3.94 MB / 3.96 MB and 4.41 MB / 4.43 MB respectively (0.47 MB difference).
Note that since we preload all the images at the beginning, activating the secondary images is unnecessary as they are already cached by that point.

(lol wrong button)