« first day (1401 days earlier)      last day (2716 days later) » 

03:07
1 message moved from JavaScript
 
2 hours later…
04:59
0
Q: UIImageView length is redundant when using autolayout

JohnI am attempting to present my UITableViewCell with an ImageView which has optional length. And here is my layout: But my result look like this (redundancy from top and bottom): How to resolve this?

1 message moved from [Tech Gossips ](chat.stackoverflow.com/rooms/59481/tech-gossips)
 
4 hours later…
09:31
$.ajax({
url: "https://URLToPing.php",
type: "HEAD",
timeout: 2500,
error: function() {
console.log('Net disconnected');
connected = 0;
},
success: function(xhr) {});
1 message moved from JavaScript
 
5 hours later…
15:01
gist: e45a452798fc9e9a07d33420eebe165d, 2016-11-25 14:59:51Z
<UserControl x:Class="Snap.View.UIView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Snap.View"
             xmlns:uiModel="clr-namespace:Snap.ViewModel"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Loaded="UserControl_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30px"></RowDefinition>
            <RowDefinition Height="50px"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="50px"></ColumnDefinition>
            <ColumnDefinition Width="50px"></ColumnDefinition>
            <ColumnDefinition Width="50px"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <Button Height="50" Width="50" Grid.Row="1" Grid.Column="0" Command="{Binding SaveScreenRectangleButton}">
            <Button.Template>
                <ControlTemplate>
                    <Image Source="{Binding SaveScreenRectangleImage.Source}"></Image>
                </ControlTemplate>
            </Button.Template>
        </Button>

        <Button Height="50" Width="50" Grid.Row="1" Grid.Column="1" Command="{Binding SaveScreenShootButton}">>
            <Button.Template>
                <ControlTemplate>
                    <Image Source="{Binding SaveScreenShootImage.Source}" Grid.Row="1" Grid.Column="2"></Image>
                </ControlTemplate>
            </Button.Template>
        </Button>

        <Button Height="50" Width="50" Grid.Row="1" Grid.Column="2" Command="{Binding UploadToWebButton}" >
            <Button.Template>
                <ControlTemplate>
                    <Image Source="{Binding UploadToWebImage.Source}"></Image>
                </ControlTemplate>
            </Button.Template>
        </Button>
        
        <Image Source="{Binding CapturedScreenShootImage.Source}" Grid.Row="2" Grid.ColumnSpan="4" Width="200px" Height="200px" ></Image>
    </Grid>
</UserControl>
1 message moved from WPF
15:46
cv4 worst net votes 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 (batch 101)
dang those are python, user error.
2 messages moved from campaigns
 
2 hours later…
18:24
Hello folks, is it possible to extract object which is nested in a string?
"var x = {
test:'asd',
}"

This is webscrapping ,so this string contains other javascript code in it, I wonder if it is possible to access this property in some clever way than indexOf substring
1 message moved from JavaScript
 
5 hours later…
23:25
How is everybody doing?

« first day (1401 days earlier)      last day (2716 days later) »