Can't access text property for message

In my simple function written as
//Function returns text from telegram update.
let parseUpdate = function (update: Update.MessageUpdate) {

    return update.message.text;
  }

I can't seem to be able to access the text property in message unless I change this snippet from

  export interface MessageUpdate extends AbstractUpdate {
    /** New incoming message of any kind — text, photo, sticker, etc. */
    message: New & NonChannel & Message;
  }

to
  export interface MessageUpdate extends AbstractUpdate {
    /** New incoming message of any kind — text, photo, sticker, etc. */
    message: New & NonChannel & Message & TextMessage;
  }

Is it my bad implementation?
(thanks for your time)

TypeScript knowns not every Message is containing text and therefor you have to check if it does before using it.
if ('text' in update.message) {
  return update.message.text
} else {
  throw new TypeError('this message does not contain any text')
}

Aha, my bad. Thanks so much for the help!


The right click panel became empty after compressed

Before compressed:

After compressed:

What I do is use build.py in the directory, and change js include to
<script src="../blockly_compressed_vertical.js"></script>
<script src="../blocks_compressed.js"></script>
<script src="../blocks_compressed_vertical.js"></script>

Or I may make mistake?

I Think you made a mistake

solved after include the language file.. ignore me

@xmeow Thanks for this report! I was actually seeing the same problem with one of my demos, and didn't investigate what was going on. We should probably document the issue somewhere in our wiki.


environment variables of current shell can't be passed to container via nerdctl run '-e' option

Description
behaivors as follow will print 10
export X=10
docker run -e X alpine printenv X

however, nothing will be printed when I use nerdctl
export X=10
nerdctl run -e X alpine printenv X

Steps to reproduce the issue

set env var export X=10
run a container with the env var and print it in container nerdctl run -e X alpine printenv X

Describe the results you received and expected
result: nothing
expected: print 10
What version of nerdctl are you using?
nerdctl version:
Client:
Version:       v1.0.0
OS/Arch:       linux/amd64
Git commit:    c00780a1f5b905b09812722459c54936c9e070e6
buildctl:
Version:      v0.10.5
GitCommit:    bc26045116045516ff2427201abd299043eaf8f7
Server:
containerd:
Version:      v1.6.9
GitCommit:    1c90a442489720eec95342e1789ee8a5e1b9536f
runc:
Version:      1.1.4
GitCommit:    v1.1.4-0-g5fd4c4d1
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
OS information:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I tired this and noticed this might because the different behavior between docker and containerd:
Docker said an env without value (e.g., -e X vs -e X=10) means obtaining the value from shell: docker
Containerd said that means unsetting the value: nerdctl, containerd.
Though I'm not sure if this is expected containerd behavior defined in oci. cc: @AkihiroSuda

This command does not seem to work for passing environment variables with multi-line text
My attempt is to use base64 encoding to convert multi-line text into a base64 text without line breaks every 76 characters, then pass it to the container and decode it in the container.
export X=`cat file | base64 -w 0` # export X=`printenv X | base64 -w 0`
nerdctl run -e X=$X alpine printenv X | base64 -d

I think it seems a little troubling

@sixwaaaay Do you want this?
root# export X="aaa
> bbb"

root# echo "$X"
aaa
bbb

root# _output/nerdctl run --rm --env X alpine printenv X
aaa
bbb


Expose parameter to opt out of loading default connections

To avoid loading the default connections, simply don't use initdb but only upgradedb

Working after e276708


feat: 52 - added an optional painter between the image and the crop grid

Now there's an optional CustomPainter between the image and the crop grid.
A typical use case would be to handle receipts, where we need to crop the image but that's not enough: sometimes we need to bar some personal data too.
For instance:

CropImage
getCroppedBitmap

Uploaded image: https://prices.openfoodfacts.net/img/0003/pRFjLvNol8.jpg

Just a slight nomenclature suggestion: ˙overlayPainter` would probably convey the idea better.

@deakjahn overlayPainter does sound good. Just pushed.

Thank you @deakjahn for your feedbacks and your review!


Unable to get basic demo working

Hi
I tried using this component. I followed the instruction as written in the README section.
However I am getting the below exception:
ERROR TypeError: label.call is not a function at updateGauge (gauge.js:275)
at Gauge (gauge.js:330)
at GaugeComponent.webpackJsonp.../../../../angular-gauge/gauge.component.js.GaugeComponent.ngAfterViewInit (gauge.component.js:33)
Please help.
Thanks
Govind

It sounds like the value you're passing to the label input isn't a function.


Started unary grpc support

Issue #, if available: https://github.com/aws/aws-xray-sdk-go/issues/110
Description of changes:
First stab at grpc support. Kept the scope for now to unary grpc support.
Used https://github.com/grpc-ecosystem/go-grpc-middleware as a basis for starting with this.
Added simple documentation on how to use it.
This is WIP since I wanted to get the ball rolling on how to continue with this. This basic support already works. Not sure how to best improve this, so I am hoping from some input of the maintainers.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Example trace for the PR with aws app mesh in between.
The errors are because I made the server fail 50% of the time to test this behavior. Client reports less errors because aws app mesh has a retry policy.

Hi all I am going to close this PR as I don't find the time to finish this.

Hi @bhautikpip, I would like then to add my implementation in another PR, but before I will do that, do you have any plans to add OpenTracing format support to AWS X-Ray?


State of client-go

Hi, just found out about this package but I see that it has not been updated recently, so I wonder what is the status of this project? I'm willing to try it out, but generally curious to know. Thank you!

Golang Client is not listed here, https://www.sanity.io/docs/http-api
Moreover, it is causing my issues.
I think we can consider it as deprecated
I am migrating my tools to the http client


Create Day 1 Blog for BSSw.io: Software Teams Experiences & Challenges

Summarize the content of Day 1 discussion notes to create a Blog article for BSSw.io
The source content for this article is available from this webpage: https://collegeville.github.io/CW21/WorkshopResources/WorkshopSlidesNotes/WorkshopSlidesNotesList.html
There are four PDF files containing the notes from each discussion group.  At the end of each file is a list of 3 - 5 high-level items identified by the discussion group.  These items should be considered in aggregate and summarized for the Blog article.
A complete draft of the Day 1 blog is available as an attachment.
@jlcohoon: Please review and revise as you see fit.
Day1-Blog.txt

Returning to work after a surgery and am picking this up now! I'll have it back to you tomorrow. @maherou

Hi Hannah,
Nice to hear from you on this side of your surgery.  I hope all went well.  Thank you for your quick resumption of activities.
Mike

From: Hannah Cohoon @.>
Sent: Thursday, August 19, 2021 9:52 AM
To: Collegeville/CW21 @.>
Cc: Heroux, Michael A @.>; Mention @.>
Subject: [EXTERNAL] Re: [Collegeville/CW21] Create Day 1 Blog for BSSw.io: Software Teams Experiences & Challenges (#25)
Returning to work after a surgery and am picking this up now! I'll have it back to you tomorrow. @maherouhttps://github.com/maherou
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Collegeville/CW21/issues/25#issuecomment-901982126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHZIS74DYRIBJ76FBTD7YLT5ULDPANCNFSM5CCJM77A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

@maherou New draft attached. Process/changes described below.
I read through the groups' notes and then assembled what I thought were the common themes, given the challenges that each group called out as most important. Then I read the draft you had and compared the themes you had with the ones I had to make sure we were on the same page. We mostly were, but I'd combined a few and that's reflected in the attached draft. That meant that I moved some sentences around, added some, removed some. I think I reduced from 9 themes/challenges to 7, but I don't think that we lost any meaningful content. I did try to add more language that referenced the fact that the ideas came from discussion groups, but I never called out an idea as belonging to a specific person (although, we could and perhaps should?). I also reordered the themes, moving the funding one to the end because it's tangentially related to all of the previous ones. Most of my other edits were mostly superficial: trying to be consistent with oxford commas and capitalization, adding in GitHub usernames I could find, using parallel structure across section titles.
One last edit I want to call out is the start to the blog post itself—I added some questions at the start. I'm not really in love with them, but I figured that a blog post can have a punchier start than a research article so I tried to give it a little intrigue. If you have a different idea for a lead (or just want to cut these questions out entirely), have at it!
Day1-Blog.txt

Just noting that I just now double checked and none of the errors that @danielskatz fixed in his read through have carried through to this version. But, it is notable that I took out the sentence, "We need to support maintainers who do not want to be principal investigators (PIs)."
I did that assuming the same message was implicit in the current version of the passage, though looking at it again now I can see that we might want the specificity of the original sentence: "However, in general, we need to improve the recognition, value, and career paths for all members of a scientific software team. Without being recognized and funded, non-PIs find it difficult to continue contributing to a software project and establish their career, forcing them to decide between jeopardizing one or the other. We need to distribute credit across the team so that the diverse actors needed feel valued. We need to address the question one participant posed, 'Why can’t I be a phenomenal contributor?'"


Images not stored

Problem when attempting to add an image to a note using the WYSIWYG editor:

The image selection works fine

The image is not shown in editor

I guess it has to do with 'storage' folder:

Command "php artisan storage:link" executed

Excerpt of 'filesystem.php':

'disks' => [

    'local' => [
        'driver' => 'local',
        'root' => storage_path('app'),
    ],

    'public' => [
        'driver' => 'local',
        'root' => storage_path('app/public'),
        'url' => env('APP_URL').'/storage',
        'visibility' => 'public',
    ],

Best regards
Bernard

File upload adapter is added to the content WYSIWYG editor.


Skewering from external sites

As written in the README file, using greasemonkey I injected the user.js file into the external site. But the problem is I'm not able to connect skewer-repl with those external sites. When I type anything in skewer-repl, it goes only to the http://<IP_ADDRESS>:8080/skewer/demo.
How do I  make skewer-repl communicate with external site ?

Ok. looks like more documentation notes required. For example, I have an application running in localhost:8080.
The steps to communicate to this "external" site.

(setq httpd-port 8081)
Install greasemonkey for Firefox or tampermonkey for Chrome.
Add skewer-everything.user.js script.
Modify this script: var host = 'http://localhost:8081';
M-x run-skewer (get new tab for localhost:8081)
M-x skewer-repl
Reload target "external" localhost:8080
At this point, I'll get 2 clients in skewer-repl. So I have to close my localhost:8081 tab.

Now, skewer-repl works as expected. Is it a correct way?
Is it possible to create only one client (for localhost:8080) immediately?


Change autorest API to use ModernHttpClient and refactor rest authorization

Removed the IHealthVaultRestClient, in favor of a IHealthVaultRestAuthorizer, which directly hooks into the auto-generated API.
Updated auto-rest API to use ModernHttpClient
Added default for the REST URL to point to US prod.

@RandomEngy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:shipit:


No Screensaver options

MacBook Pro (Retina, 15 inch, Mid 2015)
Macos Catalina (10.15)
I can't access any screensaver options.

Hi @TheAwesomeGuy11
Please try this build : https://github.com/glouel/Aerial/releases/download/v1.6.3test2/Aerial.saver.zip
There's a crash happening if you happened to have added custom videos to Aerial, this build fixes it.

Thank you. That fixed the problem


The test network is working, the main network is not working.

STATS START
2023/09/23 00:37:59 Total CPU cores avaliable: 8
2023/09/23 00:37:59 Total Goroutines: 3
2023/09/23 00:37:59 Total System Memory: 8473616
2023/09/23 00:37:59 Total Memory Allocated: 204688
STATS END
2023/09/23 00:37:59 Started API
2023/09/23 00:37:59 Started Pool
2023/09/23 00:38:12 New Stratum Connection from: <IP_ADDRESS>
2023/09/23 00:38:12 New subscription from client type: GodMiner/1.0.0
2023/09/23 00:38:12 Not a valid miner address
2023/09/23 00:38:42 New Stratum Connection from: <IP_ADDRESS>
2023/09/23 00:38:42 New subscription from client type: GodMiner/1.0.0
2023/09/23 00:38:42 Not a valid miner address

litecoin.go you need to put the number 43 in the main network, then it will work.
https://github.com/dreams-money/merged-mining-pool/blob/733ac54cbc60621a346cb993826310877954b088/bitcoin/litecoin.go#L26
return regexp.MustCompile("^[a-z0-9]{43}$").MatchString(address)

But now this error has come out, it cannot connect to the ASIC.
2023/09/23 19:39:54 Total CPU cores avaliable: 8
2023/09/23 19:39:54 Total Goroutines: 3
2023/09/23 19:39:54 Total System Memory: 14633744
2023/09/23 19:39:54 Total Memory Allocated:<PHONE_NUMBER>4
STATS END
2023/09/23 19:39:59 New Stratum Connection from: <IP_ADDRESS>
2023/09/23 19:39:59 New subscription from client type: GodMiner/1.0.0
2023/09/23 19:39:59 Authorized rig: fenix73rus mining to addresses: [DKhKu1H9jcMBEyJsJsYL5D6eATFgtxDj4P ltc1qh2vfcqu5at4mzdz2prs25lw59rwjhxnfny8t2q]
2023/09/23 19:40:09 Socket read error from: <IP_ADDRESS>


python310Packages.django-simple-captcha: 0.5.14 -> 0.5.17

Changelog: https://github.com/mbi/django-simple-captcha/blob/v0.5.17/CHANGES
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

5 packages built:

python310Packages.django-simple-captcha
python310Packages.django-simple-captcha.dist
python311Packages.django-simple-captcha
python311Packages.django-simple-captcha.dist
seahub


Validate Azure volume plugin for K8s 1.4.

Here are my steps:

Register an azure virtual machine with kubernetes cluster on Rancher.
Attach a new disk to the azure virtual machine of size 1GB.
Label the azure virtual machine on kubernetes with label (provider=azure), to be used later with node selector to make sure the pod will get created on the azure machine.

kubectl label nodes testvol-k8s provider=azure

Run the pod, which should mount the disk on azure machine:

apiVersion: v1
kind: Pod
metadata:
 name: azure
spec:
 containers:
  - image: kubernetes/pause
    name: azure
    volumeMounts:
      - name: azure
        mountPath: /mnt/azure
 nodeSelector:
   provider: azure
 volumes:
      - name: azure
        azureDisk:
          diskName: newvol-test
          diskURI: xxxxxxxxxxxxxxxxxx

Results
$  kubectl describe pods
Name:		azure
Namespace:	default
Node:		testvol-k8s/<IP_ADDRESS>
Start Time:	Thu, 20 Oct 2016 22:42:10 +0200
Labels:		<none>
Status:		Pending
IP:
Controllers:	<none>
Containers:
  azure:
    Container ID:
    Image:		kubernetes/pause
    Image ID:
    Port:
    State:		Waiting
      Reason:		ContainerCreating
    Ready:		False
    Restart Count:	0
    Volume Mounts:
      /mnt/azure from azure (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-zs7xu (ro)
    Environment Variables:	<none>
Conditions:
  Type		Status
  Initialized 	True
  Ready 	False
  PodScheduled 	True
Volumes:
  azure:
    Type:		AzureDisk (an Azure Data Disk mount on the host and bind mount to the pod)
    DiskName:		newvol-test
    DiskURI:		https://k8sdiag342.blob.core.windows.net/bootdiagnostics-testvolk8-4718c42b-863d-4bc7-a77c-e1717c00337f/newvol-test.vhd
    FSType:		ext4
    CachingMode:	None
    ReadOnly:		false
  default-token-zs7xu:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	default-token-zs7xu
QoS Class:	BestEffort
Tolerations:	<none>
Events:
  FirstSeen	LastSeen	Count	From			SubobjectPath	Type		Reason		Message
  ---------	--------	-----	----			-------------	--------	------		-------
  20s		20s		1	{default-scheduler }			Normal		Scheduled	Successfully assigned azure to testvol-k8s
  20s		4s		6	{kubelet testvol-k8s}			Warning		FailedMount	MountVolume.SetUp failed for volume "kubernetes.io/azure-disk/ac82b7bf-9705-11e6-8614-025d5b72cb19-azure" (spec.Name: "azure") pod "ac82b7bf-9705-11e6-8614-025d5b72cb19" (UID: "ac82b7bf-9705-11e6-8614-025d5b72cb19") with: mount failed: exit status 32
Mounting arguments: /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/newvol-test /var/lib/kubelet/pods/ac82b7bf-9705-11e6-8614-025d5b72cb19/volumes/kubernetes.io~azure-disk/azure  [bind]
Output: mount: special device /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/newvol-test does not exist

@wlan0 Can you please take a look ^

I encountered similar issue for 1.5.1... Any workaround?


board in local multiplayer wont cover the whole screen

In the game mode loacal multiplayer the board, which can be found in assets folder, won't cover the whole screen. there is always a margin even though i have removed margin from all the components

Hi @wally-the-tally I would like to work on this issue.

Great! I

Hi @wally-the-tally I would like to work on this issue.

No worries, just open a pull reuest when you're done!


Extra functionality

I am currently decoupling my small FS utils from my current project and I am considering either to contribute them to an existing crate or to create my own crate. Would you be interested in receiving the following utils?

clean up a folder (drop all the files and directories from the target folder, while keeping the target folder):
pub fn cleanup_folder<P: AsRef<Path>>(folder_path: P) -> io::Result<()> {
    for entry in fs::read_dir(&folder_path)? {
        let path = entry?.path();
        if path.is_dir() {
            fs::remove_dir_all(&path)?;
        } else {
            fs::remove_file(&path)?;
        }
    }
    if fs::read_dir(&folder_path)?.take(1).count() > 0 {
        return Err(io::Error::new(io::ErrorKind::Other, "The folder is not clean"));
    }
    Ok(())
}

helper to read only first N bytes from a file (like head util)
pub fn read_utf8_with_limit<P: AsRef<Path>>(path: P, limit: usize) -> io::Result<String> {
    let truncation_message = "... (truncated output)";
    let file_size = fs::metadata(&path)?.len() as usize;
    let (read_buffer_size, read_limit, is_truncated) = if file_size <= limit {
        (file_size, file_size, false)
    } else {
        (limit, limit - truncation_message.len(), true)
    };
    let mut read_buffer = Vec::with_capacity(read_buffer_size);
    read_buffer.resize(read_buffer_size, 0);
    fs::File::open(&path)?.read_exact(&mut read_buffer[..read_limit])?;
    if is_truncated {
        read_buffer[read_limit..].copy_from_slice(truncation_message.as_bytes());
    }
    Ok(String::from_utf8_lossy(&read_buffer).into_owned())
}

P.S. The presented snippets are just copied as is and I can improve them while preparing a PR.

Hi Vlad,
I am happy you are considering to add functionality to this crate and am
glad to introduce you as a maintainer as soon as the first PR lands.
That way you can publish to crates.io yourself for example, and have no
disadvantages.
Thanks and cheers,
Sebastian
On Mon 30. Apr 2018 at 09:11, Vlad Frolov<EMAIL_ADDRESS>wrote:

I am currently decoupling my small FS utils from my current project and I
am considering either to contribute them to an existing crate or to create
my own crate. Would you be interested in receiving the following utils?

clean up a folder (drop all the files and directories from the target
folder, while keeping the target folder):
pub fn cleanup_folder<P: AsRef>(folder_path: P) -> io::Result<()> {
for entry in fs::read_dir(&folder_path)? {
let path = entry?.path();
if path.is_dir() {
fs::remove_dir_all(&path)?;
} else {
fs::remove_file(&path)?;
}
}
if fs::read_dir(&folder_path)?.take(1).count() > 0 {
return Err(io::Error::new(io::ErrorKind::Other, "The folder is not clean"));
}
Ok(())
}

helper to read only first N bytes from a file (like head util)
pub fn read_utf8_with_limit<P: AsRef>(path: P, limit: usize) -> io::Result {
let truncation_message = "... (truncated output)";
let file_size = fs::metadata(&path)?.len() as usize;
let (read_buffer_size, read_limit, is_truncated) = if file_size <= limit {
(file_size, file_size, false)
} else {
(limit, limit - truncation_message.len(), true)
};
let mut read_buffer = Vec::with_capacity(read_buffer_size);
read_buffer.resize(read_buffer_size, 0);
fs::File::open(&path)?.read_exact(&mut read_buffer[..read_limit])?;
if is_truncated {
read_buffer[read_limit..].copy_from_slice(truncation_message.as_bytes());
}
Ok(String::from_utf8_lossy(&read_buffer).into_owned())
}
P.S. The presented snippets are just copied as is and I can improve them
while preparing a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Byron/fs-utils-rs/issues/5, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD4hiBtz7FI7gU-5qSwa5WDIgrHA6Eiks5ttrkHgaJpZM4TsMxN
.

Closing in favor of #6.


Foldable block matcher doesn't work properly

From the code below
class MyClass {
  /// Calculates the factorial of the number.
  /// The number must be >= 0.
  static int factorial(int n) {
    if (n == 0) {
      return 1;
    }

    return n * factorial(n - 1);
  }

  public static void main(String[] args) {
    int num = 5;s
    System.out.println("Factorial of " + num + " is " + factorial(5));
  }
}

Steps to reproduce:

Fold at the 4th line
Move cursor to the end of 13th line
Enter any character

Expected

character is inserted to the text at cursor location.
folded block preserve its folding

Actual:

character is inserted at the end of 13th line
folded block is unfolded
cursor is moved to the end of 4th line

https://user-images.githubusercontent.com/79095619/216521558-415acea3-138d-46fc-a5bb-67d663765375.mov


Add the base Python envs locators.

(Note that a large portion of the PR is tests.)

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
~[ ] Has a news entry file (remember to thank yourself!).~
[x] Appropriate comments and documentation strings in the code.
~[ ] Has sufficient logging.~
~[ ] Has telemetry for enhancements.~
[x] Unit tests & system/integration tests are added/updated.
~[ ] Test plan is updated as appropriate.~
~[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).~
~[ ] The wiki is updated with any design decisions/details.~

Codecov Report

Merging #13764 into master will increase coverage by 0.03%.
The diff coverage is 90.69%.

@@            Coverage Diff             @@
##           master   #13764      +/-   ##
==========================================
+ Coverage   59.87%   59.91%   +0.03%
==========================================
  Files         678      680       +2
  Lines       37872    37914      +42
  Branches     5455     5458       +3
==========================================
+ Hits        22676    22715      +39
- Misses      14019    14022       +3
  Partials     1177     1177

Impacted Files
Coverage Δ

src/client/pythonEnvironments/base/locator.ts
71.42% <71.42%> (ø)

src/client/pythonEnvironments/base/locators.ts
100.00% <100.00%> (ø)

src/client/pythonEnvironments/base/watchers.ts
100.00% <100.00%> (ø)

src/client/common/utils/async.ts
87.50% <0.00%> (+1.25%)
: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 6a3db71...8c764a8. Read the comment docs.


Ford Fulkerson Algorithm

Next time open a issue before adding a pull request, or the PR will be marked as Invalid.
Read the Contributing guidelines for more details.


fix(db): add parent-child table to avoid big index

Linked Issues

Closes #1190

Notes to Reviewer

As a reviewer, please pay particular attention to the following areas when reviewing this PR and tick the above boxes after you have completed the steps.
API Changes

[ ] Test the API endpoints which were added/changed.
[ ] Ensure that the API response times scale with database size appropriately.
[ ] Review the API documentation changes and confirm that it matches the actual functionality.
[ ] Check for breaking changes in the API and matching (conventional) commit message prefix.

Database Changes

[ ] Review database queries for correctness/conciseness.
[ ] Ensure queries are supported by indexes if needed.
[ ] Check for breaking changes in the data model and matching (conventional) commit message prefix.

Unfortunately this solution is not better than the current one 🤷♀


Update README

Purpose:

Update documentation

Features:

None

Bugfixes:

None

QoL Changes:

Updated information in the README.md file for clarification, readability, and general ease of use

Added Issue: #2


fix connection error scenario

reported by a partner team.
scenario:

open ads using protocol handler: azuredatastudio://connect?... with a provider that does not implement query provider.
when the connection fails, the connection dialog will be reopened
The connection type will be set to Editor and causing the provider to not show up in the connection dialog

fix:
only set the connection type to Editor when the owner uri is for editors.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 48.234%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14797

Relevant Lines:
29109

💛  - Coveralls


Adding graph primitives to the data model

It would be awesome to extend Rerun’s data model to include graphs (node-link relationships), because it would allow more advanced use cases such as visualizing ROS computational graphs over time in the future:  https://github.com/rerun-io/rerun/issues/6898.
The following should be seen as an initial point for discussion and request for comments. Also, please note that in the following I will sometimes refer to the Rust documentation for simplicity—of course the actual implementation should use Flatbuffer definition files and be available in all environments.
Also, I'm still quite new to the Rerun code base, so non of the following should be taken as authoritative.
Proposal
For now, this proposal focuses on simplicity and tries to reuse existing types as much as possible, therefore reducing the amount of code that needs to be maintained in the future. We also want to avoid creating leaky abstractions that accidentally expose implementation details as part of the SDK.
For the first prototype, I think it makes sense to see how far we can get with a custom visualizer as shown in the Custom Space View example. If we hit any limitations, we can use those to inform changes to the Rerun core.
Datatypes
We should be able to reuse existing data types for node and edge IDs. If we want to be more explicit, we could introduce GraphNodeId and GraphEdgeId wrapper types around the existing Text (of course we can also name them NodeId and EdgeId, but it’s probably good to be explicit here). Another option would be u16, similar to how ClassId works.
Also, for now we can probably skip the GraphEdgeId data type unless we need a way to reference edges from other parts of the implementation.
There is a tradeoff here: Ideally, the node and edge ID types should be generic to accept either integers or strings. The latter is more expressive and often better reflects the data of the user, where the former is more compact in memory and improves the efficiency of many algorithms.
Components
We introduce two new components:

GraphNodeId (a simple wrapper around the datatype defined above, similar to ClassId).
GraphEdge(GraphNodeId, GraphNodeId), a simple tuple that defines an edge. This type could mean either a directed or an undirected edge, depending on the context that it is used in.

Archetypes
We use different archetypes to define the type of graph (as this will trigger opening a graph-specific visualizer). Additionally, these can add additional information to the graph, such as text or color.

GraphNodes (required: GraphNodeId, optional: Text, Position2D (for existing layouts), Color, maybe we can add styling information here in the future.)
GraphUndirectedEdges (required: GraphEdge, optional: Text, Color)
GraphDirectedEdges (same as GraphUndirectedEdges + maybe ArrowShape in the future).

A hypothetical logging call to the Rerun SKD from Rust could look like the following:
rec.log(
    "ros/topics",
    &rerun::GraphNodes::new(["a", "b", "c"])
        .with_labels(["Node A", "Node B", "Node C"),
)?;
rec.log(
    "ros/topics",
    &rerun::GraphDirectedEdges::new([
      ("a", "b"),
      ("b", "c"),
      ("a", "c")
    ]),
)?;

Views
Based on this data model, we can now create a GraphDiagramView that layouts and renders the resulting graph. Layout algorithms can be quite costly, especially for larger graphs. Therefore we should use heuristics to define when a layout needs to be recomputed. By default, we can probably add a graph viewer to Rerun if any entity has an associated GraphNodeId.
As graph layouts can “flip” easily (most algorithms don’t guarantee spatialtemporal coherence), we should also avoid re-computing layouts because this can be detrimental to user experience. This also ties in with the following: the archetypes defined above should work with static and at_the_latest semantics. If the viewer has access to these contexts, we could use them to inform (or pick) the layout algorithms. These could also have an influence on the caching strategy.
Open Questions

Can we use entity paths to define hierarchical graphs? What happens if we have edges that cross the boundaries of sub-entities? Would this be ergonomic from a user perspective?
How should we handle more complex information within the graph labels. For now having text might suffice, but there are many use cases that benefit from visualizing additional information.

Out of Scope
The following points would be very interesting to develop further but are out of the scope for the initial implementation:

Providing a ROS bridge. While this is a very convenient feature, for now the user is expected to manually log the graph using the Rerun SDK.

For documentation purposes, here are some additional details that are relevant for the implementation:

How to use entities to handle hierarchical graphs?

The GraphNodes and GraphDirectedEdges archetypes can be attached to any entity. If possible, when rendering an entity we collect the nodes from all children entities. For GraphNodeIds in edges that are not part of the current entity, we can create dummy nodes for now. We can refine this logic once we have a basic working version and I understand Rerun’s rendering logic better.

Related, I may have been wring to discard the notion of entities as nodes. It’s likely needed anyway for hierarchy and is useful when people want to map their entity hierarchy to a graph. Is there some design there that works for both?

This probably makes sense in the context of ROS, where a node maps to an entity. I think there are two approaches:

We replace the GraphNodeId with the entity graph.
We enforce that there is only a single GraphNodeId per entity.

I think this should work—although I’m not sure how nice this will be to log for the user, as they would have to create a lot of entities.

How should graph layout handle incremental updates? Everything jumping around or some incremental approach?

We have several options here, a lot of it depends on the layout engine that we choose:

Force-based layouts can incrementally be updated and might be well suited for dynamic environments. Neglects edge direction (mostly for undirected graphs). Example: https://observablehq.com/@d3/force-directed-graph-component; you can try to drag some nodes.

Pros: fully dynamic, pretty easy to implement (there is also https://github.com/grantshandy/fdg); works good enough in most cases
Cons: layout might be suboptimal and is strongly dependent on setting force-parameters. layouts are not “deterministic”, can feel “hacky” for some use-cases such as directed edges and hierarchical data.

Stress-based layouts

Pros: better layouts than force-based approaches through MDS initialization and better formulation
Cons: Tricky to implement efficiently; numeric methods; harder to make dynamic, no Rust crates.

Constraint-based layouts (https://ialab.it.monash.edu/webcola/)

Pros: nicer layouts can still be dynamic
Cons: Algorithms are tricky to implement, probably no Rust crates.

GraphViz layout: works for directed (dot) and undirected approaches

Pros: Produces nice layouts, allows hierarchical layouts, some GraphViz algorithms (neato and fdp) support initial positions, so we could reuse parts of the layout if there are not to many changes. The comop
Cons: can be expensive to compute for large graphs. Not sure if https://github.com/nadavrot/layout also supports undirected graphs.

Should users be able to control constraints for the graph layout? If so, how does that interact with the blueprint system.

Ideally, we make the parameters required for the graph layout available in the blueprint configuration. This is particularly important for force-based layouts because they depend a lot on the parameters of the physics simulation.
Another option that has come up is adding an additional GraphLayoutParameter component to the data model. While this will work as well, we should be weary adding implementation details to the model, as those might change over time and the data model should be as stable as possible to allow backwards compatibility.

Using egui for shape rendering?

We could look into the following crate which adds graph layout components directly to egui: https://github.com/blitzarx1/egui_graphs

Thanks @grtlr and @nikolausWest  for driving this forward. Here's feedback from my side at this stage:

Datatypes
We should be able to reuse existing data types for node and edge IDs. If we want to be more explicit, we could introduce GraphNodeId and GraphEdgeId wrapper types around the existing Text (of course we can also name them NodeId and EdgeId, but it’s probably good to be explicit here). Another option would be u16, similar to how ClassId works.
Also, for now we can probably skip the GraphEdgeId data type unless we need a way to reference edges from other parts of the implementation.
There is a tradeoff here: Ideally, the node and edge ID types should be generic to accept either integers or strings. The latter is more expressive and often better reflects the data of the user, where the former is more compact in memory and improves the efficiency of many algorithms.

I like the idea of GraphNodeId and GraphEdgeId. I'd stick with strings.

Components
We introduce two new components:
1. `GraphNodeId` (a simple wrapper around the datatype defined above, similar to [`ClassId`](https://docs.rs/rerun/latest/rerun/components/struct.ClassId.html)).

2. `GraphEdge(GraphNodeId, GraphNodeId)`, a simple tuple that defines an edge. This type could mean either a directed or an undirected edge, depending on the context that it is used in.

Sounds good.

Archetypes
We use different archetypes to define the type of graph (as this will trigger opening a graph-specific visualizer). Additionally, these can add additional information to the graph, such as text or color.
1. `GraphNodes` (required: `GraphNodeId`, optional: `Text`, `Position2D` (for existing layouts), `Color`, maybe we can add styling information here in the future.)

2. `GraphUndirectedEdges` (required: `GraphEdge`, optional: `Text`, `Color`)

3. `GraphDirectedEdges` (same as `GraphUndirectedEdges` + maybe `ArrowShape` in the future).

A hypothetical logging call to the Rerun SKD from Rust could look like the following:
rec.log(
    "ros/topics",
    &rerun::GraphNodes::new(["a", "b", "c"])
        .with_labels(["Node A", "Node B", "Node C"),
)?;
rec.log(
    "ros/topics",
    &rerun::GraphDirectedEdges::new([
      ("a", "b"),
      ("b", "c"),
      ("a", "c")
    ]),
)?;

Views
Based on this data model, we can now create a GraphDiagramView that layouts and renders the resulting graph. Layout algorithms can be quite costly, especially for larger graphs. Therefore we should use heuristics to define when a layout needs to be recomputed. By default, we can probably add a graph viewer to Rerun if any entity has an associated GraphNodeId.
As graph layouts can “flip” easily (most algorithms don’t guarantee spatialtemporal coherence), we should also avoid re-computing layouts because this can be detrimental to user experience. This also ties in with the following: the archetypes defined above should work with static and at_the_latest semantics. If the viewer has access to these contexts, we could use them to inform (or pick) the layout algorithms. These could also have an influence on the caching strategy.

No comment. Seems fine and usable.

* How should we handle more complex information within the graph labels. For now having text might suffice, but there are many use cases that benefit from visualizing additional information.

Right, an you definitely want to consider that. Information may not necessarily need to go into the labels though, and could go into the selection panel.
To simplify your design approach, I believe you can assume that anything beyond the label representing connections across nodes shall go into the selection panel.

Out of Scope
The following points would be very interesting to develop further but are out of the scope for the initial implementation:
* Providing a ROS bridge. While this is a very convenient feature, for now the user is expected to manually log the graph using the Rerun SDK.

That's fine however I'd encourage providing enough documentation and an example to empower this. Otherwise, capabilities will be of very little use, even if available. Something as simple as a pub-sub logger and graph visualizer should do for starters, but that example should be available in some form, demonstrating how to turn ROS 2 core graph abstractions  into rerun ones.
Another potentially useful example would be to turn existing graphs built with popular libraries into rerun. E.g. networkx is widely used and AFAIK, not completely disconnected from your discourse above. See rustworkx (paper), which seems to be growing in popularity.
Ping me whenever there's something to test. Happy to give it a try.

@vmayoral Thank you for your feedback—it looks like we are on the right track 🤓. I agree with your points regarding documentation of the new feature. I think the goal should still be to add this to the ROS bridge in the mid-term, but first we need to get the data model right.
I'm currently implementing the graph primitives in the following PR #7500 if you want to follow along or provide feedback 🙏. Once we have finalized the design I want to start implementing the layout functionality.


Metrics (analytics) API

Provide a simple metrics/analytics API that lets you track counters and related things to do analytics.

Yeah. This would be really cool.


Chronos crashing frequently

I am running chronos scheduler on port 8081 as a java process. I am seeing that the process stops frequently with the below error.
F0703 00:54:13.727560  7176 check.hpp:79] Check failed: f.isReady()
*** Check failure stack trace: ***
@     0x7fb3a1e1cf1d  google::LogMessage::Fail()
@     0x7fb3a1e1ed5d  google::LogMessage::SendToLog()
@     0x7fb3a1e1cb0c  google::LogMessage::Flush()
@     0x7fb3a1e1f659  google::LogMessageFatal::~LogMessageFatal()
@     0x7fb3a1d9bb64  _checkReady<>()
@     0x7fb3a1d994a4  Java_org_apache_mesos_state_AbstractState__1_1fetch_1get
@     0x7fb3cd114d08  (unknown)
Mesos version - 0.22.1

This looks related to the "State abstraction bug" in Mesos.
See https://issues.apache.org/jira/browse/MESOS-1795
You need to use a Mesos version for which this is fixed (both JNI library and master).


Build.sh assumes that pestle_dev is executable

Correct a potential issue in the build process depending on the environment setup.

Merged!


How would you go on adding a http protocol to links added by the user?

This isnt an issue with the React Quill package per-se, but I'm having trouble making sure all links attached by the user gets a valid protocol https/http ? I've tried adding a custom link handler and that would work, but I'm not sure how to get the styled input back when replacing it with a prompt
Any suggestions are welcome.
Cheers,
Andreas
React-Quill version
master

Ok so since my original post might have been confusing, here is what im asking: How do i use the styled input that react quill uses?

Something like this:
https://github.com/quilljs/quill/pull/1412
If you want you can resurrect the PR and add the requested tests.

Closing since this is more of a Quill issue


Add ElasticEmail Service

Added ElasticEmail as a new service.
Some work is still needed for opens and clicks tracking but at least the email sending is working.
To be able to use webhooks, must have a paid PRO Plan which I don't have and there's very little documentation available about the webhook. Only found this page..
Thats what I used as reference to decode the webhook payload.
I guess the only thing missing is the Feature Test.

Thanks for the PR!
I'd like to get feedback from a couple of people that are using this and can test it thoroughly.

Hey @MaizerGomes - thanks for sending this through PR. I think we'll have to wait for at least a couple of people to test this with Pro credentials.
I'll leave it open in the meantime.


With router-flux: Tab re-renders one more time

Using:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Description:

start app, renders tab "Feed" initially
switch to "Tab #2" and then back to "Feed" - this re-renders tab "Feed"
switching to second and back to initial tab does not re-render tab "Feed" again

I expect tabs to not re-render, but I think this is caused by tab 2 being rendered after clicked (and forces tab 1 to re-render as well). Is there an option to automatically render all tabs at start? Or is this behavior caused by something else? I've attached all that might be helpful, sorry if this post is very long.
Scenes:
//...
class AppNavigator extends React.Component
{
    render()
    {
        return <RouterWithRedux>
            <Scene key="root" style={{backgroundColor: 'yellow'}}>
                <Scene open={false} component={Drawer} key="drawer" sceneStyle={[AppStyle.sceneTab, {borderWidth: 1, borderColor: 'red'}]}>
                    <Scene key="main" tabs initial={true} tabBarStyle={{backgroundColor: 'rgba(0,0,0,.4)', borderWidth: 1, borderColor: 'blue'}}>
                        <Scene key="main_back" onPress={() => Actions.pop()} title="Back" icon={TabIcon} />

                        <Scene key="Page1" title="Feed" icon={TabIcon} initial={true} sceneStyle={{borderWidth: 1, borderColor: 'green'}}>
                            <Scene key="Feed" component={Scenes.Page1} hideNavBar={true} initial={true} sceneStyle={{borderWidth: 1, borderColor: 'yellow', backgroundColor: 'yellow'}} />
                            <Scene key="detail" component={Scenes.Page3} hideNavBar={true} title="PostDetail" />
                        </Scene>

                        <Scene key="Page2" component={Scenes.Page2} hideNavBar={true} title="Tab #2" icon={TabIcon} />
                        <Scene key="open_drawer" title="Drawer" icon={TabIcon} onPress={() => Actions.refresh({key: 'drawer', open: value => !value })} />
                    </Scene>

                    <Scene key="auth" type={ActionConst.REPLACE}>
                        <Scene key="Login" component={Scenes.Login} title="Login" initial={true} />
                        <Scene key="Register" component={Scenes.Register} title="Register" />
                    </Scene>
                </Scene>
            </Scene>
        </RouterWithRedux>
    }
}

function mapDispatchToProps(dispatch)
{
    return bindActionCreators(ActionCreators, dispatch);
}

export default connect((state) => {
    return {}
}, mapDispatchToProps)(AppNavigator);

Page1.js (Feed tab):
//...
class Page1 extends Component
{
    _addRecipe()
    {
        this.props.addRecipe();
    }

    componentDidMount()
    {
        this.props.fetchPosts();
    }

    render()
    {
        console.log('page1props', this.props);

        return <AnimatableScrollView
            animation="fadeIn"
            contentContainerStyle={[ ScrollViewStyle.contentContainerStyle ]}
            style={[ AppStyle.sceneTabInner, ScrollViewStyle.style ]}
        >
            <Animatable.Text animation="zoomIn" style={{color: 'white'}} onPress={Actions.Page2}>
                Page1
            </Animatable.Text>
            <Text onPress={() => this._addRecipe()}>Add recipe</Text>
            <Text>Recipe count: {this.props.recipeCount}</Text>
            <Text style={{marginTop:40}} onPress={() => Actions.auth()}>Goto login</Text>
            {this.props.posts.length > 0 && this.props.posts.map((value, key) => {
                postAnimationDelay += postAnimationIteration;

                return <Animatable.View animation="fadeInUp" delay={postAnimationDelay} duration={300} key={value.id} style={{marginTop: 20}}>
                    <TouchableOpacity onPress={() => Actions.detail({
                        post: value
                    })}>
                        <Text>{value.title}</Text>
                    </TouchableOpacity>
                </Animatable.View>
            })}
            <Text onPress={() => Actions.detail()} style={{marginTop:40}}>asdf</Text>
        </AnimatableScrollView>
    }
}

export default connect((state) => { // state == global state
    return {
        routes: state.routes,
        searchedRecipes: state.searchedRecipes,
        recipeCount: state.recipeCount,
        posts: state.posts
    }
}, (dispatch) => bindActionCreators(ActionCreators, dispatch))(Page1);

Page2.js (Tab #2):
//...
class Page2 extends Component
{
    _removeRecipe()  { this.props.removeRecipe();  }

    render()
    {
        return <View style={{flex: 1, alignItems: 'center', justifyContent: 'center', backgroundColor: 'red'}}>
            <Text style={{color: 'white'}} onPress={Actions.pop}>
                Page2
            </Text>
            <Text onPress={() => this._removeRecipe()}>Remove recipe</Text>
            <Text>Recipe count: {this.props.recipeCount}</Text>
            <Text style={{marginTop:40}} onPress={() => Actions.auth()}>Goto login</Text>
        </View>
    }
}

export default connect((state) => { // state == global state
    return {
        routes: state.routes,
        searchedRecipes: state.searchedRecipes,
        recipeCount: state.recipeCount
    }
}, (dispatch) => bindActionCreators(ActionCreators, dispatch))(Page2);

Console ouput of Demo GIF:
Running application App ({
    initialProps =     {
    };
    rootTag = 1;
})
Running application "App" with appParams: {"rootTag":1,"initialProps":{}}.

I am having the same problem. It was working fine few days back!
Anyone found a solution for this?

This may happen because tab contents gets unmounted when another tab pressed, therefore needs to rerender... It's something I can't accept, think about scroll position that is getting lost when tab changes. I ended up using this:
https://github.com/skv-headless/react-native-scrollable-tab-view
Tabs stays along with each other, so they won't be rerendered. You could also disable swipe and transition so it feels exactly like tabs. Hope this helps you guys as much as it helped me.

@RSSfeed I think the problem was with the version of the module. It somehow breaks after version 3.37.0
I rolled back to version 3.37.0 and now it is working fine like before.

@RSSfeed How to navigate multiple scenes within a tab in react native scrollable tab view?


Config flag [dashboards] min_refresh_interval is not supported

Is your feature request related to a problem? Please describe.
Not possible to add https://grafana.com/docs/grafana/v9.3/setup-grafana/configure-grafana/#min_refresh_interval via config:
config;
  dashboards:
     min_refresh_interval: "1s"

Describe the solution you'd like
Please add support for adding min_refresh_interval to operator's spec.config
Describe alternatives you've considered
Adding this flag to deployment.env
GF_DASHBOARDS_MIN_REFRESH_INTERVAL: "500ms"

We are happy to receive a PR around this issue.
You could take a look on how to add this kind of feature in: https://github.com/grafana-operator/grafana-operator/pull/839


⚠ Bofrost.be has degraded performance

In e287906, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1319 ms

Resolved: Bofrost.be performance has improved in b00550d after 1 hour, 1 minute.


WIP: Switch CI to build master branch of examples

Oh good point.

Second appveyor failed on loading rust installer, so I stopped it.

@GuillaumeGomez Please, restart CI here, just in case

Restarted.

Ok, CI passed, so it ready

Great, thanks!


Save Storage Space - Questions

While doing many tests with my Data and LiteDB (and i love it!),
i noticed the follow (may not be true):

If using a bool? Value, and for most entries the Value is null, it needs much less Space then using a bool with most of the Values as 'false'  (it seems that if a value is Null it won't be saved in the file, but if it's the default value, such as 'false' or '0' it will be saved and therefore needs space)

If using [BsonField("short")] for a Property with a long property Name such as "ShortWrittenPropertyName", it seems to also make a bigger Impact on File Size.

Are my assumptions correct, and if so, is there a way to solve this without
a) make all Types Nullable, to save Space ,even if for the program logic it's not really needed
b) Rename all Properties or use BsonField to shorten the Names
Would be nice if there was at least a Setting like BsonMapper.Global.EmptyStringToNull
to automate this process.
In my tests the result have varied in the Mbytes of Data, on first glance this might not be much, but when you have to distribute the data over a network to multiple users , the total amount of space used is important (The difference is also visible after zipping the .db files)

Hi @falahati, to answer your questions:

Yes, when a field value is null, by default, they are not serializable. IT's can be changed using BsonMapper.Global.SerializeNullValues = true. But all valid values are serializable.
About short names: yes, it's reduce a lot of spaces because for each document, BSON serialization (like JSON) needs serialize field name too.

It's possible, in both cases, do changes in BsonMapper to use as you want. For this, use:
BsonMapper.Global.ResolveMember = (type, memberInfo, mapped) =>
{
// you can change FieldName and override Get/Set methods in mapped
}

But remember, when you change your document serialization, you must respect this new rules to query when using shell/BsonDocument only, like: db.Find("mycol", Query.EQ("small_name", 12))

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Can´t add channel using Mac M1

I´m trying to install any channel in my Mac M1, but for some reason it is not working. I have been trying to fix this issue for several hours, try any possible combination and its not working. Do yoy guys if the server is down?
Thanks in advance
juliaup add release~x64
Error: Failed to update versions db.

Caused by:
    0: Failed to download current version db version.
    1: https://julialang-s3.julialang.org/juliaup/RELEASECHANNELDBVERSION: Network Error: timed out reading response
    2: timed out reading response

Can you download https://julialang-s3.julialang.org/juliaup/RELEASECHANNELDBVERSION manually?

yes, but i just get "1.0.24" inside the file. Is that okay? how and where do i need to paste this file? Thanks

So my best guess is that the package we used in Juliaup to download stuff runs into some network problem and can't download that file... I have since switched over to a different package for downloading, and I just pushed out the latest version of Juliaup to everyone that uses this new download package.
BUT, you might not be able to use Juliaup itself to update to the latest version of Juliaup if my theory is correct. What I would recommend is that you uninstall with juliaup self uninstall, and then just install again with the curl command. That should give you the latest version of Juliaup with the new download code, and hopefully that will just resolve the problem.

@jplicona is this resolved now with the latest version?

On M1 it incorrectly install x64.
$ ~/.juliaup/bin/juliaup add lts
Installing Julia 1.6.7+0.x64.apple.darwin14

I believe we are falling back to x64 for Julia 1.6 because there are no aarch64 builds (or maybe they just aren't officially supported?). I would assume that for something like 1.9 you should get the correct aarch64 build, right?
But in any case, this seems an entirely unrelated issue from the original post?

A message indicating fallback will be informative.

I think the original issue is resolved, though?

Yes, lets close this and if the other issue still exists, please open a new issue!


Fix for publising in Laravel 5.4.

Replace share method with singleton method for Laravel 5.4.
Share method is deprecated in Laravel 5.4.

@lenasterg Thx for this ... tweaked and added alias


Multi container example in single machine not working

Multi container example in single machine not working in linux environment. web application is not able to start

Java Developer
On Sun, Jun 19, 2016 at 7:39 PM, Mano Marks<EMAIL_ADDRESS>wrote:

Which lab is this about?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/labs/issues/25#issuecomment-227039267, or mute
the thread
https://github.com/notifications/unsubscribe/ACS0zUsr17QnkHA_F9P9_tPByg499O5Cks5qNf1JgaJpZM4I5R3t
.

Please check whether recent pull requests have solved the issue. If they haven't, please provide additional details about how it is failing and how we can reproduce.


[feature] expose inline level renderer method tag

as user, we need expose tag inline renderer method to process some user-side logic.

@joshbruce

@moreJs: Please write the associated spec cases for what's being accomplished by this code.

spec cases:
this code expose inline level rendered method tag, so if you want to do some special logic with html tag, you can do this in rendered method tag.

@moreJs: Sorry. I mean please write the actual tests in the project files demonstrating what the PR does, how consumers of the library use that functionality, and that the code works as designed.
Then update the PR.

@joshbruce  i got it.

@joshbruce   i just  expose inline renderer method tag(text:string) to library consumers, and not add any new feature about mardkown render, just like #950 . so i am confused about how to write tests case in current architecture.

@moreJs: Good point. And, again, I do apologize for not being as familiar with the library as others may be.
Having said that, what exactly are we exposing? I know it says "tag," but tag is not an HTML element.
I can't tell what's being returned exactly from an HTML perspective, nor what input would be required from a markdown perspective. Therefore, I'm not sure if exposing this feature would be sticking to the two specifications we are actively supporting (listed in the recently updated #956).
So, maybe a test that shows how this changes the usage of marked from an implementation perspective:
marked.tag(...)

let markdown = "...";
markdown.toHtml(markdown)

Is that making sense. Maybe @UziTech can help us?

Renderers are to convert abstract syntax elements into html. Since the tag element is already html, there's not point in requiring a renderer for it.
I guess you'd like to use this to implement some feature on your own, but it just doesn't make sense for the library itself.

Closing as merge conflicts, missing tests. If we were to do something like this I think it would be in 0.5.0 milestone as well. Given that we've, hopefully, taken care of the XSS problems, we're really trying to focus on fixing defects that cause Marked not to be copliant with the specs in #956. Unfortunately, that is going to mean closing PRs that don't fit the guidelines; the main one being a test case that demonstrates how something would used "in the wild".


Paket shows parsing errors while doing BindingRedirects - #2408

This is not fixing the issue but at least indicates which file is causing the issue.
(Example comes from a web.config from npm package selenium-webdriver)

thanks. Hope you find the parsing error now.


Unable to install on Laravel 8

Hi,
I'm getting a composer error while trying to install it on a Laravel 8 project. I assume it depends on the support version:

Problem 1
- radicalloop/eodhistoricaldata[3.0.0, ..., 3.0.1] require illuminate/support ^7.0 -> found illuminate/support[v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.74).
- Root composer.json requires radicalloop/eodhistoricaldata ^3.0 -> satisfiable by radicalloop/eodhistoricaldata[3.0.0, 3.0.1].

I'm using version 8.74 of "illuminate/support".
"illuminate/support": "^8.74",
Thanks, Christian

Thanks @iAcki  for reporting.
We've fixed it. Please check now.


what's the meaning of the "loss_dis"?

In RAM model, I have some trouble with understanding the role of the "loss_dis".

It mains the distillation loss.
You can refer to RAM++ paper, and below issue.
https://github.com/xinyu1205/recognize-anything/issues/94

Thanks for your answer, I have understood the meaning of "Loss_dis".