text:
Remove the highlighted color for a row when double tapped

Versions

packages/framework
version

flutter
3.0.5 channel_stable

data_table_2
2.3.6

windows
11

Issue
I am developing a windows app using data_table_2. When a user double clicks on a row, a different screen will be displayed. After user finishes with the 2nd screen and comes back to first screen, the double clicked row is still highlighted

Name
Age

Adam
21

Bob
33

Charlie
27

Damien
25

For example,

user clicked on Bob row
row got highlighted and a second screen is displayed
user finishes with 2nd screen and comes back to 1st screen
Bob rows is still highlighted
now he repeats the same with Damien
both rows are highlighted now

Please fix the highlight issue.

Could you please elaborate...

Video with the issues
Minimal reproducible example

If you can reproduce the issue via the /examples provided with the package -> please described the steps
Or submit a sample repo with the case demonstrated

Please find the sample code and video in my  original question

Thanks for the update... Here's a workaround you can try:
class _AppExampleState extends State<AppExample> {
  buildRows(List<String> data) {
    return DataRow2(
        onDoubleTap: () {
-->    setState(() {});
          Navigator.pushNamed(context, '/viewer', arguments: data[0]);

Try adding setState(() {}); to the tap event.
The cause of the issue is that interbally data table uses TableRowInkWell/InkResponse widgets which change row background and play splash animation on tap. Internally they rely on a stateful widget _InkResponseStateWidget which get's stuck in pressed state when navigator pushes a new route. Clicking the back button (effectively calling Navigator.pop) doesn't rebuild the table when returning to home route -> hence the row with invalid background. Calling setState() in the navigation callback ensures the home widget is rebuilt and table row is not stuck in the pressed state.
The root cause of the issue is in the SDK. I'll see to creating a minimal repro cases and submitting an issue to Flutter team. Keeping the issues open

I've submitted an issue to Flutter repo, it seems the fix is already in place, awaiting for it to be pushed to Stable to have data table fixed.
https://github.com/flutter/flutter/issues/110014

sorry @maxim-saplin , I couldn't respond right away. Thanks for the response and explanation. The solution did not work for me. I am trying a alternate solution now and will update this thread if it works

@softlore , JIC you can switch to master channel, InkWell should be fixed there already. Though there's a risk of instability is other parts of SDK

thanks @maxim-saplin , switching to master fixed the issue

authors: maxim-saplin softlore


text:
Memory leak

This could be my fault because I don't know anything about javascript but it looks like the chunks don't get garbage collected. I got this far:

var drop = require('drag-and-drop-files')
var concat = require('concat-stream')
var fileReaderStream = require('filereader-stream')
var zlib = require('zlib')

drop(document.body, function(files) {
  var first = files[0]
  console.log("start gzip " + first.name);
  gzip = zlib.createGzip({'level':1})
  gunzip = zlib.createGunzip()
  // fileReaderStream(first).pipe(gzip.pipe(gunzip))
  datin = fileReaderStream(first)
  // datin.setEncoding('utf8')
  datin.pipe(gzip)
  gzip.pipe(gunzip)
  gunzip.setEncoding('utf8')
  var count = 0
  gunzip.on('data', function(chunk) { count = count + chunk.length })
  gunzip.on('finish', function() { console.log("done, got " + count + " bytes") })
})

When I drop a 300MB file on the browser, I watch the memory go up and up. When it's done, there's a bunch of blob:// objects like:

If I do it with the debugger closed, the problem doesn't occur. Does that mean it's Safari's fault? Reporting bugs to Apple is no fun.

Hmm yea seems like a Safari specific thing

source: gharchive/issue

authors: gitfoxi maxogden

repo: maxogden/filereader-stream

license_type: permissive

license_source: bigquery


text:
Websockets init

Motivation
Closes #35
Summary of changes
Websockets init with usage example.
Checklist

[ ] Tested the changes locally.
[ ] Reviewed the changes on GitHub, line by line.

Acuerdense de actualizar el .env antes de probar los cambios.

source: gharchive/pull-request

repo: maxogod/Truco

license: MIT

license_source: github-api


text:
File not found

Cannot find the entry point for the project.
localhost:80 out puts : File not found.

check that WEBAPP_PATH in .env file is the same name as your directory project

@youssame solved :+1:  thank you at lot.

@youssame having the same issue here i m not sure what the correct value for SYMFONY_APP_PATH is in the .env

SYMFONY_APP_PATH="here you have to make the path of your symfony project"
Exp:
SYMFONY_APP_PATH=./web
My symfony project is located in "web" folder.

@youssame the path relative to the .env file?

@youssame just noticed in the nginx.conf the write was pointing to app.php ... whilst it should be index.php ... now I am getting an internal server error ....
rewrite or internal redirection cycle while redirect to named location "@rewriteapp", client: 172.18.0.1, server: symfony.local, request: "GET / HTTP/1.1", host: "symfony.local"

Great.. I did not know that.

Also needed to modify the location ~ ^/(index|app|app_dev|config).php(/|$) { to add index.php file ... working now :)

it's weird, because i didn't do that in my case. But if it works for you that will be awesome.

are you running symfony 3 or 4 ?

symfony 3

that's why then in symfony 4 that app.php was renamed to index.php I believe

okey. Thanks

repo: maxpou/docker-symfony

license: mit


text:
Change viz type settings and default channels

Delete the text explanations below these headers and replace them with information about your PR.
Please first consult the developer guide to make sure your PR follows all code, testing, and documentation conventions.
Purpose
Explain the goal of this pull request. If it addresses an existing issue be sure to link to it. Describe the big picture of your changes here, perhaps using a bullet list if multiple changes are done to accomplish a single goal. If it accomplishes multiple goals, it may be best to create separate PR's for each.
Type of change
What types of change is it?
Select the appropriate type(s) that describe this PR

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing
Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.
Checklist
Put an x in the boxes that apply.

[x] I have run existing tests which pass locally with my changes
[ ] I have added new tests or examples that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Pull Request Test Coverage Report for Build 10375948764
Details

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

Totals

Change from base Build 10205347133:
0.0%

Covered Lines:
21602

Relevant Lines:
27317

💛  - Coveralls

authors: coveralls sora-ryu

repo: mayankchetan/WEIS


text:
add icon to share weather information across app

add an icon to share weather information across apps. @mayokunthefirst

Alright, we're good to go! Thank you @ELTEGANI 👍

Alright, we're good to go! Thank you @ELTEGANI 👍

Sir @mayokunthefirst  appreciated the effort to let us collaborate in this awesome app.

authors: ELTEGANI mayokunthefirst

repo: mayokunthefirst/Instant-Weather


text:
File is not a valid LiteDB database format

After updating to V5.0.1 I get the error message;
File is not a valid LiteDB database format
The exact same file works on 4.1.4.
I've installed it with the NuGet package.
The DB in question is the one being generated by RDPMon;
https://github.com/cameyo/rdpmon
I can't provide my own copy since it contains sensitive information, but it's not too hard to create one with RDPMon.
I can view the contents of the DB with LiteDB Viewer 4.1 without problems;
https://github.com/falahati/LiteDBViewer
The connectionstring I'm using is quite simple;
Filename=C:\pathto\RdpMon.db;Mode=ReadOnly
double slashes since it sits inside a .NET Core appsettings.json file.
The project that I'm using LiteDB in is my own little webgui around RDPMon;
https://github.com/joszz/RDPMonWebGUI
Any help is welcome!

Nevermind, had to set the upgrade flag in the connectionstring. Now it's working!

repo: mbdavid/LiteDB


text:
[QUESTION] Many to Many relation in LiteDB. Is it possible or use other approach?

Using LiteDB I have the following Pocos:
public class Post {
  public ObjectId Id { get; set; }
  public String Title { get; set; }
  public String Content { get; set; }
}

public class Tag {
  public ObjectId Id { get; set; }
  public String Name { get; set; }
}

Each Post can have many Tags and each Tag can be used in many Posts.
Is it possible to create a Many to Many relation in LiteDB?
My idea would be create a new POCO named PostTag:
public class PostTag {
  public ObjectId PostId { get; set; }
  public ObjectId TagId { get; set; }
}

And then update the Post and Tag Pocos to the following:
public class Post {
  public ObjectId Id { get; set; }
  public String Title { get; set; }
  public String Content { get; set; }
  public List<PostTag> { get; set; }
}

public class Tag {
  public ObjectId Id { get; set; }
  public String Name { get; set; }
  public List<PostTag> { get; set; }
}

I am not sure if this makes sense. Should I simply use the following?
public class Post {
  public ObjectId Id { get; set; }
  public String Title { get; set; }
  public String Content { get; set; }
  public List<Tag> { get; set; }
}

And what if I need all Tags used in posts?
I would get all tags in all posts and create a list with unique names?

@mdmoura I recommend storing each class in its collection and a list of tags as BsonRef in every post.
public class Post
{
    public ObjectId Id { get; set; }
    public String Title { get; set; }
    public String Content { get; set; }

    [BsonRef("tags")]
    public List<Tag> Tags { get; set; }
}

public class Tag
{
    public ObjectId Id { get; set; }
    public String Name { get; set; }
}

This would allow you to efficiently list all posts, list all ags and list all tags in a Post. If you wanted to list all Posts with a specific tag, you could just get the id of the tag you're searching and do something like postsCollection.Find(x => x.Tags.Count(x => x.Id == myTag) > 0) even without the Include, which is more efficient.

@lbnascimento I tried the following but got really strange results:
        BsonMapper mapper = BsonMapper.Global;

        mapper.Entity<Post>().DbRef(x => x.Tags, "tags");

        List<Post> model = new List<Post> {
          new Post {
            Title = "First Post",
            Slug = "first-post",
            Topics = new List<Topic> {
              new Tag { Name = "Book", Slug = "book" },
              new Tag { Name = "Europe", Slug = "europe" }
            },
          },
          new Post {
            Title = "Second Post",
            Slug = "second-post",
            Topics = new List<Topic> {
              new Tag { Name = "Travel", Slug = "travel" },
              new Tag { Name = "Europe", Slug = "europe" }
            }
          }
        };
        ILiteCollection<Tag> tags = database.GetCollection<Tag>("tags");
        tags.EnsureIndex(x => x.Slug);
        tags.InsertBulk(data.SelectMany(x => x.Tags));

        ILiteCollection<Post> posts = database.GetCollection<Post>("posts");
        posts.EnsureIndex(x => x.Slug);
        posts.InsertBulk(data);

        var a = tags.FindAll();

        var b = posts.Include(x => x.Tags).Find(x => x.Tags.Count(x => x.Slug == "book") > 0);

When I check a I have 4 tags: Book, Europe, Travel, Europe. Shouldn't Europe appear only once?
And when I check b I have the two posts ... The second post should not be returned because it does not have the tag with slightly "book".
What am I missing? Am I inserting the data incorrectly?

@lbnascimento I also tried the following:
posts.Include(x => x.Tags).Find(x => x.Tags.Select(x => x.Slug).Any(x => x == "book"));

And this returns an empty list ...
I think something might be wrong when using filters with child collections. No?

@lbnascimento The following query returns the one post, as expected, that contaoins  a Tag with slug book:
       var a = lessons.Include(x => x.Topics).FindAll()
                    .Where(x => x.Topics.Count(x => x.Slug == "book") > 0)
                    .ToList();

The following return all record like it wasn't filtered.
       var b= lessons.Include(x => x.Topics)
                   .Find(x => x.Topics.Count(x => x.Slug == "book") > 0)
                   .ToList();

Any idea why?

@mdmoura a will apply an in-memory filter, after retrieving all items from litedb, whereas b will attempt to apply the filter while retrieving the desired items from litedb.
Have you tried the below?
var c = lessons.Include(x => x.Topics)
                   .Where("Topics[*].Slug ANY = @0", "book")
                   .ToList();

apparently I spoke too soon... look like my suggestion above only works on version 5.0.4!

@mdmoura Regarding a, what I believe is happening is that you're using autoid for tags (by not setting an Id value for your tags, LiteDB creates one automatically upon insertion) and it doesn't know that the "Europe" tag in the first post and the "Europe" tag in the same post are actually the same, and ends up inserting it twice. Try creating the tags beforehand and attributing them to each post.
Regarding b, there was a small bug with Linq-to-BsonExpression mapping, which I fixed in the master. There is also a limitation in the mapping regarding nested Linq expressions with the same parameter name (I believe this limitation was undocumented, I'll update the documentation). So, if you use our latest master and change your Linq to Find(x => x.Tags.Count(y => y.Slug == "book") > 0), it should work.
Using Find("Tags[*].Slug any = 'book'"), simliar to what @zmira proposed, should work too.

authors: lbnascimento mdmoura zmira


text:
[BUG] Slow as hell with +2GB db size even on SSD

Version
5.0.11
Describe the bug
When file of the DB grows over +2GB then the Insert method becomes almost unresponsive
Code to Reproduce
just add +10M entities and try to add more
Expected behavior
not sure
Screenshots/Stacktrace
NA
Additional context
no Indexes were added so far

It is better to insert BsonDocument entities (without mapping). In my case, 18m rows were inserted in 5 minutes, and actual DB file about 5GB.

Hi @okarpov, can you describe how design your document? How many fields/arrays/subdocuments contains? How many indexes you have in this collection?

I used my class for storing bitcoin keys
it had >10M rows/items
`[Table("Search")]
public partial class Search
{
public long ID { get; set; }
    [StringLength(128)]
    public string Priv { get; set; }

    [Required]
    [StringLength(128)]
    public string PubWif { get; set; }

    [Required]
    [StringLength(128)]
    public string PubAddr { get; set; }

    public decimal amt { get; set; }
}`

Did you have any adicional index? Can you send some data-example of "Priv", "PubWif" e "PubAddr" to get some size-idea per iitem?

authors: alexSatov mbdavid okarpov


text:
[BUG]OrderBy not using index

LiteDB 5.0.18
Net 8.0/6.0
I have a large table with over 500,000 records, and I have created indexes on the LabelIds and InternalDate fields. I am now encountering a performance issue, as shown in the following code:
internal class CThreads
{
        [BsonId]
        public int UID { get; set; }
        public List<string> LabelIds { get; set; } = new List<string>();
        public string From { get; set; }
        public string Subject { get; set; }
        public string Snippet { get; set; }
        public long InternalDate { get; set; }
        public int IsDeleted { get; set; }
}

var connStr = new ConnectionString(@"filename='test5.db9'");

using (var _conn = new LiteDatabase(connStr))
{

    var _dbThreads = _conn.GetCollection<CThreads>();
    _dbThreads.EnsureIndex("date_index", x => x.InternalDate);
    _dbThreads.EnsureIndex("label_index", x => x.LabelIds);
    _dbThreads.EnsureIndex("subject_index", x => x.Subject);

    _conn.BeginTrans();
    var items = new List<CThreads>();
    for (var i = 100000; i < 600000; i++)
    {
        var item = new CThreads()
        {
            LabelIds = new List<string> { "NOTICE" },
            From = "Customer " + i.ToString(),
            Subject = "Subject " + i.ToString(),
            Snippet = "Snippet data " + i.ToString(),
            InternalDate = 1708300201000 + i * 10,
            IsDeleted = 0
        };
        items.Add(item);
        if (i % 50000 == 0)
        {
            _dbThreads.InsertBulk(items);
            items.Clear();
        }
    }
    _conn.Commit();

    //Where only test
    var watch = Stopwatch.StartNew();
    watch.Start();
    var query = _dbThreads.Query().Where(x => x.LabelIds.Contains("NOTICE"));
    var results = query.Skip(1000).Limit(15).ToList();
    watch.Stop();
    Console.WriteLine($"Where ONLY : {watch.ElapsedMilliseconds} ms ");

    //OrderBy only test
    watch.Restart();
    query = _dbThreads.Query();
    query = query.OrderByDescending(x => x.InternalDate);
    results = query.Skip(1000).Limit(15).ToList();
    watch.Stop();
    Console.WriteLine($"OrderBy ONLY: {watch.ElapsedMilliseconds} ms ");

    //Where and OrderBy test
    watch.Restart();
    query = _dbThreads.Query();
    query = query.Where(x => x.LabelIds.Contains("NOTICE")).OrderByDescending(x => x.InternalDate);
    results = query.Skip(1000).Limit(15).ToList();
    watch.Stop();
    Console.WriteLine($"Both Where and OrderBy : {watch.ElapsedMilliseconds} ms ");

}

The execution results are shown in the following figure:

I guess that LiteDB first uses the index to perform the conditional query, and then sorts (FileSort)?

Hi @mirror222

I guess that LiteDB first uses the index to perform the conditional query, and then sorts (FileSort)?

That's it. You can see explain plan in your query using EXPLAIN (in sql) or using GetPlan()
var queryPlan = _dbThreads.Query().Where(x => x.LabelIds.Contains("NOTICE")).GetPlan();
Print(queryPlan);

void Print(BsonDocument doc)
{
    var sb = new StringBuilder();
    var sw = new StringWriter(sb);
    var w = new JsonWriter(sw);
    w.Pretty = true;
    w.Serialize(doc);
    Console.WriteLine(sb);
}

{
    "collection": "CThreads",
    "snaphost": "read",
    "pipe": "queryPipe",
    "index":
    {
        "name": "label_index",
        "expr": "$.LabelIds[*]",
        "order": 1,
        "mode": "INDEX SEEK(label_index = \"NOTICE\")",
        "cost": 10
    },
    "lookup":
    {
        "loader": "document",
        "fields": "$"
    },
    "select":
    {
        "expr": "$",
        "all": false
    }
}
Where ONLY : 26 ms
{
    "collection": "CThreads",
    "snaphost": "read",
    "pipe": "queryPipe",
    "index":
    {
        "name": "date_index",
        "expr": "$.InternalDate",
        "order": -1,
        "mode": "FULL INDEX SCAN(date_index)",
        "cost": 100
    },
    "lookup":
    {
        "loader": "document",
        "fields": "$"
    },
    "select":
    {
        "expr": "$",
        "all": false
    }
}
OrderBy ONLY: 5 ms
{
    "collection": "CThreads",
    "snaphost": "read",
    "pipe": "queryPipe",
    "index":
    {
        "name": "label_index",
        "expr": "$.LabelIds[*]",
        "order": 1,
        "mode": "INDEX SEEK(label_index = \"NOTICE\")",
        "cost": 10
    },
    "lookup":
    {
        "loader": "document",
        "fields": "$"
    },
    "orderBy":
    {
        "expr": "$.InternalDate",
        "order": -1
    },
    "select":
    {
        "expr": "$",
        "all": false
    }
}
Both Where and OrderBy : 1239 ms


text:
[RTOS] Does not function on core M4 (non FPU), (K20D50M)

See: https://developer.mbed.org/questions/5045/mbed-RTOS-support-on-K20D50M/
The issue is here on line 157 (and later again): https://github.com/mbedmicro/mbed/blob/master/libraries/rtos/rtx/TARGET_M4/TOOLCHAIN_ARM/HAL_CM4.c, where the VSTMDBEQ instruction does not exist for the core M4 without F. Now together with some lines of code around it I think it could easily be fixed with an #ifdef guard. However on the other hand I would expect ARM to support core M4s with RTX.
So can anyone, maybe at mbed HQ, check if it has to be fixed manually or if there is a newer version that I cannot find?

Should be fixed via #1052

repo: mbedmicro/mbed


text:
data of user, like age, gender and location at Facebook Ads

In my project, i needed to get all type of data from user, but actually there is not.

I am also facing the same problem @izabelamartins  @mbilling . Did you find out how to pull the user data like age, gender etc?

authors: KudaJunior izabelamartins

repo: mbilling/PBIConnectors


text:
Add description in yaml format

Hover node will now show it's description

Published docker image : docker pull mbouchenoire/lowfer:0.3.0

authors: alucas-nickel mbouchenoire

repo: mbouchenoire/lowfer


text:
🛑 Fanalitica is down

In 18caa54, Fanalitica (https://www.fanalitica.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fanalitica is back up in 2b50b59.


text:
About downloading the datatset?

hi @salman-h-khan
i run the script to download the dataset, encounter this problem as below:
Cloning into 'VideoGPT-plus_Training_Dataset'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 46 (delta 6), reused 0 (delta 0), pack-reused 3 (from 1)
Unpacking objects: 100% (46/46), 1.87 MiB | 2.48 MiB/s, done.

Filtering content: 100% (24/24), 28.09 GiB | 867.00 KiB/s, done.
Encountered 13 file(s) that may not have been copied correctly on Windows:
        instruction_tuning/k710.tgz
        pretraining/CC3M-595K.tgz
        instruction_tuning/clevrer.tgz
        pretraining/COCO.tgz
        instruction_tuning/videochat_it.tgz
        instruction_tuning/webvid/webvid_1.tgz
        instruction_tuning/webvid/webvid_3.tgz
        instruction_tuning/webvid/webvid_2.tgz
        instruction_tuning/webvid/webvid_5.tgz
        instruction_tuning/webvid/webvid_4.tgz
        instruction_tuning/activitynet_videos.tgz
        instruction_tuning/webvid/webvid_6.tgz
        instruction_tuning/NExTQA.tgz

See: `git lfs help smudge` for more details.

the download directory size
314G    ./instruction_tuning
26G     ./pretraining
341G    ./.git
405M    ./annotations
681G    .

is it ok?

Hi @zimenglan-sysu-512,
Thank you for your interest in our work. You may ignore this warning and proceed. Thanks

repo: mbzuai-oryx/VideoGPT-plus


text:
Not work with 2.1.1_0002.0515

Hi
Thanks for your awesome mods.
I tried use the hostname trick but not worked. (2.1.1_0002.0515)
Any idea please?

It's hard to say without seeing the firmware. Does telnet not respond?
I've only tested 2.0.9_0005 and 2.0.6_0003. I ordered another a couple of weeks ago and it arrived with 2.0.9_0005. If you are only interested in Homekit I don't see any need to update them.
If you connect the serial console and watch the boot logs, you should be able to see the sh: hostname: not found message.
If not, it depends how they changed the firmware but my guess is they added the hostname busybox command to fix the error message in the logs. Which means/mnt/sdcard may still be in the PATH environment variable. There is a good chance there will be another system command to a missing binary (like with hostname). Searching for strings in the firmware could be used to identify and list commands executed, then create a file/link using every one of these names. You might need to play around with different camera functions to get the command to fire but you might just get lucky.

Thanks for your reply.
The telnet just not respond.
https://github.com/niceboygithub/AqaraCameraHubfw/raw/main/G2H/2.1.1_0002.0515_ota/ota.bin
Here is the 2.1.1 ota bin file but nothing found.
May be i shoud order a new one...

Unfortunately that image has some kind of encryption/obfuscation and needs more time to extract. But who ever created that repo (@niceboygithub) may have cracked the root password 09qjuS@3. so there is no need..
You can connect to the serial console via the USB port as described in my README. Use an old micro USB cable and splice ground (black) and cut and connect the D+ (white) and D- (green) lines to TX and RX on a 3.3v UART (like a raspberry pi or FTDI adapter) and you can open the console using screen screen /dev/tty.<yourdevice> 115200 and log in as root and run the hostname script manually.

Hi,
I tried use TTL2USB  read the boot log.
USB CABLE      <=====>   TTL2USB
red     =>   3.3v output
white => TXD
green => RXD
black => GND
But no data showing up. (Currently i use the homekit mode , may be i need factory reset?)
May be the new firmware disabled the TTL output?

You will need to supply 5V to the camera - this diagram will make more sense. I am not sure of the polarity for TX and RX but you can try both ways until you see data

I tested macchas’ method in 2.1.1_0002.0515 to run hostname in /mnt/card. It still works. (macchas did the great job)
About TTL-Uart connection, I suggest that use the original USB power supply, and connect TX, RX, GND to USB2UART.
The password is from @zvldz.

Thanks for testing @niceboygithub - if the method still works, @hzx1987227 can you confirm if your hostname file is in the root directory of your SD card and the card is formatted as FAT32?

Hi,
I replace the tf card with new one and formatted as FAT32  and it worked perfect !!!
(The old tf card is 8GB, also formatted as FAT32 , can access from desktop PC,  but not work.)
Thank you guys! @niceboygithub  @mcchas

The password is from @zvldz.

nope ;)

You will need to supply 5V to the camera - this diagram will make more sense. I am not sure of the polarity for TX and RX but you can try both ways until you see data

Please help me restore the camera, it lights up red and does not load.
there is a dump file

authors: Topereb hzx1987227 mcchas niceboygithub rezmus


text:
🛑 ChatGenie Client API is down

In 8b41b63, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1af060c.


text:
🛑 ChatGenie Client API is down

In 8d70fea, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 88228cb.


text:
🛑 ChatGenie MiniApp API is down

In f2c625b, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie MiniApp API is back up in f0c9be4.


text:
🛑 ChatGenie Client API is down

In 1dc853c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in fab1b1d.


text:
🛑 ChatGenie Client API is down

In 607b7c9, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 7a5680c.


text:
🛑 ChatGenie Client API is down

In 8e6caf9, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in c254fad.


text:
🛑 ChatGenie Client API is down

In c807540, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in d49ab36.


text:
🛑 ChatGenie Client API is down

In 7917526, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 59e4839 after 19 minutes.


text:
🛑 ChatGenie Client API is down

In 5815037, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in bfcab4d after 13 minutes.


text:
🛑 ChatGenie Client API is down

In 0aa5a6c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 236e5b2.


text:
🛑 ChatGenie Client API is down

In 353b4d6, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 08a693b.


text:
🛑 ChatGenie Client API is down

In 301cb02, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 6fca0c1.


text:
🛑 ChatGenie Client API is down

In d4d966e, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 0cb0ab5 after 9 minutes.


text:
🛑 ChatGenie Client API is down

In 272e1ab, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 369e1fc after 48 minutes.


text:
🛑 ChatGenie Client API is down

In 8295dd4, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in a76b13b after 1 hour, 4 minutes.


text:
🛑 ChatGenie Client API is down

In 033767f, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1bd9eef.


text:
🛑 ChatGenie Client API is down

In 1924d3d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in c7dd72f.


text:
🛑 ChatGenie Client API is down

In d18f5a1, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 6d92acd.


text:
🛑 ChatGenie Client API is down

In e62ac2b, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in b80ada2.


text:
🛑 GitHub Mirror is down

In c8a48c8, GitHub Mirror (https://gh.chapro.xyz) was down:

HTTP code: 500
Response time: 188 ms

Resolved: GitHub Mirror is back up in acf3193 after 5 minutes.

repo: mchaNetwork/status


text:
List service account roles required for cross-rpoject discovery

List all the roles required for service account under which Disco runs to discover across projects

Added service account roles to enable cross project discovery
https://github.com/mchmarny/disco/blob/main/docs/SERVICE.md#deployment

repo: mchmarny/disco


text:
Filtering and searching

Hi, i'm having a problem with filtering or seaching, it seems that the datatableparams i'm sending to the controller are empty, and the controller always sent back all the data, do you know why this is happenning?

Is the DataTablesParam in the controller empty or is it null?
Is the ModelBinder registered?
Does the post request contain the correct data? (Examine using Fiddler)

This is the params:
http://i.imgur.com/Vjaj15n.png
The modelBinder is registered
And the post request contains this:
draw	1
columns	[object Object]
columns	[object Object]
columns	[object Object]
order	[object Object]
start	0
length	10
search	[object Object]
but it returns:
sEcho=0
iTotalDisplayRecords=11
iTotalRecords=11
aaData...
I never used Fiddler, but i just intalled it, tell me if you wanna see something from it

Please can you post the contents of the POST request, from the 'Raw' tab.
On 18 May 2015 at 11:02, pau7 notifications@github.com wrote:

This is the params:
http://i.imgur.com/Vjaj15n.png
The modelBinder is registered
And the post request contains this:
draw 1
columns [object Object]
columns [object Object]
columns [object Object]
order [object Object]
start 0
length 10
search [object Object]
but it returns:
sEcho=0
iTotalDisplayRecords=11
iTotalRecords=11
aaData...
I never used Fiddler, but i just intalled it, tell me if you wanna see
something from it
—
Reply to this email directly or view it on GitHub
https://github.com/mcintyre321/mvc.jquery.datatables/issues/114#issuecomment-103003689
.

POST http://localhost:65055/umbraco/Api/CategoryApi/getAll HTTP/1.1
Host: localhost:65055
Connection: keep-alive
Content-Length: 161
Pragma: no-cache
Cache-Control: no-cache
Origin: http://localhost:65055
X-XSRF-TOKEN: yv6m2K3m71fmJXYPJn__rP92R_EaeILKzuFN3CiFUObrhrWO9PTHrVSs40dIeieuJ0PC-biDKfTyu_4-Ygw1tYWYpyBa76T1tMrTmb7wLkSKtPbihaKMqKavbIEovfdt0
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: application/json, text/javascript, /; q=0.01
X-Requested-With: XMLHttpRequest
Referer: http://localhost:65055/umbraco/
Accept-Encoding: gzip, deflate
Accept-Language: es,ca;q=0.8
Cookie: XSRF-TOKEN=yv6m2K3m71fmJXYPJn__rP92R_EaeILKzuFN3CiFUObrhrWO9PTHrVSs40dIeieuJ0PC-biDKfTyu_4-Ygw1tYWYpyBa76T1tMrTmb7wLkSKtPbihaKMqKavbIEovfdt0; XSRF-V=_NWfuHGGUSI7dtHFrv4LQuFlrQjCAYP5mfWvlzi-lmrB8O7HLXRhVUxylIih1tqOssgU3HC6oKHfGKk3Gb8LWhFXjGAXStWZyNXFs8Y22KU1; UMB_UPDCHK=1; UMB_UCONTEXT=11666FFCAFC4E7B31E445DA40E85EF8BCB99A80EDE95CD44BF6E3EF2076162D81E2CB82C4F765E2BFD68D4113EBD942E583DA6958A3134275F8D9C6EDAEA0E03B5B1311E4DF2F46967612639176BA3E339D89018C6A4911F8DA800FC2F0ED8BDFA2AE44D8DCDFA0130FDBAC23551046E4DF18D9287CE552A1920E385080C98D50D82E8A3B5B9D7FC5183AE943106A41CDC7D686C52CBCE838773F97C0D3D119B988EE5C30306E97D88C66DE2EF3E073A23467DB9ABCE27CD88E5938143706CFF07561EF6365DDBCC67834843985788980699377F87C8CBC44FD25237466C56C001310728BA5C6793AEA5D6803B952B697310B30888AD1DA994364A7169FF9A0913D9B0A0360E0A36D619080F1FDF4B990FAB074F3685402429ADC8DC335423944A4AD8A050D317576DACF8ADAE0810284448C51069FDBA1086510355AE9276908CEEE75AD604744A0F95B6693C2DF1E77E82AF60E3492ADABFC0D656B59F7626AC0D6F41F4C7C4F9321A5489F8FA8E92AE1B3F7E5671F8FCE9EE8C6379A9133AB8043FC8A41E4AD2A7943C03F72AAABA6D5EE15120BBB7FA35A07C7BA966DA965A1B02F01A6229AA3EAE7C592B599CCD318B18A04E87CC38CB8F1FF028195400EBBE72692F9EED59ED47910175BFDC96E710D93DC121220F4F3E18ADAA82D68FBB6F06DCDB60328D5853FE194F9ADD1478FAA4AAB0109DB6EAB0C48C624BAC735FBD854FEA4849B324E725892CA21ABD
draw=1&columns=%5Bobject+Object%5D&columns=%5Bobject+Object%5D&columns=%5Bobject+Object%5D&order=%5Bobject+Object%5D&start=0&length=10&search=%5Bobject+Object%5D

It looks like something has gone wrong with your client side initialization. If you compare this to the [example site] (), the body should contain something like:
sEcho=1&iColumns=9&sColumns=%2C%2C%2C%2C%2C%2C%2C%2C&iDisplayStart=0&iDisplayLength=25&mDataProp_0=0&sSearch_0=&bRegex_0=false&bSearchable_0=true&bSortable_0=true&mDataProp_1=1&sSearch_1=&bRegex_1=false&bSearchable_1=true&bSortable_1=true&mDataProp_2=2&sSearch_2=&bRegex_2=false&bSearchable_2=true&bSortable_2=true&mDataProp_3=3&sSearch_3=&bRegex_3=false&bSearchable_3=true&bSortable_3=false&mDataProp_4=4&sSearch_4=&bRegex_4=false&bSearchable_4=true&bSortable_4=true&mDataProp_5=5&sSearch_5=&bRegex_5=false&bSearchable_5=true&bSortable_5=true&mDataProp_6=6&sSearch_6=Tester&bRegex_6=false&bSearchable_6=true&bSortable_6=true&mDataProp_7=7&sSearch_7=01%2F01%2F2014+00%3A00~19%2F05%2F2015+00%3A00&bRegex_7=false&bSearchable_7=true&bSortable_7=true&mDataProp_8=8&sSearch_8=&bRegex_8=false&bSearchable_8=true&bSortable_8=true&sSearch=&bRegex=false&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1

Are you using the helper to initialize the table?
@Html.Partial("DataTable", Html.DataTableVm("table-id", (HomeController h) => h.GetUsers(null)))

No, i create the datatable on a directive from angular:
app.directive('myTable', function () {
return {
restrict: 'E, A, C',
link: function (scope, element, attrs, controller) {
var dataTable = element.dataTable(scope.options);
        scope.$watch('options.aaData', handleModelUpdates, true);

        function handleModelUpdates(newData) {
            var data = newData || null;
            if (data) {
                dataTable.fnClearTable();
                dataTable.fnAddData(data);
            }
        }
    },
};

});

Ah, might have been handy to say so earlier!
I haven't integrated it with angular before, so you'll need to base the
initialisation code off the source on the example page, and figure it out
from there.
http://aspdatatables.azurewebsites.net/
On 18 May 2015 at 11:09, pau7 notifications@github.com wrote:

POST http://localhost:65055/umbraco/Api/CategoryApi/getAll HTTP/1.1
Host: localhost:65055
Connection: keep-alive
Content-Length: 161
Pragma: no-cache
Cache-Control: no-cache
Origin: http://localhost:65055
X-XSRF-TOKEN:
yv6m2K3m71fmJXYPJn__rP92R_EaeILKzuFN3CiFUObrhrWO9PTHrVSs40dIeieuJ0PC-biDKfTyu_4-Ygw1tYWYpyBa76T1tMrTmb7wLkSKtPbihaKMqKavbIEovfdt0
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/42.0.2311.152 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: application/json, text/javascript, /; q=0.01
X-Requested-With: XMLHttpRequest
Referer: http://localhost:65055/umbraco/
Accept-Encoding: gzip, deflate
Accept-Language: es,ca;q=0.8
Cookie:
XSRF-TOKEN=yv6m2K3m71fmJXYPJn__rP92R_EaeILKzuFN3CiFUObrhrWO9PTHrVSs40dIeieuJ0PC-biDKfTyu_4-Ygw1tYWYpyBa76T1tMrTmb7wLkSKtPbihaKMqKavbIEovfdt0;
XSRF-V=_NWfuHGGUSI7dtHFrv4LQuFlrQjCAYP5mfWvlzi-lmrB8O7HLXRhVUxylIih1tqOssgU3HC6oKHfGKk3Gb8LWhFXjGAXStWZyNXFs8Y22KU1;
UMB_UPDCHK=1;
UMB_UCONTEXT=11666FFCAFC4E7B31E445DA40E85EF8BCB99A80EDE95CD44BF6E3EF2076162D81E2CB82C4F765E2BFD68D4113EBD942E583DA6958A3134275F8D9C6EDAEA0E03B5B1311E4DF2F46967612639176BA3E339D89018C6A4911F8DA800FC2F0ED8BDFA2AE44D8DCDFA0130FDBAC23551046E4DF18D9287CE552A1920E385080C98D50D82E8A3B5B9D7FC5183AE943106A41CDC7D686C52CBCE838773F97C0D3D119B988EE5C30306E97D88C66DE2EF3E073A23467DB9ABCE27CD88E5938143706CFF07561EF6365DDBCC67834843985788980699377F87C8CBC44FD25237466C56C001310728BA5C6793AEA5D6803B952B697310B30888AD1DA994364A7169FF9A0913D9B0A0360E0A36D619080F1FDF4B990FAB074F3685402429ADC8DC335423944A4AD8A050D317576DACF8ADAE0810284448C51069FDBA1086510355AE9276908CEEE75AD604744A0F95B6693C2DF1E77E82AF60E3492ADABFC0D656B59F7626
AC0D6F41F4C7C4F9321A5489F8FA8E92AE1B3F7E5671F8FCE9EE8C6379A9133AB8043FC8A41E4AD2A7943C03F72AAABA6D5EE15120BBB7FA35A07C7BA966DA965A1B02F01A6229AA3EAE7C592B599CCD318B18A04E87CC38CB8F1FF028195400EBBE72692F9EED59ED47910175BFDC96E710D93DC121220F4F3E18ADAA82D68FBB6F06DCDB60328D5853FE194F9ADD1478FAA4AAB0109DB6EAB0C48C624BAC735FBD854FEA4849B324E725892CA21ABD
draw=1&columns=%5Bobject+Object%5D&columns=%5Bobject+Object%5D&columns=%5Bobject+Object%5D&order=%5Bobject+Object%5D&start=0&length=10&search=%5Bobject+Object%5D
—
Reply to this email directly or view it on GitHub
https://github.com/mcintyre321/mvc.jquery.datatables/issues/114#issuecomment-103006495
.

I gonna try this:
http://i.imgur.com/fXiIqli.png
With the JObject getting the params, i'll create your DatatableParam object and continue with your DatatableResult.create, i think it should work

Can you help me to convert that JObject into your DatatableParams i think, its something like this, but i'm not sure on some parameters
public int iDisplayStart { get; set; }                                       // start
public int iDisplayLength { get; set; }                                     // length
public int iColumns { get; set; }                                            // columns.length
public string sSearch { get; set; }                                         // search.value
public bool bEscapeRegex { get; set; }                               // search.regex
public int iSortingCols { get; set; }                                       // order.column
public int sEcho { get; set; }                                               // draw
public List bSortable { get; set; }                             // for each colum orderable
public List bSearchable { get; set; }                        // for each colum searchable
public List sSearchColumns { get; set; }              // for each colum search.value
public List iSortCol { get; set; }                                  // not sure
public List sSortDir { get; set; }                            // not sure
public List bEscapeRegexColumns { get; set; }     // for each colum search.bool

The code is here.
You can find help here: http://legacy.datatables.net/ref but I think the
problem is that you are using the new initialisation syntax - this library
still uses the old (legacy) approach.
http://www.datatables.net/upgrade/1.10
Try:
$(...).dataTable()
instead of
$(...).DataTable()
On 18 May 2015 at 12:39, pau7 notifications@github.com wrote:

Can you help me to convert that JObject into your DatatableParams i think,
its something like this, but i'm not sure on some parameters
public int iDisplayStart { get; set; } // start
public int iDisplayLength { get; set; } // length
public int iColumns { get; set; } // columns.length
public string sSearch { get; set; } // search.value
public bool bEscapeRegex { get; set; } // search.regex
public int iSortingCols { get; set; } // order.column
public int sEcho { get; set; } // draw
public List bSortable { get; set; } // for each colum orderable
public List bSearchable { get; set; } // for each colum searchable
public List sSearchColumns { get; set; } // for each colum search.value
public List iSortCol { get; set; } // not sure
public List sSortDir { get; set; } // not sure
public List bEscapeRegexColumns { get; set; } // for each colum search.bool
—
Reply to this email directly or view it on GitHub
https://github.com/mcintyre321/mvc.jquery.datatables/issues/114#issuecomment-103026508
.

https://github.com/mcintyre321/mvc.jquery.datatables/issues/115

I have it working now, i give the method i created.
This is the method GetAll of the ApiController
[System.Web.Http.HttpPost]
public DataTablesData GetAll([FromBody] JObject param)
{
var help = new ParamHelper();
var res = help.convert(param);
var query = new Sql().Select("*").From("categories");
var result = DataTablesResult.Create(DatabaseContext.Database.Query(query).AsQueryable(), res);
return result.Data;
}
This is the helper method i create to convert the JObject params in your DatatableParams:

public DataTablesParam convert(JObject param)
        {
            JToken token = param;
            var cols = token.SelectToken("columns");
            var orders = token.SelectToken("order");
            int numCols=0;
            int numOrders = 0;
            var result = new DataTablesParam();
            foreach (var i in cols.ToList()){
                var serch = i.SelectToken("search");
                result.bSortable.Add(Convert.ToBoolean(i.SelectToken("orderable")));
                result.bSearchable.Add(Convert.ToBoolean(i.SelectToken("searchable")));
                result.sSearchColumns.Add(Convert.ToString(serch.SelectToken("value")));
                result.bEscapeRegexColumns.Add(Convert.ToBoolean(serch.SelectToken("regex")));
                numCols++;
            }
            foreach (var i in orders.ToList())
            {
                result.iSortCol.Add(Convert.ToInt32(i.SelectToken("column")));
                result.sSortDir.Add(Convert.ToString(i.SelectToken("dir")));
                numOrders++;
            }
            var search = token.SelectToken("search");
            ;
            result.iDisplayStart = (int)token.SelectToken("start");
            result.iDisplayLength = (int)token.SelectToken("length");
            result.iColumns = numCols;
            result.sSearch = (string)search.SelectToken("value");
            result.bEscapeRegex = (bool)search.SelectToken("regex");
            result.iSortingCols = numOrders;
            result.sEcho = (int)token.SelectToken("draw");
        return result;
    }

It's a bit shitty to see here, thanks for the help.


text:
event:pvp (and others) not working

NPC does attack (PLAYERS and MONSTERS is working). If i try event:pvp, event:pvnpc or the other ones, the npc does nothing. :(
More Information: I did removed all Ignors. Server version: Spigot 1.11.2

Is PvP actually validly happening without any intermediary plugins in the direct line-of-sight for the NPC Sentinel?


text:
ModuleNotFoundError: No module named 'tensorrt'

Your question
Repeatedly get this error on startup, would appreciate any assistance possible in resolving.
Logs
12:35:59.278 [Init] Self-Start ComfyUI-0 on port 7822 is loading...
12:36:05.173 [Warning] [ComfyUI-0/STDERR] Traceback (most recent call last):
12:36:05.175 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\User\Documents\StableDiffusion\StableSwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 1982, in load_custom_node
12:36:05.176 [Warning] [ComfyUI-0/STDERR]     module_spec.loader.exec_module(module)
12:36:05.177 [Warning] [ComfyUI-0/STDERR]   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
12:36:05.179 [Warning] [ComfyUI-0/STDERR]   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
12:36:05.183 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\User\Documents\StableDiffusion\StableSwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI_TensorRT\__init__.py", line 1, in <module>
12:36:05.184 [Warning] [ComfyUI-0/STDERR]     from .tensorrt_convert import DYNAMIC_TRT_MODEL_CONVERSION
12:36:05.187 [Warning] [ComfyUI-0/STDERR]   File "C:\Users\User\Documents\StableDiffusion\StableSwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI_TensorRT\tensorrt_convert.py", line 7, in <module>
12:36:05.189 [Warning] [ComfyUI-0/STDERR]     import tensorrt as trt
12:36:05.190 [Warning] [ComfyUI-0/STDERR] ModuleNotFoundError: No module named 'tensorrt'
12:36:05.191 [Warning] [ComfyUI-0/STDERR]

Other
I'm up-to-date, and strangely enough was not receiving this error when I first installed SwarmUI.

Make sure your SwarmUI is version 0.9.x -- if it's 0.6.x you're on the legacy Stable repo and need to migrate to the modern one.

TensorRT is notoriously unreliable at installing properly, laziest approach is you can delete C:\Users\User\Documents\StableDiffusion\StableSwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI_TensorRT and then restart Swarm and try again.
Alternately, open C:\Users\User\Documents\StableDiffusion\StableSwarmUI\src\dlbackend\comfy in a terminal and run command python_embeded\python.exe -s -m pip install tensorrt

repo: mcmonkeyprojects/SwarmUI


text:
Newlines missing in Type remarks

Compare remarks at the bottom of https://developer.rhino3d.com/wip/api/RhinoCommon/html/T_Rhino_Geometry_ArcCurve.htm with https://mcneel-apidocs.herokuapp.com/api/rhinocommon/rhino.geometry.arccurve.

This looks to be related to not adding whitespace/newlines when parsing <para> tags.

repo: mcneel/docify


text:
gcp-[start,stop,status] requires --zone

start, stop and status commands require a --zone option to be passed through. If none a question is posed to the user asking which zone.
Would be nice to try and discover the zone automagically.

Nice one @GeneralAardvark

repo: mcrmonkey/bash-my-gcp


text:
Does RedisHappy work with redis 3.2.4

I am running cluster with the latest stable redis. And when i try to start up the redis-haproxy, i get the following error.
2016/10/04 06:44:39.621394 Starting Goji on [::]:8000
panic: runtime error: index out of range

goroutine 34 [running]:
panic(0x7656c0, 0xc420012100)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/therealbill/libredis/client.(*PubSub).Receive(0xc42010a180, 0x0, 0x0, 0x0, 0xc4201203c0, 0x596093)
        /home/ec2-user/projects/src/github.com/therealbill/libredis/client/pubsub.go:68 +0x1e3f
github.com/mdevilliers/redishappy/services/redis.(*PubSubClient).loopSubscription(0xc420104120)
        /home/ec2-user/projects/src/github.com/mdevilliers/redishappy/services/redis/pubsubclient.go:50 +0x35
created by github.com/mdevilliers/redishappy/services/redis.(*PubSubClient).Start
        /home/ec2-user/projects/src/github.com/mdevilliers/redishappy/services/redis/pubsubclient.go:39 +0xb3

Could you clarify if it works with the latest redis version?
Here is my config json
{
  "Clusters" :[
  {
    "Name" : "mymaster",
    "ExternalPort" : 6379
  }],
  "Sentinels" : [
      {"Host" : "172.31.0.4", "Port" : 26379}
  ],
  "HAProxy" :
    {
      "TemplatePath": "/root/redishappy/haproxy_template.cfg",
      "OutputPath": "/etc/haproxy/haproxy.cfg",
      "ReloadCommand": "haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid)"
    }
}

Well, I have firgured out what caused this. In redis 3.2.4, they have a configuration variable called protected-mode which defaults, and immediately downs any external connections. So for redis-haproxy to communicate with redis-sentinel, the sentinel configuration either should have this,
protected-mode no

or explicitly bind on 0.0.0.0, like this,
bind 0.0.0.0

Now this enures that redis-haproxy connects to the sentinel for automatic switchovers.

Have created an install script for Amazon Linux/ CentOS 6 or 7 / RedHat.

repo: mdevilliers/redishappy


text:
Unable to define custom color property

I have an SVG that uses a linearGradient def as its fill. Now I want to animate that linearGradient, but the properties are not in the list of exposed functions in elm-style-animation. If the function colorProp were exposed, I could do this as I wanted without exposing the Property type.
Would there be any objection to the idea of exposing colorProp?

I'm open to the idea.  Though I can just support the properties directly as well :)
Is the color property you're talking about stop-color?  Are there any others?

I'm specifically talking about stop-color yes. Also, offset belongs to the <stop> as well (to set the stop offset for the gradient). I can't find offset documentation on Mozilla, but it is between 0 and 1.
Of course, exposing Property would allow all freedom for developers, so that would also fix it for me. But exposing Property could hurt users when breaking changes are introduced the type constructors, so I personally would not choose that solution.

Ok, cool.
There is a current way to animate a custom 1 value property called Animation.custom where you could do something like Animation.custom "offset" 0 "%".  (I found an example using %)
I should be ready to release v3.1.0 soon which will have stopColor, offset and customColor.
There will be a few other ways to set custom properties as well.

Great, thank you for the swift responses!

Just released 3.1.0 with the above props!

authors: mdgriffith tolgap

repo: mdgriffith/elm-style-animation